[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Text won't display at prompt without newline



> Hmm. You're sure the (Redhat default) bash shell prompt isn't eating
> things.  As I recall it commences with a carriage return, which neatly
> makes the prompt mangle your un-newlined string. Really rude in my
> opinion.
> 
> Try setting PS1 to something really simple like this:
> 
> 	export PS1='> '
> 
> and see if the apparent behaviour changes.


No, it didn't fix it, but it is a bit different.  Now I get:

	> st

with the cursor over the "s".  export PS1="" shows the entire test, but
puts the cursor over the "t" instead of on a new line.

--Ade.








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]