명령줄에서 종료자 크기 변경

명령줄에서 종료자 크기 변경

terminator나의 소망은 (내가 사용하는) 단말기의 크기를 마음대로 늘리거나 줄일 수 있는 것입니다 . 예를 들어, 명령을 내리면 창 크기를 resize 600-400조정할 수 있습니다 .terminator

가능합니까? 그렇지 terminator않다면 이 작업을 수행할 수 있는 다른 터미널이 있습니까?

답변1

가지다제어 순서터미널의 크기(및 위치)를 변경할 수 있습니다.

alias term-norm='printf "\033[8;24;80t"'
alias term-tall='printf "\033[8;0;80t"'

또는 상세한

ESC [
     Control Sequence Introducer (CSI  is 0x9b)

...

CSI Ps ; Ps ; Ps t
          Window manipulation (from dtterm, as well as extensions).
          These controls may be disabled using the allowWindowOps
          resource.  Valid values for the first (and any additional
          parameters) are:
            Ps = 1  -> De-iconify window.
            Ps = 2  -> Iconify window.
            Ps = 3  ;  x ;  y -> Move window to [x, y].
            Ps = 4  ;  height ;  width -> Resize the xterm window to
          given height and width in pixels.  Omitted parameters reuse
          the current height or width.  Zero parameters use the dis-
          play's height or width.
            Ps = 5  -> Raise the xterm window to the front of the stack-
          ing order.
            Ps = 6  -> Lower the xterm window to the bottom of the
          stacking order.
            Ps = 7  -> Refresh the xterm window.
            Ps = 8  ;  height ;  width -> Resize the text area to given
          height and width in characters.  Omitted parameters reuse the
          current height or width.  Zero parameters use the display's
          height or width.
            Ps = 9  ;  0  -> Restore maximized window.
            Ps = 9  ;  1  -> Maximize window (i.e., resize to screen
          size).
            Ps = 9  ;  2  -> Maximize window vertically.
            Ps = 9  ;  3  -> Maximize window horizontally.
            Ps = 1 0  ;  0  -> Undo full-screen mode.
            Ps = 1 0  ;  1  -> Change to full-screen.
            Ps = 1 0  ;  2  -> Toggle full-screen.
...

관련 정보