]> dxcluster.net Git - spider.git/commitdiff
*** empty log message ***
authordjk <djk>
Thu, 8 Jun 2000 23:51:44 +0000 (23:51 +0000)
committerdjk <djk>
Thu, 8 Jun 2000 23:51:44 +0000 (23:51 +0000)
src/client.c

index 301a28a8c7f3ab7692f80548c79fdcff5528219e..dd400f91aa4f7ede87151ade055fe70bbab6833a 100644 (file)
@@ -352,7 +352,7 @@ int fcb_handler(sel_t *sp, int in, int out, int err)
                                                *mp->inp++ = *p++;
                                        }
                                        break;
-                               case '\b':
+                               case 0x08:
                                case 0x7f:
                                        if (mp->inp > mp->data)
                                                mp->inp--;
@@ -814,6 +814,7 @@ lgotcall:
        in->sp = sel_open(0, in, "STDIN", fcb_handler, TEXT, SEL_INPUT);
        if (tcgetattr(0, &in->t) < 0) {
 /*             echo = 0; */
+               in->echo = echo;
                in->t_set = 0;
        } else {
                struct termios t = in->t;