At least it's not DEC's fault. On our 4.2BSD, /bin/ed doesn't understand the "n" command either. I use /usr/5bin/ed myself..