Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker!apple!agate!pasteur!ICSI.Berkeley.EDU!stolcke From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke) Newsgroups: comp.windows.x Subject: Re: Title bar flicker fix for XTerm Keywords: XTerm patch flicker title bar Message-ID: <28434@pasteur.Berkeley.EDU> Date: 2 Oct 90 23:16:17 GMT References: <6459@vanuata.cs.glasgow.ac.uk> Sender: news@pasteur.Berkeley.EDU Reply-To: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke) Organization: International Computer Science Institute, Berkeley, CA Lines: 19 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, |> so that it states my current working directory. This ensures that my |> title is up to date, no matter where I am, or what I'm doing. |> |> But what would really bug me is that the most of the time, the |> update would not be necessary, and would cause an unsightly flicker |> of the title bar. 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 current directory. (This should work for any shell with something equivalent to an aliasing mechanism). -- Andreas Stolcke International Computer Science Institute stolcke@icsi.Berkeley.EDU 1957 Center St., Suite 600, Berkeley, CA 94704 (415) 642-4274 ext. 126