pmjv@lemmy.sdf.orgM to unix_surrealism@lemmy.sdf.orgEnglish · 1 month agothe temporality of an eralemmy.sdf.orgexternal-linkmessage-square41fedilinkarrow-up1346arrow-down113
arrow-up1333arrow-down1external-linkthe temporality of an eralemmy.sdf.orgpmjv@lemmy.sdf.orgM to unix_surrealism@lemmy.sdf.orgEnglish · 1 month agomessage-square41fedilink
minus-squareqrstuv@lemmy.sdf.orglinkfedilinkEnglisharrow-up3·1 month ago Rob carried the standard well for the “spirit of UNIX,” if (isatty(1)) { if (ioctl(1,JMUX,0) >= 0) { struct winsize win; if (ioctl(1,JWINSIZE,&win) >= 0) { screenwidth = win.bytesx; if (screenwidth == 0) screenwidth++; } } qflg = Cflg = 1; (void) gtty(1, &sgbuf); if ((sgbuf.sg_flags & XTABS) == 0) usetabs = 1; }
if (isatty(1)) {