Commit 84938a40 84938a40c526d054a6bf4f12c5b11678d26b36b1 by Sergey Poznyakoff

Use ml_readline()

1 parent 0ef502cc
...@@ -48,7 +48,7 @@ mail_send (int argc, char **argv) ...@@ -48,7 +48,7 @@ mail_send (int argc, char **argv)
48 env.outfiles = NULL; env.nfiles = 0; 48 env.outfiles = NULL; env.nfiles = 0;
49 49
50 if (argc < 2) 50 if (argc < 2)
51 env.to = readline ((char *)"To: "); 51 env.to = ml_readline ((char *)"To: ");
52 else 52 else
53 { 53 {
54 while (--argc) 54 while (--argc)
...@@ -75,12 +75,12 @@ mail_send (int argc, char **argv) ...@@ -75,12 +75,12 @@ mail_send (int argc, char **argv)
75 } 75 }
76 76
77 if ((util_find_env ("askcc"))->set) 77 if ((util_find_env ("askcc"))->set)
78 env.cc = readline ((char *)"Cc: "); 78 env.cc = ml_readline ((char *)"Cc: ");
79 if ((util_find_env ("askbcc"))->set) 79 if ((util_find_env ("askbcc"))->set)
80 env.bcc = readline ((char *)"Bcc: "); 80 env.bcc = ml_readline ((char *)"Bcc: ");
81 81
82 if ((util_find_env ("asksub"))->set) 82 if ((util_find_env ("asksub"))->set)
83 env.subj = readline ((char *)"Subject: "); 83 env.subj = ml_readline ((char *)"Subject: ");
84 else 84 else
85 env.subj = (util_find_env ("subject"))->value; 85 env.subj = (util_find_env ("subject"))->value;
86 86
...@@ -155,7 +155,7 @@ mail_send0 (struct send_environ *env, int save_to) ...@@ -155,7 +155,7 @@ mail_send0 (struct send_environ *env, int save_to)
155 while (!done) 155 while (!done)
156 { 156 {
157 char *buf; 157 char *buf;
158 buf = readline ((char *)" \b"); 158 buf = ml_readline ((char *)" \b");
159 159
160 if (ml_got_interrupt ()) 160 if (ml_got_interrupt ())
161 { 161 {
......