Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey everyone got me a strange problem. I compiled aterm recently on my laptop here and for some reason when I run some commands in it i get a warning that the terminal is not fully fuctional. Wondering if im missing something or a library or something.
ohh one of the commands that i get this error on is man
no. the problem is your TERM variable. These programs don't know what TERM=aterm is. Add an entry to your termcap, or just do it quick and dirty and export TERM=xterm
Hmmm ok well I found termcap file in /etc directory but im not sure what kind of an entry I would put in there? Anyway it seams strange becuase I have compiled aterm before with slackware and have not had this issue so it just seams strange to me to have this problem now. But anyway I would post the termcap file here but for some reason I cant via a xterm or xedit ?
Hey everyone I seem to have found out what the problem is. When you start aterm it automaticly defaults to use rxvt rather then xterm I dont know why they would use this instead of xterm but who the hell knows. Anyway i dont have rxvt installed on my system and honestly dont want to install it because ill never use it. Any sugestions on how to get aterm to set the TERM variable to xterm would be helpfull at this point.
Sorry what i ment to say was is there a way to get aterm to use the correct term value of xterm rather then rxvt every time it stats without having to manually do a TERM=xterm command in that terminal. Or am I wasteing my time and this is something that is hardcoded into the system.
For future refrence there acutally is a way to do this Im only reposting in this thread in hope that its usefull to somone else in the future. And yes i know its VERY old.
The script below would reslove this issue
Code:
cat > /etc/profile.d/tinker-term.sh << "EOF"
# This will tinker with the value of TERM in order to convince certain
# apps that we can, indeed, display color in their window.
if [ -n "$COLORTERM" ]; then
export TERM=xterm-color
fi
if [ "$TERM" = "xterm" ]; then
export TERM=xterm-color
fi
EOF
This is part of the BLFS book regarding term play.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.