title: C Shell (csh) Backspace key cancels the command not erasing the command
body: <p>In my <strong>HP-UX</strong> (B.11.23 U ia64) box, <strong>Csh</strong> is running as login shell.</p>
  
  <pre><code>what /usr/bin/csh
  </code></pre>
  
  <p><em>sh.lex.c $Date: 2005/02/28 10:00:30 $Revision: r11.23/2 PATCH_11.23 (PHCO_32667)
           $Revision: @(#) csh R11.23_BL2005_0301_1 PATCH_11.23 PHCO_32667</em></p>
  
  <p>But when I type any command in the prompt and press <strong>Backspace</strong> key then the typed command gets cancelled and the cursor goes to the next line without executing the command. The erasing of the command is not happening.
  I have tried setting: </p>
  
  <pre><code>stty erase &lt;backspace&gt;
  
  stty erase ^H
  </code></pre>
  
  <p>but did not work.</p>
  
  <p>I would like to know how to make the <strong>Backspace</strong> key work as normal, that is, it has to erase the typed characters</p>
  
  <pre><code>stty -a
  
  *speed 38400 baud; line = 0;
  rows = 24; columns = 80
  min = 1; time = 1;
  intr = DEL; quit = ^\; erase = DEL; kill = @
  eof = ^D; eol = ^@; eol2 &lt;undef&gt;; swtch &lt;undef&gt;
  stop = ^S; start = ^Q; susp &lt;undef&gt;; dsusp &lt;undef&gt;
  werase &lt;undef&gt;; lnext &lt;undef&gt;
  -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts
  -ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
  ixon ixany -ixoff -imaxbel -rtsxoff -ctsxon -ienqak
  isig icanon -iexten -xcase echo -echoe echok -echonl -noflsh
  -echoctl -echoprt -echoke -flusho -pendin
  opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab3*
  </code></pre>