Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] man pages (was Browser blues)



>>>>> "HS" == Hiroshi  <Lyle> writes:

    HS> First, thank you for the detailed reply, it's one I'm still referencing 
    HS> for information - I really appreciate all that info!  Now, a question 
    HS> about the man pages - I've done exactly as you suggest, and I happily 
    HS> discovered all this information popping up - and it's great, but there 
    HS> is one seemingly minor problem that is actually quite important to me - 
    HS> I spend most of the day in front of a CRT monitor and since a white 
    HS> screen gives me a headache and gets my eyes to hurting so much that I 
    HS> can barely keep them (painfully) open, I have set my display set to 
    HS> "Dark Blue" which works very well, but a number of things still come up 
    HS> with stark, painful white backgrounds.  This is one reason I paid for 
    HS> the Linux version of EditPad Pro actually, as it works with a dark 
    HS> background.  I use Scite from time to time (for better copy-paste 
    HS> performance), but it's torture to use it at night due to the stark white 
    HS> background that it displays.

You can set defaults for your X applications in a file .Xdefaults in
your home directory. For instance I have this for xterm fg and bg
colors:

xterm_color*background: Black
xterm_color*foreground: Wheat

You can also play interactively with an application colors and other
resources with `editres'.

    HS> So - here's the question:
    HS> While I have been copy pasting man pages (man man for a start!) over to 
    HS> a text editor screen by screen, is there some way to output that text 
    HS> into a text editor more efficiently?  Is it possible to get the full 
    HS> contents of a selection like "man man" into the clipboard?  The keyboard 
    HS> shortcuts I'm used to using with text editors don't work and the mouse 
    HS> will only highlight what is currently visible on the screen.....

If you use the right text editor, you can run M-x man ENTER man...

$ man man | col -b > man.txt

will save a text version of the man page in the file named man.txt,
which you can later open in your editor.

$ man man | col -b | lpr

will send it to the printer.

-- 
Viktor


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links