Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] Man a colori
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Sun Jan 30, 2005 5:05 pm    Post subject: [TIP] Man a colori Reply with quote

Ovvero, vi piacerebbe avere man con un output a colori? Niente di piu semplice:
Code:
emerge most

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 :D


Last edited by Dhaki on Mon Jan 31, 2005 7:37 am; edited 2 times in total
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Jan 30, 2005 5:13 pm    Post subject: Reply with quote

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.... :roll:

(scherzo :P)

La domanda resta valida pero' eheh
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Sun Jan 30, 2005 5:21 pm    Post subject: Reply with quote

lavish wrote:
Code:

darkstar lavish # emerge -vp emerge most

Sicuro che sia giusto? :roll:
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Jan 30, 2005 5:23 pm    Post subject: Reply with quote

8O 8O 8O 8O 8O

/me non postera' piu' fino a domani... oggi non e' giornata

8O 8O 8O 8O 8O
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun Jan 30, 2005 5:24 pm    Post subject: Reply with quote

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 :lol:

ciao
_________________
while True:Gentoo()


Last edited by xchris on Sun Jan 30, 2005 5:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Jan 30, 2005 5:26 pm    Post subject: Reply with quote

@ xchris: non infieriamo :cry: :cry: :cry:

Tip fighissimo cmq, grazie!
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun Jan 30, 2005 5:31 pm    Post subject: Reply with quote

lavish wrote:
@ xchris: non infieriamo :cry: :cry: :cry:


non volevo infierire..
ho postato alla velocita' di un tartaruga :)
un post mio = due letture e 2 "scritture" vostre :lol:
ciao

EDIT:Grazie per il man colorato :)
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Jan 30, 2005 5:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Sun Jan 30, 2005 5:35 pm    Post subject: Reply with quote

dai lavish..capita..io cmq lo sto installando ora
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Sun Jan 30, 2005 5:37 pm    Post subject: Reply with quote

gran bel tip! :!:
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Jan 30, 2005 5:39 pm    Post subject: Reply with quote

xchris wrote:

non volevo infierire..[CUT]


Ma dai, lo so che non volevi infierire :D 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
View user's profile Send private message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Sun Jan 30, 2005 5:47 pm    Post subject: Reply with quote

lavish wrote:
Code:

alias man="man -P /usr/bin/most"

CYA

L'ho aggiunto al post originale :wink:
Back to top
View user's profile Send private message
Cerberos86
Guru
Guru


Joined: 13 Dec 2003
Posts: 581
Location: Padova

PostPosted: Sun Jan 30, 2005 5:51 pm    Post subject: Reply with quote

wonderful !!! :wink:
_________________
Account jabber: cerberos@jabber.org
"I'm using the hand..." ~ Guybrush Threepwood ~
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Sun Jan 30, 2005 5:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Jan 30, 2005 5:55 pm    Post subject: Reply with quote

Dhaki wrote:

L'ho aggiunto al post originale :wink:


Spero di recuperare qualche punto cosi'! :lol:

ps: grazie ;)
pps: app-xemacs/emerge :o

<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
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Sun Jan 30, 2005 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Sun Jan 30, 2005 6:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Bengio
Apprentice
Apprentice


Joined: 20 Feb 2003
Posts: 186
Location: Italy - Pisa

PostPosted: Sun Jan 30, 2005 6:02 pm    Post subject: Reply with quote

Facilita la lettura ... grazie Dhaki

Salut,
Bengio
_________________
Registered as User #305777 with the Linux Counter.
Back to top
View user's profile Send private message
alexzndr
n00b
n00b


Joined: 11 Jan 2005
Posts: 55
Location: Somewhere in Time

PostPosted: Sun Jan 30, 2005 6:05 pm    Post subject: Reply with quote

Bel tip... forse spingera' qualcuno ad utilizzare di piu' il man :D
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sun Jan 30, 2005 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Sun Jan 30, 2005 6:26 pm    Post subject: Reply with quote

non usa .bashrc ma solo il
Code:
/etc/profile


almeno così fa da me....
_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Jan 30, 2005 6:34 pm    Post subject: Reply with quote

da me usa tranquillamente /root/.bashrc
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Sun Jan 30, 2005 6:35 pm    Post subject: Reply with quote

legge prima il profile e poi e .bashrc, se esiste il secondo bypassa il primo
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sun Jan 30, 2005 7:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Sun Jan 30, 2005 7:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum