pmjvM to unix_surrealismEnglish · 2 年前the temporality of an eraimagemessage-square39linkfedilinkarrow-up1374arrow-down114
arrow-up1360arrow-down1imagethe temporality of an erapmjvM to unix_surrealismEnglish · 2 年前message-square39linkfedilink
minus-squareqrstuvlinkfedilinkEnglisharrow-up3·2 年前 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)) {