commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 01/05: Drop OTILDE support


From: Samuel Thibault
Subject: [hurd] 01/05: Drop OTILDE support
Date: Fri, 26 Aug 2016 07:55:12 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 83a2cf3e36a20b7740a2902d2ef4996df7a46270
Author: Samuel Thibault <address@hidden>
Date:   Tue Aug 16 23:13:05 2016 +0200

    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 -------
 term/term.h  | 1 -
 term/users.c | 3 ---
 3 files changed, 11 deletions(-)

diff --git a/term/munge.c b/term/munge.c
index 7e08e2d..96b0df3 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;
     }
diff --git a/term/term.h b/term/term.h
index 3067425..0a42869 100644
--- a/term/term.h
+++ b/term/term.h
@@ -65,7 +65,6 @@
 #else
 #define OLCASE (1 << 9)
 #endif
-#define OTILDE (1 << 10)
 
 /* used in mdmctl device call */
 #define MDMCTL_BIS 0
diff --git a/term/users.c b/term/users.c
index 8151dc7..193b358 100644
--- a/term/users.c
+++ b/term/users.c
@@ -183,9 +183,6 @@ open_hook (struct trivfs_control *cntl,
 
   open_count++;                        /* XXX debugging */
 
-  /* XXX debugging */
-  assert (! (termstate.c_oflag & OTILDE));
-
   /* Assert DTR if necessary. */
   if (termflags & NO_CARRIER)
     {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]