You are not logged in.

#26 2010-02-06 19:13:04

idosh
Member
Registered: 2008-11-07
Posts: 42

Re: cope: a command-line program colouriser

It works! Thank you very much!

Offline

#27 2010-02-06 21:22:17

prasetyams
Member
From: Jakarta
Registered: 2008-04-29
Posts: 74

Re: cope: a command-line program colouriser

idosh wrote:

It works! Thank you very much!

You're welcome smile


Where's my sig?

Offline

#28 2010-02-07 04:35:21

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: cope: a command-line program colouriser

Hey cytzol, for df why did you decide not to color the Use% when its less than 26 (a guess)?

Offline

#29 2010-02-07 11:40:29

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: cope: a command-line program colouriser

My Use% is colored all the way down to 0%. It's in bold white, perhaps you use a font that doesn't have a boldface?

Offline

#30 2010-02-11 22:02:49

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: cope: a command-line program colouriser

So its colored white? I keep my text white so I didn't notice difference. Also in cytzol's screenshot its not even white, its just grey like normal text.

Offline

#31 2010-02-12 01:11:44

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: cope: a command-line program colouriser

It's specifically bold white. Normally my text is just white, but there is definitely a difference between the Avail color (normal white) and the Use% color on mine. Maybe he doesn't use a font with boldface either? Here's what mine looks like:
tM2l5cw

Offline

#32 2010-02-12 02:04:17

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: cope: a command-line program colouriser

Yes cytzol and I use the Terminus font (it has no bold in small sizes). I was just concerned about the color.

Offline

#33 2010-02-12 02:23:33

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: cope: a command-line program colouriser

great !!!

looks soooo amazing..

its even more intuitive to use the command line tools now smile


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#34 2010-02-12 06:20:15

tzervo
Member
From: Athens
Registered: 2009-04-03
Posts: 86

Re: cope: a command-line program colouriser

It is excellent, I like all the colors!! :-) Just a minor complaint though - by having non-core commands (like screen) the path (autocompletion etc) gets a little cluttered (I know I am a lit paranoid here). Is there a workaround?

Offline

#35 2010-02-12 20:43:00

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

Re: cope: a command-line program colouriser

It breaks compiling hmm (at least makepkg, haven't tried without it). Had to remove the cope entry from PATH every time, so I got tired and uninstalled it. Otherwise I liked it.

Last edited by JohannesSM64 (2010-02-12 20:49:28)

Offline

#36 2011-10-28 21:52:56

loper
Member
Registered: 2011-10-28
Posts: 1

Re: cope: a command-line program colouriser

Here is a bash script for complete your installation smile

#!/bin/bash
for file in /usr/share/perl5/vendor_perl/auto/share/dist/Cope/*
do
echo alias $(ls $file | cut -c51- -)="$file"
done

So after addind string of PATH just start it like
user@user $ skript_name.sh >> ~/.bashrc

Offline

#37 2016-05-07 12:43:53

cdrjameson
Member
Registered: 2013-05-19
Posts: 46

Re: cope: a command-line program colouriser

I can't get Cope to work for me, can someone help me out...

I have installed cope-git from the AUR, I have added:

export PATH=/usr/share/perl5/vendor_perl/auto/share/dist/Cope:$PATH

to my ~/.bashrc

$ printenv

confirms that my cope path has been added correctly. I have sourced ~/.bashrc and logged out and back in again to no avail.
I'm just left with with plain white text everywhere, I am using xfce-terminal what am I missing here? How do you get cope working?

Offline

#38 2016-05-09 18:10:14

null
Member
Registered: 2009-05-06
Posts: 398

Re: cope: a command-line program colouriser

What does `which ip` say? And what's your complete $PATH after the login?

Offline

#39 2016-05-09 21:51:40

cdrjameson
Member
Registered: 2013-05-19
Posts: 46

Re: cope: a command-line program colouriser

$ which ip
/usr/share/perl5/vendor_perl/auto/share/dist/Cope/ip
$ printenv
PATH=/usr/share/perl5/vendor_perl/auto/share/dist/Cope:
/usr/local/sbin:
/usr/local/bin:
/usr/bin:
/usr/lib/jvm/default/bin:
/usr/bin/site_perl:
/usr/bin/vendor_perl:
/usr/bin/core_perl

To my eyes (I don't know much though) that looks correct. Is there a command to start it that I need to put into my .xinitrc or autostart file?

Offline

#40 2016-05-10 10:22:19

null
Member
Registered: 2009-05-06
Posts: 398

Re: cope: a command-line program colouriser

Yeah. That looks very ok and very much the same as at my setup. So you also don't have any color if you execute the perl wrapper script directly (i.e. /usr/share/perl5/vendor_perl/auto/share/dist/Cope/ip)? Is there any error output?

Offline

Board footer

Powered by FluxBB