delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/16/17:35:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 16 Mar 2009 22:35:26 +0000
Message-ID: <416096c60903161535g14dbb1f2vd54357b1ce5ecf21@mail.gmail.com>
Subject: Duplicate mintty window (was: Re: MinTTY 0.3.3)
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin 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

bjoe wrote:
>> > What I found missing in Mintty is putty feature to start duplicate
>> > session (more welcome with hot-keys)
>>
>> Since MinTTY doesn't have sessions like Putty, I didn't think there
>> was much point in keeping this.
>
> It's because you remove networking function from putty, right. IMHO
> this feature will help many user (especially who come from Windows
> word)

MinTTY is meant to be a small and simple command line window for
Cygwin with a native UI, no more, no less. It's the classic Unix
philosophy: do one job, and do it well. Cygwin already has all the
necessary network tools in ssh, telnet & co., and they can easily be
combined with mintty, so there was no point in keeping all that
security-critical code.


> I don't know the relationship between networking function in Putty with
> duplicate session feature in code point of view, but since this based
> on putty code I hope this will not give some sort of difficulty to
> adopt this feature in mintty.

It's fairly easy to do actually. Instead of a session it would simply
invoke mintty again with the same command line, for much the same
effect. The concern was about unnecessary features: no point
cluttering up the interface with stuff that can already be done with
system-wide facilities.


>> Desktop and quickstart shortcuts already provide quick ways to open a
>> new MinTTY window, and as discussed on a separate thread here you can
>> assign hotkeys to Windows shortcuts.
>
> I run Cygwin from portable media in different PC so Desktop and
> quickstart shortcut not an options in My case.

Alright, I give in on this one. You could probably use AutoHotkey or
something like that, but I guess including this in MinTTY really is
quite a bit more convenient, also in comparison with shortcuts.

I'll stick a Duplicate command in the window menu, with disablable
shortcut Alt+F2. Reopened issue 11:
http://code.google.com/p/mintty/issues/detail?id=11

Andy

--
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