Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!cornell!rochester!ur-tut!sunybcs!boulder!hao!ames!umd5!brl-adm!adm!oread::barbanis@CS-UMASS.arpa From: "oread::barbanis"@CS-UMASS.arpa Newsgroups: comp.unix.wizards Subject: fchmod on your tty Message-ID: <11190@brl-adm.ARPA> Date: 9 Jan 88 06:42:56 GMT Sender: news@brl-adm.ARPA Lines: 11 I wanted to change the mode of my tty from a program (something like biff), so I used: fchmod(0,mode) This worked fine on Ultrix 2.0, but not on Sun rel3.4 (I got [EPERM]). When I tried: chmod(ttyname(0),mode) it worked fine on both systems. Any idea why fchmod didn't work? George Barbanis UMass -- Amherst