tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: DU 4.0B Problem - chars not delivered to /dev/tty - script bug
@ 1997-06-23  1:15 Keith Lewis
  0 siblings, 0 replies; only message in thread
From: Keith Lewis @ 1997-06-23  1:15 UTC (permalink / raw)
  To: tru64-unix-managers


-----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-----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-06-23  1:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-23  1:15 SUMMARY: DU 4.0B Problem - chars not delivered to /dev/tty - script bug Keith Lewis

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