zsh-users
 help / color / mirror / code / Atom feed
* Titlebar-handling with zsh and screen
@ 2002-03-09  3:12 Juhapekka Tolvanen
  2002-03-09  5:12 ` Vincent Lefevre
  2002-03-09  7:23 ` John Beppu
  0 siblings, 2 replies; 6+ messages in thread
From: Juhapekka Tolvanen @ 2002-03-09  3:12 UTC (permalink / raw)
  To: zsh-users, Sven Guckes, jw, ric


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@st.jyu.fi
http://www.st.jyu.fi/~juhtolv/index.html * * * * "STRAIGHT BUT NOT NARROW!"
"ei, en elättele kuvitelmia. on arjen koura kova kohtaan keltanokkia."  CMX


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

end of thread, other threads:[~2002-03-10  1:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-09  3:12 Titlebar-handling with zsh and screen Juhapekka Tolvanen
2002-03-09  5:12 ` Vincent Lefevre
2002-03-09  5:18   ` Clint Adams
2002-03-09 23:55     ` Vincent Lefevre
2002-03-10  1:38     ` Vincent Lefevre
2002-03-09  7:23 ` John Beppu

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