On Sun, 30 Jul 2000, Bob Taylor wrote:

> Anyone know the secret to get less to display in its own "window" (it 
> doesn't write on the xterm). As far as I can see it's not in the man 
> page. This is one of the "little" things that bugs me.
> 
> TIA
> 
> Bob
> 
> 
If I understand you correctly, you would like less to open a new window,
instead of its output showing up in the xterm you typed the command on, or
you have it as a menu command in X, and it doesn't work.

If you want it to work from a menu command in X, you have to use a command
like xterm -e less [file name].  If you want it to open its own window
when giving hte command from an xterm, use something like:
 xterm -e less [file name] &

Just remember, less is designed to work on the console, from the command
prompt.  It is not a X program.  If you want an x program that does the
same thing, you will have to do a little looking, or put something like
this as a menu entry...

xgetfile -exec "xterm -e less %s"

Mikkel
 -- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to