Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Titlebar-handling with zsh and screen
- X-seq: zsh-users 4741
- From: Juhapekka Tolvanen <juhtolv@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx, Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>, jw@xxxxxxxxx, ric@xxxxxxxxxxxxxxxxxxxx
- Subject: Titlebar-handling with zsh and screen
- Date: Sat, 9 Mar 2002 05:12:50 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: University of Jyväskylä
Maybe this is already mentioned in soon-to-be-released new version of
"Xterm-Title mini-HOWTO":
http://cns.georgetown.edu/~ric/howto/Xterm-Title/
I just added handling of titlebar uner screen to my zsh-configs. I had
to add some stuff to my ~/.screenrc because of that, so from now on that
file is part of my shellrc-tarball. You can get it right here:
http://www.cc.jyu.fi/~juhtolv/configs/shellrc/
>From this doc:
http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html
I found this:
---- Clip ----
if ($TERM == screen) then
set prompt="%{ESC_#$WINDOW %m:%c3ESC\\%}%h (%m:%.)%# "
else
set prompt="%h (%m:%.)%# "
endif
(Note that ESC means a real ESC (octal 033) chars).
---- Clip ----
Unfortunately that setting is for certain distorted image of shell. That
shell is known as tcsh and it is really b0rken. Therefore I had to
create such settings for zsh myself.
So, please download my shellconfigs and check out files dot.zshrc and
dot.screenrc and try to find bugs or other errors. They seem to work for
me, but I am not very sure, why on earth they work.
P.S: I do not subscribe to zsh-mailinglists, so please Cc: to me your
replies. And I do not subscribe to mailinglists of screen, so please
forward this to that kind of lists.
--
Juhapekka "naula" Tolvanen * * * Univ. of Jyväskylä * * * juhtolv@xxxxxxxxx
http://www.st.jyu.fi/~juhtolv/index.html * * * * "STRAIGHT BUT NOT NARROW!"
"ei, en elättele kuvitelmia. on arjen koura kova kohtaan keltanokkia." CMX
Messages sorted by:
Reverse Date,
Date,
Thread,
Author