less en una Xterm, teclas Inicio y fin

1998-08-22 Thread J . Parera
Hola,
 en el $HOME tengo un archivo llamado .less con el contenido:

[~]$ cat .less 
M+Gc
poevxEnd[~]$ 

Con dicho archivo consigo que en la consola al hacer un less pueda utilizar las
teclas Inicio y Fin para ir al principio y al fin del archivo, respectivamente,
pero en las Xs no me funciona.

Cómo puedo habilitarlo en las Xs?

En la bo me funcionaba pero en la hamm solo me ba en la consola.

Un saludo,
  J. Parera


Re: less in an xterm

1997-04-15 Thread Carey Evans
[EMAIL PROTECTED] writes:

  When I run less in an xterm, it seems to save the image of whatever is
  in the window, display whatever it's displaying, and then restore the
  image.

[snip]

 You just have to use less -X.  Or better, put -X in the environment
 variable called LESS, so that less never restores the display.

If you don't want any programs doing this in an xterm, you can also
remove the codes from the terminfo file for xterm, or put

XTerm*titeInhibit: true

in your /etc/X11/Xresources (or ~/.Xresources maybe).

-- 
Carey Evans  *  [EMAIL PROTECTED]

 Double, double, toil and trouble, /
   Fire burn and cauldron bubble.


less in an xterm

1997-04-14 Thread Riku Saikkonen
Something I've wondered about for a long time (ever since I first installed
Debian 1.1), and thought I'd finally ask...

When I run less in an xterm, it seems to save the image of whatever is in
the window, display whatever it's displaying, and then restore the image. On
the Linux console, when I exit less, I get just the shell prompt on the
bottom of the screen, and not whatever was on the screen when I ran less.

I'm used to and like the console behaviour more. Is there a way to get the
same behaviour in an xterm?

The same happens with anything that runs less, like man. The behaviour in an
xterm is, to me, especially annoying with man pages, since I'm used to doing
a man command, quitting the pager keeping the top of the man page on the
screen, and then using the Synopsis on the man page to formulate my command
at the shell prompt.

This seems to be somewhat of a `Debian feature', since I haven't seen it on
Slackware systems. I think it has to do with the terminfo entry for xterm
(Slackware's less uses termcap, AFAIK), but I'm not sure.

--
-=- Rjs -=- [EMAIL PROTECTED], [EMAIL PROTECTED]


Re: less in an xterm

1997-04-14 Thread beland
 When I run less in an xterm, it seems to save the image of whatever is
 in the window, display whatever it's displaying, and then restore the
 image. On the Linux console, when I exit less, I get just the shell
 prompt on the bottom of the screen, and not whatever was on the screen
 when I ran less.
 
 I'm used to and like the console behaviour more. Is there a way to get
 the same behaviour in an xterm?

You just have to use less -X.  Or better, put -X in the environment
variable called LESS, so that less never restores the display.

-- 
Michel Beland [EMAIL PROTECTED]
professionnel de recherchetel: (514)369-5223  fax: (514)369-3880
CERCA (CEntre de Recherche en Calcul Applique)
5160, boul. Decarie, bureau 400(423), Montreal (Quebec), Canada, H3X 2H9