delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/16/16:50:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1584391801; bh=nTZllWwrBosYEA6q07OVV9qusa3M8OYm/Bcz95184N0=;
h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;
b=uy4qvw6FJeI07qxes5U+Go9fyegta+zMy6ryghkVSlmsTsDvc0aiaVD9vlelLXIyx
e3YsWMc2riZg9R+WlUqdO6voV/INxAKv8OZnNH/M33C4QMjBRyyyzCrIl16Fsp4DwQ
SMWNzNifNNUdNVjib3vI8ZD/Bt+oG15H6YIWG1xs=
Authentication-Results: mxback21j.mail.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Mon, 16 Mar 2020 23:46:01 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <649531021.20200316234601@yandex.ru>
To: Kostya Altukhov <kacygwinlist AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: rlwrap no longer works with windows console apps
In-Reply-To: <CAKK-TZXz9KZyu=Wc7-UWm9NQCdtG5bF0wb8JGCW+GBrXu3f8Qg@mail.gmail.com>
References: <CAKK-TZV+cXwTOepvzBuPWikayKTh_2ve5UfDKnX7EopNVd3PEA AT mail DOT gmail DOT com>
<20200314031348 DOT a239331e515fd8a15927b0ef AT nifty DOT ne DOT jp>
<CAKK-TZXz9KZyu=Wc7-UWm9NQCdtG5bF0wb8JGCW+GBrXu3f8Qg AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=1.7 required=5.0 tests=DKIM_SIGNED, DKIM_VALID,
DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: Cygwin mailing list <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Greetings, Kostya Altukhov!

> On Fri, Mar 13, 2020 at 9:14 PM Takashi Yano wrote:

>> Why do you use rlwrap for cmd.exe? History and command line
>> edit are working in cmd without rlwrap in new cygwin.
>>

> cmd.exe is just an example. I use rlwrap for other Windows command line
> tools like Oracle's sqlplus and others. But even in stuff like cmd.exe,
> only basic history and editing is available natively, rlwrap provides
> additional benefits like history search, persistence of history between
> sessions, more sophisticated editing commands, etc. I have a lot of aliases
> wrapping all windows tools with rlwrap.

I can imagine that wrapping native tool into POSIX program would not behave
well, but compound it with changes in console code of modern Windows system,
and you get a recipe for disaster.


-- 
With best regards,
Andrey Repin
Monday, March 16, 2020 23:44:51

Sorry for my terrible english...

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

- Raw text -


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