> Lastly: I was thinking about creating a /proc/serial/* hierarchy like the new
> /proc/scsi. I don't know you, but since I do consulting job, mainly to ISPs and
> mainly remotely, I'd like to be able to find in a single place everything I
> can. This would include:
>
> Hardware port type
> Resources used (irq, io port)
> Buffer length/used/free
> Hardware status of control lines (CD, RTS, CTS, DTR)
> Software status of the port (closed, open for callin, open for callout)
> ...
>
> and anything you will come up with. I'm open for comments on this...
I like it! I like it!
> --
> main(){char*s="DQNO_DJUQQAJQYQQAQQQQOOQ_QQEA_QQQIAQQQNQ_Q";int i,j,k,l,m,n;
> for(j=0;j<7;j++)for(l=0;m=l-6+j,i=m/6,n=j*6+i,k=1<<m%6,l<43-j;l++)putchar(l<6-
> j?' ':l==42-j?'\n':s[n]&k?(j==6||!(s[n+6]&k)?'_':' '):k/2&&s[n]&k/2?'/':' ');}
Cute.
-Jim Lynch aka enOne (jimlynch@netcom.com)