View previous topic :: View next topic |
Author |
Message |
Dhaki Guru
Joined: 16 Jun 2004 Posts: 325 Location: Ticino - CH
|
Posted: Sun Jan 30, 2005 5:05 pm Post subject: [TIP] Man a colori |
|
|
Ovvero, vi piacerebbe avere man con un output a colori? Niente di piu semplice:
e in seguito
Code: | export MANPAGER="/usr/bin/most" |
Invece che settare la variabile lavish consiglia:
Code: | alias man="man -P /usr/bin/most" |
Questo alias va aggiunto al .bashrc dell'user, oppure nel /etc/profile se si vuole usare globalmente.
Enjoy
Last edited by Dhaki on Mon Jan 31, 2005 7:37 am; edited 2 times in total |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Sun Jan 30, 2005 5:13 pm Post subject: |
|
|
Code: |
darkstar lavish # emerge -vp emerge most
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] app-editors/xemacs-21.4.15-r2 +X -Xaw3d -athena -berkdb -canna -dnd -freewnn +gpm +jpeg -ldap +motif -mule -nas -neXt +png -postgres +tiff -xface 10,441 kB
[ebuild N ] app-xemacs/emerge-1.09 59 kB
[ebuild N ] app-xemacs/xemacs-base-1.75 458 kB
[ebuild N ] sys-apps/most-4.9.5 114 kB
Total size of downloads: 11,073 kB
|
per forza emacs? Non voglio avere a che fare con il demonio....
(scherzo )
La domanda resta valida pero' eheh _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
Dhaki Guru
Joined: 16 Jun 2004 Posts: 325 Location: Ticino - CH
|
Posted: Sun Jan 30, 2005 5:21 pm Post subject: |
|
|
lavish wrote: | Code: |
darkstar lavish # emerge -vp emerge most
|
|
Sicuro che sia giusto? |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
|
Back to top |
|
|
xchris Advocate
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Sun Jan 30, 2005 5:24 pm Post subject: |
|
|
veramente non dipende da emacs
Code: |
lyra root # cat /var/db/pkg/sys-apps/most-4.9.2/*DEPEND
>=sys-libs/slang-1.4.2
>=sys-libs/ncurses-5.2-r2
>=sys-libs/slang-1.4.2
>=sys-libs/ncurses-5.2-r2
lyra root #
|
EDIT:neanche io posto +...non avevo visto l'errore
ciao _________________ while True:Gentoo()
Last edited by xchris on Sun Jan 30, 2005 5:27 pm; edited 1 time in total |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
|
Back to top |
|
|
xchris Advocate
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Sun Jan 30, 2005 5:31 pm Post subject: |
|
|
lavish wrote: | @ xchris: non infieriamo
|
non volevo infierire..
ho postato alla velocita' di un tartaruga
un post mio = due letture e 2 "scritture" vostre
ciao
EDIT:Grazie per il man colorato _________________ while True:Gentoo() |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Jan 30, 2005 5:32 pm Post subject: |
|
|
Davvero carino, complimenti per il tip
EDIT: Comunque io ottengo un risultato simile con aterm :
Code: | gutter@giskard ~ $ cat .Xresources | grep aterm
aterm*background: Black
aterm*foreground: White
aterm*cursorColor: White
aterm*reverseVideo: false
aterm*font: 10x20
aterm*scrollKey: on
aterm*geometry: 80x25+120+120
aterm*transparent: true
aterm*shading: 15
aterm*scrollBar: false
!aterm*transpscrollbar: true
aterm*loginShell: true
aterm*colorBD: Blue
aterm*colorUL: Green
!aterm*tinting: Blue
aterm*saveLines: 1000 |
Provare per credere _________________ Registered as User #281564 and Machines #163761
Last edited by gutter on Sun Jan 30, 2005 5:36 pm; edited 1 time in total |
|
Back to top |
|
|
oRDeX Veteran
Joined: 19 Oct 2003 Posts: 1325 Location: Italy
|
Posted: Sun Jan 30, 2005 5:35 pm Post subject: |
|
|
dai lavish..capita..io cmq lo sto installando ora |
|
Back to top |
|
|
knefas l33t
Joined: 21 Dec 2003 Posts: 828
|
Posted: Sun Jan 30, 2005 5:37 pm Post subject: |
|
|
gran bel tip! |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Sun Jan 30, 2005 5:39 pm Post subject: |
|
|
xchris wrote: |
non volevo infierire..[CUT] |
Ma dai, lo so che non volevi infierire Stavo scherzando eheh
Il bello e' che questa e' la stupidata n.2 della giornata.. la n.1 la potete trovare qui cosi' finisco ben bene di ridicolizzarmi eheheh
ritornando IT io ho creato un alias ..
Code: |
alias man="man -P /usr/bin/most"
|
Ho preferito farlo cosi'.. magari puo' tornare utile a qualcuno
CYA _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
Dhaki Guru
Joined: 16 Jun 2004 Posts: 325 Location: Ticino - CH
|
Posted: Sun Jan 30, 2005 5:47 pm Post subject: |
|
|
lavish wrote: | Code: |
alias man="man -P /usr/bin/most"
|
CYA |
L'ho aggiunto al post originale |
|
Back to top |
|
|
Cerberos86 Guru
Joined: 13 Dec 2003 Posts: 581 Location: Padova
|
Posted: Sun Jan 30, 2005 5:51 pm Post subject: |
|
|
wonderful !!! _________________ Account jabber: cerberos@jabber.org
"I'm using the hand..." ~ Guybrush Threepwood ~ |
|
Back to top |
|
|
oRDeX Veteran
Joined: 19 Oct 2003 Posts: 1325 Location: Italy
|
Posted: Sun Jan 30, 2005 5:52 pm Post subject: |
|
|
Code: | sh: line 1: 29679 Broken pipe /bin/gunzip -c '/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man/man1/gcc.1.gz'
|
quando schiaccio 'q' mi da quell'errore..
come mai? |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Sun Jan 30, 2005 5:55 pm Post subject: |
|
|
Dhaki wrote: |
L'ho aggiunto al post originale |
Spero di recuperare qualche punto cosi'!
ps: grazie
pps: app-xemacs/emerge
<EDIT> aggiunto quote | a me va bene con il "q" _________________ minimalblue.com | secgroup.github.io/
Last edited by lavish on Sun Jan 30, 2005 5:59 pm; edited 1 time in total |
|
Back to top |
|
|
Sasdo Guru
Joined: 18 Feb 2004 Posts: 542 Location: 44.476474,11.644446 circa.
|
Posted: Sun Jan 30, 2005 5:57 pm Post subject: |
|
|
a me da errore:
Code: | most bash
bash: failed to open for reading.
|
per tutte le pagine man che ho provato...
some ideas? _________________ LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo. |
|
Back to top |
|
|
Sasdo Guru
Joined: 18 Feb 2004 Posts: 542 Location: 44.476474,11.644446 circa.
|
Posted: Sun Jan 30, 2005 6:00 pm Post subject: |
|
|
ooopss!! ho riletto bene i post precedenti... mea culpa, scusate! _________________ LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo. |
|
Back to top |
|
|
Bengio Apprentice
Joined: 20 Feb 2003 Posts: 186 Location: Italy - Pisa
|
Posted: Sun Jan 30, 2005 6:02 pm Post subject: |
|
|
Facilita la lettura ... grazie Dhaki
Salut,
Bengio _________________ Registered as User #305777 with the Linux Counter. |
|
Back to top |
|
|
alexzndr n00b
Joined: 11 Jan 2005 Posts: 55 Location: Somewhere in Time
|
Posted: Sun Jan 30, 2005 6:05 pm Post subject: |
|
|
Bel tip... forse spingera' qualcuno ad utilizzare di piu' il man |
|
Back to top |
|
|
codadilupo Advocate
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Sun Jan 30, 2005 6:21 pm Post subject: |
|
|
non funziona pero' da root. O quanto meno, anche se speecifico l'alias in /etc/skel/.bashrc o coio il file dentro /root/ non mi cambia nulla. Ergo... quale diavolo .bashrc usa root ?
Coda |
|
Back to top |
|
|
Sasdo Guru
Joined: 18 Feb 2004 Posts: 542 Location: 44.476474,11.644446 circa.
|
Posted: Sun Jan 30, 2005 6:26 pm Post subject: |
|
|
non usa .bashrc ma solo il
almeno così fa da me.... _________________ LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo. |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
|
Back to top |
|
|
oRDeX Veteran
Joined: 19 Oct 2003 Posts: 1325 Location: Italy
|
Posted: Sun Jan 30, 2005 6:35 pm Post subject: |
|
|
legge prima il profile e poi e .bashrc, se esiste il secondo bypassa il primo |
|
Back to top |
|
|
codadilupo Advocate
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Sun Jan 30, 2005 7:08 pm Post subject: |
|
|
non so che dirvi... io in /root ho solo bash_history, e ho aggiunto .bashrc ma non lo legge. Ho provato a modificare anche /etc/skel/.bashrc dare env-update && source /etc/profile ma nulla...
l'unica per averlo da root é dare
Code: | # man -p /usr/bin/most <pacchetto> |
Coda |
|
Back to top |
|
|
Dhaki Guru
Joined: 16 Jun 2004 Posts: 325 Location: Ticino - CH
|
Posted: Sun Jan 30, 2005 7:28 pm Post subject: |
|
|
codadilupo wrote: | l'unica per averlo da root é dare
Code: | # man -p /usr/bin/most <pacchetto> |
Coda |
E aggiungendo a /etc/profile "source ~/.bashrc" ? |
|
Back to top |
|
|
|