Re: TERM settings on UNIX (Another off the wall question)




Chris wrote:
PLATFORM: HP-UX 11i

I'd like to be able to have the application set the TERM value based on
some command or function key so that when we take over these sessions
(and, for that matter, return control to the users) we can adjust the
TERM setting accordingly.

Surely the TERM variable is set by the login. It should be detecting
the terminal type and setting it appropriately by getting a response
from the terminal or emulator. If the emulator is not sending the
correct response string then get the user to set it correctly in the
terminal software.

Alternately set the TERM with a shell script before the cobol
application starts.

.