tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Keith Lewis <keithl () mukluk ! cc ! monash ! edu ! au>
To: tru64-unix-managers
Subject: SUMMARY: DU 4.0B Problem - chars not delivered to /dev/tty - script bug
Date: Mon, 23 Jun 1997 01:15:26 +0000	[thread overview]
Message-ID: <96078613510562.tru64-unix-managers.marc@archive.invalid> (raw)


-----BEGIN PGP SIGNED MESSAGE-----

Hi Folks,

	On Thursday I foolishly wrote:

- ----------------------------------------------------------------------

	There seems to be a problem with keystrokes not being delivered to a 
process with a read pending on /dev/tty, under DU 4.0b.

	There are two circumstances in which we have seen this.

1) The operators start an xterm on their workstation, and rsh to a machine
with a tape drive, then by means of sudo proceed to run a script called
backup with root privs.

...

- ----------------------------------------------------------------------

	Thanks to Tom Blinn, and everyone else who replied.

	The problem was a bug in the script.  Two processes, the `dd'
process and the `rsh' process both had reads outstanding on the keyboard,
and all the missing carriage returns had been delivered to the `rsh'
process.  

	The script is now modified to say

...
rsh <remotehost> dump 0f - <fs> < /dev/null | dd of=<tape>
...

	And it seems to be working.

	I feel very foolish...

Keith

	
	

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBM63OL3EpE0nRVDfpAQED/gP/WwGXZ6sM4wuXZ/NJq9x4rzMHQvpIrYxn
RN789UDr3gLlxgsSdrmcIxGNZ6j8NiamptzkyK1/+kPbWeINBX84Ds1+Tkp3VI1H
XowGHScGPtbNKmMG7YNOEGTzirhhEH7i4xKdPOWK6y1/sfVcGxoH31HTkWzNcraF
7YC2UrTaUJQ=
=Jg0s
-----END PGP SIGNATURE-----

                 reply	other threads:[~1997-06-23  1:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox