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

* Re: Hey, who did this ?!?!
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Barton E. Schaefer @ 1996-02-16 18:50 UTC (permalink / raw)
  To: Eskandar Ensafi, zsh-users, zsh-workers

On Feb 16, 10:34am, Eskandar Ensafi wrote:
} Subject: Hey, who did this ?!?!
}
} 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.
} 
} 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.

I believe the reason was because on some systems, scripts that don't
have a controlling terminal (or that are in the background) cause some
kind of an error, or get stopped by SIGTTIN, when initializing termcap.

Am I remembering wrong?

-- 
Bart Schaefer                     Vice President, Technology, Z-Code Software
schaefer@z-code.com                  Division of NCD Software Corporation
http://www.well.com/www/barts


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

* Re: Hey, who did this ?!?!
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Zoltan Hidvegi @ 1996-02-16 19:22 UTC (permalink / raw)
  To: Eskandar Ensafi; +Cc: zsh-users, zsh-workers

[-- Attachment #1: Type: application/pgp, Size: 2624 bytes --]

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

* Re: Hey, who did this ?!?!
  1996-02-16 19:22 ` Zoltan Hidvegi
@ 1996-02-16 19:42   ` Zoltan Hidvegi
  0 siblings, 0 replies; 4+ messages in thread
From: Zoltan Hidvegi @ 1996-02-16 19:42 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: application/pgp, Size: 779 bytes --]

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