Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/examples/vi6.html
Дата изменения: Fri Jan 17 12:43:16 1997 Дата индексирования: Mon Oct 1 23:13:57 2012 Кодировка: Поисковые слова: space shuttle atlantis |
To set a number of options place the set commands in the file .exrc.
set ic set number set sh=/usr/local/bin/Tcsh set wm=5
This sets vi to:
Options can also be set using the environment variable EXINIT.
setenv EXINIT 'set ic number sh=/usr/local/bin/Tcsh wm=5'
For the C and TC shell user, this sets the same options as in the example above.
If there is a .exrc file owned by you in your home directory or the current directory, vi will take its option values from this and not from the EXINIT environment variable.