Use the "-F" option to /bin/pr now that we have it (thanks to Posix).

This helps for printers that tend to get out of sync.  (For the
cautious folks: we used to have it in 1.1.5, too.  But GNU pr used
"-f" for it.)
This commit is contained in:
Joerg Wunsch 1995-01-08 18:01:11 +00:00
parent 04bcc6f58b
commit 931e501097
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5445
2 changed files with 6 additions and 4 deletions

View File

@ -529,7 +529,8 @@ print(format, file)
av[2] = length;
av[3] = "-h";
av[4] = *title ? title : " ";
av[5] = 0;
av[5] = "-F";
av[6] = 0;
fo = ofd;
goto start;
}
@ -540,7 +541,7 @@ print(format, file)
for (n = 3; n < NOFILE; n++)
(void) close(n);
execl(_PATH_PR, "pr", width, length,
"-h", *title ? title : " ", 0);
"-h", *title ? title : " ", "-F", 0);
syslog(LOG_ERR, "cannot execl %s", _PATH_PR);
exit(2);
}

View File

@ -529,7 +529,8 @@ print(format, file)
av[2] = length;
av[3] = "-h";
av[4] = *title ? title : " ";
av[5] = 0;
av[5] = "-F";
av[6] = 0;
fo = ofd;
goto start;
}
@ -540,7 +541,7 @@ print(format, file)
for (n = 3; n < NOFILE; n++)
(void) close(n);
execl(_PATH_PR, "pr", width, length,
"-h", *title ? title : " ", 0);
"-h", *title ? title : " ", "-F", 0);
syslog(LOG_ERR, "cannot execl %s", _PATH_PR);
exit(2);
}