Thanks for the replies, everyone. JD suggested a simple solution that seems to work very well. See below.<br><br><br><br><div><span class="gmail_quote">On 8/10/06, <b class="gmail_sendername">JD Brennan</b> &lt;<a href="mailto:jazzdev@gmail.com">
jazzdev@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Try<br><br>system(&quot;stty erase ^H&quot;);<br><br>
Not sure if that'll work.&nbsp;&nbsp;You may need to run the stty<br>command before running your Perl script.&nbsp;&nbsp;xterm<br>defaults to sending ^H for the Backspace key, but<br>the Linux terminal driver defaults to wanting ^? (Delete)<br>
for the erase character.&nbsp;&nbsp;Do &quot;stty -all&quot; and see what<br>the erase character is set to.<br><br>JD<br><br>On 8/10/06, Thane Williams &lt;<a href="mailto:thanew@gmail.com">thanew@gmail.com</a>&gt; wrote:<br>&gt; Hi there. Whenever I write a perl script in the Linux environment, if the
<br>&gt; user tries to backspace while entering standard input, it seems like none of<br>&gt; the backspace keys work. Delete, backspace, and ctrl-H all fail. I've tried<br>&gt; googling for a solution to this, but I'm at a loss. Can anyone tell me how
<br>&gt; to arrange things so that users can backspace while Perl's taking standard<br>&gt; input?<br>&gt;<br>&gt;<br>&gt; Thank you,<br>&gt; Thane<br>&gt;<br>&gt;<br>&gt; _____________________________________________________________
<br>&gt; Seattle Perl Users Group Mailing List<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;POST TO: <a href="mailto:spug-list@pm.org">spug-list@pm.org</a><br>&gt; SUBSCRIPTION: <a href="http://mail.pm.org/mailman/listinfo/spug-list">http://mail.pm.org/mailman/listinfo/spug-list
</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; MEETINGS: 3rd Tuesdays<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; WEB PAGE: <a href="http://seattleperl.org/">http://seattleperl.org/</a><br>&gt;<br>&gt;<br></blockquote></div><br>