code: static Size doGetHPUXSize(String cfg) {
          String[] tokens = cfg.split(";");
          return new Size(Integer.parseInt(tokens[4].substring(9)),
                  Integer.parseInt(tokens[2].substring(7)));
      }
docs: There is only a 4 line output from ttytype -s:
  TERM='vt200'; export TERM;
  LINES=47; export LINES;
  COLUMNS=112; export COLUMNS;
  ERASE='^?'; export ERASE;
  
  @param cfg input
  @return size