Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Hey, who did this ?!?!
- X-seq: zsh-workers 764
- From: Eskandar Ensafi <esky@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- Subject: Hey, who did this ?!?!
- Date: Fri, 16 Feb 1996 10:34:26 -0800
Hello,
A while back, we made certain corrections to zsh so that termcap entries
are correctly intitialized in non-interactive shells, in order to allow
print -P '%B...%b' sequences and similar text attributes/cursor motion
commands to work properly in shell scripts. Believe it or not, it's not
very useful to type print -P '%Bhello%b' to yourself in an interactive
shell; it's more useful in a script, where you want to make prompts and
messages stand out in certain instances.
I just noticed that in zsh 2.6 beta 12 and 13, this feature has been turned
off again -- pehaps by accident, perhaps due to execessive, unwarranted
concerns for efficiency. Now *all* scripts that use escape sequences have
to be modified to run as zsh -i, or they have to add a "setopt interactive"
line, in order to get the escape sequences to work again. This sucks.
Also, when I used prompt truncation in my right prompt, the size of my
prompt would become shorter/longer as I resized my xterm window, thus
fitting as much of the directory name as possible. This no longer happens.
Did someone alter the places where putprompt() was called? If the calls
to putprompt() seemed excessive (perhaps inefficient?), I hope you now
realize that there was a good reason for it!!!
Oh well, this is what I get for not being as active as I used to be in
this group. I might just have to stick around a bit longer... :-)
- Eskandar
------------------------------------------------------------------------------
Eskandar Ensafi Object-Oriented Software Engineer
University of California, Los Angeles
Department of Biomathematics esky@xxxxxxxxxxx (ASCII, MIME, NeXT)
School of Medicine http://www.cs.ucla.edu/csd-lanai/fweb/esky
------------------------------------------------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author