Subject: Re: HEADS UP: wide curses code merged to HEAD
To: Brett Lymn <blymn@baesystems.com.au>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: current-users
Date: 05/28/2007 23:07:11
There is another problem:

> vi
Segmentation fault (core dumped)

(gdb) bt
#0  0xbbbb8fac in getch () from /usr/lib/libcurses.so.6
#1  0xbbbb9162 in getch () from /usr/lib/libcurses.so.6
#2  0xbbbb92f0 in __init_getch () from /usr/lib/libcurses.so.6
#3  0xbbbb79a6 in __init_get_wch () from /usr/lib/libcurses.so.6
#4  0xbbbb65ce in newterm () from /usr/lib/libcurses.so.6
#5  0x0804c6ff in cl_screen ()
#6  0x0807981b in vi ()
#7  0x080664ce in editor ()
#8  0x0804b72e in main ()

but only if I run this in a screen and TERM is set to screen.

Bernd