Francesco Montorsi <[EMAIL PROTECTED]> wrote:
> why would you ever want to have the prompt printed at non-zero column of 
> the terminal?

One possible reason: so you can know whether the previous command
ended its output with a newline.  Otherwise the output becomes
slightly ambiguous.

>> If you want the shell to always add an extra newline then you can
>> always add one to your PS1 setting.
>
> unfortunately in that way I suppose the terminal would then show:
>
> [EMAIL PROTECTED]:~$ echo hello world
> hello world
>
> [EMAIL PROTECTED]:~$

Yes.  This always puts the prompt at the beginning of the line, and
still lets you distinguish newline-terminated output from unterminated
output.


paul


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to