From: amagai <am...@nu...> - 2010-06-26 03:52:04
|
Hi, The mlterm 3.0.1 shows some bogus output for 0x7f (DEL) input. How about following patch to ingore 0x7f for VT-100 compatibility? Ref: http://vt100.net/docs/vt100-ug/table3-10.html in http://vt100.net/docs/vt100-ug/chapter3.html#S3.3.1 Thank you. Y.Amagai ================================================================ --- ml_vt100_parser.c.org 2010-06-26 11:36:28.000000000 +0900 +++ ml_vt100_parser.c 2010-06-26 11:45:15.000000000 +0900 @@ -2737,11 +2737,11 @@ } } - if( ch.size == 1 && ch.ch[0] == 0x0) + if( ch.size == 1 && (ch.ch[0] == 0x0 || ch.ch[0] == 0x7f)) { #ifdef DEBUG kik_warn_printf( KIK_DEBUG_TAG - " 0x0 sequence is received , ignored...\n") ; + " 0x0/0x7f sequence is received , ignored...\n") ; #endif } else if( ch.size == 1 && 0x1 <= ch.ch[0] && ch.ch[0] <= 0x1f) |