Re: Question RE: Idle Timers...

From: John Evans (evansj@HI-LINE.NET)
Date: 11/16/97


On Mon, 17 Nov 1997, StormeRider wrote:

> Just a question... does anyone know where the idle timers are incremented?

Stock bpl11 code: comm.c, Line 1408
Stock bpl12 code: comm.c, Line 1471

> Did a lot of grepping around and couldn't find it.

Umm... I did a grep for 'idle'. *shrug*

Here. Try this script for grepping. It helps do the line numbers and case
insensitive searching, and such.

#Begin script
#!/bin/sh
if [ -z "$1" ]
then
  while [ -z "$SEARCHFOR" ]
  do
    echo -n "What do you want to search for? "
    read SEARCHFOR
    if [ -z "$SEARCHFOR" ]; then
      echo "You gotta search for something!"
    fi
  done
else
SEARCHFOR=$1
fi
echo Searching for "$SEARCHFOR"
grep $SEARCHFOR *.[ch] -ni | less
#End script

John Evans <evansj@hi-line.net>

May the source be with you.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST