Re: Error opening terminal: generic.
Alex Farrell WA15 consultant wrote: Hi all, Well, I'm sure *someone* must have seen the error: Error opening terminal: generic. when running texconfig. I make'd teTeX v1.0.7, with the texmf dir correctly identified, and all was successful. However, make install fails with the above error when it runs texconfig. Any suggestions would be very much appreciated. Following gives same error message: % TERM=generic dialog --yesno "Hello" 3 40 zsh: can't find termcap info for generic Error opening terminal: generic. If you look at the texconfig, it uses the dialog program (atleast on Linux and BSD). So, it seems you have not defined your TERM environment variable. Try xterm or vt100, depending on what kind of terminal (emulator) you use. -- Arto V. Viitanen [EMAIL PROTECTED] University of Tampere, Department of Computer and Information Sciences Tampere, Finland http://www.cs.uta.fi/~av/
Re: Error opening terminal: generic.
Alex Farrell WA15 consultant [EMAIL PROTECTED] writes: Hi all, Well, I'm sure *someone* must have seen the error: Error opening terminal: generic. when running texconfig. I make'd teTeX v1.0.7, with the texmf dir correctly identified, and all was successful. However, make install fails with the above error when it runs texconfig. Any suggestions would be very much appreciated. Try setting the TERM environment variable to vt100. In a Bourne-style shell, that would be: TERM=vt100 export TERM texconfig uses dialog, and I bet your $TERM is "generic", which dialog and I have never heard of. Just a guess. -- --Ed Cashin PGP public key: [EMAIL PROTECTED] http://www.coe.uga.edu/~ecashin/pgp/
Re: Error opening terminal: generic.
If you look at the texconfig, it uses the dialog program (atleast on Linux and BSD). So, it seems you have not defined your TERM environment variable. Try xterm or vt100, depending on what kind of terminal (emulator) you use. texconfig ignores the environment variable $TERM (and sets TERM=generic for the dialog call) if it decides to use its own dialog program. That only works, however, if the terminfo file $TEXMFMAIN/texconfig/g/generic is in its place. On a FreeBSD or Linux system, texconfig uses the system's /usr/bin/dialog (if it exists) and does not use its own "generic" terminal settings. Thomas
Re: Error opening terminal: generic.
"Ed" == Ed L Cashin [EMAIL PROTECTED] writes: Try setting the TERM environment variable to vt100. In a Bourne-style shell, that would be: TERM=vt100 export TERM texconfig uses dialog, and I bet your $TERM is "generic", which dialog and I have never heard of. Just a guess. Hi Ed, there had been a problem in the past which Thomas has fixed in the latest beta. In older versions of teTeX texconfig first checks whether /usr/bin/dialog exists on the system. If yes, it is called and uses the current TERM type. If it does not exist it uses its own dialog with TERM=generic. The corresponding terminfo file and a README is in texmf/texconfig. If someone has a dialog in /bin rather than in /usr/bin and /bin comes before teTeX/bin in $PATH, texconfig wants to use its own dialog, sets TERM=generic but then runs /bin/dialog (without the full path) which would cause this error message. I had a problem when I installed my own teTeX on Slackware Linux. The Slackware setup program used teTeX's dialog because it was found first in $PATH but that didn't know what to do with TERM=linux. Thomas has changed two things now in the latest beta release. 1. texconfig now looks for a system dialog in /bin and /usr/bin, and 2. the dialog provided by teTeX is now called tcdialog to prevent clashes. It works well for me. Regards, Reinhard -- Reinhard Kotucha Phone: +49-511-751355 Berggartenstr. 9 D-30419 Hannover mailto:[EMAIL PROTECTED] Microsoft isn't the answer. Microsoft is the question, and the answer is NO.