Yes, you can update the stream spec without invoking your interactive editor by using 'stream -i' and providing the stream data on stdin.
For example, prepare a file with the information that you would have typed in your editor, call it 'streamdata.txt', and enter:
p4 stream -i < streamdata.txt