www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/16/06:40:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=BAYES_00,CTYME_IXHASH
X-Spam-Check-By: sourceware.org
From: Ashok Vadekar <avadekar AT certicom DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 16 Jan 2009 06:38:02 -0500
Subject: Re: First Pass at mintty documentation; etc.
Message-ID: <C49217E2D694874EB820EA90DCE676190197EEB60F@EX40.exchserver.com>
MIME-Version: 1.0
X-CRXEFW-Info: Please contact Ceryx for more information
X-CRXEFW-Virus: Clean
X-CRXEFW-From: avadekar AT certicom DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id n0GBeasw006744

Apologies for violating sane quoting convention, but I'm working off a crapberry. 

Wrt to window titles: change your PS1 prompt to no longer reassign the title with the pwd (assuming you still have the default definition from /etc/profile (or similar)) and use the same escape sequience it uses (a standard vt100 documented one) to explicity assign your own title. 

The same can be done within a native dos box, but the explicit assignment has to be through a binary that calls SetConsoleTitle() because the native terminal does not support the escape code (as I recall).

----- Original Message -----
From: cygwin-owner AT cygwin DOT com <cygwin-owner AT cygwin DOT com>
To: cygwin AT cygwin DOT com <cygwin AT cygwin DOT com>
Sent: Thu Jan 15 23:21:31 2009Subject: Re: First Pass at mintty documentation; etc.

Andy Koppe wrote:
> Lee D. Rothstein wrote:
>
>>  > "\e[1;5A": history-search-backward
>>  > "\e[1;5B": history-search-forward
>>
>> Perhaps I don't understand this 'bash' feature, but it doesn't
>> seem to work for me.
>
> Start typing a command, press Ctrl-Up, and it finds the previous line 
> in the history that started like that.
>
I'll work on that habit. Thanks.

>> I do lots of bash scripting including Windows/DOS commands, and I
>> can think of only one character cell app that ever gave me any
>> trouble from rxvt or xterm (whatever that app is -- I think a
>> Resource Kit app), I found a work-around and never needed it
>> again.
>
> 'net' is a troublesome command that's been mentioned, although it 
> seems to be ok for basic stuff. But I guess there might be still be a 
> few DOS fullscreen apps around. Turbo Pascal perhaps? But yeah, I'd 
> sooner implement tabs than worry about DOS apps. ;)
>
rudimentary 'net' works.


>>  > I didn't know xterm actually had a UI for this. Do people find
>>  > this useful?
>>
>> I've used it on occasion when I needed to scroll back through two
>> debugging runs of a text-mode (character cell) app (or debugging
>> statements).
>
> So your debug print macro or whatever would be switching screens?
>

No. Me at the terminal switches screens, using the options menu, before 
the second run.
 

>> What would be better for this and other problems, however, is a
>> feature that I would love: The ability to interactively, on the
>> fly change, the Title Bar/Task Bar Title to be clear on what each
>> Window is doing.
>
> Can you explain the "interactive" bit a bit more. Do you mean clicking 
> on the window title and start typing away at it?
>
Exactly what I had in mine.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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