Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Sent: 21 Jun 2001 15:27:27 GMT Date: Thu, 21 Jun 2001 11:27:21 -0400 From: "Ken Collins" To: cygwin AT cygwin DOT com Subject: Re: Window position Message-ID: <20010621112721.A1176@pinksheets.com> Mail-Followup-To: cygwin AT cygwin DOT com References: <5F0021EEA434D511BE7300D0B7B6AB534A8D50 AT MAIL2> <20010619141604 DOT A1108 AT pinksheets DOT com> <200106211138 DOT OAA21443 AT linux.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106211138.OAA21443@linux.>; from ehud@unix.simonwiesel.co.il on Thu, Jun 21, 2001 at 02:38:14PM +0300 > > One of the features I'm really missing in Cygwin is the ability to > > reposition the terminal window (either console or rxvt) using echo, with > > something like this: > > > > echo -n "\033[3;9;17t" > > > > Is this a feature that's missing in termcaps? > > It has nothing to do with the termcap or terminfo, since you are echoing > directly. Anyway, THERE IS direct addressing capability in both console > and rxvt and it is the same string - "\E[;H". Both line > and column start from 1. e.g. to position to line 10, column 30 you > should do: echo -en "\033[10;30H" > > BTW. The terminfo capability name is "cup". You can do infocmp (like I > did) and see its definition. "cup" changes the cursor position. I'm looking to change the window or terminal position. It works when I'm using rxvt with X under cygwin. I looked at the dump from infocmp with the rxvt in X, and there isn't a capability starting with "\E[" and ending in "t". I also couldn't find any mention of moving a terminal or window in ECMA-48. Basically, I'd like to be able to start a command window or rxvt and then place it where I want it on the screen without using the mouse. Ken Collins -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple