• pmjv@lemmy.sdf.orgOPM
    link
    fedilink
    English
    arrow-up
    0
    ·
    20 days ago
    Bell Laboratories
    
    Murray Hill, NJ (dec!ucb)wav!research!rob
    
    It seems that UNIX has become the victim of cancerous growth at the hands of
    organizations such as UCB. 4.2BSD is an order of magnitude larger than Version
    5, but, Pike claims, not ten times better.
    
    The talk reviews reasons for UNIX's popularity and shows, using UCB cat as a
    primary example, how UNIX has grown fat. cat isn't for printing files with line
    numbers, it isn't for compressing multiple blank lines, it's not for looking at
    non-printing ASCII characters, it's for concatenating files.
    
    We are reminded that ls isn't the place for code to break a single column into
    multiple ones, and that mailnews shouldn't have its own more processing or joke
    encryption code.
    
    Rob carried the standard well for the "spirit of UNIX," and you can look
    forward to a deeper look at the philosophy of UNIX in his forthcoming book.
    
    
    • qrstuv@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 days 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;
      }