|
Forum Index : Microcontroller and PC projects : interesting curiosity (bug) of no consequence
| Author | Message | ||||
| robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2466 |
discovered on the picomite while testing out the new scrollback buffer, but also found to be present on the MX170 version of mmbasic: > > Micromite MKII MMBasic Ver 5.05.04 Copyright 2011-2021 Geoff Graham > > > ? ,,,,,,,,,, "abc" abc > ? ,,,,,,,,,,, "def" > > > > ? ,,,,,,,,,,, "this is some text" ,,,,,, "and here is some more" is some more > > > print ,,,,,,,,,,, "this is some text" ,,,,,, "and here is some more" is some more > > it seems that 11 (or more) commas mess up printing at the command prompt. note that the behaviour is NOT present in a running program. cheers, rob :-) |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10613 |
Interesting, can't see anything obvious. Question: does your terminal support ESC[0K clears from cursor to end of line? Or could you? I would like to use it to improve the command stacking in the Picomite |
||||
| robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2466 |
it is already in there here is the 'cheat sheet' of supported escape sequences:Partial VT220 Command Set.pdf those with a tick on the left are supported. those with a red cross are exception that specifically are not (like blinking video, disable autowrap). i suspect the bug may be related to the commas being expanded out into space characters, which are then somehow overflowing the print buffer. here is it doing something even stranger, winXP (VM) and teraterm: ![]() the printed output is overflowing into the input buffer. addendum: one more, > > Micromite MKII MMBasic Ver 5.05.04 Copyright 2011-2021 Geoff Graham > ? ,,,,,,,,,,,, > > > the '>' ends up offset to the right. there definitely seems to be an initial trigger for the whole thing, but i'm struggling to find out what in any repeatable way. cheers, rob :-) Edited 2021-10-31 20:39 by robert.rozee |
||||
| robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2466 |
peter, try typing exactly: ? 123456,,,,,,,,,,,,,,7890 addendum: nope, the effect just slipped away again! cheers, rob :-) Edited 2021-10-31 21:17 by robert.rozee |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |