[Next] [Previous] [Up] [Top] [Contents] [Index]

Interacting with the Listener

Working with the Listener

The Listener is designed to make interacting with the Lisp environment very easy.

  • Pressing Return when the insertion point is not in the last line of text in the Listener causes the insertion point to move to the last line. If there is a selection, the selection is copied to the last line. If there is no selection, the text surrounding the insertion point moves down if it has been entered by the user, and is ready to execute.
  • Pressing Enter is equivalent to pressing Return twice. It performs both copy-down and execution.
  • Pressing Control-Return causes a carriage return to be inserted. Use Control-Return when you want to reformat text in the Listener without performing copy-down or execution.
  • Pressing Control-G creates a new input line without executing the current input line. The canceled input line is not erased, and you can use it later.
  • ? Here is an input line  ;now press Control-G
      
    ? ;you have a new input line
  • Pressing Option-G moves the previous input line to the bottom of the text in the Listener. Each time you press this key combination, a previous input line is moved to the bottom of the text in the Listener.
  • Pressing Control-Option-P in the Listener moves the cursor to the previous input line. (Press the Control, Option, and P keys all at once to give this command.)
  • Pressing Control-Option-N in the Listener moves the cursor to the next input line.
  • The last result returned by the Listener is bound to the variable *. For example,
    ? (concatenate 'string "Hello" " Dolly")
    "Hello Dolly"
    ? (concatenate 'string "Well " *)
    "Well Hello Dolly"
  • The Listener also supports all the standard Emacs commands supported by the MCL editor, as described in "The MCL editor, Fred" on page 30.
  • Of course, standard Macintosh commands such as cut, copy, and paste also work in the Listener. And at any time you can save the text of the Listener into a text file.
  • To get an online listing of Listener editing commands, press Control-question mark when you are in the Listener, or choose Listener Commands from the Tools menu.


  • Gettmg Started with MCL - 19 OCT 1996
    [Next] [Previous] [Up] [Top] [Contents] [Index]

    Generated with Harlequin WebMaker