Title bar flicker fix for XTerm [setting title only on "cd"]

James Brister brister at decwrl.dec.com
Thu Oct 4 01:10:35 AEST 1990


On 3 Oct 90 04:27:40 GMT, harp at Pkg.Mcc.COM (Christopher North-Keys) said:

> In article <1990Oct3.011511.2263 at mlb.semi.harris.com>,
> geg at beep.mlb.semi.harris.com (Greg Garland) writes:
> | In article <28434 at pasteur.Berkeley.EDU>, stolcke at ICSI.Berkeley.EDU
> (Andreas Stolcke) writes:
> | |> In article <6459 at vanuata.cs.glasgow.ac.uk>,
> sinclair at 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 at decwrl.dec.com
DEC Western Software Lab., Palo Alto, CA    {uunet,sun,pyramid}!decwrl!brister



More information about the Comp.unix.shell mailing list