ran (09/13/82)
Thanks for all the replies. I have chosen to post Lepreau's, who kindly donated dired in the first place: > >From harpo!utah-cs!lepreau Sun Sep 12 19:40:28 1982 To: harpo!allegra!ran Subject: dired for hps This problem came up immediately dired was posted. The fix is trivial. Replace home() with this: (++ == added, ~~ == changed) home () { if (HO == 0) ++ curxy(0, 0); ++ else ++ putpad (HO); } And replace the conditional in getcap() with this: if ((CM == 0) || (CL == 0) || (UP == 0)) ~~ { fprintf (stderr, "Tty must have cursor addr, clear, and 4 cursor motions.\n"); exit (1); } Other unrelated but impt thing you should do is take out the signal(SIGHUP, SIG_IGN) at the beginning of dired.