Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I'm working with mysql at command line. My problem is that for large tables I can't see them completely on the terminal window. How can I increase the "buffer" ...
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Location
    Maputo, Mozambique, Africa
    Posts
    19

    Howto increase the terminal window buffer size

    Hi,

    I'm working with mysql at command line. My problem is that for large tables I can't see them completely on the terminal window.

    How can I increase the "buffer" of the terminal window making it use a horizontal scroll?

    On WinXP terminal this is called "Screen Buffer Size". Anyboby knows how can I increase this buffer on linux?

    NB: I know that '\G' on mysql could show me the table on vertical, but I doesn't like much of this view.

    Thanx in advance
    AkiL

  2. #2
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    If you pipe it though less, you can go up and down (with the arrow-buttons) as much as you want... Just to test, you may try this command:
    Code:
    ls /usr/bin|less

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Location
    Maputo, Mozambique, Africa
    Posts
    19
    Hi Jaboua,
    Thanx for reply, but I think this tip doesn't help much, because I need this wide view when I'm working on mysql commad line:
    Code:
    [amussa@cust17-13 amussa]$ mysql -u root
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 79 to server version: 4.0.20
    
    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    
    mysql>
    not at "normal" (I don't know if I can call it "bash") command line:
    Code:
    [amussa@cust17-13 amussa]$
    I need to make the terminal window wider, to see wide tables.

    NB: Sorry if my english is not good enough to make you understand my problem.

    AkiL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •