Dear @zyedidia, I鈥檇 like to launch micro to write a few lines and pass them on w/o creating a file.
Not sure if it is currently possible, nevertheless I tried micro - | curl -F "upfile=@-" https://... w/o success, because micro insists on naming a file after Ctrl+Q is pressed.
What do you think about that?
Is this being closed because it is resolved or another reason? I like the fact that you could pipe out but.. most programs will ask for a save name/path before saving. Wouldnt /dev/stdout work as far as saving/piping out?
The issue is closed because it is resolved. Micro will now write to stdout when it closes if stdout is connected to a pipe. If the editor is started with stdout connected to a pipe, the buffer will be unsaveable. See the referenced commit for details.
Most helpful comment
The issue is closed because it is resolved. Micro will now write to stdout when it closes if stdout is connected to a pipe. If the editor is started with stdout connected to a pipe, the buffer will be unsaveable. See the referenced commit for details.