NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build original Csh on Linux and FreeBSD.
hf%spg.tu-darmstadt.de@localhost (Hauke Fath) writes:
>[hf@Gstoder] ~ > csh
>[ 3270305.6523634] load: 0.23 cmd: csh 21649 [ttyraw] 0.00u 0.00s 0% 2252k
>Ah well...
Doesn't "hang", but doesn't prompt.
Despite
el_set(el, EL_PROMPT, printpromptstr);
the function printpromptstr isn't called.
When 'set edit' is executed in csh.cshrc the edit library
is initialized with:
el_init_fd (prog=0xffffff870a15 "csh",
fin=0xfc46a63e1960 <__sF>, fout=0xfc46a63e19f8 <__sF+152>,
ferr=0xfc46a63e1a90 <__sF+304>, fdin=3, fdout=17, fderr=18)
fdin=3 is the open csh.cshrc file.
When 'set edit' is used in the interactive shell it is called
with the real tty input descriptor:
el_init_fd (prog=0xffffffad8af5 "csh",
fin=0xf04b446c1960 <__sF>, fout=0xf04b446c19f8 <__sF+152>,
ferr=0xf04b446c1a90 <__sF+304>, fdin=16, fdout=17, fderr=18)
Home |
Main Index |
Thread Index |
Old Index