Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

jBase KEYIN() leaves character in print queue

109 views
Skip to first unread message

Mike Yates

unread,
Oct 21, 2024, 4:51:16 AM10/21/24
to Pick and MultiValue Databases
Is there an option available to prevent this non-Pick result, or is it a bug?
The Rocket documentation mentions nothing and falsely states that backspace is excepted.

Jim Idle

unread,
Oct 22, 2024, 12:35:08 AM10/22/24
to mvd...@googlegroups.com
As I said before, use the jBASE keyboard independent subroutines. It is more than likely that the bug isn’t where you think. 

On Mon, Oct 21, 2024 at 02:51 Mike Yates <myat...@gmail.com> wrote:
Is there an option available to prevent this non-Pick result, or is it a bug?
The Rocket documentation mentions nothing and falsely states that backspace is excepted.

--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/af43ba6a-227c-4259-831b-4bb7cd09f4cfn%40googlegroups.com.

Mike Yates

unread,
Oct 26, 2024, 2:32:20 PM10/26/24
to Pick and MultiValue Databases
Sorry guys, but both INPUT K,1 (UNFORMATED gives syntax error) and JBASECommandNext(KeyDescriptionCode,KeyData,Timeout)
leave the character to be printed to screen.
I'll just have to work around it by putting the cursor into an unused area and overwriting.
Other Pick flavours do not do this with KEYIN() though they do for INPUT K,1

bdeck...@gmail.com

unread,
Oct 26, 2024, 4:30:37 PM10/26/24
to mvd...@googlegroups.com

I think this example here: https://docs.rocketsoftware.com/bundle/jbase_lib_61/page/btz1666031270568.html

 

Shows this:

 

$INCLUDE JBC.h

$INCLUDE jCmdKeys.h

EQU Timeout TO 100 ;* 10 seconds

CALL JBASECommandInit

* Accept keyboard input until ESC is pressed or the Timeout limit has been reached

LOOP

     ECHO OFF

     CALL JBASECommandNext(RtnNo, KeyData, Timeout)

     ECHO ON

     CRT @(0):@(-4):'KeyDescriptionCode=':RtnNo:' KeyData=':KeyData:

UNTIL RtnNo = cmd_escape OR RtnNo = cmd_timeout DO

REPEAT

CRT

 

 

Where the routine is togging echo to off, then back on for each call.

Wols Lists

unread,
Oct 27, 2024, 3:12:36 AM10/27/24
to mvd...@googlegroups.com
Oh yes!

My Pr1me days tell me that character echo occurred in the OS terminal
driver, nothing to do with (INFORMATION as it was then) the program. It
happened even before the character got as far as the KEYIN buffer.

You always needed to suppress the auto-echo if you didn't want it.

Cheers,
Wol

On 26/10/2024 21:30, bdeck...@gmail.com wrote:
> I think this example here: https://docs.rocketsoftware.com/bundle/
> jbase_lib_61/page/btz1666031270568.html <https://
> docs.rocketsoftware.com/bundle/jbase_lib_61/page/btz1666031270568.html>
>
> **
>
> *Shows this:*
>
> $INCLUDE JBC.h
>
> $INCLUDE jCmdKeys.h
>
> EQU Timeout TO 100 ;* 10 seconds
>
> CALL JBASECommandInit
>
> * Accept keyboard input until ESC is pressed or the Timeout limit has
> been reached
>
> LOOP
>
>      ECHO OFF
>
>      CALL JBASECommandNext(RtnNo, KeyData, Timeout)
>
>      ECHO ON
>
>      CRT @(0):@(-4):'KeyDescriptionCode=':RtnNo:' KeyData=':KeyData:
>
> UNTIL RtnNo = cmd_escape OR RtnNo = cmd_timeout DO
>
> REPEAT
>
> CRT
>
> Where the routine is togging echo to off, then back on for each call.
>
> *From:*mvd...@googlegroups.com <mvd...@googlegroups.com> *On Behalf Of
> *Mike Yates
> *Sent:* Saturday, October 26, 2024 12:32 PM
> *To:* Pick and MultiValue Databases <mvd...@googlegroups.com>
> *Subject:* Re: [mvdbms] jBase KEYIN() leaves character in print queue

Mike Yates

unread,
Nov 6, 2024, 4:48:22 AM11/6/24
to Pick and MultiValue Databases
No, I've tried ECHO OFF, ECHO ON with KEYIN(), INPUT X,1 and CALL JBASECommandNext(RtnNo, KeyData, Timeout)
and the characters (e.g. "[A" for cursor-up) are still displayed!
I've reported this to Rocket under case #00982080 but that was about evaluation installation.
No human reply yet.
Reply all
Reply to author
Forward
0 new messages