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
|
Calendar
QuicksearchSupportRecent Entries
CategoriesTag cloud23c3 acpi advertising annouce announce april argh art awards bash blogging bugs c cli code conferences config configuration data mining debconf debian dell dns documentation email errm? events exploit fail fail2ban filesharing films flame fun gcc google graphs grml gsm hacking hacks hardware heise images information installation internet irc knowledge libacpi links linux mobile phones network news newsbeuter omg open source opera passwords php power privacy programming qa random blurb rant release releases rss scripts security service setup shell sms software spam ssh stfl stuff terminal tests text mode tip tips tools troubleshooting unix user video vim.editing web web 2.0 websites wordpress wtf www youtube zsh
|