Path: utzoo!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!uunet!mcsun!ukc!axion!vision!ukpoit!paul From: paul@ukpoit.co.uk (Paul Wood) Newsgroups: comp.os.minix Subject: init/inittab/getty/gettydefs from plains Summary: problems with init/inittab/getty/gettydefs package from plains Keywords: init inittab getty gettydefs modem Message-ID: <1991Mar18.133804.28724@ukpoit.co.uk> Date: 18 Mar 91 13:38:04 GMT Organization: disorganised Lines: 59 I have been using the init/inittab/getty/gettydefs package available on archive-server@plains.nodak.edu for some time on my MacPlus. [ My problems with this package MAY or MAY NOT be MacMinix specific, so can ] [ people who have implemented this software on PCs, STs or whatever ] [ please continue to read this posting. This is a good example of why ] [ comp.os.minix should not be split up along cpu-type or machine-type lines.] I have amended (minor bug fix) modem.c as follows: if (st >= argc) usage(); /* We need the TTY name as well! */ ^^ optind My /etc/inittab is as follows: id:2:exec:/bin/sync rc:S123456:exec:/bin/sh:/etc/rc ud:123456:spawn:/etc/update: cr:123456:exec:/usr/bin/cron: t0:S123456:respawn:/etc/getty:/dev/tty0 -k WIND1 t1:S123456:respawn:/etc/getty:/dev/tty1 -k WIND2 t2:S123456:respawn:/etc/uugetty:/dev/tty2 -t MODEM sh:0:exec:/bin/sh:/etc/brc My /etc/gettydefs is as follows: WIND1#SANE#SANE#Window 1 Login: #WIND1 WIND2#SANE#SANE#Window 2 Login: #WIND2 MODEM#SANE B2400#SANE B2400#Modem Login: #MODEM The package is excellent. It allows me to be able to dial into my Mac (usually! something is now wrong with my modem at the moment), however there are a number of problems: 1) The processes associated with /dev/tty0 (ie: sh, ps etc.) are NOT shown to be associated with t0 (or co) when a ps is executed, but those processes associated with /dev/tty1 ARE shown to be associated with t1. 2) Command getlf does NOT work in the window /dev/tty0, but DOES work in the window /dev/tty1. (The tty command works fine in both windows). 3) When I execute the following: while true do something ... done in /dev/tty0 I cannot terminate it (ie: interrupt it), but when I run it in the /dev/tty1 window I can terminate it quite easily. I think all the above symptoms are related to one bug. Can anybody help? Is it Mac specific? Are any MacMinix users out there using this package? Does telinit exist yet (that would complete the init package nicely)? paul@ukpoit.co.uk Paul Wood, 31 Buttermere Drive, Dronfield Woodhouse, ----------- Sheffield, England, S18 5PX. ----------- -- Paul Wood | UUCP Mail: paul@ukpoit.co.uk | iT: The Information iT (Unix Group) | Bang-Style: ...!ukc!ukpoit!paul | Technology Business of Barker Lane | Voice: +44 246 214256 | the UK Post 0ffice Chesterfield | FAX: +44 246 214353 |