From: Einar Huginson <huginson@web.de>
To: zsh-users@sunsite.dk
Subject: Annoying misfeature: ZSH completely hides output without newlines!
Date: Fri, 6 Jan 2006 15:15:27 +0100 [thread overview]
Message-ID: <200601061515.27913.huginson@web.de> (raw)
In-Reply-To: <EXCHANGE03z2NoKMHG000001367@exchange03.csr.com>
I have tried this with ZSH 4.2.5 and 4.2.6, linked against ncurses 5.4
(specifically the Gentoo ebuild 5.4-r6). Note that PS1='$ ' and I have marked
the cursor position with _
1. Example: Just echo text without a newline
$ echo -n foo
$ _
2. Example: cat a file that has no newline after the last (third!) line
$ cat bar
blah1
blah2
$ _
Note that the cat command itself works, the data is not lost, just not being
displayed in ZSH
$ cat bar | wc -w
3
$ _
Compare with the output by bash
$ echo -n foo
foo$ _
$ cat bar
blah1
blah2
blah3$ _
IMHO, this counts as a serious problem, since certain file contents are no
longer visible, and files appear to be empty even if they aren't. I initially
thought that my more involved prompt was at fault, but that doesn't seem to
be the case (PS1='$ '). Or do I need to set a ZSH config option that prevents
it from clearing the line before outputting the prompt?
Confused,
Andreas Koch
next prev parent reply other threads:[~2006-01-06 14:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200601060047.k060lU37023709@rly01c.srv.mailcontrol.com>
2006-01-06 10:38 ` FW: Full path with ksh emulation Peter Stephenson
2006-01-06 14:15 ` Einar Huginson [this message]
2006-01-06 14:25 ` Annoying misfeature: ZSH completely hides output without newlines! Vincent Lefevre
2006-01-06 14:26 ` Frank Terbeck
2006-01-06 14:35 ` Einar Huginson
2006-01-06 14:39 ` Jean Chalard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200601061515.27913.huginson@web.de \
--to=huginson@web.de \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).