delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/21/11:10:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 21 Jun 2001 14:38:14 +0300
Message-Id: <200106211138.OAA21443@linux.>
From: "Ehud Karni" <ehud AT unix DOT simonwiesel DOT co DOT il>
To: "Ken Collins" <kcollins AT pinksheets DOT com>
Subject: Re: Window position
CC: Andrej Borsenkow <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>, cygwin AT cygwin DOT com
In-reply-to: <20010619141604.A1108@pinksheets.com> (message from Ken Collins
on Tue, 19 Jun 2001 14:16:04 -0400)
Organization: Simon & Wiesel Insurance agency
Reply-to: ehud AT unix DOT simonwiesel DOT co DOT il
References: <5F0021EEA434D511BE7300D0B7B6AB534A8D50 AT MAIL2> <20010619141604 DOT A1108 AT pinksheets DOT com>
X-Mailer: Emacs 20.7.1 rmail (send-msg 1.104)
MIME-Version: 1.0

On Tue, 19 Jun 2001 14:16:04 -0400, Ken Collins <kcollins AT pinksheets DOT 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.

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-6212-757 Fax: +972-3-6292-544   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud AT unix DOT simonwiesel DOT co DOT il    http://www.simonwiesel.co.il

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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