Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002f01c30800$4db29fc0$78d96f83@pomello> From: "Max Bowsher" To: "Bushy" , References: <00c285522121543NTPAGER AT ntpager DOT ca DOT cch DOT com> Subject: Re: KILL Date: Mon, 21 Apr 2003 13:18:55 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Bushy wrote: > Hi, > > We are using Windows 2000 and cygwin. Currently I set up a windows queue to > the printer and use regular Windows interface to delete jobs on the queue. > I would like to do this via a telnet session using the "kill". I've tried > this bit I just can't get it to work. Below is an example of a job on the > queue via a telnet session. > > Windows NT LPD Server > Printer \\127.0.0.1\printer1 > > Owner Status Jobname Job-Id > Size Pages Priority > -------------------------------------------------------------------------- ----------------------- > georgel (127.0.0.1) Printing JOB657_job.tmp 87 0 > 0 1 > > > kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill > -l [sigspec] > > I've tried the following: > >> kill 87 > > and I keep getting "no such pid"? > > What am I doing wrong? kill has nothing to do with printers. The jobs it refers to are bash shell jobs. You will need to find some other tool to control printers. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/