Re: [Freedos-user] FreeDOS utility to insert keystrokes in the keyboard buffer?

2006-03-20 Thread Aitor Santamaría Merino

Hi,

KEYB implements such a bigger secondary buffer whenever you use 
STRINGS, as 16 characters is too few to decently support placing 
strings. True that you need the overhead of the STRING subsystem if you 
want this secondary buffer.
I'd study to allow you to use the secondary buffer independently of 
strings, but as far as I know, there haven't been many requests to do 
this, so it has low priority at the moment... (there are many other 
things to do first I guess).


Aitor

Carl Spitzer escribió:

Why the limit of 16??


That's the size of the typeahead buffer maintained by the BIOS (I think
that's what maintains it anyway).  I guess you could work around that
limitation with a TSR that continually polled to find out if there was any
room in the buffer and added additional characters once room was available
(due to the application reading the keystrokes).




That is what I was thinking about I am surprised that FreeDOS has not
done that yet.

CWSIV





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS utility to insert keystrokes in the keyboard buffer?

2006-03-04 Thread aitorsm
Hi there,

Oops, it seems to point to me ;-)

The keyboard buffer is a BIOS resource, and it many cases DOS (standard
CON device) just relies on BIOS to do this work.

BIOS extensions to the BIOS keyboard handling (namely KEYB) could easily
implement this, but:
- I try myself to recycle BIOS stuff as much as possible and rewrite less
- I haven't felt the need to do it

When you are using STRINGS in KEYB, then a secondary bigger buffer is used
(from which info is transfered to the primary BIOS one), but it is because
your strings can be big enough. I'll annotate it within KEYB wishes to be
able to use this secondary bigger buffer with a KEYB switch.

Cheers,
Aitor


 On Mon, 2006-02-06 at 19:18 +0300, Arkady V.Belousov wrote:
 Hi!

 5-ÄÕÒ-2006 19:47 [EMAIL PROTECTED] (Carl Spitzer) wrote to FreeDOS
 freedos-user@lists.sourceforge.net:

following constants and function allow a program to place up to
 16
two-byte characters in the keyboard buffer. When the program
 exits
   Why the limit of 16??
  That's the size of the typeahead buffer maintained by the BIOS (I
 think
 CS That is what I was thinking about I am surprised that FreeDOS has
 not
 CS done that yet.

  Why you think that it should done this?

 Increase the typeahead buffer size.

 CWSIV



 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log
 files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS utility to insert keystrokes in the keyboard buffer?

2006-02-15 Thread Carl Spitzer
On Mon, 2006-02-06 at 19:18 +0300, Arkady V.Belousov wrote:
 Hi!
 
 5-Фев-2006 19:47 [EMAIL PROTECTED] (Carl Spitzer) wrote to FreeDOS
 freedos-user@lists.sourceforge.net:
 
following constants and function allow a program to place up to 16
two-byte characters in the keyboard buffer. When the program exits
   Why the limit of 16??
  That's the size of the typeahead buffer maintained by the BIOS (I think
 CS That is what I was thinking about I am surprised that FreeDOS has not
 CS done that yet.
 
  Why you think that it should done this?
 
Increase the typeahead buffer size.

CWSIV



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS utility to insert keystrokes in the keyboard buffer?

2006-02-07 Thread David O'Shea
Hi Carl,

 From: Carl Spitzer [EMAIL PROTECTED]
 Date: Sun, 05 Feb 2006 19:47:12 -0800

I programmed something like this and it might do what you want. The
following constants and function allow a program to place up to 16
two-byte characters in the keyboard buffer. When the program exits
(without reading any of the characters, of course) DOS will execute
the
command as though it had been typed.
   
  
   Why the limit of 16??
 
  That's the size of the typeahead buffer maintained by the BIOS (I think
  that's what maintains it anyway).  I guess you could work around that
  limitation with a TSR that continually polled to find out if there was
any
  room in the buffer and added additional characters once room was
available
  (due to the application reading the keystrokes).
 

 That is what I was thinking about I am surprised that FreeDOS has not
 done that yet.

