ps and top do not display the associated tty numbers, just a '?'.

(written by Haidinger Walter)

You are missing the /etc/psdevtab file. Type "touch /etc/psdevtab" (as root) and run ps again.