TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: ALL
from: Jasen Betts
date: 2004-06-04 05:48:08
subject: Change batch commands

Path: number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!news.moat.net!newsfeeder.wxs.nl!zen.net.uk!dedekind.zen.co.uk!newsfeed.tpinternet.pl!newsfeed.atman.pl!news.intercom.pl!f124.n480!f127.n480!f112.n480!f200.n2432!f605.n774!f954.n640!f531.n640!f1042.n640!not-for-mail
Newsgroups: fido.4dos
Distribution: fido
From: Jasen Betts 
Date: Fri, 04 Jun 04 05:48:08 +0200
Subject: Change batch commands
Message-ID: 
References: 
Organization: As King Arthur said: Some days it all seems so feudal.
 (3:640/1042)
 2443/1181
Lines: 58
Xref: number1.nntp.dca.giganews.com fido.4dos:515

Hi Ralf.

03-Jun-04 11:56:39, Ralf Brinkmann wrote to Jasen Betts

 RB> Hi Jasen,

 RB>>> The alias CALC = KEYSTACK "CALC %@comma[%@EVAL[%&]]" works under
 RB>>> 4DOS, but under 4NT I don't get a result. The alias should be
 RB>>> used like "calc 4 + 5 ENTER"

 JB>> I think keystack is the problem. there may be a way to make it
 JB>> work woth NT, I don't use it.

 RB> What do you use?

something small which I wrote myself, it doesn't have all the features of
keystack, but it doesn't have the overhead either.

it should OTOH work in NT (etc) - (it worked in version NT 3.x)

 JB>> perhaps something like this instead.

 RB> No, unfortunately this doesn't work. Maybe there's somebody else
 RB> who has an idea. Or are we the only ones here


here's the keyboard stuffer encoded as execuatble text.
==== cut here ====
XPPPYZIQD[L-f6-g41GDSCu*SXK,I,IP^P_FX,O,O(GS(GU(GZ(Gnu+J.BETTS98
CFFFRX,`,`2$F=@!t|rQ0%IuL0%(%(%GERYAARX2%(%t8++j=B|:|>@J|(|-([{@
*[{)B}(:/jB&B/&J){@J|(}-([{@]-B@*@*|--|J^*|J:]}J}<{~""B]}(={
B\:]B"([*-!4vbAw_O>^*W_+>eXBO33%%X7po'7,T;S##5K%,(v?
UYqfR*1'9.:%W`vA${d*m$I%i$y%(fR-AU}'3,drJBNJZ[w*$x(ST6n#i'5zrgX+
OC)$FPr`m+KM^:i$|CkLe-DlT4v
+CnBW,m|i8OCKT}K#mIL,^*u6D?qrw01($HtQp9wmjoP@%m"---STUFF.COM----
==== cut here ====
save it as stuff.com

stuff.com stuffs simulated keysttrokes into the bios keyboard buffer
(which usually has room for 15 keystrokes)

instructions...
 regular ascii can be put in the key buffer inside quotes "like this"
 or 'like this'

 if you leave the last quote off and don't have anything following an
 "enter" is automatically stuffed (due to a bug that I have declared a
 feature

 other keys can be stuffed in hex, 2 digits is an ascii value, 4 digits
 a scancode-value pair eg F1 is 3b00, 0D or just D is enter, but some
 programs require 1c0d.

due to bios limitations, in most cases a maximum of 15 keys can be
stuffed.

 -=> Bye <=-

SOURCE: echoes via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.