Steps to work on a remote NFS workspace (Hosted on linux) from the Windows client machine.
GOAL:
- Work from the Windows local machine on a remote NFS workspace.
solution: Mount the remote NFS volume on the client Windows machine.
- Set up an editor to work with the workspace.
solution: Sublime Text is a good fit for C++ and various other languages, currently almost FREE!
1. Set up windows as NFS client.
- Click “start” -> search for “windows features” -> click “Turn Windows features on or off” -> “select services for NFS”
2. Set up user credentials for write access. [WARNING! A hacker who gains access to this machine can get the UID and GID of the remote server]
- click start -> search for “regedit” -> goto “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default” -> right click “new”
- Create DWORD(32-bit) keys as shown below.
- Find UID and GID :
- goto to the remote server machine -> enter “id” at the bash shell -> the UID and GID are in decimal.
3. Mount NWS to your local machine.
- Open Cmd and enter,
mount IP_Addr:/vol/vol_nfs_janani z: (replace volume name and drive letter)
- Find the new drive under "my Computer".
4. Download Sublime Text 3 from https://www.sublimetext.com/
- Configure the workspace.
- Goto “File” -> Goto “Open Folder” -> open your workspace (on the mount drive)
- Goto “Project” ->click “save project as..” (to open it next time)
5. Some sublime short cuts:
end search: Esc
Find in current file: Ctrl + F
Find in complete folder : Ctrl + Shift + F (double click the line to open the line in the file)
Goto Anything/ open file: Ctrl + P
Function list : Ctrl + R
Navigate Fwd: Alt + Shift + -
Navigate Bck: Alt + -
Goto Line : Ctrl + G
Goto Definition: F12
Automatic auto completion!
Recommended sublime Plug in's: Cscope,
This is the basic use of this editor. Documentation has more.


