zsh-users
 help / color / mirror / code / Atom feed
From: Juhapekka Tolvanen <juhtolv@st.jyu.fi>
To: zsh-users@sunsite.dk, Sven Guckes <guckes@math.fu-berlin.de>,
	jw@cs.fau.de, ric@giccs.georgetown.edu
Subject: Titlebar-handling with zsh and screen
Date: Sat, 9 Mar 2002 05:12:50 +0200	[thread overview]
Message-ID: <20020309051250.A30021@verso.st.jyu.fi> (raw)


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


             reply	other threads:[~2002-03-09  3:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-09  3:12 Juhapekka Tolvanen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020309051250.A30021@verso.st.jyu.fi \
    --to=juhtolv@st.jyu.fi \
    --cc=guckes@math.fu-berlin.de \
    --cc=jw@cs.fau.de \
    --cc=ric@giccs.georgetown.edu \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).