Path: utzoo!mnetor!uunet!husc6!think!ames!necntc!dandelion!ulowell!page From: page@swan.ulowell.edu (Bob Page) Newsgroups: comp.sys.amiga Subject: Re: title bar hack Message-ID: <2461@swan.ulowell.edu> Date: 20 Jan 88 17:46:00 GMT References: <2960@watcgl.waterloo.edu> Reply-To: page@swan.ulowell.edu (Bob Page) Organization: University of Lowell, Computer Science Dept. Lines: 24 rmariani@watmum.waterloo.edu (Rico Mariani) wrote: >Don't hack the shell...write a command called 'settitle' that places >it's arguments in the title bar. I agree. Bill Hawes' new WShell (coming soon) has a zillion options on the prompt, one of them is 'execute this file'. He supplies a program called cdtitle that puts the current dir name in the title bar. It's small and resident-able (his version of resident does checksumming) so doesn't cost much. >Then I can alias whatever commands I like to put whatever I want in >the title bar whenever I feel like it. ... >alias cd '%var cd $var;settitle $var' Of course this idea is better than building it into the prompt, as you don't need to run the titling program after each command. >Let's build good tools, not ugly kludges. ..Bob -- Bob Page, U of Lowell CS Dept. page@swan.ulowell.edu ulowell!page "I don't know such stuff. I just do eyes." -- from 'Blade Runner'