Sponsored Content
Full Discussion: xterm problem?
Operating Systems Linux Slackware xterm problem? Post 302534067 by slak0 on Sunday 26th of June 2011 10:51:57 PM
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..
 

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Dummies Questions & Answers

Xterm

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

3. 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

4. UNIX for Dummies Questions & Answers

xterm

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

5. UNIX for Dummies Questions & Answers

xterm?

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

6. 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

7. UNIX for Dummies Questions & Answers

xterm

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

8. 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

9. 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

10. 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
profile(4)                                                         File Formats                                                         profile(4)

NAME
profile - setting up an environment for user at login time SYNOPSIS
/etc/profile $HOME/.profile DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence. /etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special actions for the root login or the su command. The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical (except for the comments): # Make some environment variables global export MAIL PATH TERM # Set file creation mask umask 022 # Tell me when new mail comes in MAIL=/var/mail/$LOGNAME # Add my /usr/usr/bin directory to the shell search sequence PATH=$PATH:$HOME/bin # Set terminal type TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid while : do if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ] then break elif [ -f /usr/share/lib/terminfo/?/$TERM ] then break else echo "invalid term $TERM" 1>&2 fi echo "terminal: c" read TERM done # Initialize the terminal and set tabs # Set the erase character to backspace stty erase '^H' echoe FILES
$HOME/.profile user-specific environment /etc/profile system-wide environment SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5) Solaris Advanced User's Guide NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most global needs. SunOS 5.10 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 02:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy