Xref: utzoo comp.windows.x:27757 comp.unix.shell:411 comp.unix.questions:25952 Path: utzoo!attcan!uunet!aplcen!haven!decuac!bacchus.pa.dec.com!decwrl!brister From: brister@decwrl.dec.com (James Brister) 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 15:10:35 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@wrl.dec.com (News) Organization: DEC Western Software Lab Lines: 25 In-Reply-To: harp@Pkg.Mcc.COM's message of 3 Oct 90 04:27:40 GMT X-Checksum-Snefru: 18693711 c4507273 7dd99ba9 92bd6dbf On 3 Oct 90 04:27:40 GMT, harp@Pkg.Mcc.COM (Christopher North-Keys) said: > In article <1990Oct3.011511.2263@mlb.semi.harris.com>, > geg@beep.mlb.semi.harris.com (Greg Garland) writes: > | In article <28434@pasteur.Berkeley.EDU>, stolcke@ICSI.Berkeley.EDU > (Andreas Stolcke) writes: > | |> In article <6459@vanuata.cs.glasgow.ac.uk>, > sinclair@cs.glasgow.ac.uk (Duncan Sinclair) writes: > | |> |> 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. James -- James Brister brister@decwrl.dec.com DEC Western Software Lab., Palo Alto, CA {uunet,sun,pyramid}!decwrl!brister