| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 294.1 | ^Z Works Independently of CDU | VAXUUM::DYER | Define `Quality' | Mon Aug 25 1986 21:04 | 7 | 
|  | 	    The CDU itself doesn't handle ^Z.  Typically what one does
	is use lib$get_input() to read a command into a buffer, then
	run CLI$ routines on the text in that buffer.
	    What happens when you type ^Z is that lib$get_input() will
	return a status code of RMS$_EOF instead of SS$_NORMAL.  You
	check the status and act accordingly.
			<_Jym_>
 | 
| 294.2 | Use SMG$ routines | FROST::HARRIMAN | ACK Phfft! | Thu Aug 28 1986 10:12 | 9 | 
|  |     
    The best way I know of to make ^Z be recognized is to use the SMG$
    routines directly. You can define your termination characters using
    the routine SMG$READ_STRING. Read the manual-page 5B/RTL-599. You would,
    of course, have to use all of the other SMG$ functions too, but
    they are very easy to master for simple (one keyboard, one display)
    applications.
    
    /pjh
 | 
| 294.3 | Either Works - LIB$'s Easier - SMG$'s More Powerful | CLOSET::DYER | Define `Quality' | Fri Aug 29 1986 15:37 | 6 | 
|  | 	    If it's just ^Z you want to recognize, LIB$GET_INPUT will
	do that very well, returning RMS$_EOF status when ^Z is typed.
	If you need more terminating characters besides the usual,
	SMG$READ_STRING is useful.  (I use it for TOPS-20 like incre-
	mental help, when the `?' key is typed.)
			<_Jym_>
 |