On Sat, 24 May 2003, Geoff Wing wrote:

> :> >On a system where my rxvt was up for a couple months, I relogged in (with
> :> >a now newer version of rxvt) and saw that in vi(1) when I insert a new
> :> >line with "O", vi doesn't redraw the screen and so I don't see I have a
> :> >new blank line.
> :> >When I type it appears to overwrite, until I press ESC and CTRL-L.
>
> Can you see whether nvi is using termcap or terminfo, and send me the termcap

This nvi is on a Linux system; it uses ncurses and terminfo.

> entries for xterm & rxvt if termcap, or infotocap those two for terminfo.

My /usr/share/terminfo/x/xterm points to /etc/terminfo/x/xterm.

$ infotocap -v -C /etc/terminfo/x/xterm
infotocap: sorting by termcap name order
infotocap: width = 60, tversion = 0, outform = 2
"/etc/terminfo/x/xterm", line 1, col 1: Illegal character (expected
alphanumeric or @%&*!#) - 0x1a
Segmentation fault


My rxvt terminfo has problem too:

$ infotocap -v -C /etc/terminfo/r/rxvt
infotocap: sorting by termcap name order
infotocap: width = 60, tversion = 0, outform = 2
"/etc/terminfo/r/rxvt", line 1, col 1: Illegal character (expected
alphanumeric or @%&*!#) - 0x1a
"/etc/terminfo/r/rxvt", line 2, col 2: Illegal character (expected
alphanumeric or @%&*!#) - 0x1b
"/etc/terminfo/r/rxvt", line 3, col 2: Illegal character (expected
alphanumeric or @%&*!#) - 0x1b
Segmentation fault

I'll have to look at this further to give you proper information.

This is an old Debian system, soon to be upgraded to a Linux based on
NetBSD's pkgsrc or NetBSD. So maybe the problem will be fixed then.

> It's always been "xterm", well, back to 1993 at least.  However it's also
> been easy for package people to override that.  What vintage was your
> old rxvt?

I am not sure; I have used several versions. I used rxvt-2.6.1.

Also if it has always been "xterm" and I usually also set my TERM to
xterm, something must have changed between this new rxvt and the older
rxvt. (Since nothing else changed as far as I know on these systems.)

I found that old rxvt-2.6.1 binary (it was in my src directory since I
last compiled it on Jun.  4, 2001). And it works fine for me. I used TERM
as rxvt and TERM as xterm, and the nvi properly showed a black line when
inserting a new line.

I wonder what changed since 2.6.1?

   Jeremy C. Reed
   http://www.reedmedia.net/


Reply via email to