Bug#2155: tcsh - aborts if unknown TERM at login
> Package: tcsh
> Status: install ok installed
> Priority: standard
> Section: shells
> Version: 6.06
> Revision: 2
>
>
> I've found that tcsh fails on rlogin or telnet if the TERM env
> variable provided by those protocols is unknown on the system. Tcsh
> fails after having completed all of .cshrc and .login. It appears to
> die as soon as it tries to display the prompt. Strace makes it seems
> like the problem is with reading "/etc/termcap", possibly a type
> of buffer overflow.
>
> My prompt: %B%m:%h - %~%#%b (look like: "bcarsd26:75 - ~/bin>")
>
> Below is some strace output that I thought might be relavent. The terminal
> type supplied is "vs100" (the xterm entry on Solaris 2.3).
Was an ncurses bug, compiling with later version fixed it. This was fixed
in tcsh-6.06-3.
Andrew
--
Dehydration - 34%, Recollection of previous evening - 2%, embarrassment
factor - 91%. Advise repair schedule:- off line for 36 hours, re-boot
startup disk, and replace head - wow, what a night!
-- Kryten in Red Dwarf `The Last Day'
Andrew Howell andrew@it.com.au
Perth, Western Australia howellaa@cs.curtin.edu.au
Reply to: