LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2012, 04:45 PM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
A question about why this would happen...


At my work I login to several servers performing system admin tasks. However, sometimes I notice weird things.

1. When I use vi, I scroll down with "j" and sometimes the screen cuts off, or only displays what was on top and does not update until I redraw the screen.

2. When using lynx, I use the control arrows on the keyboard but the selection cursor doesn't seem to move at all. I just get the weird scheme for each keystroke "^[0B" or whatever it is down at the bottom. If I know how many times to move the cursor I move it and hit enter and I can get the new url.

Is this a problem with the TERM? Does simply setting (assuming bash)
"export TERM=vt100" change the TERM? What should I be looking into?

Last edited by trist007; 01-07-2012 at 05:24 PM.
 
Old 01-08-2012, 08:28 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,516

Rep: Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039
It's possible that the servers you're logging in on don't have xterm defined -- that's your default terminal type in Slackware nowadays (do
Code:
echo ${TERM}
to see that). Of course, if you're using some other distribution on your system, that definition may be different.

I've experienced the same sort of thing going to multiple servers (like Solaris, for example) where I simply do
Code:
export TERM=xterm
when I get there -- most systems do support xterm, but if they don't then try vt100 or vt220 or something similar. Just echo ${TERM} when you get logged on and see what that default may be then reset it to whatever you want.

Hope this helps some.
 
Old 01-08-2012, 02:21 PM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
great thank you, that cleared it up.
 
  


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
How can this happen? jacki Linux - Distributions 1 07-17-2006 07:40 AM
How can this happen? jacki General 1 06-30-2006 03:21 PM
Why does this happen? alaios Linux - General 3 01-04-2006 05:17 PM
Why does this happen? BajaNick General 1 09-09-2003 11:33 PM
why would this happen? Z28kid Linux - Newbie 7 02-17-2003 08:55 PM


All times are GMT -5. The time now is 01:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration