man pages section 1: User Commands

Exit Print View

Updated: July 2014

werl (1)


werl - The Erlang Emulator


Please see following description for synopsis


User Commands                                             werl(1)

     werl - The Erlang Emulator

     On Windows, the preferred way to start the Erlang system for
     interactive use is:

     werl <arguments>

     This will start Erlang in its own window, with  fully  func-
     tioning  command-line  editing  and  scrollbars.  All  flags
     except -oldshell work as they do for the erl command.

     Ctrl-C is reserved for copying text to the clipboard (Ctrl-V
     to  paste).  To  interrupt  the  runtime system or the shell
     process (depending on what has been specified  with  the  +B
     system flag), you should use Ctrl-Break.

     In  cases  where  you want to redirect standard input and/or
     standard output or use Erlang in a pipeline, the werl is not
     suitable, and the erl program should be used instead.

     The  werl  window  is  in many ways modelled after the xterm
     window present on other platforms, as the xterm  model  fits
     well  with  line  oriented  command  based interaction. This
     means that selecting text is line oriented rather than  rec-
     tangle oriented.

     To  select  text  in the werl window , simply press and hold
     the left mouse button and drag the mouse over the  text  you
     want  to  select.  If the selection crosses line boundaries,
     the selected text  will  consist  of  complete  lines  where
     applicable  (just  like in a word processor). To select more
     text than fits in the window, start  by  selecting  a  small
     portion  in the beginning of the text you want, then use the
     scrollbar to view the end of the desired selection, point to
     it  and press the right mouse-button. The whole area between
     your first selection and the point where  you  right-clicked
     will be included in the selection.

     The  selected  text  is  copied  to  the clipboard by either
     pressing Ctrl-C, using the menu or pressing the copy  button
     in the toolbar.

     Pasted  text  is always inserted at the current prompt posi-
     tion and will be interpreted by  Erlang  as  usual  keyboard

     Previous  command  lines can be retrieved by pressing the Up
     arrow or by pressing Ctrl-P. There is also a drop  down  box
     in  the  toolbar containing the command history. Selecting a
     command in the drop down box will insert it at  the  prompt,

Ericsson AB         Last change: erts                   1

User Commands                                             werl(1)

     just as if you used the keyboard to retrieve the command.

     Closing the werl window will stop the Erlang emulator.

     See   attributes(5)   for   descriptions  of  the  following

     |Availability   | runtime/erlang   |
     |Stability      | Uncommitted      |
     This  software  was   built   from   source   available   at    The  original
     community       source       was       downloaded       from

     Further  information about this software can be found on the
     open source community website at

Ericsson AB         Last change: erts                   2