K 10 svn:author V 2 ed K 8 svn:date V 27 2009-02-12T19:00:13.218516Z K 7 svn:log V 287 Make ttyslot(3) work with pts(4) devices. It seems ttyslot() calls rindex(), to strip the device name to the last slash, but this is obviously invalid. /dev/pts/0 should be stripped until pts/0. Because /etc/ttys only supports TTY names in /dev/, just strip this piece of the pathname. END