You are not logged in.

#1 2009-11-11 22:13:34

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Now here's a weird one. Bash cuts off at 50 characters.

In tty, if I type more than 50 characters(including prompt) at the prompt it starts to wrap at the other side. I'm running at VGA, so this shouldn't be happening, right?


Personally, I'd rather be back in Hobbiton.

Offline

#2 2009-11-11 22:21:36

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Now here's a weird one. Bash cuts off at 50 characters.

this is usually a PS1 issue.  you have to wrap any \[non-printing characters\] like so:

PS1='\[\e[1;31m\]u\[\e[0m\]@\[\e[1;33m\]h \[\e[0m\]>'

Offline

#3 2009-11-11 23:56:38

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Now here's a weird one. Bash cuts off at 50 characters.

Thanks, doesn't make it very readable though.


Personally, I'd rather be back in Hobbiton.

Offline

Board footer

Powered by FluxBB