Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: PROMPT_SP
- X-seq: zsh-workers 21507
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: PROMPT_SP
- Date: Sat, 23 Jul 2005 09:53:01 -0700
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- In-reply-to: <1050723135554.ZM19813@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20050714182506.GB11296@xxxxxxxxx> <20050715175551.GA29713@xxxxxxxxx> <1050716160634.ZM31049@xxxxxxxxxxxxxxxxxxxxxxx> <20050716195612.GA11575@xxxxxxxxx> <200507181032.j6IAWB4q022520@xxxxxxxxxxxxxx> <20050718181330.GA19066@xxxxxxxxx> <1050723135554.ZM19813@xxxxxxxxxxxxxxxxxxxxxxx>
On Sat, Jul 23, 2005 at 01:55:54PM +0000, Bart Schaefer wrote:
> The echotc command now requires the termcap module ... I can't decide
> whether I'm more concerned that (1) the module won't be available, or
> that (2) the RI capability won't be. However, neither concern is very
> serious.
And I do still give the simpler 1-echo alternative for those that can't
use the 3-echo version. There's probably even be a way to code up a
check for the termcap module and the RI capability, but that seems like
overkill to me.
> ... I've begun to wonder whether we're only replacing one complaint ("the
> prompt overwrites my output") with another ("'echo -n' doesn't work, I
> always get a newline").
Interesting! One way to deal with that would be to output some
characters other than spaces that would only become visible when zsh
makes a partial line visible. For instance:
echotc so
echo -n '[EOL]'
echotc se
echotc RI $((COLUMNS - 7))
echo -n ' '
That puts a standout-string "[EOL]" at the end of the output. I like
the extra indication that the output did not end with a newline. What
do you think?
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author