* Re: Mail notification
@ 1996-05-06 16:49 Barton E. Schaefer
0 siblings, 0 replies; only message in thread
From: Barton E. Schaefer @ 1996-05-06 16:49 UTC (permalink / raw)
To: zsh-workers
I think the backslash may be coming from my precmd ... has something changed
that would reduce the number of backslashes required to quote a backslash?
Possibly relevant fragment; this is happening with TERM=screen:
if [[ "$TERM" = screen ]]
then
# Set top to introduce titlebar change
top='^[^'
# Set back to end titlebar change
back='^[\\\\'
# Set aka so screen can find the prompt
aka() { print -n '^[k^[\\' }
precmd() { title ; aka }
elif [[ "$TERM" = xterm* ]]
then
# Set top to introduce titlebar change
top='^[]0;'
# Set back to end titlebar change
back='\a'
precmd() { title }
else
return
fi
title() { print -nP "%{$top%m.%l:%2c - %t$back%}" }
--
Bart Schaefer Vice President, Technology, Z-Code Software
schaefer@z-code.com Division of NCD Software Corporation
http://www.well.com/www/barts http://www.ncdsoft.com/ZMail/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-05-06 17:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-06 16:49 Mail notification Barton E. Schaefer
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).