{
{   The purpose of this request is to register a file in a temporary catalog,
{ to assign the file to the terminal device class, and to create an attachment
{ of the file to the requesting job.  In addition one may describe attributes
{ of the terminal device which are to be in effect when the terminal device is
{ accessed implicitly as a result of access to this file.  The file is
{ attached with all modes of access and no sharing.
{
{   A DETACH_FILE command or amp$return request must be issued to explicitly
{ terminate the attachment of this file to the job.  An fsp$close_file request
{ will not detach a file whose attachment originated with this request.
{
{   This request will be rejected if the file cycle is already registered in the
{ specified catalog.
{
{   The terminal attributes for this file are established by using all values
{ specified in this request, then using default terminal attributes for all
{ attributes not specified in this request.  These default attributes come
{ from NAM defaults, NOS/VE defaults, TERMINAL commands, and IFP$TERMINAL
{ requests.
{
{   This request is ignored if it is not issued by an interactive job.
{
{       RMP$REQUEST_TERMINAL (FILE, TERMINAL_ATTRIBUTES, STATUS)
{
{ FILE: (input)  This parameter specifies the name of the file which is to be
{       registered in a catalog and assigned to the terminal device class.
{       The cycle reference must not refer to $HIGH or $LOW.  If the cycle
{       reference is omitted, the value 1 will be used.
{
{ TERMINAL_ATTRIBUTES: (input)  This parameter specifies one or more terminal
{       attributes that are to be associated with the file.
{
{ STATUS: (output) This parameter specifies the request status.
{       CONDITION:
{                   rme$file_already_registered,
{                   rme$improper_alloc_size_value,
{                   rme$improper_cycle_reference,
{                   rme$improper_term_attrib_key,
{                   rme$improper_term_attrib_value,
{                   rme$not_temporary_catalog.
{
{       IDENTIFIER: rmc$resource_management_id.
