home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
PB_121.ZIP
/
SDK.ARJ
/
ALTJ.C
next >
Wrap
C/C++ Source or Header
|
1992-03-28
|
391b
|
26 lines
#include "pb_sdk.h"
int
handler(KEY k)
{
if(k == KEY_ALTG)
{
printf("\n\7Hang on \3%s\7, I'm shelling to DOS...",UserFirstName);
MenuFunction(MENU_SHELL,"*!*N*Q*C*Y");
puts("\6I'm back!\7");
return HANDLED;
}
return NOT_HANDLED;
}
main()
{
InstallHandler(HANDLER_SYSOPKEY,handler);
ExitTSR();
return 0; /* Keeps compiler happy */
}