[comp.mail.mh] POPD: Directory stack empty

david@uhccux.uhcc.hawaii.edu (David Lassner) (06/01/89)

I'm installing POP (from MH6.6) on a Sun3 running SunOS4.0 and
getting a "Directory stack empty" message from the POP server
immediately on startup.  Any ideas?
Thanks, David

David Lassner, University of Hawaii Computing Center, 808/948-7351
INTERNET: david@uhccux.uhcc.hawaii.edu      BITNET: david@uhccux
-- 
David Lassner, University of Hawaii Computing Center, 808/948-7351
INTERNET: david@uhccux.uhcc.hawaii.edu      BITNET: david@uhccux

jim@cs.strath.ac.uk (Jim Reid) (06/02/89)

In article <4047@uhccux.uhcc.hawaii.edu> david@uhccux.uhcc.hawaii.edu (David Lassner) writes:
>I'm installing POP (from MH6.6) on a Sun3 running SunOS4.0 and
>getting a "Directory stack empty" message from the POP server
>immediately on startup.  Any ideas?

You are typing popd and getting the internal csh popd command (for
shunting the shell's directory stack) instead of the POP daemon popd.
You can get round this by invoking the pop daemon by a relative or
absolute pathname: i.e. /usr/etc/popd or ./popd.

Incidentally, if the popd daemon is connected to a terminal, it prints
out the POP dialogue on the terminal; presumably for debugging purposes.
If you want popd (the daemon) to work silently, it shouldn't be
connected to a terminal. Kick it off from /etc/rc at boot time. Failing
that, start it via at(1) or cron(8). However this may have unexpected
results with SunOS 4.0 - the versions of at and cron there are fond of
mailing you the process's output.

		Jim
ARPA:	jim@cs.strath.ac.uk	JANET:	jim@uk.ac.strath.cs
UUCP:	jim@strath-cs.uucp, ...!uunet!mcvax!ukc!strath-cs!jim

"!rof si ver tahw s'taht oS"

jromine@ics.uci.edu (John Romine) (06/02/89)

In article <4047@uhccux.uhcc.hawaii.edu> (David Lassner) writes:
>I'm installing POP ... getting a "Directory stack empty" message
>from the POP server immediately on startup.  Any ideas?

Yup.  Try running under /bin/sh, or run "./popd".  :-)

--
John Romine
UCI ICS Dept.