public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Oracle SQLPLUS and the latest release Kill a line (control U default) not working
Date: Tue, 17 Mar 2020 13:42:35 -0600	[thread overview]
Message-ID: <df4804cf-d8ba-54f3-2792-a7bf4dda3a41@SystematicSw.ab.ca> (raw)
In-Reply-To: <1584470689295-0.post@n5.nabble.com>

On 2020-03-17 12:44, jsteifel wrote:
> I have been a cygwin user since 2005. I have found it has saved me on a
> windows system. I am an Oracle DBA, and working on *Nix has been my thing
> until companies stopped providing workstations. So cygwin has been it.  
> 
> My last update of cygwin was in 2014, so I am quite behind in updates.  I
> pushed this out to over 300 systems I manage (all windows now). I built an
> automated install, and it does what I want. More recently startring with Win
> server 2016 , and now 2019 when using X I get a CMD window accompanying it
> that doesn't close. And with being outdated, it was time to upgrade. I also
> wanted iconv.
> 
> So I decide to build a fresh install, for the latest as of 3 weeks ago
> (3/2/2020). Most everything is fine, but when using sqlplus either in an
> xterm or in mintty my control U  (KILL) does not get fired off in sqlplus.
> This always worked in the past.  I have played with stty for days it seems,
> and cannot get sqlplus to kill the current line.
> 
> I have taken the approach of building a new test box, and installing the old
> version of 2014 cygwin release. It does work with sqlplus. I then tried
> upgrading but not all pieces, but now it's back to Kill not working. I have
> set -o vi, set raw... I'm still at a loss for how to get it to pass through.
> It works in my shell (btw mksh), not bash.  
> 
> I think with the new cygwin, maybe there is some protection between apps
> going on, that was not in place back in 2014.   but that is just a guess,
> not from any knowledge.
> 
> Does anyone have the same problem, or have a solution.  I don't expect other
> editor commands to work, but this one command is so useful, in clearing out
> a garbage line.

I think you now need to install winpty to handle Windows programs running in a
pty under mintty; check http://mintty.github.io/ and
https://github.com/mintty/mintty/wiki/Tips

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

  reply	other threads:[~2020-03-17 19:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17 18:44 jsteifel
2020-03-17 19:42 ` Brian Inglis [this message]
2020-03-18 14:54   ` jsteifel
2020-04-30 15:34     ` jsteifel
2020-05-02 10:44       ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=df4804cf-d8ba-54f3-2792-a7bf4dda3a41@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).