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 From: Mark Sheppard Date: Thu, 21 Jun 2001 16:28:30 +0100 To: cygwin AT cygwin DOT com Subject: Re: Window position Message-ID: <20010621162830.D10044@ddf.net> 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 In-Reply-To: <200106211138.OAA21443@linux.> User-Agent: Mutt/1.3.18i On Thu, Jun 21, 2001 at 02:38:14PM +0300, Ehud Karni wrote: > On Tue, 19 Jun 2001 14:16:04 -0400, Ken Collins wrote: > > > > 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. He's not talking about cursor addressing. The escape sequence works in xterm and moves the actual window relative to the screen. It's not defined anywhere in my xterm terminfo here (Debian GNU/Linux), and don't think that there's even a terminfo capability name for this funtionality (but I could have overlooked it). Mark. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple