zsh-workers
 help / color / mirror / code / Atom feed
* Hey, who did this ?!?!
@ 1996-02-16 18:34 Eskandar Ensafi
  1996-02-16 18:50 ` Barton E. Schaefer
  1996-02-16 19:22 ` Zoltan Hidvegi
  0 siblings, 2 replies; 4+ messages in thread
From: Eskandar Ensafi @ 1996-02-16 18:34 UTC (permalink / raw)
  To: zsh-users, zsh-workers


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@cs.ucla.edu (ASCII, MIME, NeXT)
School of Medicine                  http://www.cs.ucla.edu/csd-lanai/fweb/esky
------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-02-16 20:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-16 18:34 Hey, who did this ?!?! Eskandar Ensafi
1996-02-16 18:50 ` Barton E. Schaefer
1996-02-16 19:22 ` Zoltan Hidvegi
1996-02-16 19:42   ` Zoltan Hidvegi

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).