You are not logged in.

#1 2011-07-05 02:30:27

corruptz0r
Member
From: Atlanta, GA
Registered: 2010-07-07
Posts: 63

[SOLVED] Single-line input on terminal issue

On my terminal application, if a command I'm typing is too long, it returns to the position 0 of the same line to continue the command.  How can I make it instead go to the next line to continue typing?

I am using Bash.

Last edited by corruptz0r (2011-07-05 06:19:12)

Offline

#2 2011-07-05 02:52:01

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] Single-line input on terminal issue

What is your PS1? If you have any escape sequencies in PS1, be sure to wrap them in \[ and \].
See the bash man page, PROMPTING section.


This silver ladybug at line 28...

Offline

#3 2011-07-05 05:50:56

corruptz0r
Member
From: Atlanta, GA
Registered: 2010-07-07
Posts: 63

Re: [SOLVED] Single-line input on terminal issue

lolilolicon wrote:

What is your PS1? If you have any escape sequencies in PS1, be sure to wrap them in \[ and \].
See the bash man page, PROMPTING section.

Thanks, that fixed it!

Last edited by corruptz0r (2011-07-05 06:18:56)

Offline

Board footer

Powered by FluxBB