I have been fooling around with Microwindows on an ARM 720. One of the
demo's requires pty support. I have been getting some errors with demo
that I have been told is pty problems.
I enabled Unix98 PTY support and /dev/pts support in the kernel.
I inserted in /dev:
init-2.03# ls pty*
ptya0 ptyb8 ptyd0 ptye8 ptyq0 ptyr8 ptyt0 ptyu8 ptyw0 ptyx8
ptyz0 ptya1 ptyb9 ptyd1 ptye9 ptyq1 ptyr9 ptyt1 ptyu9 ptyw1
ptyx9 ptyz1
....
init-2.03# ls -l pts
total 0
crw--w---- 1 500 tty 136, 0 Aug 15 2000 0
crw--w---- 1 500 tty 136, 1 Aug 15 2000 1
crw--w---- 1 501 tty 136, 2 Oct 31 2000 2
crw--w---- 1 500 tty 136, 3 Aug 15 2000 3
crw--w---- 1 500 tty 136, 4 Aug 15 2000 4
crw--w---- 1 500 tty 136, 5 Aug 15 2000 5
init-2.03# mount /proc
init-2.03# mount -t devpts
init-2.03# more ../etc/mtab
/dev/ram / ext2 rw 0 0
none /proc proc rw 0 0
-----------------------------------------------
Should I be inserting or doing anything else?
Does anyone have a simple program that I can use to test my PTY code?
Scott
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm