From owner-freebsd-bugs Mon Nov 25 14:20: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 286D037B401 for ; Mon, 25 Nov 2002 14:20:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A33A443EAF for ; Mon, 25 Nov 2002 14:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAPMK1x3064995 for ; Mon, 25 Nov 2002 14:20:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAPMK1ac064994; Mon, 25 Nov 2002 14:20:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB1D037B401 for ; Mon, 25 Nov 2002 14:13:37 -0800 (PST) Received: from spxdev.servplex.com (ip66-105-58-82.z58-105-66.customer.algx.net [66.105.58.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 900F843E9C for ; Mon, 25 Nov 2002 14:13:36 -0800 (PST) (envelope-from peter@spxdev.servplex.com) Received: (from peter@localhost) by spxdev.servplex.com (8.11.6/8.9.3) id gAPMCxp35679; Mon, 25 Nov 2002 16:12:59 -0600 (CST) (envelope-from peter) Message-Id: <200211252212.gAPMCxp35679@spxdev.servplex.com> Date: Mon, 25 Nov 2002 16:12:59 -0600 (CST) From: Peter Elsner Reply-To: Peter Elsner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/45731: lpq doesn't work according to man page Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45731 >Category: misc >Synopsis: lpq doesn't work according to man page >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 25 14:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Peter Elsner >Release: FreeBSD 4.5-STABLE i386 >Organization: ServPlex Corporation >Environment: System: FreeBSD spxdev.servplex.com 4.5-STABLE FreeBSD 4.5-STABLE #1: Fri Mar 15 10:39:11 CST 2002 peter@spxdev.servplex.com:/home/usr/obj/home/usr/src/sys/SPXDEV i386 FreeBSD 4.5-STABLE >Description: man lpq displays the use as follows: NAME lpq - spool queue examination program SYNOPSIS lpq [-a] [-l] [-Pprinter] [job # ...] [user ...] lpq -a (works fine) lpq -l (doesn't return anything) lpq -Pprinter (works fine) lpq job# and lpq user (don't work). Examples follow: spxdev:root# lpq -a lsjd1p2: spxdev.servplex.com: Warning: lsjd1p2 is down: spxdev.servplex.com: Warning: no daemon present Rank Owner Job Files Total Size 1st peter 13 (standard input) 785 bytes (LPD Server): spxdev:root# lpq -l (LPD Server): spxdev:root# lpq -Plsjd1p2 spxdev.servplex.com: Warning: lsjd1p2 is down: spxdev.servplex.com: Warning: no daemon present Rank Owner Job Files Total Size 1st peter 13 (standard input) 785 bytes (LPD Server): spxdev:root# lpq 13 (LPD Server): spxdev:root# lpq peter (LPD Server): spxdev:root# >How-To-Repeat: turn off your printer and send a print job. then type lpq -l or lpq job# or lpq username (just as described in man page) and see the results. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message