Web lists-archives.com

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.7.0-0.2




On Sat, 4 Feb 2017 14:00:15, Corinna Vinschen wrote:
[snip]

> Bug Fixes
> ---------
> - Fix handling of Alt-Numpad sequences in console handler.
>   Addresses: https://cygwin.com/ml/cygwin/2017-01/msg00135.html
> 
> - Fix erasing UTF-8 multibyte characters in cooked mode.
>   Addresses: https://cygwin.com/ml/cygwin/2017-01/msg00299.html

To be "comsumed" on Monday ...

Hi Corinna,

This time I decided to test with alt-1 and alt-254 as input ... Output is not
as expected, I would say ...

R. Henri

=====
Using the Windows Console (cp437):

64 LANG = en_US.UTF-8, LC_ALL =
=> LANG = en_US.UTF-8
/home/corinna/src/cygwin/cygwin-2.7.0/cygwin-2.7.0-0.2.x86_64/src/newlib-cygwin/winsup/cygwin/cygheap.cc
64-@@ cygcheck -sv | awk '$1 ~ /^(bash|libreadline.|cygwin|"cygwin1.dll")$/'
                  "cygwin1.dll" v0.0 ts=2017-02-03 21:17
bash                                    4.4.12-3                     OK
cygwin                                  2.7.0-0.2                    OK
libreadline7                            7.0.1-1                      OK

# enter alt-1, followed by lf
64-@@ ☺
bash: ☺: command not found
# enter alt-254, followed by lf
64-@@ [G■ <==== expected one character ...
bash: [G■: command not found
# enter alt-254, followed by 3 bs, followed by lf
64-@@ <==== no problem

64-@@ bash --noediting # disable readline
=> LANG = en_US.UTF-8

# enter alt-254, followed by 3 bs, followed by lf
64-@@
bash: $'\E\E': command not found <==== knock, knock, who is this?

# enter alt-254, followed by 3 bs, followd by '| od', followed by lf
64-@@ echo | od -tx1z
0000000 1b 1b 0a                                         >...<
0000003
64-@@ exit
exit

64-@@ dash
# enter alt-1 followed by lf
$ ☺
dash: 1: ☺: not found

# enter alt-1, followed by bs, followed by lf
$ <==== no problem

# enter alt-254, followed by lf
$ [G■
dash: 3: [G■: not found

# enter alt-254, followed by 3 bs, followd by '| od', followed by lf
$
dash: 4: : not found <==== euh, what?

# enter alt-254, followed by 3 bs, followd by '| od', followed by lf
$ echo | od -tx1z
0000000 1b 1b 0a                                         >...<
0000003

# enter alt-254, followed by '| od', followed by lf
$ echo [G■ | od -tx1z
0000000 1b 1b 5b 47 e2 96 a0 0a                          >..[G....<
0000010
# euh ... e2 96 a0 is utf-8 for u25a0, but I cannot explain 1b 1b
# at the front (and 5b 47, i.e. { G)

# enter alt-148, followed by lf
$ ö
dash: 7: ö: not found

# enter alt-148, followed by bs, followd by lf
$
$ <==== no problem

=====


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