This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Window position


On Thu, Jun 21, 2001 at 02:38:14PM +0300, Ehud Karni wrote:
> On Tue, 19 Jun 2001 14:16:04 -0400, Ken Collins <kcollins@pinksheets.com> 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[<line>;<column>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]