[X-Unix] .bash_profile

Juan Manuel Palacios jmpalaciosp at eml.cc
Fri Jan 9 06:34:21 PST 2004


	Short ago I posted a couple of questions to this list regarding man 
pages in Panther, but I didn't get any answer... probably an 
understanding of my problem would have helped me answer your man 
related questions. It looks like I'm going to have to post again :-) In 
any case, there's this sweet trick in the man(1) command that I think 
very few are aware about. Do you like PostScript and/or PDFs? Well, it 
turns out you can generate PostScript pages out of man pages with 
nothing more than the simple man(1) command! What page do you want, you 
want to read the bash man page? Well:

man -t bash > bash.ps

	If you distill that to PDF with something like Preview.app or 
TeXShop.app you'll get a nice looking PDF of the bash man page. Sweet, 
aint it?

	Hope that helps for the moment. I'll be reposting my man questions 
soon so you might want to look out for them. Regards,...


		Juan

On Jan 9, 2004, at 5:50 AM, Simon Forster wrote:

> Just out of curiosity, what sort of changes are people making to their 
> shell environment by changing .bash_profile? Really I'm just after 
> hints and tips which could make my command line experience easier.
>
> And on this subject, as of Panther, man pages are not scrollable in 
> the terminal. Rather, I have to use the control y and v options to 
> move up and down pages. This has got me thinking on my use of man (a 
> bad thing ;-). Can I change my environment so that an appropriate man 
> page is opened in a new terminal window with the entire text already 
> loaded. This means that I can use terminal's scroll bars to navigate 
> through the text. Of course we'll need to start at the top of the man 
> page's text.
>
> Actually, BBEdit would make a good pager for me - except that it 
> doesn't interpret the control characters used in the man pages.
>
> Hmm.
>
> Simon Forster



More information about the X-Unix mailing list