MYTTY=`tty`

# two ways to interpret "ps t 42"
#
# 1. as "ps t" with "ps 42"  (PID 42)
# 2. as "ps t42" (tty /dev/tty42)
#
# The command doesn't seem to be legal BSD syntax, but we try...
# We use interpretation #2, since BSD isn't known for ORing.
# We'll assume PID 1 is "init" and not on /dev/tty1, and that
# nothing on tty1 is named "init".

ARGS="t 1"
GOOD=0
EVALFN=1

evalfn () {
  ! egrep ' init' stdout >> /dev/null
}
