Hi there,
Just compiled debian's tcsh 6.06-3. It runs fine, but on virtual consoles
(tty[0-9]+) a terminal problem arises; under X all is well.
The new tcsh loads ncurses:
ldd /bin/tcsh
libncurses.so.3.0 => /lib/libncurses.so.3.0
libc.so.5 => /lib/libc.so.5.3.12
and, as I found out, ncurses requires the terminfo files. The OLD (1994)
terminfo c/console file we used (generates colors with dialog, setterm and
color-ls) sends wrong codes when scrolling. Result is 0G in the upper-left
corner and wrong cursor position.
I renamed console and re-made the original symlink to ../l/linux.
That solves the problem, but also removes all color handling.
I untic'ed both console entries, and both mension colors#8 as capability.
What on earth am I doing wrong? What sets the 'console' term types (no it's
not /etc/login.defs, /etc/ttys, or /etc/ttytype, neither is it in the binaries
of getty, login, init (2.64) or the kernel.
My system is initially sls 1.03 based, but gradually shifted to slackware.
Now it is ELF, kernel 2.0.19 (yes a new "stable" kernel every day :-(),
libc-5.3.12.
We run an old (a.out based) setterm. The sources have'n changed since 1992. Is
there a replacement somewhere that runs ok under elf and links with ncurses?
And what about dialog 0.6c? Why do distributions still use 4.x?
In short, I'm stunned; guru's, please help.
Thanks!
piet
--
Piet W. Plomp, ICCE, Groningen University | --- __ o __~o