Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probably MoarVM-to-blame Windows ^D/^Z issue #519

Open
jnthn opened this issue Feb 2, 2017 · 4 comments
Open

Probably MoarVM-to-blame Windows ^D/^Z issue #519

jnthn opened this issue Feb 2, 2017 · 4 comments
Labels
windows Impacts windows platform

Comments

@jnthn
Copy link
Member

jnthn commented Feb 2, 2017

These should probably exit, but don't.

C:\Program Files\ConEmu>perl6-m -e "for $*IN.lines -> $x { say $x }"
abc
abc
def
def
^D
♦
^Z
→

Rakudo expects us to hand back null or so when such things happen. Might be a libuv thing, might not.

Apparently, it works for somebody; would be interesting to find out what shell they were using (perhaps some bash for Windows-y thing).

@zoffixznet
Copy link
Contributor

As I recall the events on that Tweet:

<brokenchicken> Mithaldu, as I recall the errors were about readline or something and ^D^Z were broken. I installed latest star and got no errors and ^D worked (not ^Z). I asked sinar for version, he gave me a dev build version, I askdd star release manager about it and he said he had to work around the issue for the release and I told sinar he should use the release version

@wchristian
Copy link

Another detail:
17-02-02@22:50:33 (brokenchicken) That's on default Windows7 command prompts

@wchristian
Copy link

wchristian commented Feb 2, 2017

According to https://twitter.com/steve_mynott/status/827297326398132226 this might involve known brokenness with NativeCall (mentioned in the errata: https://perl6.org/downloads/ ) and a C library called Linenoise. I don't know which exact tickets relate, but hope he'll provide details.

@nanis
Copy link
Contributor

nanis commented Feb 3, 2017

For the record, there are two separate issues.

  1. REPL does not exit in response to either CTRL-D or CTRL-Z.

  2. Cannot use CTRL-Z to signal EOF on the command line.

Verified with 2017.01 tarball (after manually fixing this). Visual Studio 2015. 64-bit Windows 10 Pro. 64-bit compile.

@coke coke added the windows Impacts windows platform label May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Impacts windows platform
Projects
None yet
Development

No branches or pull requests

5 participants