Article View: comp.sys.next.programmer
Article #300Cyber-Typing to a Remote Window
From: Mr. EuStress
Date: Tue, 28 Jul 1992 22:14
Date: Tue, 28 Jul 1992 22:14
14 lines
952 bytes
952 bytes
//Here's how to Cyber-Type to a Remote process:
//115 is a lower case 's'.
//1048576 is the command-key mode. 10 is the key-down
//event. BOTH NXPing()'s are needed.
//(*mc[4][12]) is DPSPrintf().
//cc -g -O -s -w -o test test.c -lNeXT_s
main () {
void (***mc)() = DPSCreateContext(0,0,0,0);
NXPing();
(*mc[4][12])(mc,"10 0 0 0 1048576 \
0 0 115 0 frontwindow currentowner posteventbycontext\n");
NXPing();
}
Technical Details
Message-ID:
<1992Jul28.221421.6598@u.washington.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!news From: jcr@milton.u.washington.edu (Mr. EuStress) Newsgroups: comp.sys.next.programmer Subject: Cyber-Typing to a Remote Window Message-ID: <1992Jul28.221421.6598@u.washington.edu> Date: 28 Jul 92 22:14:21 GMT Sender: news@u.washington.edu (USENET News System) Reply-To: jcr@milton.u.washington.edu (Mr. EuStress) Organization: University of Washington Lines: 14