Welcome to the main channel on the development of MoarVM, a virtual machine for NQP and Rakudo (moarvm.org). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
00:01 squashable6 left, coverable6 left, bisectable6 left, statisfiable6 left, shareable6 left, greppable6 left, linkable6 left, sourceable6 left, evalable6 left, releasable6 left, nativecallable6 left, benchable6 left, quotable6 left, bloatable6 left, committable6 left, tellable6 left, reportable6 left, unicodable6 left, shareable6 joined, bloatable6 joined, bisectable6 joined 00:02 evalable6 joined, reportable6 joined, releasable6 joined, unicodable6 joined, statisfiable6 joined 00:03 quotable6 joined, benchable6 joined, committable6 joined, linkable6 joined, nativecallable6 joined, sourceable6 joined, tellable6 joined 00:04 greppable6 joined, coverable6 joined, squashable6 joined 00:27 Kaiepi left 00:55 discord-raku-bot left 00:56 discord-raku-bot joined 01:56 statisfiable6 left, bisectable6 left, linkable6 left, coverable6 left, nativecallable6 left, quotable6 left, shareable6 left, unicodable6 left, greppable6 left, squashable6 left, sourceable6 left, releasable6 left, reportable6 left, benchable6 left, bloatable6 left, tellable6 left, evalable6 left, committable6 left, notable6 left, sourceable6 joined, reportable6 joined, coverable6 joined 01:57 greppable6 joined, bisectable6 joined, benchable6 joined, nativecallable6 joined, evalable6 joined, squashable6 joined, quotable6 joined, releasable6 joined 01:58 linkable6 joined, unicodable6 joined, bloatable6 joined, statisfiable6 joined, committable6 joined 01:59 notable6 joined, shareable6 joined, tellable6 joined
[Coke]_ let me know if you need me to try something on a windows box, lizmat. 02:56
02:59 linkable6 left, evalable6 left, evalable6 joined 03:00 linkable6 joined 03:02 [Coke]_ is now known as [Coke] 03:32 [Coke]___ joined 03:35 [Coke] left 04:35 shareable6 left, squashable6 left, greppable6 left, evalable6 left, tellable6 left, releasable6 left, reportable6 left, coverable6 left, notable6 left, linkable6 left, committable6 left, unicodable6 left, quotable6 left, statisfiable6 left, nativecallable6 left, bisectable6 left, sourceable6 left, bloatable6 left, benchable6 left, coverable6 joined 04:36 bisectable6 joined, greppable6 joined, bloatable6 joined, nativecallable6 joined, shareable6 joined, linkable6 joined, benchable6 joined, committable6 joined 04:37 tellable6 joined, releasable6 joined, squashable6 joined, notable6 joined, quotable6 joined, evalable6 joined, reportable6 joined, statisfiable6 joined 04:38 sourceable6 joined, unicodable6 joined 05:30 tbrowder left, jdv left, jdv joined, tbrowder joined 05:44 Kaiepi joined 05:53 camelia left, bartolin_ left, jnthn left, leont left, leedo_ left 05:54 bartolin joined, jnthn joined, leedo joined 05:55 leont joined 06:07 reportable6 left 06:08 reportable6 joined 06:14 camelia joined 06:16 camelia left, camelia joined
nine lizmat: if $*IN = open '/dev/tty'; does the trick, then that's cool. I somehow doubt that it does though. I think all that would do is open the tty and assign the handle to the dynamic variable $*IN. But it doesn't change the STDIN file descriptor. 07:36
Well there is actually a chance of $*IN = open '/dev/tty' doing what you need: if the open call uses the lowest unused file descriptor which in your case would be STDIN. 07:38
Otherwise you need to my int $stdin = $*IN.native-handle; $*IN.close; $*IN = open '/dev/tty'; dup2($*IN.native-handle, $stdin); run('vim') 07:40
Though $stdin should always be just 0
lizmat Actually, it turns out that I somehow got the idea that to redirect stderr of a run of raku into the stdin of rak, I should use " 2> >(rak.... _ " syntax in the shell 08:19
I should have used " 2>&1 | rak "
in that case, just doing my $*IN = open '/dev/tty' does the trick in the same scope as the run 'vim' 08:21
github.com/lizmat/Edit-Files/blob/...akumod#L46 08:22
11:06 sena_kun joined 12:07 reportable6 left 12:09 reportable6 joined 13:16 Kaiepi left 13:32 Kaiepi joined 14:09 epony left 14:25 [Coke] joined 14:28 [Coke]___ left 15:35 nativecallable6 left, statisfiable6 left, coverable6 left, bloatable6 left, evalable6 left, bisectable6 left, squashable6 left, unicodable6 left, committable6 left, tellable6 left, greppable6 left, linkable6 left, shareable6 left, reportable6 left, notable6 left, sourceable6 left, benchable6 left, releasable6 left, quotable6 left, benchable6 joined, statisfiable6 joined, evalable6 joined 15:36 quotable6 joined, unicodable6 joined, coverable6 joined, sourceable6 joined, shareable6 joined 15:37 greppable6 joined, releasable6 joined, committable6 joined, linkable6 joined, notable6 joined, bisectable6 joined, tellable6 joined, nativecallable6 joined 15:38 squashable6 joined, bloatable6 joined, reportable6 joined 17:46 sena_kun left 17:47 sena_kun joined 18:07 reportable6 left 18:10 reportable6 joined 20:10 Kaiepi left 20:11 Kaiepi joined 20:15 Kaipei joined 20:19 Kaiepi left, Kaipii joined 20:22 Kaiepi joined 20:23 Kaipei left 20:26 Kaipei joined, Kaipii left 20:30 Kaiepi left 21:30 linkable6 left, evalable6 left, evalable6 joined 21:31 linkable6 joined 21:48 epony joined 22:29 sena_kun left 22:31 sena_kun joined 22:55 sena_kun left 23:55 evalable6 left, linkable6 left 23:57 evalable6 joined 23:58 linkable6 joined