mt reports absurd error message when pointed at a tty
Roy Smith
roy at phri.UUCP
Wed Nov 12 14:21:16 AEST 1986
Index: bin/mt.c 4.2BSD
Description:
Mt calls perror to print error messages. Since mt uses ioctls to
do its magic, one of the diagnostics you can draw is "not a
typewriter". This is not useful most of the time, and can even
be absurd. The basic problem is that "character device" and "tty"
are concepts which are more closely related then they should be.
Repeat-By:
Run "mt -f /dev/tty stat". You will draw the error message "not a
typewriter", which is a patently absurd thing to say about /dev/tty.
The same thing happens on Sun 3.0. Granted, this is a bit of a
silly thing to do, but it should still give some useful error message.
--
Roy Smith, {allegra,cmcl2,philabs}!phri!roy
System Administrator, Public Health Research Institute
455 First Avenue, New York, NY 10016
"you can't spell deoxyribonucleic without unix!"
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list