components/pinentry/patches/000-pinentry-curses.c.patch
author Melynda Hunter <melynda.hunter@oracle.com>
Tue, 12 Mar 2013 17:02:48 -0700
branchs11u1-sru
changeset 2522 494ab4b154c8
parent 303 cae844b2d132
permissions -rw-r--r--
Added tag 0.175.1.6.0.2.0 for changeset 2021fa9cf020

--- pinentry/pinentry-curses.c	Thu Apr 16 08:06:53 2009
+++ pinentry/pinentry-curses.c	Mon Nov  9 08:23:40 2009
@@ -665,7 +665,7 @@
   if (has_colors ())
     {
       start_color ();
-      use_default_colors ();
+      /* use_default_colors (); */
 
       if (pinentry->color_so == PINENTRY_COLOR_DEFAULT)
 	{
@@ -741,7 +741,7 @@
 	    }
 	  break;
 
-	case '\t':
+	case '\011': /* HARD TAB */
 	  switch (diag.pos)
 	    {
 	    case DIALOG_POS_PIN:
@@ -767,11 +767,11 @@
 	    }
 	  break;
   
-	case '\e':
+	case '\005': /* ENQ */
 	  done = -2;
 	  break;
 
-	case '\r':
+	case '\015': /* CR */
 	  switch (diag.pos)
 	    {
 	    case DIALOG_POS_PIN: