Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!aplcen!uunet!van-bc!mdavcr!dougf From: dougf@mdavcr.UUCP (Douglas Floer) Newsgroups: comp.unix.wizards Subject: How to translate ac_tty to /dev/tty?? Keywords: acct.h tty accounting Message-ID: <828@mdavcr.UUCP> Date: 2 Feb 90 23:47:58 GMT Organization: MacDonald Dettwiler, Richmond, B.C., Canada Lines: 10 On BSD systems such as Sun's, the acct structure defined in .../{h,sys}/acct.h has a short called "ac_tty" that indicates the tty the command was run on. Can someone tell me how to translate the ac_tty short to "/dev/tty??" format? Thanks, Doug -- Doug Floer, MDA, Richmond, BC, Canada ..!uunet!van-bc!mdavcr!dougf