05.01.2015 Views

MikroTik RouterOS™ v2.9

MikroTik RouterOS™ v2.9

MikroTik RouterOS™ v2.9

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Command Description<br />

edit (name) - opens the script specified by the name argument in full-screen editor<br />

Notes<br />

All characters that are deleted by backspace, delete or Ctrl+k keys are accumulated in the buffer.<br />

Pressing any other key finishes adding to this buffer (Ctrl+y can paste it's contents), and the next<br />

delete operation will replace it's contents. Undo doesn't change contents of cut buffer.<br />

Script editor works only on VT102 compatible terminals (terminal names "vt102", "linux", "xterm",<br />

"rxvt" are recognized as VT102 at the moment). Delete, backspace and cursor keys might not work<br />

with all terminal programs, use 'Ctrl' alternatives in such cases.<br />

Example<br />

The following example shows the script editor window with a sample script open:<br />

This script is used for writing message "hello" and 3 messages "kuku" to the system log.<br />

Page 568 of 615<br />

Copyright 1999-2005, <strong>MikroTik</strong>. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.<br />

Other trademarks and registred trademarks mentioned herein are properties of their respective owners.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!