Tiny Core Base > TCB Q&A Forum
TERM=rxvt
(1/1)
nitram:
Working on some scripting, can't figure this out, AFAIK stock TC7 x86 running Xorg.
--- Code: ---tc@box:/$ env | grep TERM
COLORTERM=rxvt
TERM=rxvt
--- End code ---
My system does not have rxvt installed:
--- Code: ---tc@box:/$ $TERM
sh: rxvt: not found
--- End code ---
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.
curaga:
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.
nitram:
Now i understand, thanks for the explanation curaga.
Navigation
[0] Message Index
Go to full version