Hello,

I like to run fink at a low priority to keep my puny G3 iBook
somewhat responsive.  When I finally got tired of typing "nice
-20 fink ..." every time, I took a look at the perl libraries
and added the following just before line 200 in Engine.pm:

  $cmd = "nice -20 " . $cmd;

Could this be added to fink as a configuration option?

--Martin
How about a shell solution? In bash (probably in ~/.bashrc):

alias nf='nice -20 fink'

creates an alias called "nf" (short for "nice fink," of course!)
that expands to "nice -20 fink." So when you type, e.g.:

nf install somepackage

bash expands the alias and "pretends" that you typed:

nice -20 fink install somepackage

No configuration options. No messy perl code. No subtle "that
can't be the problem" differences between your installation and
mine.

I'm sure csh and its variants support aliases (and may, in fact,
have inspired that feature in bash), but someone else will have
to post the exact syntax.

HTH,
Dan

--
<mailto:[EMAIL PROTECTED]>
<http://www.tombstonezero.net/dan>
An omer is a tenth of an ephah. -- Exodus 16:36.



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to