Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author


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?


Messages sorted by: Reverse Date, Date, Thread, Author