delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/28/15:03:17

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B8B1386101C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1609185752;
bh=8H257tNTTtHty2ilDKbGk6+ry6wuWyavhQIuWoA9Tek=;
h=Date:To:Subject:References:List-Id:List-Unsubscribe:List-Archive:
List-Post:List-Help:List-Subscribe:From:Reply-To:From;
b=bgfNugdZxz10XWxujG1XC7M1Rp4ab8CxxoWmEKzcV4VqgO0BjpWKejYJHaD6gtgWg
aYEtCm+cZeS8i56NpicqmUrgT3yfAf8lczCwINoZgQz0IIkpp5JtK7NJfhsmFFZaPp
NkTrw69L6ZJyB6cWyRR8JTR6CSss3nBFrFM8GhFU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 44E20385800F
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1609185746; bh=m95+1ZS1BSl7XLcuggPnLvM/IXOfERS0Rw6oR9v1rBn=;
h=Date:From:To:Subject:From:Subject;
b=FZf0hlNBOKCRVXPzHGHSuOnUNDBLEvJHAWlD57175zbkRzteD/k0AQ6klgJGSvXRLMmEphiR+v/RHb1v8RLh5sK0RmyFV6S4EuSu2n0uophH/6m/spK8vsrAnvTEgWS+UNN4SOrRXzWt0s2mnlXdq8GVRHIi1Cl71xsg/Gn5K/hOcv0k0NqbuPtzaYUs8p6QZP56eqMlRW8pcW802hQ7Im6WEwsx4DZqc/s52Qt0TfobbzR2XcRXE2fAvudfsmej4ac3HH1y+yt3qXoC/w2cZuWkIWGYKFQPyFtwhvK1m2KeM38cVID5H+ArNhVpAqXnLW/O6haJc1cvFsC2O4aWBQ==
X-YMail-OSG: si9hedYVM1kf8i3GOdNti07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5bDXikTgBgdKbKa81pKTf3a.C30qjUKR7ml0M34r
UPzE1wbf7wvy8o14p7BgmzzPE5CP1xP1dOShssNycPDyo9jvZ9RkVvoZjtzD30Gy6Kx6wukoycDF
5st13JcqUECXdEfKB7DwyDo06mQE9AFVTN19790EsvqmNVqV9nOT4B079U_iXUYR0gdR.ahaJeRj
5OzJ50Vnfv2NYhHqgDRCq.uDGSsLitxUIsALOjWx4XZj49XtBa6sqUcGb5YVNOPntyIGji4kOQVU
TDUgQ2tzC.ifNktwXlwHTvjkbr6fn4jac0k0b
Date: Mon, 28 Dec 2020 20:02:25 +0000 (UTC)
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <992590442.6339910.1609185745018@mail.yahoo.com>
Subject: Re: BUG Report (SOLVED): rlwrap + cygwin (dll) + Windows 10
MIME-Version: 1.0
References: <992590442 DOT 6339910 DOT 1609185745018 DOT ref AT mail DOT yahoo DOT com>
X-Mailer: WebService/1.1.17278 YMailNorrin Mozilla/5.0 (Windows NT 6.3; Win64;
x64; rv:84.0) Gecko/20100101 Firefox/84.0
X-Spam-Status: No, score=3.2 required=5.0 tests=BAYES_20, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
HTML_MESSAGE, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
TXREP 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-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Alberto Moral Beneitez via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Alberto Moral Beneitez <alb_moral AT yahoo DOT es>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0BSK2wv2028411

 Hi, again
I've just realized that  new cygwin DLL keeps terminal edit capabilities for DOS commands (basically: retriving previous commands with arrow keys), what is a very good feature.(I use mintty as terminal. I forgot to mention in my previous email).

So, I apologize and answer myself: now it's not necesary to use rlwrap to retrive previous command lines, because the DOS commands I use have this functionality, and now Cygwin respects it.
Anyway, as I like all the functionalities that rlwrap provides (history file included), one solution that I've found (perhaps not very smart) is to "encapsulate" the DOS command with pipelines, isolating  it from the terminal. For example
  rlwrap -C cmd  bash -c 'cat | cmd |& cat'

Or even translating the charset of the output with iconv (in my case from CP850 to ISO8859-1). I use stdbuf -o0 to leave the output unbuffered:

  rlwrap -C cmd  bash -c 'cat | cmd |& stdbuf -o0 iconv -f CP850 -t iso8859-1' 
So, there is no need to correct anything in the DLL cygwin.
 Thank you very much anyway and best regards,
Alberto Moral


   En sábado, 12 de diciembre de 2020 21:05:05 CET, Alberto Moral Beneitez <alb_moral AT yahoo DOT es> escribió:  
 
 Hi, everybody
First of all, this is my first bug report, so I don't know if I am doing correctly... I don't know if one must be registered to summit this type of repport. And be patient with my English.

The problem is that rlwrap has stopped working in combination with:   
   - Windows 10 (I use version 2004, compilation 19041.685, Spanish). It still works in Windows 8.1 and previous   

   - rlwrap 0.37-1
   - cygwin 3.1.7-1 (Unix emulation engine). The last version that works in WIndows 10 is 3.0.7-1.   

   - any DOS/Windows command line application (as Oracle sqlplus, Dimensions dmcli, or even Windows cmd)

For example, you can try with DOS/Windows cmd: 

    rlwrap cmd
It clears the screen and does not work.
As I've said, it works with:   
   -  previous versions of Windows (8.1, 7)    

   - versions 3.0.7-1 or previous of the cygwin package.
   - of course, with cygwin interactive commands (the problem only appears with DOS/Windows command line apps)

Thanks in advance for your great job (I use cygwin for a long time and is an essential part in the Windows computers I use).


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