From: pito <pi...@vo...> - 2010-10-26 11:39:52
|
It seems specifically the Mosaic Terminal does delete the char in the command line automatically when backspaced ,so the sequence 20 08 is not necessary to send (in this case). As an experiment I commented out the space emit in PFA_ACCEPT5: .dw XT_DUP ; ( -- addr k k ) .dw XT_EMIT ; ( -- addr k ) ;.dw XT_SPACE ; ( -- addr k ) ###### ;.dw XT_EMIT ; ( -- addr ) ###### .... and the backspacing and editing in the terminal now works as expected. However, it does not delete the amforth buffer properly: 1000 2000 + . "backspaced" and 2000 overwritten to 3000 1000 3000 + . gives 3000, and, .s gives (only after this backspacing and editing): > .s 0 16369 7 1 16371 7 2 16373 7 3 16375 7 4 16377 7 5 16379 7 6 16381 7 7 16383 384 ok So there is still something to tackle.. P. |