LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-04-2004, 11:07 AM   #1
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Aterm


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


Thanks for all your help.
 
Old 11-04-2004, 11:43 AM   #2
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
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

though I wouldnt reccomend the latter =]
 
Old 11-04-2004, 12:33 PM   #3
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
Unhappy aterm

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 ?
 
Old 11-04-2004, 01:49 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
aterm wierdness

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.
 
Old 11-04-2004, 05:16 PM   #5
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
uhm.

export TERM=xterm
 
Old 11-04-2004, 11:32 PM   #6
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
aterm

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.
 
Old 11-05-2004, 06:37 PM   #7
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
look in the aterm source.

I think theres an easier way to do it, but too bad, 'cause I dont know it =P
 
Old 11-28-2006, 04:35 PM   #8
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Aterm HELP!!! SentralOrigin Linux - Software 9 10-24-2005 08:48 PM
Aterm Kevo SUSE / openSUSE 4 11-27-2004 12:06 AM
aterm again theonebeyond Linux - Software 4 11-16-2004 12:18 AM
need help with aterm _Master_ Linux - Software 1 09-16-2003 01:25 AM
aterm killi Linux - Software 1 05-18-2003 06:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration