home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 1000s / rfc1096.txt < prev    next >
Text File  |  1989-03-15  |  4KB  |  171 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                           G. Marcy
  8. Request for Comments: 1096                    Carnegie Mellon University
  9.                                                               March 1989
  10.  
  11.  
  12.                     Telnet X Display Location Option
  13.  
  14. Status of This Memo
  15.  
  16.    This RFC specifies a standard for the Internet community.  Hosts on
  17.    the Internet that transmit the X display location within the Telnet
  18.    protocol are expected to adopt and implement this standard.
  19.    Distribution of this memo is unlimited.
  20.  
  21.    This standard is modelled on RFC 1079 [1], the telnet terminal speed
  22.    option.  Much of the text of this document is copied from that RFC.
  23.  
  24. Motivation
  25.  
  26.    When a user is running the Telnet client under the X window system,
  27.    it is useful for the remote Telnet to know the X display location of
  28.    that client.  For example, the user might wish to start other X
  29.    applications from the remote host using the same display location as
  30.    the Telnet client.  The purpose of this option is to make this
  31.    information available through telnet connections.
  32.  
  33. 1. Command Name and Code
  34.  
  35.       X-DISPLAY-LOCATION (XDISPLOC)
  36.  
  37.       Code = 35
  38.  
  39. 2. Command Meanings
  40.  
  41.       IAC WILL X-DISPLAY-LOCATION
  42.  
  43.          Sender is willing to send the X display location in a
  44.          subsequent sub-negotiation.
  45.  
  46.       IAC WON'T X-DISPLAY-LOCATION
  47.  
  48.          Sender refuses to send the X display location.
  49.  
  50.       IAC DO X-DISPLAY-LOCATION
  51.  
  52.          Sender is willing to receive the X display location in a
  53.          subsequent sub-negotiation.
  54.  
  55.  
  56.  
  57.  
  58. Marcy                                                           [Page 1]
  59.  
  60. RFC 1096            Telnet X Display Location Option          March 1989
  61.  
  62.  
  63.       IAC DON'T X-DISPLAY-LOCATION
  64.  
  65.          Sender refuses to accept the X display location.
  66.  
  67.       IAC SB X-DISPLAY-LOCATION SEND IAC SE
  68.  
  69.          Sender requests receiver to transmit his (the receiver's) X
  70.          display location.  The code for SEND is 1.  (See below.)
  71.  
  72.       IAC SB X-DISPLAY-LOCATION IS ... IAC SE
  73.  
  74.          Sender is stating his X display location.  The code for IS is
  75.          0.  (See below.)
  76.  
  77. 3. Default
  78.  
  79.       WON'T X-DISPLAY-LOCATION
  80.  
  81.          The X display location will not be exchanged.
  82.  
  83.       DON'T X-DISPLAY-LOCATION
  84.  
  85.          The X display location will not be exchanged.
  86.  
  87. 4. Description of the Option
  88.  
  89.    WILL and DO are used only to obtain and grant permission for future
  90.    discussion.  The actual exchange of status information occurs within
  91.    option subcommands (IAC SB X-DISPLAY-LOCATION...).
  92.  
  93.    Once the two hosts have exchanged a WILL and a DO, the sender of the
  94.    DO X-DISPLAY-LOCATION is free to request the X display location.
  95.    Only the sender of the DO may send requests (IAC SB X-DISPLAY-
  96.    LOCATION SEND IAC SE) and only the sender of the WILL may transmit
  97.    actual X display location (within an IAC SB X-DISPLAY-LOCATION IS ...
  98.    IAC SE command).  The X display location may not be sent
  99.    spontaneously, but only in response to a request.
  100.  
  101.    The X display location is an NVT ASCII string.  This string follows
  102.    the normal Unix convention used for the DISPLAY environment variable,
  103.    e.g.,
  104.  
  105.          <host>:<dispnum>[.<screennum>]
  106.  
  107.    No extraneous characters such as spaces may be included.
  108.  
  109.       The following is an example of use of the option:
  110.  
  111.  
  112.  
  113.  
  114. Marcy                                                           [Page 2]
  115.  
  116. RFC 1096            Telnet X Display Location Option          March 1989
  117.  
  118.  
  119.          Host1: IAC DO X-DISPLAY-LOCATION
  120.  
  121.          Host2: IAC WILL X-DISPLAY-LOCATION
  122.  
  123.       (Host1 is now free to request status information at any time.)
  124.  
  125.          Host1: IAC SB X-DISPLAY-LOCATION SEND IAC SE
  126.  
  127.          Host2: IAC SB X-DISPLAY-LOCATION IS "SRI-NIC.ARPA:0.0" IAC SE
  128.  
  129.       (This command is 22 octets.)
  130.  
  131. 5. Implementation Suggestions
  132.  
  133.    Since the X display location may not contain a hostname on the client
  134.    host, i.e., ":0" or "unix:0.0", the Telnet client will need to modify
  135.    the location appropriately before sending it on to the remote Telnet.
  136.  
  137. Reference
  138.  
  139.    [1]  Hedrick, C., "Telnet Terminal Speed Option", RFC 1079,
  140.         Rutgers University, December, 1988.
  141.  
  142. Author's Address:
  143.  
  144.    Glenn A. Marcy
  145.    Carnegie Mellon University
  146.    School of Computer Science
  147.    Pittsburgh, PA 15213-3890
  148.  
  149.    Phone: (412) 268-7669
  150.  
  151.    Email: Glenn.Marcy@CS.CMU.EDU
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Marcy                                                           [Page 3]
  171.