Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Long commands do not line break
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hudsonhauck
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 182
Location: Albany, CA

PostPosted: Thu Oct 02, 2008 5:30 pm    Post subject: Long commands do not line break Reply with quote

Greetings!

When I type really long commands, I would think and like it to break to the next line. Instead it begins re-writing the current line I am on.

Code:
004b.detect on gentoooo [~/unix_scm/Linux/4] $ vim -d 3/Blah.LNX.02.0004.detect 4/Blah.LNX.02.00


As you can see, it looks very strange. It wraps around on the same line and over-writes my prompt. Any help?

(PS. This is bash by the way)
_________________
Matthew Hauck
http://matthauck.blogspot.com/
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9710
Location: almost Mile High in the USA

PostPosted: Thu Oct 02, 2008 7:05 pm    Post subject: Reply with quote

Mine has no problems wrapping around to the next line... Are you perhaps using ANSI sequences in your command prompt not 'escaped' properly to bash?
What terminal, is your termcap/terminfo up to date?
Is the number of columns/lines with what bash thinks and reality synchronized? $COLUMNS $LINES
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
hudsonhauck
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 182
Location: Albany, CA

PostPosted: Fri Oct 03, 2008 2:47 am    Post subject: Reply with quote

Nice, that was the ticket! I was missing a "\[" in my color sequence. Thanks!
_________________
Matthew Hauck
http://matthauck.blogspot.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum