From: stratos AT dnn DOT gr (Stratos Margaritis - System Admin) Subject: Re: Controlling the title bar. 31 May 1997 08:21:01 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <97053111094542500.cygnus.gnu-win32@athena.dnn.gr> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Priority: Normal Original-To: franl AT world DOT std DOT omit-this DOT com (Francis Litterio) Original-CC: gnu-win32 AT cygnus DOT com X-Mailer: Pronto Pro [ver 1.00 (0225)] Original-Sender: owner-gnu-win32 AT cygnus DOT com > Here's a way to get the string "bash" in the title bar of a console > when it is minimized, running bash, and sitting at a shell prompt: > > 1. Put this in your .bashrc file: > > PROMPT_COMMAND="title bash" > > 2. Build this program, name it title.exe, and put it in a directory > named in your PATH: > > #include > void main(int argc, char * argv[]) > { > SetConsoleTitle(argv[1]); > } > -- > Francis Litterio PGP Key Fingerprint: > franl AT world DOT std DOT omit-this DOT com 02 37 DF 6C 66 43 CD 2C > http://world.std.omit-this.com/~franl/ 10 C8 B5 8B 57 34 F3 21 > Note: email address and WWW URL altered to prevent spam. > > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety." -- Ben Franklin, ~1784 > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request AT cygnus DOT com" with one line of text: "help". I've used that on my WIN NT4.0 and it want change the title bar, any suggestions ??? Stratos :-) System Administrator & Software Engineer at DNNet ---------------------------------------------------------------------------- Name -> Stratos Margaritis e-mail -> stratos AT dnn DOT gr, webmaster AT dnn DOT gr, hostmaster AT dnn DOT gr, postmaster AT dnn DOT gr WWW -> http://www.dnn.gr/~stratos/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".