Legacy BSD PTYs instead of /dev/pts?

view story

http://serverfault.com – I'm trying to use an old database that only accepts connections from legacy BSD style pseudo-terminals /dev/ttyp's or /dev/tty's. It does not recognise /dev/pts/9 style PTYs. Connections via SSH. I last used it on RedHat Linux 7.2 in 2002 when I had to rebuild the kernel with Legacy PTYS support and then remove devpts from fstab. RHL then automatically fell back to using /dev/ttyp's. I need to use Debian now, and I'm trying this on Squeeze 6.0.7, but I'm willing to go back to Lenny or move up to Wheezy if it helps. I've rebuilt the 2.6.32 kernel with Legacy PTYS support, but I can't figure ou (HowTos)