<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 18 Sep 2018 18:23:39 +0100
From   : soruk@... (Michael McConnell)
Subject: Announce: Brandy Basic - with teletext?!

Thank you for that.

Not yet pushed to fit, but my code no longer does VDU 8,32,8 when 8 is received. 
Telstar seems to accept 8 (but not 127) as a delete when keyed, so for now, 
when I key either Backspace (8) or Delete (127), it sends 8 and locally does
a VDU 8,32 then the received 8 will complete the backspace. But a received
8 by itself won't now erase the character under the cursor.

In case it isn't painfully obvious, I wrote this client without ever seeing
a spec, and it's all trial and error (with the occasional packet trace).
It's a miracle it works at all.

On September 18, 2018 4:02:17 PM GMT+01:00, Rob <robert@...> wrote:
>You can send character 127 to the host, which *might* be interpreted as a
>delete, depending on the host software.  (The terminal on my desk at the
>moment sends that when you press the "correction" key up at the top; there
>is no actual backspace or delete key!)  .  But you will receive back left,
>space, left.  So from the point of view of coding up a temrinal emulator,
>you just have to deal with a cursor-left sequence.  (which can be received
>outside of a delete sequence, too.)
>
>Rob.
>
>
>
>On 18 September 2018@..., Michael McConnell <soruk@...>
>wrote:
>
>> So, when you want to key a delete, what code is sent and what is the
>> expected behaviour?
>>
>> On 18/09/18 15:46, Rob wrote:
>>
>>> If you are talking viewdata, character 8 is simply cursor left.
>>> character 127 will display a square block.  There is no actual
>delete
>>> sequence specified.
>>>
>>> Rob
>>>
>>>
>>> On 18 September 2018 at 15:27, Michael McConnell
><soruk@...
>>> <mailto:soruk@...>> wrote:
>>>
>>>     On 18/09/18 12:41, Michael McConnell wrote:
>>>     > On 18/09/18 12:38, gARetH baBB wrote:
>>>     >> On Fri, 14 Sep 2018, Michael McConnell wrote:
>>>     >>
>>>     >>>    410WHEN 8: IF POS=0 AND VPOS=0 THEN VDU31,39,23 ELSE VDU 8,32,8
>>>     >>
>>>     >> VDU 8,32,8
>>>     >>
>>>     >> is very wrong though.
>>>     >     > Without that, hitting Backspace to delete doesn't delete
properly.
>>>     > Unless when you delete it's supposed to leave behind what you deleted
on
>>>     > screen.
>>>
>>>     Actually - I can make it just VDU 8 there, and do a VDU8,32 if 8 or 127
>>>     is received at the keyboard - and it seems to behave itself. Does that
>>>     also break the spec?
>>>
>>>     -- Michael
>>>
>>>     _______________________________________________
>>>     bbc-micro mailing list
>>>     bbc-micro@...
><mailto:bbc-micro@...>
>>>     http://lists.cloud9.co.uk/mailman/listinfo/bbc-micro
>>>     <http://lists.cloud9.co.uk/mailman/listinfo/bbc-micro>
>>>
>>>
>>>
>>

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>