mlh@phs.UUCP (12/08/83)
I've been trying to get vi to work on a non I/D machine using the Makefile -rw-r--r-- 1 bin 7125 Mar 26 1982 /sys/src/cmd/vi/Makefile Below are the loader commands for ex and ex.noid. Although both ex and ex.noid work fine, only vi (ex) works but not vi (ex.noid). vi (ex.noid) with no filename runs to the point where I can insert a single line but the newline causes a core dump. vi (ex.noid) with a file name gets to the point where the screen should appear (after showwing how many lines in the file) and then gives core dump. (I've been testing on a I/D machine) I can't use EMACS because ^S (search) can't be used with a vt125. The sizes of ex.noid and ex are respectively, 12480+(16064,16256,15872,15424,9088)+5578+9032 = 27090b = 064722b (85184 total text) 35968+(15808,15232,14784)+5576+9032 = 50576b = 0142620b (81792 total text) ex: ${OBJS} ${LD} -X /lib/crt0.o -i -o ex \ -Z ex_voper.o ex_vget.o ex_vops.o ex_vops2.o ex_vops3.o \ -Z ex_set.o ex_re.o ex_io.o ex_tty.o ex_unix.o ex.o ex_v.o \ -Z ex_addr.o ex_cmds.o ex_cmds2.o ex_cmdsub.o ex_get.o\ -L ex_temp.o ex_vadj.o ex_vmain.o ex_vwind.o\ ex_vput.o ex_put.o ex_subr.o ${PRINTF} strings.o \ ex_data.o ${TERMLIB} -lovc ex.noid: ${OBJS} ${LD} -X /lib/crt0.o -n -o ex.noid \ -Z ex_cmdsub.o ex_vput.o ex_vadj.o bcopy.o\ -Z ex_vmain.o ex_vops.o ex_re.o ex_temp.o\ -Z ex_io.o ex_cmds.o ex_put.o ex_vops2.o\ -Z ex_subr.o ex_voper.o ex_vops3.o ex_vget.o ex_cmds2.o ex_vwind.o\ -Z ex_unix.o ex_v.o ex.o ex_get.o ex_tty.o ex_addr.o ex_set.o\ -L ex_data.o ${PRINTF} strings.o ${TERMLIB} -lovc Can anyone help? Mike Hines duke!phs!mlh