[6940] in Athena Bugs

home help back first fref pref prev next nref lref last post

pmax 7.1h: suspending kinit

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed Jan 23 06:00:51 1991

Date: Wed, 23 Jan 91 06:00:40 EST
From: Ken Raeburn <Raeburn@MIT.Edu>
To: bugs@ATHENA.MIT.EDU

I ran a script that runs kinit and then a few other commands.  I hit
^Z at the password prompt, and got a long stream of newlines.  Running
"ps" from another window showed the kinit process running.

I experimented a bit more:

Ran kinit from the shell, hit ^Z: "password incorrect", or "generic
error".  This seems to be reproducible.

Ran my shell script again, hit ^Z: "password incorrect", only one
shell prompt despite several newlines entered, pty in kbd wait state.
One process in "exiting" state.  Killing the shell-script process
restored the pty.  This seems to be reproducible.

My shell script starts off with:

	#!/bin/sh

	stty new dec ; reset

	/usr/athena/kinit $USER

	if [ $? != 0 ]; then
		sleep 5
		exit 1
	fi
	...

I would say that the behavior I got from trying to suspend it is
incorrect, or at least undesirable...

home help back first fref pref prev next nref lref last post