Good Morning,<br><br>Hope everybody had a great weekend.<br><br>I have a little program called query_aid.pl that helps users here on are land enter information more easily by matching scalar choices as they are matched.&nbsp; For example if a user begins typing the name "lincoln" it will begin showing him the matches as he types and eliminating records that no longer match with each successive letter that is typed.&nbsp; The program uses readkey to see if the user has typed a number.&nbsp; A number means that the user is attempting to make a selection by typing in one of they corresponding numbers for a displayed record.&nbsp; The program has worked great for years except for one annoying inconvenience.&nbsp; It deals with adding the first number typed for the selection in the following way:<br><br>if ($char &gt; 0) { #it's numeric, they're making a selection<br>&nbsp;&nbsp;&nbsp; ReadMode 'normal';<br>&nbsp;&nbsp;&nbsp; print $char;<br>&nbsp;&nbsp;&nbsp; chomp ($choice =
 &lt;STDIN&gt;);<br>&nbsp;&nbsp;&nbsp; $choice = $char . $choice;<br>}<br><br>Accordingly, if the user accidentally types the wrong first digit of the number (selection) the user cannot backspace and erase the first digit of the selection ($char) and retype it, but instead has to start over. Is there a way to make $char accessible to the user so they can backspace and erase it if they made a mistake?<br><br>Thanks for considering my quandary.<br><br>Richard<br><BR><BR>Your beliefs become your thoughts.  Your thoughts become your words.  Your words become your actions.  Your actions become your habits.  Your habits become your values.  Your values become your destiny.  -- Mahatma Gandhi