Check out http://short.stop.home.att.net/freesoft/keyb.htm  There are tools
there that provide 124 or 64K characters.  Maybe 16 isn't the BIOS limit
after all?  It sounds like the tool that supports 64K characters is a TSR,
but the 124 character one probably isn't so maybe THAT is what the BIOS
limit is?  Or perhaps that is more related to the maximum length of the DOS
command line?

Regards,
David


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS utility to insert keystrokes in the keyboard buffer?

2006-02-06 Thread Carl Spitzer
On Mon, 2006-01-23 at 20:26 +1030, David O'Shea wrote:
 Hi Carl,
 
  From: Carl Spitzer [EMAIL PROTECTED]
 [...]
  On Wed, 2005-12-28 at 21:13 -0500, Jim Lemon wrote:
   I programmed something like this and it might do what you want. The
   following constants and function allow a program to place up to 16
   two-byte characters in the keyboard buffer. When the program exits
   (without reading any of the characters, of course) DOS will execute the
   command as though it had been typed.
  
 
  Why the limit of 16??
 
 That's the size of the typeahead buffer maintained by the BIOS (I think
 that's what maintains it anyway).  I guess you could work around that
 limitation with a TSR that continually polled to find out if there was any
 room in the buffer and added additional characters once room was available
 (due to the application reading the keystrokes).
 

That is what I was thinking about I am surprised that FreeDOS has not
done that yet.

CWSIV



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS utility to insert keystrokes in the keyboard buffer?

2006-02-06 Thread Arkady V.Belousov
Hi!

5-Фев-2006 19:47 [EMAIL PROTECTED] (Carl Spitzer) wrote to FreeDOS
freedos-user@lists.sourceforge.net:

   following constants and function allow a program to place up to 16
   two-byte characters in the keyboard buffer. When the program exits
  Why the limit of 16??
 That's the size of the typeahead buffer maintained by the BIOS (I think
CS That is what I was thinking about I am surprised that FreeDOS has not
CS done that yet.

 Why you think that it should done this?





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS utility to insert keystrokes in the keyboard buffer?

2006-01-23 Thread David O'Shea
Hi Carl,

 From: Carl Spitzer [EMAIL PROTECTED]
[...]
 On Wed, 2005-12-28 at 21:13 -0500, Jim Lemon wrote:
  I programmed something like this and it might do what you want. The
  following constants and function allow a program to place up to 16
  two-byte characters in the keyboard buffer. When the program exits
  (without reading any of the characters, of course) DOS will execute the
  command as though it had been typed.
 

 Why the limit of 16??

That's the size of the typeahead buffer maintained by the BIOS (I think
that's what maintains it anyway).  I guess you could work around that
limitation with a TSR that continually polled to find out if there was any
room in the buffer and added additional characters once room was available
(due to the application reading the keystrokes).

Regards,
David


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS utility to insert keystrokes in the keyboard buffer?

2005-12-28 Thread Bernd Blaauw

Jim Lemon schreef:

Andrew Greenberg wrote:
4DOS has a nifty command called keystack which allows you to insert 
key strokes into the keyboard buffer. This is handy for controlling 
DOS programs which you can't script from the command line.


Does FreeDOS have anything like this? Or does anyone have any ideas 
for how I might be able to go about automating sending keystrokes to 
a DOS program?

4DOS is freeware nowadays, but it's a rather huge program.

simpler programs could be preferred thus.

Bernd



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS utility to insert keystrokes in the keyboard buffer?

2005-12-28 Thread Arkady V.Belousov
Hi!

27-Дек-2005 16:36 [EMAIL PROTECTED] (Andrew Greenberg) wrote to
freedos-user@lists.sourceforge.net:

AG 4DOS has a nifty command called keystack which allows you to insert key
AG Does FreeDOS have anything like this? Or does anyone have any ideas for how
AG I might be able to go about automating sending keystrokes to a DOS program?

http://home.t-online.de/home/K_meinhard/tools/gl_keys.zip


KEYS is a keystroke stacking program compatible with the 4DOS KEYSTACK
command.  It can be used as a replacement for the 4DOS KSTACK utility.
KEYS comes with complete source, has a smaller resident size than the
4DOS KSTACK program, implements a more flexible command line syntax
than the 4DOS KEYSTACK command, and is freely redistributable.






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user