Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Termcap? Non GUI mode  (Read 8406 times)
Stephen T.
Posts: 114

« 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)?
Sebastien F.
Four Js
Posts: 509

« Reply #1 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
Pages: [1]
  Reply  |  Print  
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines