    xtra = length($0) - w

    if (xtra > 0) {
      plen = length($2)
      split($2, pieces, "/")
      pcount = length(pieces)
      postfix = "/.../" pieces[pcount]
      remaining = length($2) - xtra - length(postfix) - length(pieces[1])
      str = pieces[1]

      for (i = 2; i < pcount; i++) {
        remaining = remaining - length(pieces[i]) - 1
        if (remaining > 0) {