Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!newshost.anu.edu.au!munnari.oz.au!ihnp4.ucsd.edu!agate!howland.reston.ans.net!gatech!news-feed-1.peachnet.edu!ukma!lunatix!robert From: robert@lunatix.lex.ky.us (Robert Sexton) Subject: BSD->Sys V Porting Question (TIOC[CNOTTY) Organization: Lexington Public Access UNIX -KY- (606)269-0992 Date: Wed, 6 Apr 1994 11:22:25 GMT Message-ID: <Cnu4xE.BwH@lunatix.lex.ky.us> Lines: 11 Hello All, Can anybody enlighten me on the use of the TIOCNOTTY ioctl under BSD? I am faminiliar with the termio interface, so a termio man page might just do the trick. Thanks. -- Robert Sexton, robert@lunatix.lex.ky.us, Lexington Public Access UNIX -KY- int a[1817];main(z,p,q,r){for(p=80;q+p-80;p-=2*a[p])for(z=9;z--;)q=3&(r=time(0) +r*57)/7,q=q?q-1?q-2?1-p%79?-1:0:p%79-77?1:0:p<1659?79:0:p>158?-79:0,q?!a[p+q*2 ]?a[p+=a[p+=q]=q]=q:0:0;for(;q++-1817;)printf(q%79?"%c":"%c\n"," #"[!a[q-1]]);}