Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: Bruce DOT A DOT Petro AT mail DOT sprint DOT com X-OpenMail-Hops: 1 Date: Wed, 14 Aug 2002 17:47:01 -0500 Message-Id: Subject: RE: OK, I'm a newbie in CYGWIN... How to do title? MIME-Version: 1.0 TO: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline; filename="BDY.RTF" ;Creation-Date="Wed, 14 Aug 2002 17:47:01 -0500" Content-Transfer-Encoding: 8bit Thanks, I'll try it tomorrow. >As to ... I fail to see why it shouldn't use cygwin... I didn't mean to say the application COULDN'T run under cygwin. Its logistics and politics. I don't have rights on that NT server to install any new software - including cygwin. Cygwin is on my own desktop, but the servers I can't touch. -----Original Message----- From: pechtcha [mailto:pechtcha AT cs DOT nyu DOT edu] Sent: Tuesday, August 13, 2002 6:14 PM To: Bruce.A.Petro Cc: pechtcha; cygwin Subject: Re: OK, I'm a newbie in CYGWIN... How to do title? On Tue, 13 Aug 2002 Bruce DOT A DOT Petro AT mail DOT sprint DOT com wrote: > I promise, I checked the archives and docs and don't see anything on > this... > > Can someone share how I perform the equivalent of the NT 'title' > command on a CYGWIN window?? I've got 4-6 CYGWIN windows open - each > tailing a certain log file. Only problem is its not obvious which > window is which log file! What I need is to do something like: > $title "Logfile1" > tail -f logfile1.log > > Hey, while I've got your attention - one more question. Does anyone > know where I can download (or compile) a version of sendtcp to run > under NT (Sorry, can't run under CYGWIN, must run under NT scripts). > > THANKS! > Bruce. Check the value of PS1 in the default /etc/profile -- it sets the title. I use the same principle in this handy function function settitle() { echo -n "^[]2;$@^G^[]1;$@^G"; } in my .bashrc, and use that when I need to dynamically change the title. The ^[ is actually the ESC character (\033), and the ^G is the BEL character (\007). As for whatever application you need to run under NT, I fail to see why it shouldn't use cygwin... As long as cygwin1.dll is in the path, you can call the app from NT scripts all you want. You can also use something akin to 'cygpath -u' if you want your app to recognize windows file and path names. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! It took the computational power of three Commodore 64s to fly to the moon. It takes a 486 to run Windows 95. Something is wrong here. -- SC sig file -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/