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 02:45 PM
shutting down by non-root users GKnight SUN Solaris 7 04-12-2008 04:47 AM
EUID set for all non-root users chrisanto_2000 SUN Solaris 1 08-21-2007 02:28 PM
Root ENV is different from users', how to change? alanlh SUN Solaris 4 06-06-2007 11:47 PM
root and all but 2 users locked out kymberm Linux 7 02-26-2005 06:52 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-09-2007
rakeshou rakeshou is offline
Registered User
  
 

Join Date: May 2007
Posts: 75
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
  #2 (permalink)  
Old 10-09-2007
tomas's Avatar
tomas tomas is offline
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?
  #3 (permalink)  
Old 10-09-2007
rakeshou rakeshou is offline
Registered User
  
 

Join Date: May 2007
Posts: 75
output

bash-2.03$ echo $TERM
xterm


# echo $TERM
xterm

Last edited by rakeshou; 10-09-2007 at 03:20 PM..
  #4 (permalink)  
Old 10-09-2007
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,935
What happens when you do a "tput clear"?
  #5 (permalink)  
Old 10-10-2007
rakeshou rakeshou is offline
Registered User
  
 

Join Date: May 2007
Posts: 75
bash-2.03$ tput clear
unknown terminal "xterm"
  #6 (permalink)  
Old 10-10-2007
rajkumar_bm rajkumar_bm is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 2
Try setting term by set TERM=ansi and clear
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0