Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Stephen T. on March 13, 2008, 02:48:14 pm



Title: Termcap? Non GUI mode
Post by: Stephen T. on March 13, 2008, 02:48:14 pm
If I run in non gui mode with a character based input, what is the correlation between the terminal type in FGLTTY and the TERM evironment variable? The issue is that running a non gui app, if I run (using a specific user that has TERM set to VT220) in a true Xterm window the numeric keypad works. If I log in as the same user (so the TERM variable is still set to VT220) via a GDC FGLTTY session, the numeric keypad gives odd char strings.

What is being used to determine the keys - is that Termcap? - and if so what TERM variable is it looking at - that set in the shell (ie VT220) or that set in the GDC config (ie XTerm R6)?


Title: Re: Termcap? Non GUI mode
Post by: Sebastien F. on April 16, 2008, 03:01:58 pm
Concerning fglrun, we use the TERM and TERMCAP environment variables.
A specific termcap file is provided in FGLDIR/etc
Seb