[ale] Tab stops in linux?

Christopher Fowler cfowler at outpostsentinel.com
Thu May 1 15:35:20 EDT 2003


in VI, set ts=2

If in souce code you can make settings by file.

i.e in C:

# vi: set ts=2 sw=2: #


On Tue, Apr 29, 2003 at 06:51:37PM -0400, Christopher Bergeron wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Does anyone know if "tab stops" are universal in linux, or if they're 
> program independent?  Specifically, I use pico or vi as my editor (based 
> on my mood), and I'd like to set my "tabs" to about 2 characters.  It 
> appears that the default is like 10 characters or something; and I just 
> can't spare that much screen real estate.  Would I find this setting in 
> each of my apps or is it an stty thing?  If it's a global thing, would 
> programs like "indent" also cater to it?
> 
> Anyone?
> 
> Much thanks,
> CB
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQE+rwH4TKCy0t3zQgURArwPAKCXATdJXKbxwm7KaCUUbbTvh2NLDwCfTpgp
> +D9eccLp8g1Jz3X6ERfpQLE=
> =SjsX
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list