🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Mr. EuStress Tue, 28 Jul 1992 22:14
Cyber-Typing to a Remote Window
#300
Author: Mr. EuStress
Date: Tue, 28 Jul 1992 22:14
14 lines
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();
}
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads