Julian Elischer writes: > you need to attach the tty node to a tty using the regular > terminal "line disciplin" methods. > (similar to the way the ppp protocol handler is attached to a tty > for kernel ppp)
Right.. you can only create an ng_tty node by installing it as a line discipline, e.g., something like this: #include <sys/ttycom.h> int fd, disc; fd = open("/dev/cuaa0", O_RDWR); disc = NETGRAPHDISC; ioctl(fd, TIOCSETD, &disc); ... -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message