Subject: Curses programs set terminal to 7 bit
To: None <firstname.lastname@example.org>
From: D'Arcy J.M. Cain <email@example.com>
Date: 11/01/1994 21:43:26
I checked the FAQ but can't seem to find this in it. It seems that
if a program uses curses it will change the terminal to 7 bit even
parity even if it started out as 8 bit. I found this to be true of
pine and tin. Vi seems to be OK. I assume that that's because it
uses termlib without going through curses - at least that's the
only difference I could think of. I tried this on two systems, one
via dialin serial and the other by rlogin and on an Xterm. In all
cases I can do "stty cs8" and a "stty -a" shows the setting to have
taken. After running vi the settings are unchanged. After running
pine or tin the settings have changed to cs7. It happens on program
startup as the programs are unusable unless istrip is also active.
Has anyone seen this problem and is there a fix?
D'Arcy J.M. Cain (firstname.lastname@example.org) |
Planix, Inc. | Democracy is three wolves and a
Toronto, Ontario, Canada | sheep voting on what's for dinner.
+1 416 424 2871 (DoD#0082) (eNTP) |