Oops !! I misread the code. Corrected.
Showing
2 changed files
with
6 additions
and
7 deletions
... | @@ -6,7 +6,6 @@ | ... | @@ -6,7 +6,6 @@ |
6 | * include/mailutils/Makefile.am: add mutil.h to the list. | 6 | * include/mailutils/Makefile.am: add mutil.h to the list. |
7 | * lib/strisignal.c: Define __P if not set. | 7 | * lib/strisignal.c: Define __P if not set. |
8 | * m4/Makefile.am: Added tm_gmtoff.m4 tm_isdst.m4 tm_zone.m4 | 8 | * m4/Makefile.am: Added tm_gmtoff.m4 tm_isdst.m4 tm_zone.m4 |
9 | * mail/mail.c (main): typo "z." --> "z" | ||
10 | 9 | ||
11 | 2001-06-25 Sergey Poznyakoff | 10 | 2001-06-25 Sergey Poznyakoff |
12 | * mail/if.c: Removed confusing comment. | 11 | * mail/if.c: Removed confusing comment. | ... | ... |
... | @@ -167,11 +167,11 @@ main (int argc, char **argv) | ... | @@ -167,11 +167,11 @@ main (int argc, char **argv) |
167 | char *p = util_get_homedir(); | 167 | char *p = util_get_homedir(); |
168 | setenv ("HOME", p, 0); | 168 | setenv ("HOME", p, 0); |
169 | } | 169 | } |
170 | setenv ("DEAD", util_fullpath("~/dead.letter"), 0); | 170 | setenv ("DEAD", util_fullpath("~/dead.letter"), 0); |
171 | setenv ("EDITOR", "ed", 0); | 171 | setenv ("EDITOR", "ed", 0); |
172 | setenv ("LISTER", "ls", 0); | 172 | setenv ("LISTER", "ls", 0); |
173 | setenv ("MAILRC", util_fullpath("~/.mailrc"), 0); | 173 | setenv ("MAILRC", util_fullpath("~/.mailrc"), 0); |
174 | setenv ("MBOX", util_fullpath("~/mbox"), 0); | 174 | setenv ("MBOX", util_fullpath("~/mbox"), 0); |
175 | setenv ("PAGER", "more", 0); | 175 | setenv ("PAGER", "more", 0); |
176 | setenv ("SHELL", "sh", 0); | 176 | setenv ("SHELL", "sh", 0); |
177 | setenv ("VISUAL", "vi", 0); | 177 | setenv ("VISUAL", "vi", 0); |
... | @@ -296,7 +296,7 @@ main (int argc, char **argv) | ... | @@ -296,7 +296,7 @@ main (int argc, char **argv) |
296 | 296 | ||
297 | /* initial commands */ | 297 | /* initial commands */ |
298 | if ((util_find_env("header"))->set) | 298 | if ((util_find_env("header"))->set) |
299 | util_do_command ("z"); | 299 | util_do_command ("z."); |
300 | 300 | ||
301 | prompt = util_find_env ("prompt"); | 301 | prompt = util_find_env ("prompt"); |
302 | mail_set_is_terminal(isatty(0)); | 302 | mail_set_is_terminal(isatty(0)); |
... | @@ -345,8 +345,8 @@ mail_mainloop(char *(*input) __P((void *, int)), void *closure, int do_history) | ... | @@ -345,8 +345,8 @@ mail_mainloop(char *(*input) __P((void *, int)), void *closure, int do_history) |
345 | if (command) | 345 | if (command) |
346 | free (command); | 346 | free (command); |
347 | } | 347 | } |
348 | } | 348 | } |
349 | 349 | ||
350 | |||
350 | 351 | ||
351 | 352 | ||
352 | ... | ... |
-
Please register or sign in to post a comment