Loading ...
Sorry, an error occurred while loading the content.

winsize

Expand Messages
  • Sean Hubbell
    Hello, Does anyone have a problem when executing gvim when set the winsize in there .vimrc to something that is HIGHER than there XTERM window that has
    Message 1 of 3 , Sep 1, 2005
    • 0 Attachment
      Hello,

      Does anyone have a problem when executing gvim when set the winsize in
      there .vimrc to something that is HIGHER than there XTERM window that
      has executed from?

      I do not have this problem when executing from the gnome-terminal...


      Sean
    • Tony Mechelynck
      ... From: Sean Hubbell To: vim mailing list Sent: Thursday, September 01, 2005 7:58 PM Subject: winsize ... 1. I
      Message 2 of 3 , Sep 1, 2005
      • 0 Attachment
        ----- Original Message -----
        From: "Sean Hubbell" <shubbell@...>
        To: "vim mailing list" <vim@...>
        Sent: Thursday, September 01, 2005 7:58 PM
        Subject: winsize


        > Hello,
        >
        > Does anyone have a problem when executing gvim when set the winsize in
        > there .vimrc to something that is HIGHER than there XTERM window that has
        > executed from?
        >
        > I do not have this problem when executing from the gnome-terminal...
        >
        >
        > Sean

        1. I have neither gnome-terminal, Linux, nor problems but I'm gonna venture
        an answer since after 2 hours or so no one else did.

        2. ":winsize 77 33" is deprecated in favour of ":set lines=33 columns=77"

        3. In the GUI, 'lines' and 'columns' can be set to anything but the actual
        value used is bounded up by the screen size (i.e., ":set lines=99999
        columns=99999 will in practice "only" maximize the gvim window).

        4. In console Vim, many factors play a role:
        4.1 Is Vim running in a console _emulator_ (such as xterm, konsole, or
        Win32 dosbox in windowed mode) or in a "true console" (such as W32 dosbox in
        fullscreen more or Linux /dev/tty also sometimes known as $TERM=linux)?
        (Note: "true" consoles usually cannot be resized).
        4.2 If an emulator, then which one? What displaying software does it
        use? (Note: gnome-terminal probably uses GTK+2 which is regarded as "modern"
        software and provides a thick "additional layer" between Vim and X11; in
        comparison, the "original" xterm is "archaic").
        4.3 Which features were compiled into this Vim executable (tiny, small,
        normal, big, huge, with or without GUI, if with GUI, then with which GUI
        software, etc.)? (Note: A Unix gvim can be invoked in console-mode, a W32
        gvim cannot).
        4.4 What is done after resizing? (Note: In console Vim, there may be
        problems shelling out to some external non-pure-teletype programs after
        resizing to "atypical" sizes such as 32 lines, 137 columns -- as compared to
        25 or even 60 lines, 40 or 80 columns). (What I call "pure teletype" is a
        kind of display which would display OK on a paper-printing teletypewriter
        with no possibility of moving the paper backwards and no global positioning
        of the "print head" aka cursor aka insertion point other than with hard tabs
        [horizontal or vertical], backspaces, carriage returns, and line feeds.
        "more" or "cat" are "pure-teletype" programs; "less" or "vim" are not;
        "bash" may or may not be depending on which programs one gives it to run.)


        Best regards,
        Tony.
      • Sean Hubbell
        ... Thanks Tony, I did not realize that it had changed... Sean
        Message 3 of 3 , Sep 2, 2005
        • 0 Attachment
          Tony Mechelynck wrote:

          > ----- Original Message ----- From: "Sean Hubbell"
          > <shubbell@...>
          > To: "vim mailing list" <vim@...>
          > Sent: Thursday, September 01, 2005 7:58 PM
          > Subject: winsize
          >
          >
          >> Hello,
          >>
          >> Does anyone have a problem when executing gvim when set the winsize
          >> in there .vimrc to something that is HIGHER than there XTERM window
          >> that has executed from?
          >>
          >> I do not have this problem when executing from the gnome-terminal...
          >>
          >>
          >> Sean
          >
          >
          > 1. I have neither gnome-terminal, Linux, nor problems but I'm gonna
          > venture an answer since after 2 hours or so no one else did.
          >
          > 2. ":winsize 77 33" is deprecated in favour of ":set lines=33 columns=77"

          Thanks Tony, I did not realize that it had changed...

          Sean
        Your message has been successfully submitted and would be delivered to recipients shortly.