LinuxQuestions.org
Register a domain and help support LQ
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 04-10-2012, 12:01 PM   #1
aureum
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
Serial console not going to next line


Hello,

I recently installed a kernel on a Gumstix board. I'm using a serial terminal, and when I type a long command, it doesn't go to the next line automatically... it just goes back to the beginning of the same line. The previous kernel I installed doesn't have this problem. Thanks for any help.
 
Old 04-11-2012, 10:22 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
That is probably not related to the kernel, but may be related to the termcap/terminfo database of your embedded host being mismatched with the terminal (emulation) in use. This can be tricky to solve, but a decent workaround is sometimes just to resize the terminal emulator window slightly. You might try, also
Code:
stty cols xx rows yy
in your embedded shell session. Substitute xx & yy with the actual dimensions of your terminal.
--- rod.
 
Old 04-12-2012, 12:36 PM   #3
aureum
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
I tried what you suggested, but it didn't work. Are there other things I can try? This problem is so annoying, but I don't want to try a different kernel because this one works for what I need. I've tried at least 5 other ones which had bigger problems.
 
Old 04-12-2012, 05:07 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Well, I can only suggest a few ideas for exploration, that may lead to some useful information. Try
Code:
stty -a
and post the results here. With luck, someone will recognize the problem that is affecting you.
Try the same, and compare against a version that does work. What is the value of $TERM? Does it match the type of terminal actually in use? Does your problem occur on all lines of the terminal, or only on the last line?

The best source of information on this somewhat complex subject that I know of is the Text-Terminal-HOWTO. The section on 'Terminfo and Termcap' may be particularly helpful in your case.

--- rod.
 
  


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
serial console +plx tech console server card pankajd Linux - Hardware 1 10-14-2009 02:45 PM
Turning a serial console on and off bjdea1 Linux - Server 1 02-02-2009 09:45 AM
serial console pvpnguyen Red Hat 1 11-17-2007 02:42 PM
Serial Console zaicheke Linux - Networking 4 11-14-2004 08:55 PM
serial console ixion Linux - Software 3 03-19-2003 01:36 PM


All times are GMT -5. The time now is 10:00 AM.

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