github.com/moarvm/moarvm | IRC logs at irclog.perlgeek.de/moarvm/today
Set by moderator on 25 July 2013.
01:14 woosley left 01:16 woosley joined
dalek arVM/readlineintfh: e3ff6e5 | jimmy++ | 3rdparty/linenoise/linenoise.c:
fixed funny tab bug reported by FROGGS++
03:23
JimmyZ FROGGS: with ^^, ctrl+c should shut it down properly and tab works better 03:34
FROGGS: if you press tab, it does nothing, if you ctrl-r search and then press tab will do search 03:35
FROGGS: up/down works well here, I'm on ubuntu 03:36
FROGGS: re: it even displays something when pressing ESC, I can't got it. 03:41
diakopter chipdude: ping 04:26
04:26 Alpha64 left 04:44 birdwindupbird joined
JimmyZ FROGGS: you're right that's it say(NULL) problem, I catch it after fixed win32 bug. 04:51
FROGGS: so I changed it to exit if press ctrl-c
07:04 FROGGS joined
JimmyZ hmm, looks like ubuntu unity deosn't work on virtualbox/vmware 07:22
FROGGS JimmyZ: there is a 2d-unity desktop, this might work for you 07:24
JimmyZ FROGGS: really? didn't the latest ubuntu drop 2d-unity 07:26
FROGGS ohh 07:36
JimmyZ FROGGS: I think I fixed all your readline bug reported 07:59
FROGGS pulls 08:00
nqp t/linenoise/linenoise.nqp 08:07
hello> asdasd
asdasd
hello> ^[[A^[[B^[[A^[[B^[[B^[[A^[[A
that is when pressing up/down
JimmyZ FROGGS: are you on ubuntu? 08:10
FROGGS yes
13.04 x64
dalek arVM/readlineintfh2: 21a874e | jimmy++ | 3rdparty/linenoise/linenoise.c:
fixed funny tab bug reported by FROGGS++
08:11
FROGGS ctrl+c works, but it instantially display things for ESC for example
btw, current readlineintfh branch handles tab correctly 08:12
but since I cant do history-up, I'm not sure it will be displayed correctly when getting back a line from history containing a tab 08:13
JimmyZ FROGGS: weird, I have no problem on ubuntu with up/down 08:14
FROGGS hmmmm 08:15
my linenoise.o is old (from yesterday) 08:16
JimmyZ just remove it
FROGGS done
no, same problem 08:17
JimmyZ: you deleted the other branch? 08:20
JimmyZ FROGGS: yeah
FROGGS k 08:21
JimmyZ I did append commit
FROGGS arglbargl 08:23
I have a merge conflict in the linenoise.c file and no idea how to solve it
JimmyZ FROGGS: switch to master 08:24
FROGGS I cant
JimmyZ git reset HEAD --hard 08:25
FROGGS I have to solve the conflict be fore switching...
I'll try
JimmyZ then switch to master
git branch -D readlinefh2 08:26
FROGGS k
looks good, thanks
JimmyZ hehe
dalek arVM/readlineintfh2: 96982a2 | (Tobias Leich)++ | build/Makefile.in:
make clean for linenoise
08:28
JimmyZ I press up/down ,and it switch pre/next history on ubuntu
FROGGS no, doesn't work here 08:29
JimmyZ :-( 08:31
could try adding printf("%c", c); before line 873 ? 08:33
FROGGS already done :o)
(it compiles)
JimmyZ \\o/ 08:34
FROGGS hmmm, it doesnt print it
it doesnt even print printf("while\\n"); in line 838 08:39
it either doesnt call linenoiseEdit or I'm editing & compiling the wrong file :o) 08:41
JimmyZ o.O 08:42
FROGGS okay, truncating the .c file has at least some influence: /home/froggs/dev/MoarVM/src/io/fileops.c:364: undefined reference to `linenoise' 08:47
JimmyZ FROGGS: you didn't do perl Configure.pl again 08:50
FROGGS: or you want 'git clean -xdf'
oh, I misunderstood 08:51
FROGGS no, I did configure (did it again, to be sure), and git clean -xdf doesnt help 08:52
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH 08:53
<----------------- stupid
JimmyZ: spot the error: cd ~/dev/MoarVM && make clean && make && cd nqp-cc && nqp t/linenoise/linenoise.nqp
:P
JimmyZ t/linenoise/linenoise.nqp 08:55
Is it same as me?
FROGGS that is your test.nqp file
but no, that is not the error 08:56
JimmyZ $ nqp nqp-moar-cc.nqp t/linenoise/linenoise.nqp
tadzik nqp
FROGGS I forgot to actually use the cross compiler >.<
JimmyZ you miss nqp-moar-cc.qnp
FROGGS yeah
OSI Layer 8 that is 08:57
JimmyZ so you are testing parrot without readline-dev?
:P
FROGGS *g*
JimmyZ: looks better when I'm doing it right 09:10
JimmyZ: it has a problem with umlauts fwiw 09:11
if you type: äöü
and then enter and up, it treats it as 6 chars long 09:12
but having fun with multibyte chars and graphemes was sort of expected 09:13
JimmyZ++ # awesome work, we need to port this to vm/parrot eventually someday 09:15
JimmyZ FROGGS: re 6 chars: that's because we didn't do NFG yet? 09:22
FROGGS if you say so 09:27
JimmyZ I want to make ctrl-r to act like readline, but I keep mind it should be another readline, if we reall want it, switch to readline ;P 09:36
s/should/shouldn't/
12:40 crab2313 joined 13:03 _ilbot joined
moderator github.com/moarvm/moarvm | IRC logs at irclog.perlgeek.de/moarvm/today
JimmyZ FROGGS: re 6 chars again, could try using nqp graphs op in moarvm to see how many length? 13:21
FROGGS nqp nqp-moar-cc.nqp -e 'say(nqp::chars("äöü"))' 13:22
3
or is there another op?
ahh, graphs_s
JimmyZ FROGGS: I meant use in my readline test :P 13:24
FROGGS I'll do later, currently my mind is somewhere else 13:25
JimmyZ thanks 13:28
hello> äöü 14:54
3
äöü
FROGGS: it outputs well here
and 3 chars
I press up and enter
same outputs
FROGGS weird 14:55
:P
JimmyZ I'm on CentOS with ssh utf-8 14:56
15:32 bronco_creek joined 16:07 cognominal joined 16:36 Alpha64 joined 16:52 benabik joined 18:07 cognominal joined
diakopter who picked linenoise? jnthn? 18:14
18:30 colomon joined
FROGGS diakopter: I am not sure, why? 18:41
diakopter well I was curious if jnthn approved it 18:42
FROGGS he said nothing against it if I remember correctly 18:46
diakopter ok; I didn't even know if he was aware of it
FROGGS diakopter: he might have seen it, not sure: irclog.perlgeek.de/moarvm/2013-07-12#i_7320738 18:50
diakopter oh, I see; it's in a branch 18:54
that's fine
masak \\o/ 19:01