"In either case, we will always indent the statements controlled by the ~while~ by one tab stop (which we have shown as four spaces) so you can see at a glance which statements are inside the loop. The indentation emphasizes the logical structure of the program. Although C compilers do not care about how a program looks, proper indentation and spacing are critical in making programs easy for people to read." * ________ * p.10 "The C Programming Language", Brian Kernighan & Dennis Ritchie , Prentice Hall Software Series I am pretty sure that someone somewhere knows either how to change tabstops or knows where the proper reference for this operation is. If you know either of these,. or if you know someone who knows either of these, please send me the answer or their email addy. Thanks for your help. -- Jeff French frenche@telalink.net For the best Linux reading list see: http://www.linuxdoc.org/HOWTO/Reading-List-HOWTO.html -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Wed, 12 Jan 2000, Jeff French wrote:
is. If you know either of these,. or if you know someone who knows either of these, please send me the answer or their email addy.
In vi use this when not in -INSERT- mode, ":set tabstop=x" where x is the number of spaces. Jim Ray -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Wed, 12 Jan 2000, Jim Ray wrote:
On Wed, 12 Jan 2000, Jeff French wrote:
is. If you know either of these,. or if you know someone who knows either of these, please send me the answer or their email addy.
In vi use this when not in -INSERT- mode, ":set tabstop=x" where x is the number of spaces.
To automate this, edit ~/.exrc and add the line(s): et tabstop=4 " or any other value, say, 8 set shiftwidth=4 " defines # of spaces in backward (^D) tabs when using the " autoindent option. Alvaro -- -- -- -- -- Alvaro A. Novo novo@uiuc.edu "1 is equal to 2 for sufficiently large values of 1." --Anonymous -- -- -- -- --
Jim Ray
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
frenche@telalink.net
-
jray@tsi.gte.com
-
novo@uiuc.edu