Xref: utzoo comp.windows.x:27764 comp.unix.shell:415 comp.unix.questions:25955 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!emory!mephisto!prism!msd!rhoward From: rhoward@msd.gatech.edu (Robert L. Howard) Newsgroups: comp.windows.x,comp.unix.shell,comp.unix.questions Subject: Re: Title bar flicker fix for XTerm [setting title only on "cd"] Message-ID: Date: 3 Oct 90 20:02:31 GMT References: <6459@vanuata.cs.glasgow.ac.uk> <28434@pasteur.Berkeley.EDU> <1990Oct3.011511.2263@mlb.semi.harris.com> <1990Oct2.232740@Pkg.Mcc.COM> Sender: news@prism.gatech.EDU Followup-To: comp.windows.x Organization: Georgia Tech Research Institute Lines: 45 In brister@decwrl.dec.com (James Brister) writes: : {a lot of people write...} : >> | |> |> Using tcsh, I set re-set the title of xterm before each shell >> prompt, >> | |> May I suggest a different approach to the same end. Instead of >> | |> having the tcsh prompt string set the title bar on every command, >> | |> alias the `cd ' command so as to set it only when actually changing >> | |> the >tcsh version 5.18 has a special alias called cwdcmd that is run >automatically any time the $cwd variable is set. It is trivial to get the >title to change using this facility and no messing around with the prompt >string. A related question.... However the tcsh feature, $sl and $el (for status lines), is not set by tcsh on my system. Sun Sparc SunOS 4.1 tcsh version tcsh 5.19 (Cornell) 9/26/90 Patch level 1 Running xterm under X11r4 (PL 18). When tcsh starts it sets term, TERM, TERMCAP and a lot of others but sl and el are left blank. Am I doing something wrong? (The value of TERMCAP shows that the xterm definition contains strings for ts and fs.) Has anyone had success using this under tcsh? Thanks, Robert BTW, Where in the xterm docs can I found out what the string to set the title should be? -- | Robert L. Howard | Georgia Tech Research Institute | | rhoward@msd.gatech.edu | MATD Laboratory | | (404) 528-7165 | Atlanta, Georgia 30332 | | UUCP: ...!{allegra,amd,hplabs,ut-ngp}!gatech!msd!rhoward |