From nobody@FreeBSD.org  Mon Oct 21 04:50:12 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4CE3437B401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 Oct 2002 04:50:12 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ECF1543E42
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 Oct 2002 04:50:11 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9LBoA7R032326
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 21 Oct 2002 04:50:10 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9LBoA79032325;
	Mon, 21 Oct 2002 04:50:10 -0700 (PDT)
Message-Id: <200210211150.g9LBoA79032325@www.freebsd.org>
Date: Mon, 21 Oct 2002 04:50:10 -0700 (PDT)
From: Alex <akruijff@dds.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: look and feel of nice & renice
X-Send-Pr-Version: www-1.0

>Number:         44332
>Category:       bin
>Synopsis:       look and feel of nice & renice
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 21 05:00:02 PDT 2002
>Closed-Date:    Mon Dec 23 04:27:37 PST 2002
>Last-Modified:  Mon Dec 23 04:27:37 PST 2002
>Originator:     Alex
>Release:        4.6.2
>Organization:
>Environment:
N/A
>Description:
     I like renice to use the same look and feel concerning the priority as nice. I didn't relise this differance and cause a non responce system. (a prosess was supposed to run with idle processor time)

nice [-number] command [arguments]
renice priority [[-p] pid ...] [[-g] pgrp ...] [[-u] user ...]

nice -10 <=> renice 10 pid into renice -10 pid
nice --10 <=> renice -10 pid into renice --10 pid
>How-To-Repeat:
     
>Fix:
     
>Release-Note:
>Audit-Trail:

From: Giorgos Keramidas <keramida@freebsd.org>
To: Alex <akruijff@dds.nl>
Cc: bug-followup@freebsd.org
Subject: Re: bin/44332: look and feel of nice & renice
Date: Tue, 22 Oct 2002 08:25:10 +0300

 On 2002-10-21 04:50, Alex <akruijff@dds.nl> wrote:
 > I like renice to use the same look and feel concerning the priority
 > as nice. I didn't relise this differance and cause a non responce
 > system. (a prosess was supposed to run with idle processor time)
 >
 > nice [-number] command [arguments]
 > renice priority [[-p] pid ...] [[-g] pgrp ...] [[-u] user ...]
 
 Unfortunately, the arguments and their types for each of these
 commands are defined to be different from each other in standards like
 the Single Unix Specification.  FreeBSD-current has a nice command in
 /usr/bin that conforms to a standard and changing the way it works
 would break compatibility with the standard.
 
 Similar things apply to renice(1).

From: Alex <akruijff@dds.nl>
To: freebsd-gnats-submit@FreeBSD.org, akruijff@dds.nl,
	freebsd-doc@freebsd.org
Cc:  
Subject: Re: bin/44332: look and feel of nice
Date: Mon, 23 Dec 2002 13:15:37 +0100

 Dear freebsd-gnats-submit,
 
 Please close this PR. The nice and renice commands of have changed.
 The confusion has gone with that.
 
 However another confusion has appeared. The default root uses either
 the shell csh or tsch. This has its own nice command, which works in
 the old way. So one would get a different response under these shell
 than one would expect.
 
 I found a work around by adding a alias to the ~/.cshrc file. (alias
 nice /usr/bin/nice). Would it be an good idea to add this to the
 default /root/.cshrc file?
 
 -- 
 Best regards,
 Alex
 
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Mon Dec 23 04:24:10 PST 2002 
State-Changed-Why:  
Closed at the submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44332 
>Unformatted:
