xterm problem?

Thread Tools Search this Thread
Operating Systems Linux Slackware xterm problem?
# 1  
Old 06-26-2011
xterm problem?

My understanding is that /usr/share/terminfo/x/ is populated from a standard set of files and not by compiling, i.e. tic, termcaps.
I am getting from both regular user and root when issuing:
man tic ------> WARNING: terminal is not fully functional
tset -q --------> xterm: unknown terminal type
infocmp ----->can't open /usr/share/terminfo/x/xterm
echo $XTERM --> xterm
Now the xwindow I am getting that in defines itself as: xterm
Can someone tell me where XTERM is defined when I boot the system; I know it is not in /etc/profile, ~/.profile, ~/.bashrc.
The system is Slackware 13.0 (full install) using xfce window manager. Privs are 755 on all directories so don't think they are a problem.
I have also run my scheme using chkrootkit and matched the md5 check sums to the original set created before being used by others/web so I am don't think there has been an intrusion. At a total loss to explain how I got here but am insisting on not reinstalling.

Last edited by slak0; 06-26-2011 at 11:58 PM..
# 2  
Old 06-27-2011
Where is your real terminfo db? (try locate -b terminfo or locate -b xterm). One possible place is /lib/terminfo.

"xterm" on xfce is the right value for $TERM.
# 3  
Old 06-28-2011
xterm problem?

The terminfo is at: /usr/share/terminfo/ and xterm at: /usr/share/terminfo/x/xterm.
Ran file at the latter and get: /usr/share/terminfo/x/xterm: Compiled terminfo entry
So the system should know where it is at. Since man tic and tset are totally or partially unable to find or utilize that info then like infocmp says maybe they can't open it either.
BTW the xwindow I use is defined using xterm but has no problem visible when it is started up.
Yes, xterm is what $TERM should echo. I had thought that there should be a TERMINFO in the environment to point to /usr/share/terminfo/ but there is none. Can't find that it should be either.
I am going to google TERMINFO momentarily to see if that helps but tried that b4 to no avail maybe my search terms will change.
I found a /etc/initrc but all it did for xterm was to define the beginning/end of line code.
Further prowling took me to /etc/X11/xdm where Xsession and Xresources are defined.
That lead to the discovery that regular users have .xsession files. Tho this is a difference it coes not explain the identical actions for both user types.
Just discovered that "clear" receives an 'xterm ': unknown terminal type. for both root and regular users.
All of these messages together suggest that the xterm is not defined in the system. Infocmp .cannot open terminfo and find cannot locate termcaps so how does the system know anything about xterm? Yet /etc/X11/xdm/Xsession invokes /usr/bin/xterm where I would presume the system would learn of it or belch. I do not understand so need help.

Last edited by slak0; 06-29-2011 at 04:46 AM.. Reason: added info
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem with xterm scrollbar

I have a xterm window opening from my Java code. This xterm is opened from the code in this manner: // to run shell command in a xterm window public synchronized void rshd(String title, String commd) { String xt = "xterm -sb -T "; String xtm = xt + title + " -e " + commd; Runtime run =... (1 Reply)
Discussion started by: vanz
1 Replies

2. UNIX for Dummies Questions & Answers

Problem with xterm & tcsh & sourcing a script in a single command

Hi friends, I have a script that sets the env variable path based on different conditions. Now the new path variable setting should not done in the same terminal or same shell. Only a new terminal or new shell should have the new path env variable set. I am able to do this only as follows: >cd... (1 Reply)
Discussion started by: sowmya005
1 Replies

3. Solaris

Xterm problem on Solaris 10

I apologize but didn't find an answer in the Discussions. I use an Exceed xterm just fine with Solaris 8 but it fails to connect to Solaris 10 server: Xterm command line: DISPLAY=@d;export DISPLAY;/usr/openwin/bin/xterm Failure message: "Unable to connect to host using specified start... (2 Replies)
Discussion started by: fusejj
2 Replies

4. UNIX for Dummies Questions & Answers


hi I'm trying to launch admintool via an export DISPLAY. that is i am doing a rlogin to serverB from serverA. i did the command export DISPLAY=serverA:0 but it prompted me the error DISPLAY=serverA:0: is not an identifier i have searched the forum but there is not much things on this error... (3 Replies)
Discussion started by: legato
3 Replies

5. Shell Programming and Scripting

xterm help?

I want to add a title to this xterm window but cannot figure out how. Can anybody assist with this? xterm +sb -geom 80x25 -ls -tn xterms -tm "intr ^q" -name unikix -e $UNIKIX/bin/unikixl (1 Reply)
Discussion started by: douknownam
1 Replies

6. UNIX for Dummies Questions & Answers


Hello all, This is a lame question because I have been working with unix for some years now, but anyway here it is; What is an xterm? ivo (1 Reply)
Discussion started by: Ivo
1 Replies

7. UNIX for Dummies Questions & Answers


Would someone tell me how to save changes in xterm once I've made them using the program options? For example, I type: xterm -bg red and my console window changes color. But how can I now make this attribute save, so that it becomes the default when I relaunch xterm? Any help you can offer... (1 Reply)
Discussion started by: af6
1 Replies

8. UNIX Desktop Questions & Answers

xterm colors

I'm a new user to unix and I want to be able to pick and choose different xterm colors via 3rd botton menu. I'm currently pico'd into my .fvwm2rc file and this is what I have under my bottons: Please advise ############ # Button 1 #... (2 Replies)
Discussion started by: blica777
2 Replies

9. UNIX for Dummies Questions & Answers


Guys: Anyone have ideas on where can I get information or references if I want to learn on how to program with UNIX GUIs? If you do have ideas please let me know. Its a big help. (2 Replies)
Discussion started by: jfsuminist
2 Replies

10. UNIX for Dummies Questions & Answers

xterm trivia

Thanks Livin Free... Here's another one... Why is it that I always get the error message "Error: Can't open display:" in my mail whenever I execute or try to call an xterm command using cron to activate the command. What did I miss? Thanks in advance UNIX gurus... (3 Replies)
Discussion started by: jfsuminist
3 Replies
Login or Register to Ask a Question