From: utzoo!decvax!genradbo!stuart Newsgroups: net.unix-wizards Title: reversed ifdef in csh - problem with nice command Article-I.D.: genradbo.1346 Posted: Tue Feb 8 15:40:23 1983 Received: Fri Feb 11 04:28:30 1983 Would someone please send me mail if this info is a repeat of some earlier discussion. The documentation CSH(1) says that nice without an argument will set the nice priority to 4. On our system (running 4.1BSD), when you do a 'nice' command in csh, your nice priority goes all the way to 19, instead of to 4. Looking at sh.time.c, in function donice(), I find that there is an, #ifndef V6 nice(20); nice(-10); #endif followed by a, nice(4); A few lines further, there is a similar ifndef. I don't know what is supposed to happen in V6, but it sure doesn't work correctly for 4.1BSD. (The 'ifndef' should be 'ifdef'.) -- Stuart Hollander (ucbvax!decvax!genradbolton!stuart)