Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!apple!uokmax!servalan!rmtodd From: rmtodd@servalan.uucp (Richard Todd) Newsgroups: comp.sys.mac.misc Subject: Re: Mac OS versus A/UX, Who runs under who? Message-ID: <1990Nov5.022301.1988@servalan.uucp> Date: 5 Nov 90 02:23:01 GMT References: <3818@idunno.Princeton.EDU> <{'!^2|*@rpi.edu> <627@treehouse.UUCP> <1990Nov5.004631.20821@smsc.sony.com> Organization: Ministry of Silly Walks Lines: 38 dce@smsc.sony.com (David Elliott) writes: >In article <627@treehouse.UUCP> andyp@treehouse.UUCP (Andy Peterman) writes: >>program bombs, you can sometimes recover within the MacOS, or "restart", >>which simply kills the MacOS process and logs you out, all without >Wait. I don't think you mean "logs you out", at least not in the Unix >sense of the term. I mean, if a bombed MacOS program actually logged >me out of my A/UX session, it would be only slightly better than >having the whole system go down. Well, it depends on exactly how you logged in on the console. The login window allows you a choice of "login sessions". If you choose the "console emulator" choice, you get basically a generic glass tty emulation on the console and your choice of login shell running on /dev/console. If you chose the 32-bit or 24-bit MacOS session type, it effectively acts as if your login shell was /mac/bin/mac32 (or /mac/bin/mac24) and starts up the appropriate MacOS emulator. Now, you can be in MacOS without having chosen the 32 or 24-bit session from the login window; one can login to the Mac in "console emulator" mode and run mac32 or mac24 from your shell prompt. Now, if you had actually logged into the MacOS environment, then yes if MacOS goes down it logs you all the way out. If you first get a shell running on the console and then start up MacOS, when it fails you just get dumped out to your shell prompt on the console. >Of course, if your login session starts MacOS and no other processes, >it would log you out, but I'm not sure that that would utilize the >advantages of A/UX. You mean being able to use MacOS and A/UX programs simultaneously? Yeah, you can always do that. Whenever mac32 or mac24 start up, they always start up two MacOS programs under MultiFinder: Finder and CommandShell. CommandShell allows multiple text windows on the screen, each one talking to a different pty with your favorite Unix shell running on it (sorta the poor man's xterm :-). -- Richard Todd rmtodd@uokmax.ecn.uoknor.edu rmtodd@chinet.chi.il.us rmtodd@servalan.uucp 6 days until the season premiere of WISEGUY!