Matthew Dempsky <matt...@dempsky.org> wrote: > While reading the mosh research paper[1], I noticed we don't have > IUTF8, which is necessary for backspace to work correctly in canonical > mode (ICANON) with UTF-8 characters.
In principle, IUTF8 should also be added to ssh(1). I see that the Debian people already made some noise about that back in 2005 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337041 but were told that it was too late to standardize it in what became RFC4250. Index: ttymodes.h =================================================================== RCS file: /cvs/src/usr.bin/ssh/ttymodes.h,v retrieving revision 1.14 diff -u -p -r1.14 ttymodes.h --- ttymodes.h 25 Mar 2006 22:22:43 -0000 1.14 +++ ttymodes.h 12 Apr 2012 14:38:26 -0000 @@ -127,6 +127,9 @@ TTYMODE(IXOFF, c_iflag, 40) #ifdef IMAXBEL TTYMODE(IMAXBEL,c_iflag, 41) #endif /* IMAXBEL */ +#ifdef IUTF8 +TTYMODE(IUTF8, c_iflag, 42) +#endif TTYMODE(ISIG, c_lflag, 50) TTYMODE(ICANON, c_lflag, 51) -- Christian "naddy" Weisgerber na...@mips.inka.de