The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Prevent users logging in as root Sepia SUN Solaris 3 06-05-2008 10:45 AM
shutting down by non-root users GKnight SUN Solaris 7 04-12-2008 12:47 AM
EUID set for all non-root users chrisanto_2000 SUN Solaris 1 08-21-2007 10:28 AM
Root ENV is different from users', how to change? alanlh SUN Solaris 4 06-06-2007 07:47 PM
root and all but 2 users locked out kymberm Linux 7 02-26-2005 02:52 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-09-2007
Registered User
 

Join Date: May 2007
Posts: 59
clear works for root but not for other users

when ever I issue clear command it the system says:

Code:
bash-2.03$ clear
'xterm': unknown terminal type.
but if I clear as root, it works fine.

Also,
Code:
bash-2.03$ cd /usr/share/lib/terminfo
bash-2.03$ ls
1  2  3  4  5  6  7  8  9  A  B  G  H  M  P  S  a  b  c  d  e  f  g  h  i  j  k
bash-2.03$ cd x/
bash-2.03$ ls
x1700     x1720     x1750     x820      xitex     xl83      xpcterm   xpcterms
bash-2.03$ echo $TERMINFO
Please help.


Thank you
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-09-2007
tomas's Avatar
Registered User
 

Join Date: Sep 2007
Posts: 35
what output do you get when you run 'echo $TERM' as a user then run it as root?
Reply With Quote
  #3 (permalink)  
Old 10-09-2007
Registered User
 

Join Date: May 2007
Posts: 59
output

bash-2.03$ echo $TERM
xterm


# echo $TERM
xterm

Last edited by rakeshou; 10-09-2007 at 11:20 AM.
Reply With Quote
  #4 (permalink)  
Old 10-09-2007
Moderator
 

Join Date: Dec 2003
Location: /ksh93
Posts: 863
What happens when you do a "tput clear"?
Reply With Quote
  #5 (permalink)  
Old 10-10-2007
Registered User
 

Join Date: May 2007
Posts: 59
bash-2.03$ tput clear
unknown terminal "xterm"
Reply With Quote
  #6 (permalink)  
Old 10-10-2007
Registered User
 

Join Date: Oct 2007
Posts: 2
Try setting term by set TERM=ansi and clear
Reply With Quote
  #7 (permalink)  
Old 10-10-2007
Registered User
 

Join Date: May 2007
Posts: 59
bash-2.03$ export TERM=ansi
bash-2.03$ clear
'ansi': unknown terminal type.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0