LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2012, 03:58 PM   #1
George.evans
LQ Newbie
 
Registered: Sep 2007
Posts: 4

Rep: Reputation: 0
Tab spacing issues


I should know the answer to this but can't for the life of me figure it out.

I am moving all of my users and applications to a new SuSE SLES server.

When I set up the old server I had set up several of the users so the column spacing of reports they generated via bash and ksh scripts was narrower than default. (4 vs 8 characters). I can not remember how I did that. I have compared the /etc/profile, ~/.bash_profile, ~/.bashrc, ~/.bashrc. ~/.bash_login, ~/.profile between the old and new systems and I can not remember or find what I had done. The change was login specific.

Any advice would be greatly appreciated.
 
Old 11-29-2012, 04:19 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Welcome to the evil world of tabs. It is likely that some tool, possibly an editor, was configured to display tabs with 8-column spacing. As you see now, that portrayal is application-specific, and not universal in any sense, as you probably thought; a good reason to not use them, IMHO.
--- rod.
 
Old 11-30-2012, 10:46 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959
Yes, the width of a tab character is not fixed, but is dynamically determined by the program that's displaying it. The program's tab width setting, the font used, and the amount of text that appears before it all affect the final positioning.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] spacing athrin Linux - Newbie 12 04-06-2011 11:24 PM
[SOLVED] spacing henrtm05 Linux - Newbie 10 10-01-2010 06:19 PM
ff issues: "customize" won't work & tab sidebar?? paddy Linux - Software 2 11-19-2006 04:09 PM
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 02:06 PM
Redirecting output of tab tab benjaminrtz Linux - General 1 04-28-2003 10:11 AM


All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration