Re: tcdialog loops without stdin

Thomas Esser <[email protected]> Thu, 16 Dec 2004 06:32:25 +0100
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
Hi Harald,

> trying to install/setup teTeX packages in batch mode (with some unexpected
> problem) shows that tcdialog loops and sucks cpu time if stdin is not a tty.

Hm... The next version will have a strict separation between batch mode
(if at least one cmd line argument is given) and interactive mode.

> BTW: why do I need this TERMINFO=/usr/share/terminfo for tcdialog ???

tcdialog comes with its own version of ncurses. To get relocatable
binaries, I don't use the compile-time path for the terminfo files,
but instead, texconfig passes
  TERMINFO=$TEXMFMAIN/terminfo

> 	access("/usr/local/teTeX/terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or directory)

Hm... So, you have TEXMFMAIN=/usr/local/teTeX ?

Thomas