|
Grex > Test > #31: Set wm-10 test (failure) | |
|
| Author |
Message |
tnt
|
|
Set wm-10 test (failure)
|
Oct 2 19:13 UTC 1991 |
This is a test to see if creating ".exrc" & putting "Set wm=10" in it has
doneany
Well, that answers the question, doesn't it! I wonder if I have to !chmod 755
it in order to make it work?
|
| 8 responses total. |
tnt
|
|
response 1 of 8:
|
Oct 2 19:14 UTC 1991 |
But wait, in reading this item, it seems like it might have worked? Well,
wouldn't that be nice!
|
tnt
|
|
response 2 of 8:
|
Oct 2 19:16 UTC 1991 |
Alas...
|
tnt
|
|
response 3 of 8:
|
Oct 2 19:35 UTC 1991 |
OK, well, maybe I should have !chmod -x .exrc ?? I think that is the same as
!chmod 711 .exrc, which is what I tried, but I don't think it worked? Oh well,
I'll certainly keep trying.
|
tnt
|
|
response 4 of 8:
|
Oct 2 19:35 UTC 1991 |
Alas...
|
steve
|
|
response 5 of 8:
|
Oct 3 00:05 UTC 1991 |
Uh, you shouldn't have to do anything special to the .exrc file in
order to get it to execute commands for you. I've not tried "set rm=xxx"
myself, but what you've done should work. Or perhaps you need the string
'wrapmargin'?
|
tcc
|
|
response 6 of 8:
|
Oct 3 08:36 UTC 1991 |
Nunsense.
|
remmers
|
|
response 7 of 8:
|
Oct 3 15:37 UTC 1991 |
.exrc only has to be readable by you; no execute permission required.
However, I think you *do* have to be in the same directory as the .exrc
for vi to read it. At least, that's the way it works for me.
The environment variable EXINIT is always processed by vi on startup,
so in your .login file you could put
setenv EXINIT 'set wm=10'
and wrapmargin will be set regardless of your current working directory.
Or you could do
setenv EXINIT 'source /u/tnt/.virc'
and have a file named '.virc' in your home directory with the startup
commands you want.
|
ric
|
|
response 8 of 8:
|
Nov 29 05:21 UTC 1991 |
Wow.. an actually useful test.
|