Re: globally setting tab=4 spaces?
If you can't be helpful with your words, be helpful by your silence, Bill.
Will, I think it's in terminfo. man 5 terminfo points you to the it
variable. But it looks like /etc/terminfo/l/linux is a binary... It's
days like this when I curse the day that Debian switched from termcap to
terminfo. I'd have suggested you just change the termcap entry, but I'm
not too hot on the process for changing terminfo. I hope this gives you a
starting point though...
On 1 Apr 2001, Bill Wohler wrote:
>will trillich <email@example.com> writes:
>> is there a way to change the default 8-col tab to 4-col?
>> system-wide? (this is linux, after all...)
> Yes, this is Linux. This means that the standard for hard tabs is 8
> characters wide.
> If you ever want to exchange files with anyone else, and you want
> them to be able to read your files without getting a headache,
> please either ensure that your tab key inserts spaces, or your hard
> tabs are 8 characters wide.
> Many coding conventions require this.
And he climbed with the lad up the Eiffelberg Tower. "This," cried the Mayor,
"is your town's darkest hour! The time for all Whos who have blood that is red
to come to the aid of their country!" he said. "We've GOT to make noises in
greater amounts! So, open your mouth, lad! For every voice counts!" Thus he
spoke as he climbed. When they got to the top, the lad cleared his throat and
he shouted out, "YOPP!"
And that Yopp... That one last small, extra Yopp put it over!
Finally, at last! From the speck on that clover their voices were heard!
They rang out clear and clean. And they elephant smiled. "Do you see what
I mean?" They've proved they ARE persons, no matter how small. And their
whole world was saved by the smallest of All!"
"How true! Yes, how true," said the big kangaroo. "And, from now
on, you know what I'm planning to do? From now on, I'm going to protect
them with you!" And the young kangaroo in her pouch said, "ME TOO! From
the sun in the summer. From rain when it's fall-ish, I'm going to protect
them. No matter how small-ish!"
-- Dr. Seuss "Horton Hears a Who"
John Galt (firstname.lastname@example.org)