STRCC@CUNYVM.BITNET (Stuart Cohnen) (05/09/91)
We are running Ultrix 4.1 on a VSII/GPX. We would like to remove the large monitor and just use the printer port (the 9 pin one in the back) as the console port. Two questions: What is that port called and what do I have to do in /etc/ttys. Many thanks== Stuart Cohnen STRCC@CUNYVM.CUNY.EDU The City College of New York
melanie@director.beckman.uiuc.edu (Melanie Anderson) (05/10/91)
STRCC@CUNYVM.BITNET (Stuart Cohnen) writes: >We are running Ultrix 4.1 on a VSII/GPX. We would like to remove the >large monitor and just use the printer port (the 9 pin one in the back) >as the console port. Two questions: What is that port called and what >do I have to do in /etc/ttys. >Many thanks== > Stuart Cohnen STRCC@CUNYVM.CUNY.EDU > The City College of New York from the 'qd' man page: If there is a VCB02 module at the standard address, the sys- tem will use it as the system console. All input/output destined for /dev/console will use the VCB02 instead. (This is done by overwriting the device switch tables.) There is a second set of device switch entries configured for the con- sole that may be used as an additional terminal or printer port by making a special device file using major number 38 and minor number 0 and making the appropriate entry in /etc/ttys. so you can call it anything you want because you have to make the device yourself with mknod: # cd /dev # mknod cereal c 38 0 <- make the special char device # cd /etc # vi ttys [... add this line...] cereal "/etc/getty std.4800" vt100 on secure #console terminal [...exit vi] # kill -1 1 <- make init check /etc/ttys again notice i say 'std.4800'. i can't recommend running that console port at anything higher than that because it's a char-at-a-time and yes, ye old processor goes 'kachunk kachunk' every time you type (or see) a character. another caveat: if you ever want to turn off the terminal connected to this port, please disable the halt switch (this is that circle-in-a-dot toggle next to the console port). if you have halt enabled and you turn off the terminal, the system may very well hang, halt, barf, or otherwise do things you wish it hadn't. disabling halt has the effect of making the pushbuttons on the front not work either, but if the system is stable, how often are you going to be bouncing it anyhow? msa -- Melanie Anderson msa@uiuc.edu Beckman Institute PHMETR::MELANIE University of Illinois 217/244-1079 ----------------------------------------------------------------------------- Of all the things I've lost, I miss my mind the most. -----------------------------------------------------------------------------
D. Allen [CGL]) (05/10/91)
>so you can call it anything you want because you have to make the device >yourself with mknod: No. cd /dev && ./MAKEDEV ttycp -- -IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu [129.97.128.64] Computer Graphics Lab/University of Waterloo/Ontario/Canada
mike@raven.bv.tek.com (Michael Ewan) (05/12/91)
In article <1991May9.190639.25124@ux1.cso.uiuc.edu>, melanie@director.beckman.uiuc.edu (Melanie Anderson) writes: |> from the 'qd' man page: |> |> If there is a VCB02 module at the standard address, the sys- |> tem will use it as the system console. All input/output |> destined for /dev/console will use the VCB02 instead. |> |> so you can call it anything you want because you have to make the device |> yourself with mknod: Except that you also need to remove the VCB02 card set from the machine entirely. Maybe that's what you implied. If the system sees the VCB02 at boot it will use it for the console, and the 9-pin port will be dead. Mike -- Michael Ewan (503)627-6468 Internet: mike@raven.BV.TEK.COM Unix Systems Support UUCP: ...!uunet!raven.bv.tek.com!mike Tektronix, Inc. Compuserve: 73747,2304 "Fig Newton: The force required to accelerate a fig 39.37 inches/sec."--J. Hart