IUTF8 Terminal Mode in Secure Shell (SSH)
draft-sgtatham-secsh-iutf8-06

Document Type Active Internet-Draft (individual)
Last updated 2017-03-08 (latest revision 2017-03-02)
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Reviews GENART will not review this version
Stream WG state (None)
Document shepherd Daniel Migault
Shepherd write-up Show (last changed 2016-12-15)
IESG IESG state RFC Ed Queue
Consensus Boilerplate Yes
Telechat date
Responsible AD Kathleen Moriarty
Send notices to (None)
IANA IANA review state Version Changed - Review Needed
IANA action state RFC-Ed-Ack
RFC Editor RFC Editor state EDIT
Network Working Group                                          S. Tatham
Internet-Draft                                                     PuTTY
Intended status: Standards Track                               D. Tucker
Expires: September 3, 2017                                       OpenSSH
                                                           March 2, 2017

               IUTF8 Terminal Mode in Secure Shell (SSH)
                     draft-sgtatham-secsh-iutf8-06

Abstract

   This document specifies a new opcode in the Secure Shell terminal
   modes encoding.  The new opcode describes the widely used IUTF8
   terminal mode bit, which indicates that terminal I/O uses the UTF-8
   character encoding.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on September 3, 2017.

Copyright Notice

   Copyright (c) 2017 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Tatham & Tucker         Expires September 3, 2017               [Page 1]
Internet-Draft         IUTF8 Terminal Mode in SSH             March 2017

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Conventions Used in This Document . . . . . . . . . . . . . .   2
   3.  New IUTF8 opcode for terminal mode encoding . . . . . . . . .   2
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   3
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   3
   6.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   3
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   3
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .   3
     7.2.  Informative References  . . . . . . . . . . . . . . . . .   4
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .   4

1.  Introduction

   The Secure Shell (SSH) connection protocol [RFC4254] provides an
   encoding for terminal modes, used in the "pty-req" channel request
   type.

   A commonly used terminal mode is IUTF8, which indicates that the
   terminal driver should assume that terminal I/O uses the UTF-8
   character encoding [RFC3629].  This is typically used by the kernel's
   terminal driver on the server to decide how many bytes of input to
   treat as a single logical character during line editing.

   SSH currently does not provide an encoding for IUTF8.  This document
   specifies one.

2.  Conventions Used in This Document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].

3.  New IUTF8 opcode for terminal mode encoding

   The opcode value 42 is defined for the IUTF8 terminal mode.

   As [RFC4254] section 8 specifies for all opcodes in the range 1 to
   159, it is therefore followed by a single uint32 argument.  The value
   0 indicates that the IUTF8 mode is disabled, and the value 1
   indicates that it is enabled.

   As with all other encoded terminal modes, the client SHOULD transmit
   a value for this mode if it knows about one, and the server MAY
   ignore it.

Tatham & Tucker         Expires September 3, 2017               [Page 2]
Internet-Draft         IUTF8 Terminal Mode in SSH             March 2017

4.  IANA Considerations

   This document augments the "Encoding of Terminal Modes" list in
Show full document text