serout ctr z
kenobe
Posts: 7
Hi
can someone pls tell me how to send the keystroke CTR Z from the bs2 serout
Thanks
can someone pls tell me how to send the keystroke CTR Z from the bs2 serout
Thanks
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester yet?
http://hometown.aol.com/newzed/index.html
·
I can only presume that this is going to be used to emulate a CTL Z from some other device. Which device would ordinarily be sending it, a PC AT keyboard? What device will be receiving the character string, something attached to an MS-DOS port?
What you produce as a character string will very much depend on what kind of device you're emulating. A VT-100 terminal will produce one set of codes, a PC AT keyboard will produce another, and a Wyse 50 terminal will produce yet onther. See the problem you're faced with.
In almost all case I can think of, you will be sending more than one character to emulate it, and in some case you may be sending up to 4 characters, if both MAKE and BREAK keypresses are required by the receiving device, or the software decoding it.
Regards,
Bruce Bates
94 being control, followed by 122 the char z.
SEROUT pin,baud,[noparse][[/noparse]26]
or
SEROUT pin,baud,[noparse][[/noparse]94]
then
SEROUT pin,baud,[noparse][[/noparse]122]
Post Edited (Short) : 8/6/2005 3:06:13 PM GMT
Thanks for your advise.
Actually I am sending commands to a modem.
from hyper terminal, looks like this
type "at+pst"· followed by keystroke CTR Z.
I want to send this command from the bs2, I try asckii 26 but dont work.
Sid
In PBasic, it would be:
SEROUT 16, I9600, [noparse][[/noparse]26]
I tried
serout 8,I9600,[noparse][[/noparse]26]
It did not work
However, the CTR Z works fine in the Hyper Terminal.
I am trying to send to the Itegno modem.
appreciative. not appreciatetive
I9600 CON 16384 ' Or, whatever the Inverted, 9600 baud modifier is for your BS2.