![]() |
|
|
grep unix.com with google
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Our Members | Calendar | Search | Today's Posts | Mark Forums Read |
| OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Changing OSX Terminal Man Page Colors
For a long time, when I type man anything on my Mac, both the manpage header fonts and the background was black, so I had to use my mouse to highlight the manpage output to read it. It was really annoying.
The problem was the same both locally or using the terminal and going ssh somewhere. Finally! I fixed it, thanks to this article in MacWorld !! Set Terminal color via drag and drop | Utilities | Mac OS X Hints | Macworld |
|
|||
|
Here is a neat little trick I did to my ~/.bash_profile Code:
function woman {
tmpfile="/tmp/man ${*}.pdf"
if [ \! -f "${tmpfile}" ]
then
man -t "${*}" | pstopdf -i -o "${tmpfile}"
fi
open "${tmpfile}"
}
now if you type 'woman' instead of 'man' it will export it to PDF...I posted this on my site and a guy posted his code that will export them to a tabbed page in safari, but I have not tested his script. It is in the comments section if you want to check it out. Add PDF export of Man pages in OS X | tlarkin.com |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing CDE FrontPanel Button Colors | insamniac | SUN Solaris | 1 | 11-18-2008 01:03 PM |
| High Page In and Executable page In | srage | SUN Solaris | 9 | 11-17-2008 09:52 PM |
| Terminal colors | TShirt | UNIX for Advanced & Expert Users | 2 | 06-06-2008 09:24 AM |
| changing the colors of nedit | eynkesef | UNIX for Dummies Questions & Answers | 0 | 09-10-2006 05:39 AM |
| Changing korn shell script text Menu colors? | darthur | UNIX for Dummies Questions & Answers | 6 | 01-20-2002 07:15 PM |