Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: nitram on November 28, 2016, 06:55:52 AM
-
Working on some scripting, can't figure this out, AFAIK stock TC7 x86 running Xorg.
tc@box:/$ env | grep TERM
COLORTERM=rxvt
TERM=rxvt
My system does not have rxvt installed:
tc@box:/$ $TERM
sh: rxvt: not found
Apps appears to provide only urxvt.tcz, not rxvt. Calling $TERM in a script will, therefore, not work. I looked in ~/ and /etc/skel/ and can't figure out how the TERM environment is set. Enlightenment please, thanks.
-
TERM is not the name of the X terminal emulator, it is the name of the terminal's info file in /usr/share/terminfo. It controls which features the terminal supports mainly. The terminal sets it when starting.
-
Now i understand, thanks for the explanation curaga.