From 83a2cf3e36a20b7740a2902d2ef4996df7a46270 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 16 Aug 2016 23:13:05 +0200 Subject: Drop OTILDE support It was used long ago, poses problems to readline, and currently conflicts with TAB1 Thanks Kalle Olavi Niemitalo for the report and rationale * term/munge.c (output_character): Do not handle OTILDE. (output_width): Likewise. * term/term.h (OTILDE): Drop macro definition. * term/users.c (open_hook): Do not check OTILDE flag. --- term/munge.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'term/munge.c') diff --git a/term/munge.c b/term/munge.c index 7e08e2d2..96b0df39 100644 --- a/term/munge.c +++ b/term/munge.c @@ -87,11 +87,6 @@ output_character (int c) } else if ((oflag & ONOEOT) && c == CHAR_EOT) ; - else if ((oflag & OTILDE) && c == '~') - { - poutput ('\\'); - poutput ('`'); - } else if ((oflag & OLCASE) && isalpha (c)) { if (isupper (c)) @@ -125,8 +120,6 @@ output_width (int c, int loc) if (oflag & OPOST) { - if ((oflag & OTILDE) && c == '~') - return 2; if ((oflag & OLCASE) && isalpha (c) && isupper (c)) return 2; } -- cgit v1.2.3