problem with pcon after updating msys2-runtime to 3.6.10-1
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- c
- Domain
- cli, operating-systems
Research direction
Reproduce the issue with the commands in probe.exp and expect probe.exp, then inspect the MSYS disable_pcon behavior and the generated ESC[6n sequence. Done means the prompt is no longer corrupted after running the example and dejagnu is not broken, without relying on the documented workaround.
Written by the indexing model from the issue text.
Description
Put this code into probe.exp
spawn C:/Windows/System32/where.exe cmd
expect eof
puts -nonewline $expect_out(buffer)
and run it with
expect probe.exp
you will see a broken prompt
$ ;1R;1R
Apparently it happens because expect produces the ANSI escape sequence ESC[6n. This breaks dejagnu for example. A workaround is to disable pcon by adding disable_pcon to MSYS. You need to use spaces as separators BTW.
- Dominant language
- C
- Stars
- 240
- Forks
- 60
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from msys2/msys2-runtime
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/msys2-runtime#363 ·
-
Arrow keys in tmux panes produce bare letters instead of escape sequences (regression in 3.6.10-3) Open
Difficulty 3/5 1-2 days Newbie friendliness 64/100
msys2/msys2-runtime#365 · 5 comments · 1 reaction ·
-
bug
Difficulty 5/5 Over a week Newbie friendliness 35/100
msys2/msys2-runtime#362 · 7 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
msys2/msys2-runtime#358 · 3 comments · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
msys2/msys2-runtime#354 · 1 comment ·
All issues in msys2/msys2-runtime
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100