Saturday, May 29, 2010

encoding with man command

i was tired of seeing unwanted strange characters when viewing man pages.... so i found that doing

alias man="man --encoding latin1"

resolved the problem for me.

My terminal is latin1 encoded, so I think 'man' know how to do the translations, as I know see everything right : )

No comments:

Post a Comment

cancel script completely on ctrl-c

I found this question interesting: basically how to cancel completely a script and all child processes : You do this by creating a subro...