LINUX.ORG.RU

GNU Screen, vertical resize


0

0

В рассылке screen когда-то было сообщение от автора, что он добавил возможность разделять регионы вертикально и описывал также параметр команды resize - обе использовали флаг -v. Сейчас split -v работает, resize -v -- нет. Так как я отстал от жизни, что посоветует всезнающий олл? Насколько я знаю, патч screen-vs устарел.. screen-wm? еще варианты?

★★

src/process.c:
static char *resizeprompts[] = {
  "resize # lines: ",
  "resize -h # lines: ",
  "resize -v # lines: ",
  "resize -b # lines: ",
  "resize -l # lines: ",
  "resize -l -h # lines: ",
  "resize -l -v # lines: ",
  "resize -l -b # lines: ",
};
...
      if (*args && args[1])
        {
          Msg(0, "%s: usage: resize [-h] [-v] [-l] [num]\n", rc_name);
          break;
        }

Попробуй `-h'. :resize -h +30

 -- Command: resize [(+/-)LINES]
     (none)
     Resize the current region. The space will be removed from or added
     to the region below or if there's not enough space from the region
     above.
          resize +N       increase current region height by N
          resize -N       decrease current region height by N
          resize  N       set current region height to N
          resize  =       make all windows equally high
          resize  max     maximize current region height
          resize  min     minimize current region height

anonymous
()
Ответ на: комментарий от anonymous

а ведь действительно о_О

спасибо.

volh ★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.