I want to open a file located on host1 (which is where my server is running) in host2 (from where I have launched the application). I do not want to create a temperory file (cache). I already have a function which reads the file from the host and creates a character array.
Is there a way to open vi editor and display contents of this character array. I can put the array content into a pipe. But can a pipe act as an input stream to vi.
feel free to ask any questions or clarifications
Thanks in advance
Is there a way to open vi editor and display contents of this character array. I can put the array content into a pipe. But can a pipe act as an input stream to vi.
feel free to ask any questions or clarifications
Thanks in advance