Results 1 to 4 of 4

Thread: Tab space in gnome-terminal

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    Chennai, India
    Beans
    60
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Tab space in gnome-terminal

    Hi,

    I want to change the tab spacing in gnome-terminal from 8 to 4. Where do I change this?
    Please help me..

    Thanks,
    Babu

  2. #2
    Join Date
    Jul 2009
    Location
    London
    Beans
    1,480
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Tab space in gnome-terminal

    hmm, i don't think gnome-terminal has a setting for tabwidth. Whatever applications you are running within gnome-terminal may, though. What application(s) are you running where you want to change the tabspacing?

    For example, in vim you would do:
    :set tabstop=4

  3. #3
    Join Date
    May 2009
    Location
    Chennai, India
    Beans
    60
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Re: Tab space in gnome-terminal

    Yes! I have done that in Vim. But I want the tab space to be 4 when editing using the "cat > filename" command.

  4. #4
    Join Date
    Jul 2009
    Location
    London
    Beans
    1,480
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Tab space in gnome-terminal

    Hi,
    cat doesn't allow you to configure tabspacing. You could use the expand command instead.
    Code:
    expand -t 4 somefile
    Code:
    man expand
    for more info

Tags for this Thread

Bookmarks

Posting Permissions

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