[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

679.0. "Command recall using arrows in a prog." by JEREMY::DAN () Wed Feb 10 1988 06:19

Subj:	Command recall using arrow keys

   I wonder if anyone could help me.

   What I would like to have is a DCL-like feature of recalling the
   last 20 commands using the arrow keys, in an application prog.

   According to the I/O manual (Terminal Driver chapter) the only way
   to do it is use the modifier which disables the driver from recalling
   the last typed command when an up-arrow key is pressed, and
   'do it by yourself'. I wonder if anyone has a routine (or know of an
   existence of one) which does the management of a cyclic 20 x 80 bytes
   buffer and handles the arrow I/O. 

T.RTitleUserPersonal
Name
DateLines
679.1How did you do that?ZFC::DERAMOFor all you do, disk bugs for you.Wed Feb 10 1988 20:595
    Since the message says:
    
                Conference will be write locked 7-Feb.
    
    you may wish to post this instead in the new conference.