Problem
I want to read a file from my home directory into vi(C). I am using the command:
:r $HOME/foowhere "foo" is the name of the file I want to read.
This results in the error message:Too many file names Cause
This problem is caused by a fault in the way that vi(C) expands environment variables.
Solution
SCO is aware of this problem and is working to resolve it. It is scheduled to be addressed in a future release of SCO OpenServer.
Currently, the work-around is to explicitly specify the
path to the file you want to edit. For example::r /usr/fred/foo