vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Jakub Jelen f6bd29
diff --git a/PROTOCOL b/PROTOCOL
Jakub Jelen f6bd29
index 131adfe..c828087 100644
Jakub Jelen f6bd29
--- a/PROTOCOL
Jakub Jelen f6bd29
+++ b/PROTOCOL
Jakub Jelen f6bd29
@@ -328,6 +328,11 @@ a server may offer multiple keys of the same type for a period (to
Jakub Jelen f6bd29
 give clients an opportunity to learn them using this extension) before
Jakub Jelen f6bd29
 removing the deprecated key from those offered.
Jakub Jelen f6bd29
 
Jakub Jelen f6bd29
+2.6. connection: add IUTF8 terminal mode flag
Jakub Jelen f6bd29
+
Jakub Jelen f6bd29
+OpenSSH supports the IUTF8 terminal mode flag and encodes it in "pty-req"
Jakub Jelen f6bd29
+messages as opcode value 42.
Jakub Jelen f6bd29
+
Jakub Jelen f6bd29
 3. SFTP protocol changes
Jakub Jelen f6bd29
 
Jakub Jelen f6bd29
 3.1. sftp: Reversal of arguments to SSH_FXP_SYMLINK
Jakub Jelen f6bd29
diff --git a/ttymodes.h b/ttymodes.h
Jakub Jelen f6bd29
index 4d848fe..396ae88 100644
Jakub Jelen f6bd29
--- a/ttymodes.h
Jakub Jelen f6bd29
+++ b/ttymodes.h
Jakub Jelen f6bd29
@@ -127,6 +127,9 @@ TTYMODE(IXOFF,	c_iflag, 40)
Jakub Jelen f6bd29
 #ifdef IMAXBEL
Jakub Jelen f6bd29
 TTYMODE(IMAXBEL,c_iflag, 41)
Jakub Jelen f6bd29
 #endif /* IMAXBEL */
Jakub Jelen f6bd29
+#ifdef IUTF8
Jakub Jelen f6bd29
+TTYMODE(IUTF8,	c_iflag, 42)
Jakub Jelen f6bd29
+#endif /* IUTF8 */
Jakub Jelen f6bd29
 
Jakub Jelen f6bd29
 TTYMODE(ISIG,	c_lflag, 50)
Jakub Jelen f6bd29
 TTYMODE(ICANON,	c_lflag, 51)
Jakub Jelen f6bd29