components/pinentry/patches/000-pinentry-curses.c.patch
author jkohoute <jan.kohoutek@oracle.com>
Thu, 05 May 2016 02:17:43 -0700
branchs11u3-sru
changeset 5924 e654f9499329
parent 303 cae844b2d132
permissions -rw-r--r--
build metadata for S11.3SRU8.5

--- 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: