• Ctrl+u - undoes last action
• Ctrl+o - exits editor accepting changes
• Ctrl+x - exits editor discarding changes
Command Description
edit ( name ) - opens the script specified by the name argument in full-screen editor
Notes
All characters that are deleted by backspace, delete or Ctrl+k keys are accumulated in the buffer.
Pressing any other key finishes adding to this buffer (Ctrl+y can paste it's contents), and the next
delete operation will replace it's contents. Undo doesn't change contents of cut buffer.
Script editor works only on VT102 compatible terminals (terminal names "vt102", "linux", "xterm",
"rxvt" are recognized as VT102 at the moment). Delete, backspace and cursor keys might not work
with all terminal programs, use 'Ctrl' alternatives in such cases.
Example
The following example shows the script editor window with a sample script open:
This script is used for writing message "hello" and 3 messages "kuku" to the system log.
Page 648 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.