/[mailutils]/mailutils/mail/print.c
ViewVC logotype

Diff of /mailutils/mail/print.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by alainm, Tue Oct 9 03:20:46 2001 UTC revision 1.18 by gray, Wed Aug 7 15:29:24 2002 UTC
# Line 52  mail_print (int argc, char **argv) Line 52  mail_print (int argc, char **argv)
52           to be smart about it.  */           to be smart about it.  */
53        if (lines == 0)        if (lines == 0)
54          {          {
55            if ((util_find_env("crt"))->set)            if (util_getenv (NULL, "crt", Mail_env_boolean, 0) == 0)
56              {              {
57                size_t col = (size_t)util_getcols ();                size_t col = (size_t)util_getcols ();
58                if (col)                if (col)
# Line 64  mail_print (int argc, char **argv) Line 64  mail_print (int argc, char **argv)
64              }              }
65          }          }
66    
67        if ((util_find_env("crt"))->set && lines > (size_t)util_getlines ())        if (util_getenv (NULL, "crt", Mail_env_boolean, 0) == 0
68              out = popen (getenv("PAGER"), "w");            && lines > (size_t)util_getlines ())
69                out = popen (getenv ("PAGER"), "w");
70    
71        if (islower (argv[0][0]))        if (islower (argv[0][0]))
72          {          {

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26