summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lpc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-05-05 22:40:51 +0000
committerjoerg <joerg@FreeBSD.org>1996-05-05 22:40:51 +0000
commit914cbcef2ca2238d808f510c1a2f084eb37952b6 (patch)
treea2c9a4d920a98c3865b5da51ea401d02253ceae3 /usr.sbin/lpr/lpc
parent8d1089fb9317c3fa275c4470e8a92463cc828758 (diff)
downloadFreeBSD-src-914cbcef2ca2238d808f510c1a2f084eb37952b6.zip
FreeBSD-src-914cbcef2ca2238d808f510c1a2f084eb37952b6.tar.gz
Pull a bunch of fixes from the 4.4BSD-Lite2 branch. It's really
surprising how many trivial errors there have been... :-) Some more cleanup is needed, but i'd like to separate the Lite2 changes from other work, that's why this goes into a different commit. People with serial printers should see whether i have broken the stty- style printcap options (i hope not). Inspired by: Sergey Shkonda <serg@bcs1.bcs.zaporizhzhe.ua>
Diffstat (limited to 'usr.sbin/lpr/lpc')
-rw-r--r--usr.sbin/lpr/lpc/cmds.c3
-rw-r--r--usr.sbin/lpr/lpc/lpc.87
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lpc/cmds.c b/usr.sbin/lpr/lpc/cmds.c
index 193eac5..84c6a4d 100644
--- a/usr.sbin/lpr/lpc/cmds.c
+++ b/usr.sbin/lpr/lpc/cmds.c
@@ -39,7 +39,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)cmds.c 8.1 (Berkeley) 6/6/93";
+static char sccsid[] = "@(#)cmds.c 8.2 (Berkeley) 4/28/95";
#endif /* not lint */
/*
@@ -49,6 +49,7 @@ static char sccsid[] = "@(#)cmds.c 8.1 (Berkeley) 6/6/93";
#include <sys/param.h>
#include <sys/time.h>
#include <sys/stat.h>
+#include <sys/file.h>
#include <signal.h>
#include <fcntl.h>
diff --git a/usr.sbin/lpr/lpc/lpc.8 b/usr.sbin/lpr/lpc/lpc.8
index 63c4f0d..07e4aaf 100644
--- a/usr.sbin/lpr/lpc/lpc.8
+++ b/usr.sbin/lpr/lpc/lpc.8
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)lpc.8 8.3 (Berkeley) 4/19/94
+.\" @(#)lpc.8 8.5 (Berkeley) 4/28/95
.\"
-.Dd April 19, 1994
+.Dd April 28, 1995
.Dt LPC 8
.Os BSD 4.2
.Sh NAME
@@ -117,6 +117,7 @@ to put new jobs in the spool queue.
.It Ic exit
.It Ic quit
Exit from lpc.
+.\" ne 1i
.Pp
.It Ic restart No {\ all\ |\ printer\ }
Attempt to start a new printer daemon.
@@ -165,7 +166,7 @@ abbreviation matches more than one command
.It Sy "?Invalid command"
no match was found
.It Sy "?Privileged command"
-command can be executed by root only
+you must be a member of group "operator" or root to execute this command
.El
.Sh HISTORY
The
OpenPOWER on IntegriCloud