From owner-freebsd-hackers Wed Oct 30 16:30:29 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA12605 for hackers-outgoing; Wed, 30 Oct 1996 16:30:29 -0800 (PST) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA12581 for ; Wed, 30 Oct 1996 16:30:14 -0800 (PST) Received: from campa.panke.de (anonymous222.ppp.cs.tu-berlin.de [130.149.17.222]) by mail.cs.tu-berlin.de (8.6.13/8.6.12) with ESMTP id BAA29971; Thu, 31 Oct 1996 01:25:00 +0100 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id AAA01136; Thu, 31 Oct 1996 00:37:09 +0100 Date: Thu, 31 Oct 1996 00:37:09 +0100 From: Wolfram Schneider Message-Id: <199610302337.AAA01136@campa.panke.de> To: Jake Hamby Cc: "Hr.Ladavac" , joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@freebsd.org, csubl@csv.warwick.ac.uk Subject: Re: Priorities? In-Reply-To: References: <199610281236.AA292366197@ws2301.gud.siemens.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jake Hamby writes: >No, the original post is correct. In typical confusing UNIX terminology, >"nice -20 xlock" will set the priority to 20 (a very low priority). If >you're using /usr/bin/nice (which fvwm will, because it uses /bin/sh to >execute commands), then "nice --20 xlock" will raise the priority to -20 >(which requires root privs anyway). If you're using csh, then it gets >more confusing. In that case you are correct, the command will try to >raise the priority (but confusingly, does not print an error if you don't >have privileges) and the correct way to lower the priority is with "nice >+20 command". > >I'm surprised this isn't in the UNIX Hater's Handbook, as it's a great >examples of typical UNIX braindamage... :-) s/UNIX/csh from BSD/ "Two of the most famous products of Berkeley are LSD and Unix. I don't think this is a coincidence" --Anonymous UNIX Hater's Handbook, first chapter, first page --Wolfram Schneider