delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/04/09:22:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 4 Jul 2000 09:21:52 -0400
Message-Id: <200007041321.JAA15692@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: Andrej DOT Borsenkow AT mow DOT siemens DOT ru
CC: cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <000301bfe58c$7c124ee0$21c9ca95@mow.siemens.ru>
(Andrej DOT Borsenkow AT mow DOT siemens DOT ru)
Subject: Re: Programmatically set window title
References: <000301bfe58c$7c124ee0$21c9ca95 AT mow DOT siemens DOT ru>

> Is there any command (or function) that can be used to set window title?
> I normally set window title under X11 to combination if user, host and
> $PWD and would like to do the same under Cygwin.

cygwin's terminal emulator supports the same escape codes
as xterm does for setting the title:

	ESC ] 0 ; <your title here> ^G

There's also a Win32 API call to set the title from inside a program.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019