It slightly annoyed me that tbl -h suicided. Try to prevent that. And while at it try to make -ms et al work. Notes: Sun May 1 13:18:17 EDT 2005 rsc Thanks. Tbl is weird. Reference: /n/sources/patch/applied/tbl-argcfix Date: Fri Apr 29 23:28:55 CES 2005 Reviewed-by: rsc --- /sys/src/cmd/tbl/t1.c Fri Apr 29 23:27:51 2005 +++ /sys/src/cmd/tbl/t1.c Fri Apr 29 23:27:48 2005 @@ -2,8 +2,8 @@ # # include "t.h" -# define MACROS "/usr/lib/tmac.s" -# define PYMACS "/usr/lib/tmac.m" +# define MACROS "/sys/lib/tmac/tmac.s" +# define PYMACS "/sys/lib/tmac/tmac.m" # define ever (;;) @@ -43,9 +43,11 @@ sargv = argv; sargc--; sargv++; - if (sargc > 0) - swapin(); - else { + if (sargc > 0) { + if(swapin() == 0) + exits("error"); + + } else { tabin = (Biobuf*)getcore(sizeof(Biobuf), 1); Binit(tabin, 0, OREAD); }