[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

580.0. "Help wanted with terminators and mailboxes" by UBEAUT::MACKAY (Don Mackay) Thu Oct 15 1987 02:38

    I have two processes talking via a mailbox with 'Process B' doing the
    writing (via a read attention AST) to 'Process A'. I have written
    'Process B' but I am dealing with a package program as 'Process A'.
    'Process A' normally talks to a terminal and picks up, not only the
    entered text, but also the terminator sequence (CR, up arrow etc). 
    
    My question is, how can I get the mailbox handler to tell 'Process
    A' that there is a terminator sequence and to pass it on? Is this
    possible? The documentation I have for the Mailbox Handler does not
    talk about terminators at all.
    
    I am using V4.6 of VMS.

    Thanks for any help
    
    Don Mackay
T.RTitleUserPersonal
Name
DateLines
580.1VIDEO::LEICHTERJJerry LeichterFri Oct 16 1987 22:515
Can't be done.  Since the program is actually looking at the terminator, it
must be using the terminal-driver-specific information in the IOSB.  It's
also implicitly using the terminal driver's parsing routines to pick up
the terminators, parse escape sequences, etc.
							-- Jerry
580.2how to pass terminator in mailboxVIDEO::OSMANtype video::user$7:[osman]eric.sixWed Oct 21 1987 13:216
If you really need to pass the terminators, you might want to implement
some mailbox message types.  One type would be TEXT, another would be
TERMINATOR.  Then, the program reading from real terminal could pass
the info as TEXT and TERMINATOR down the mailbox.

/Eric