View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum ↗

iraf-v216 · Code · Issues (50) · Pull requests (81)

iraf.net Issue #120

[x11iraf] xgterm sets the wrong TERM variable

closed closed olebole opened this issue on 2017-12-06


olebole commented on 2017-12-06

When starting xgterm, the TERM variable has the wrong value:

$ echo $TERM  
vt100  

The reason is that xgterm tries to get the value from the terminfo database, which does not contain an entry for xgterm, and then falls back to vt100.

An way to install xgterm in the database is to call the tic terminfo compiler with the following file as argument (tic is part of the ncurses binaries):

# xgterm.terminfo: Terminfo entry source for xgterm  
# compile with "tic xgterm.terminfo"  
xgterm|graphic terminal for IRAF,  
	use=xterm-r5,  

This will compile and install a database entry in the home directory (resp. in the standard terminfo dir, when compiled as root) and so allows xgterm to set the correct TERM variable.

$ echo $TERM  
xgterm  

This should be part of the IRAF installation procedure.


Fixed in iraf-community/x11iraf#23


Last updated on 2017-12-07