WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TERM=rxvt  (Read 1475 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
TERM=rxvt
« on: November 28, 2016, 03:55:52 AM »
Working on some scripting, can't figure this out, AFAIK stock TC7 x86 running Xorg.
Code: [Select]
tc@box:/$ env | grep TERM
COLORTERM=rxvt
TERM=rxvt

My system does not have rxvt installed:
Code: [Select]
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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10961
Re: TERM=rxvt
« Reply #1 on: November 28, 2016, 04:16:09 AM »
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.
The only barriers that can stop you are the ones you create yourself.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: TERM=rxvt
« Reply #2 on: November 29, 2016, 10:36:23 AM »
Now i understand, thanks for the explanation curaga.