less colors for man pagesTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
It's not really undocumented. FOO_TERMCAP can be for all programs which compiled/linked with/against termcap
There is, BTW, another Program which can display colorized manpages. It's called vim.
Since Debian, unfortunately, doesn't support the MANPAGER environment variable (as opposed to, say, Mac OS X), you'll have to write a Shell script such as ~/bin/pager.sh: #!/bin/sh col -b | vim -R -c 'set ft=man nomod nolist ignorecase' - and then, in your dotfiles: alias man='man -P pager.sh'
yes exactly, vim has this already. but i don't really like it, it has the drawback to exit on space if you are at the end of a document.
One more reason to love you... err, your blogs! I have linked them to mine (just started, I don't know if you like my opinions, but check back later, there will be on many subjects, very much inluding *nix stuff like shell scripting...
btw, I'm working on usblock.sh - you might want to check it out, though v. 0.1b has a lot that sucks, 0.2b will be there soon, it will work better, less complicatedly, yet will offer reprogramming support through configuration file - hard to explain the point, but I think you will like it even if you laugh at how 0.1b is made The blog is on my site, surprisingly under "HackNBlog" link on menu Add Comment
|
CalendarQuicksearchSupportRecent Entriesevolution of spam or WTF is this!
Friday, March 19 2010 if you type google into google... Wednesday, March 17 2010 Two weeks with the n900 Monday, February 8 2010 Chomsky garden gnome Wednesday, December 23 2009 wikileaks released 9/11 pager messages Thursday, November 26 2009 Mandelbrot in 3D Sunday, November 22 2009 ssl and ssh multiplexing using sslh Thursday, October 29 2009 gcc and printf/puts optimizations Thursday, September 17 2009 security of scponly/sftp-server in combination with apache Friday, August 14 2009 another note to the keysigning debacle Wednesday, August 5 2009 ArchivesCategoriesTag cloud23c3 acpi advertising annouce announce april argh art awards bash blogging browser bugs c cli code config configuration copyright data mining debian dell dns documentation email errm? events fail filesharing films flame fun gcc google graphs grml hacking hacks hardware heise information installation internet irc knowledge libacpi links linux mail monitoring network networking news newsbeuter nonsense omg openoffice open source opera passwords phrack power privacy programming qa random blurb rant release releases rss scripts security service setup shell software spam ssh stfl stuff terminal tests text mode tip tips tools troubleshooting unix user video vim.editing web web 2.0 websites wikipedia wordpress wtf www youtube zsh
|