Bruce Momjian <[EMAIL PROTECTED]> writes:

| The problem is that ChkTeX requires the TERM environment variable to be
| set.  (I saw this when I looked in the X session error log.)  When you
| invoke LyX from the command line, you usually have a TERM set, but when
| you invoke LyX from an X menu, the X window manager usually doesn't have
| this set, because it doesn't have a terminal.

Seems that this is really a bug in ChkTeX and the startup of X. ChkTeX
becuase it cannot run without TERM set, and in X startup files for not
setting it.

| My suggestion is either to mention the need to have TERM set when you
| start LyX if you are going to use ChkTeX, or have LyX check for a value
| of the environment variable TERM, and if it is not set, set it to vt100
| before executing chktex.

Of course LyX can just set the TERM variable if it is not set already. 
I guess we will add this hack.

| I doubt you want the ChkTeX maintainer to make a change to allow the
| TERM value not to be set.

But the X startup files...

        Lgb

Reply via email to