For Programmers: Free Programming Magazines  


Home > Archive > Clipper > June 2004 > need config sys setting









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author need config sys setting
chantal

2004-06-04, 3:55 pm

To change KEYSIZE (the keyboard buffer size) from 15 to 30.
Can anybody help me with this statement? i cant use Doskey /keysize, need
another way to increase the keyboard buffer...
Much appreciated !!!
C.


pete@nospam.demon.co.uk

2004-06-04, 8:55 pm

In article <AvGdnW6a0flIWF3dRVn-iQ@is.co.za>
cbreez@webmail.co.za "chantal" writes:

> To change KEYSIZE (the keyboard buffer size) from 15 to 30.
> Can anybody help me with this statement? i cant use Doskey /keysize, need
> another way to increase the keyboard buffer...
> Much appreciated !!!
> C.


Check SET TYPEAHEAD in your manual...

Pete
--
"We have not inherited the earth from our ancestors,
we have borrowed it from our descendants."
Robert Haley

2004-06-05, 3:55 am

"chantal" <cbreez@webmail.co.za> wrote in message news:<AvGdnW6a0flIWF3dRVn-iQ@is.co.za>...
> To change KEYSIZE (the keyboard buffer size) from 15 to 30.
> Can anybody help me with this statement? i cant use Doskey /keysize, need
> another way to increase the keyboard buffer...
> Much appreciated !!!
> C.


chantal,

You could try increasing the keyboard buffer size directly in the
application first, that may help.

FUNCTION MAIN()
// ...
SET TYPEAHEAD TO 85
// ...
RETURN NIL


Regards,
Bob

From the clipx.net norton guide library:
-----------------------------------------
SET TYPEAHEAD
Set the size of the keyboard buffer
------------------------------------------------------------------------------
Syntax

SET TYPEAHEAD TO <nKeyboardSize>

Arguments

TO <nKeyboardSize> specifies the number of keystrokes the
keyboard
buffer can hold from a minimum of zero to a maximum of 4096. The
default size of the keyboard buffer is machine-dependent but 16
is the
minimum size.

Description

SET TYPEAHEAD defines the size of the CA-Clipper keyboard buffer
that
caches keystrokes input directly by the user. SET TYPEAHEAD,
however,
does not affect the number of characters that can be stuffed
programmatically using the KEYBOARD command. When executed, SET
TYPEAHEAD clears the keyboard buffer and sets the size to
<nKeyboardSize>.

When TYPEAHEAD is SET TO zero, keyboard polling is suspended. An
explicit request for keyboard input, however, will temporarily
enable
the keyboard and read any pending keystrokes from the BIOS
buffer.
Calling NEXTKEY() constitutes such an explicit request.
NEXTKEY() reads
any pending keystrokes from the BIOS buffer and returns the
INKEY()
value of the first keystroke read, or zero if no keystrokes are
pending.

Files: Library is CLIPPER.LIB.
chantal

2004-06-07, 3:55 am

Thanks , the TYPEAHEAD setting worked like a charm. :)

"Robert Haley" <r_haley_3rd@email.com> wrote in message
news:951d144f.0406041747.726043d1@posting.google.com...
> "chantal" <cbreez@webmail.co.za> wrote in message

news:<AvGdnW6a0flIWF3dRVn-iQ@is.co.za>...
need[color=darkred]
>
> chantal,
>
> You could try increasing the keyboard buffer size directly in the
> application first, that may help.
>
> FUNCTION MAIN()
> // ...
> SET TYPEAHEAD TO 85
> // ...
> RETURN NIL
>
>
> Regards,
> Bob
>
> From the clipx.net norton guide library:
> -----------------------------------------
> SET TYPEAHEAD
> Set the size of the keyboard buffer
> --------------------------------------------------------------------------

----
> Syntax
>
> SET TYPEAHEAD TO <nKeyboardSize>
>
> Arguments
>
> TO <nKeyboardSize> specifies the number of keystrokes the
> keyboard
> buffer can hold from a minimum of zero to a maximum of 4096. The
> default size of the keyboard buffer is machine-dependent but 16
> is the
> minimum size.
>
> Description
>
> SET TYPEAHEAD defines the size of the CA-Clipper keyboard buffer
> that
> caches keystrokes input directly by the user. SET TYPEAHEAD,
> however,
> does not affect the number of characters that can be stuffed
> programmatically using the KEYBOARD command. When executed, SET
> TYPEAHEAD clears the keyboard buffer and sets the size to
> <nKeyboardSize>.
>
> When TYPEAHEAD is SET TO zero, keyboard polling is suspended. An
> explicit request for keyboard input, however, will temporarily
> enable
> the keyboard and read any pending keystrokes from the BIOS
> buffer.
> Calling NEXTKEY() constitutes such an explicit request.
> NEXTKEY() reads
> any pending keystrokes from the BIOS buffer and returns the
> INKEY()
> value of the first keystroke read, or zero if no keystrokes are
> pending.
>
> Files: Library is CLIPPER.LIB.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com