Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Commands by Topic
      Getting Help
      Moving Around
      Changing Text
      . . .
      Miscellaneous
   Command Reference
      . . .
      replace-string
      reset-mode
      resume-client
      retag-files
      reverse-incremental-search
      . . .
   Variable Reference
      abort-file-io
      abort-file-matching
      abort-key
      . . .
      yank-rectangle-to-corner
   . . .

Previous   Up    Next
reset-mode  Command Reference   retag-files


Epsilon User's Manual and Reference > Command Reference >

resume-client

Tell a waiting client you've finished editing.  Ctrl-c #

You can set up Epsilon so an external program can run it as its editor. In Unix-style environments this is typically done by setting the EDITOR environment variable. The external program will invoke the editor program, and then wait for it to exit before continuing with its work.

You may have an existing session of Epsilon running, and want all editing requests from other programs to be routed to the existing session. You can set that up with Epsilon by setting EDITOR to epsilon -wait. The external program will run a second copy of Epsilon (the client), which will pass the name of the file to be edited to the existing Epsilon session (the server), and wait for the server before continuing.

When you've finished editing the passed file, save it, and then use the resume-client command to notify the client instance of Epsilon that the editing job is done, and it should exit.

In Windows, there's no convention similar to EDITOR, but individual programs may have an option to set the name of the editor program to be used. Note that by default, the Windows command processor never waits for a GUI-style program to exit before prompting again; putting "start /wait" before the program name tells it to wait. So "start /wait epsilon -wait" may be needed.

More info:

Sending Files to a Prior Instance



Previous   Up    Next
reset-mode  Command Reference   retag-files


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.