Slick V3.3 manual Starting a Program from the Command Line Shelling, Command Line Prompting

Models: V3.3

1 568
Download 568 pages 2.03 Kb
Page 54
Image 54

Starting a Program from the

Command Line (Shelling)

You can use the SlickEdit® Core command line to determine what keys are associated with what com- mands, and vice-versa.

Tip

Alternatively, you can use the Key Bindings dialog (click Window Preferences, expand SlickEdit and click General in the tree, then double-click the Key Bindings setting, or, use the gui_keybindings command) to see a list of command/key binding associations. See Key Bind- ings Dialog for more information.

Determining the Command of a Key Binding

To determine the function of a key or key binding, use the what_is command (Help What Is Key). For example:

1.Click Help What Is Key, or activate the SlickEdit® Core command line (by pressing Esc) and type what_is (or type what and press the spacebar for auto-completion), then press Enter.

2.The message line will prompt with the text What is key. Enter the key sequence in question, and the message line will display the information. If the key or key sequence is not bound to a command, no message will appear.

Determining the Key Binding of a Command

To determine the key to which a command is bound, use the where_is command (Help Where Is Command). For example:

1.Click Help Where Is Command, or activate the command line and type where_is, then press Enter.

2.A dialog will prompt with the text Where is command. Enter the command in question. The Eclipse message area will display the key binding or state that the command is not bound to a key.

Starting a Program from the Command Line (Shelling)

You can use the command line to start a program. Press Esc to toggle the cursor to the command line. Type the program name and arguments and press Enter. When entering a command that the editor does not recognize as an internal command, a path search is performed to find an external program to execute. To use a program whose name contains space characters, enclose the name in double quotes. For ex- ample, "this is" will start a program named this is.exe if it exists.

To get an operating system prompt, type the command dos with no arguments or from the main menu, click Tools OS Shell.

Command Line Prompting

32

Page 54
Image 54
Slick V3.3 manual Starting a Program from the Command Line Shelling, Command Line Prompting