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> <<a href="mailto:jazzdev@gmail.com">
jazzdev@gmail.com</a>> 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("stty erase ^H");<br><br>
Not sure if that'll work. You may need to run the stty<br>command before running your Perl script. 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. Do "stty -all" and see what<br>the erase character is set to.<br><br>JD<br><br>On 8/10/06, Thane Williams <<a href="mailto:thanew@gmail.com">thanew@gmail.com</a>> wrote:<br>> Hi there. Whenever I write a perl script in the Linux environment, if the
<br>> user tries to backspace while entering standard input, it seems like none of<br>> the backspace keys work. Delete, backspace, and ctrl-H all fail. I've tried<br>> googling for a solution to this, but I'm at a loss. Can anyone tell me how
<br>> to arrange things so that users can backspace while Perl's taking standard<br>> input?<br>><br>><br>> Thank you,<br>> Thane<br>><br>><br>> _____________________________________________________________
<br>> Seattle Perl Users Group Mailing List<br>> POST TO: <a href="mailto:spug-list@pm.org">spug-list@pm.org</a><br>> SUBSCRIPTION: <a href="http://mail.pm.org/mailman/listinfo/spug-list">http://mail.pm.org/mailman/listinfo/spug-list
</a><br>> MEETINGS: 3rd Tuesdays<br>> WEB PAGE: <a href="http://seattleperl.org/">http://seattleperl.org/</a><br>><br>><br></blockquote></div><br>