deadpixi / sam

An updated version of the sam text editor.
Other
430 stars 46 forks source link

External communication with sam #95

Open Superpat opened 5 years ago

Superpat commented 5 years ago

From the man page for plan9port sam(1)

    External communication
      Sam listens to the edit plumb port.  If plumbing is not
      active, on invocation sam creates a named pipe /srv/sam.user
      which acts as an additional source of commands.  Characters
      written to the named pipe are treated as if they had been
      typed in the command window.

I tried plumbing sam commands to plumb/edit and I tried finding something like /srv/sam.user, but without success.

Is there a way to send commands to sam from an external process?