From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Glenn F. Maynard" <glennm@mediaone.net>, <zsh-workers@sunsite.auc.dk>
Subject: RE: xterm title/screen title+hardstatus
Date: Wed, 22 Nov 2000 09:52:37 +0300 [thread overview]
Message-ID: <000201c05450$cc99eb10$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <20001121145838.A2755@h0040333b7dc3.ne.mediaone.net>
>
> I've been trying to solve the problems with getting reliable titles and
> hardstatus lines (for screen).
>
Every now and then I thought about it and always failed to find reliable
solution.
> Two major problems: dealing with all input lines, and following processes
> around when job switching.
>
> The first is the more difficult one. I couldn't get tcsh or bash to do
> this; zsh has come the closest. In particular, there're issues with
> dealing with commands containing single quotes, double quotes, both nested,
> and escaping.
It is worse than just quoting. You have to deal with pipelines and complex
commands. Consider:
bor@itsrm2% preexec() { print $1 > /tmp/foo }
bor@itsrm2% while false
while> do
while> print x
while> done
bor@itsrm2% cat /tmp/foo
while false
do
print x
done
That was the main reason I never came up with any solution.
[...]
-andrej
next prev parent reply other threads:[~2000-11-22 6:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-21 19:58 Glenn F. Maynard
2000-11-22 6:52 ` Andrej Borsenkow [this message]
2000-11-22 8:11 ` Bart Schaefer
2000-11-23 5:35 ` Glenn F. Maynard
2000-11-27 12:42 Sven Wischnowsky
2000-11-27 16:26 ` Bart Schaefer
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='000201c05450$cc99eb10$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=glennm@mediaone.net \
--cc=zsh-workers@sunsite.auc.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).