On 9/30/06, Mishra, Vikas <[EMAIL PROTECTED]> wrote:
emacsclient ${CLEARCASE_ROOT}/${PWD}/<filename>
This would always open up the file from the right view, since the
complete path was specificed. And I was hoping that the same would work
in vim as well. Looks like it won't.
How exactly do you invoke vimclient and how exactly to you supply
filename to it.
Your problem can be that $VARS are expanded on the serverside.
This is not good in your case. You need $VARS expanded on the clientside.
If the pathname if readable from the shell where yuo start vimserver,
vimserver will open it. Try some simple unix command (ls -l, wc) in
the shell where you started vimserver, to check whether it sees the file
under the name you supply to vimclient. Like this:
% # in shell where you run emcasclient/vimclient
% echo ${CLEARCASE_ROOT}/${PWD}/<filename> # expand ${vars}
select expanded path with mouse
% # now in shell where you run vimserver/emacsserver
% gvim & # start vimserver
% ls -l <path>
% wc <path>
If ls and wc can see the file, then vimserver will open the file, too.
Yakov
Yakov