2021-07-03 09:38:26 crc: I discovered a bug in retro, in the s:get function's handling of backspace. 2021-07-03 09:39:55 what is the bug? 2021-07-03 09:40:27 crc: When I send a backspace on a full buffer it will drop two elements (backspace and the one before it). When the buffer is empty though, it will drop the backspace and the next element, which is not there. 2021-07-03 09:40:43 If I understand it correctly, this will walk out of the buffer that way. 2021-07-03 09:41:53 :check-bs (c-c) 2021-07-03 09:41:53 bs? [ buffer:get buffer:get drop-pair ] if ; 2021-07-03 09:42:45 A fix would be to check if the buffer has length 1 and only drop one in that case. 2021-07-03 09:43:13 I will fix this 2021-07-03 09:45:42 crc: Great, thanks 2021-07-03 09:49:50 Found it while testing the backspace functionality in impexus. It is not a problem in a line-based CLI, but also happens when setting »'stty_cbreak unix:system« on unix. 2021-07-03 09:53:03 Backspace is working now and the terminal scrolls properly when it reaches the end. 2021-07-03 12:41:21 john_ceph: this should now be fixed 2021-07-03 14:53:52 crc: Thanks! 2021-07-03 22:50:00 crc I don't think I reported this one yet, did I? https://todo.sr.ht/~crc_/retroforth/submit 2021-07-03 22:51:29 Apologies if its a repost. I had a creeping suspicion that I brought it up before, but couldn't find anything when searching so perhaps I didn't? 2021-07-03 23:01:51 That should now be fixed, thanks! 2021-07-03 23:29:06 Thanks, crc going to try it on a bare metal 386 soon 2021-07-03 23:29:28 Do you think it will work? 2021-07-03 23:29:36 Hopefully it works... 2021-07-03 23:29:41 I had OK luck with the old DOS vm 2021-07-03 23:30:00 It works under qemu, you'll need a multiboot loader like grub 2021-07-03 23:31:06 It's been a couple of years since I last ran it on actual hardware