Re: sed match DOS end of line

2018-01-06 Thread Steven Penny

On Sat, 6 Jan 2018 16:25:20, Steve Harlow wrote:

Do I not have some environment variable set correctly? Is this a bug in sed?

I see that I can install the older version, 4.2.2.3.  Looks like that 
might take a step backwards on some libraries too. compiler-rt(5.0.1-1), 
libc++devel (5.0.1-1), libc++1 (5.0.1-1), etc.  Is that the right way to go?


nope - this is documented and has been discuessed at length already - past
behavior was wrong if you were on binary mount and/or pipe. current behavior is
correct for those cases:

http://cygwin.com/ml/cygwin/2017-06/msg00044.html


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



Re: ESC followed by UP-arrow cause bash shell to hang

2018-01-06 Thread Wayne Davison
On Sat, Jan 6, 2018 at 4:49 PM, Jim Reisert wrote:
> [...] ESC followed by UP-arrow.  This seems to lock up the
> bash shell for about 30 seconds before control returns.

Your up-arrow is probably a character sequence that starts with an Esc
(you can verify that by typing a Ctrl+V followed by your up-arrow key
and bash will show you something like "^[[A"). So, the issue is that
Esc Esc is usually the completion command like pressing Tab. In
command position, bash will churn through all your path dirs and then
then it will typically ring the bell to tell you that the completion
is not unique (hit Esc Esc again to get a list).

..wayne..

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



Re: ESC followed by UP-arrow cause bash shell to hang

2018-01-06 Thread Steven Penny

On Sat, 6 Jan 2018 17:49:08, Jim Reisert AD1C wrote:

I do a lot of command recall on the command line (xterm running on
Xorg server in Cygwin).  One of the most common things I do is type
the UP-arrow once, then ESC-backspace to get rid of the last word on
the line, so I can change it to something else.


Ctrl + W also works:

   $ bind -q unix-word-rubout
   unix-word-rubout can be invoked via "\C-w".


Occasionally I type these two keys out-of-order, ESC followed by UP-arrow.
This seems to lock up the bash shell for about 30 seconds before control
returns.


not for me - it prints "[A", as well as triggering a "bell", but "lock up" for
me is about 1 second - however note i am using "Cygwin.bat" and custom
terminal [1].

also note if you chose to start using "Ctrl + W" it would avoid the problem, as
a mistaken "Ctrl, Up" would be the same as simply "Up"

[1] http://github.com/svnpenn/bay/blob/master/config/bash/cygwin-readline.ti


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



ESC followed by UP-arrow cause bash shell to hang

2018-01-06 Thread Jim Reisert AD1C
I do a lot of command recall on the command line (xterm running on
Xorg server in Cygwin).  One of the most common things I do is type
the UP-arrow once, then ESC-backspace to get rid of the last word on
the line, so I can change it to something else.  Occasionally I type
these two keys out-of-order, ESC followed by UP-arrow.  This seems to
lock up the bash shell for about 30 seconds before control returns.

What's going on here?  Is there something I'm doing wrong, or is there
a way to prevent this, other than being a better typist?

-- 
Jim Reisert AD1C, , http://www.ad1c.us

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



sed match DOS end of line

2018-01-06 Thread Steve Harlow


Greetings,

With 'sed' (GNU sed) version 4.4 I am seeing that '$' doesn't match end 
of line with windows type text files.

It looks like something like this happened and was fixed on version 4.2.2.
https://cygwin.com/ml/cygwin/2013-06/msg00685.html

Here is the original complaint at the time.  I'm seeing the same thing 
with version 4.4.

https://cygwin.com/ml/cygwin/2013-06/msg00673.html

Do I not have some environment variable set correctly? Is this a bug in sed?

I see that I can install the older version, 4.2.2.3.  Looks like that 
might take a step backwards on some libraries too. compiler-rt(5.0.1-1), 
libc++devel (5.0.1-1), libc++1 (5.0.1-1), etc.  Is that the right way to go?


Regards,
Steve


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



[ANNOUNCEMENT] Updated: mkvtoolnix-19.0.0-1

2018-01-06 Thread David Stacey

The following packages have been updated in the Cygwin distribution:

* mkvtoolnix-19.0.0-1
* mkvtoolnix-gui-19.0.0-1

MKVToolNix is a set of tools to create, alter and inspect Matroska
files (*.mkv, *.mka).

This is an update to the latest upstream release.

Dave.

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