On 07/09/05, Peter Van Eynde <[EMAIL PROTECTED]> wrote:
>> Instead of disabling hemlock altogether, why not have it issue an
>> error if it can't find any TERMCAP? Besides, you can retrieve the
>> termcap information from current terminal with infocmp(1), so the
>> termcap data is just a (run-program "infocmp" (list (getenv "TERM"))
> 
> This I did not know. I'm hacking a working hemlock up...
>
I would recommend making several attempts at getting the TERMCAP,
starting with $TERMCAP, then $(infocmp -C), then /etc/termcap. Also,
infocmp already uses $TERM by default so no need to pass it as an
argument. If I read the manual correctly, you need option -C.

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
Mathematics is as little a science as grammar is a language. -- Ernst Mayr

Reply via email to