From: Kolja Kaehler (kk@cs.tu-berlin.de)
Date: 07/15/92


From: kk@cs.tu-berlin.de (Kolja Kaehler)
Subject: Re: elvis and xterm
Date: Wed, 15 Jul 1992 22:28:45 GMT

duty@ariel.ucs.unimelb.edu.au (Duty Programmer) writes:
> In article <1992Jul10.192744.16709@informatik.uni-wuerzburg.de>, hohndel@teutonia.informatik.uni-wuerzburg.de (Dirk Hohndel) writes:
> |> If I use TERM=xterm, elvis doesn't recognize the number of lines in my xterm.
[...]
> Yep. I presume elvis uses the termcap library to find out how many lines
> and columns your terminal has. These values change dynamically on an xterm,
> so you need to put the current values into the environment. This is what the X11
> 'resize' command does. I'm not sure if zorst distributes this with his x11
> binaries. If so, try 'eval `resize`'; this is usually aliased to 'rs'.
>
> rab
> --

I have the same problem - though I *did* use resize to change the TERMCAP
environment variable. elvis just seems to ignore the li# - field (but it
reads $TERMCAP - after 'export TERMCAP=foo' it chokes ...)

while I'm at it: insert mode doesn't seem to work right; with TERM=console
each time I enter a character within elvis an extra space is added after
the cursor. I removed :im and it works. Is this a known bug ?

I'm using version 0.96c with /etc/termcap from the 0.96 rootdisk.

        Kolja

-- 
==============================================================================
Kolja Kaehler                                            <kk@cs.tu-berlin.de>