source: documentation/trunk/packages/dokuwiki-2011-05-25a/inc/geshi/teraterm.php@ 25027

Last change on this file since 25027 was 25027, checked in by jmt12, 12 years ago

Adding the packages directory, and within it a configured version of dokuwiki all ready to run

File size: 9.4 KB
Line 
1<?php
2/*************************************************************************************
3 * teraterm.php
4 * --------
5 * Author: Boris Maisuradze (boris at logmett.com)
6 * Copyright: (c) 2008 Boris Maisuradze (http://logmett.com)
7 * Release Version: 1.0.8.8
8 * Date Started: 2008/09/26
9 *
10 * Tera Term Macro language file for GeSHi.
11 *
12 *
13 * This version of ttl.php was created for Tera Term 4.60 and LogMeTT 2.9.4.
14 * Newer versions of these application can contain additional Macro commands
15 * and/or keywords that are not listed here. The latest release of ttl.php
16 * can be downloaded from Download section of LogMeTT.com
17 *
18 * CHANGES
19 * -------
20 * 2008/09/26 (1.0.8)
21 * - First Release for Tera Term 4.60 and below.
22 *
23 * TODO (updated 2008/09/26)
24 * -------------------------
25 * *
26 *
27 *************************************************************************************
28 *
29 * This file is part of GeSHi.
30 *
31 * GeSHi is free software; you can redistribute it and/or modify
32 * it under the terms of the GNU General Public License as published by
33 * the Free Software Foundation; either version 2 of the License, or
34 * (at your option) any later version.
35 *
36 * GeSHi is distributed in the hope that it will be useful,
37 * but WITHOUT ANY WARRANTY; without even the implied warranty of
38 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39 * GNU General Public License for more details.
40 *
41 * You should have received a copy of the GNU General Public License
42 * along with GeSHi; if not, write to the Free Software
43 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
44 *
45 ************************************************************************************/
46
47$language_data = array (
48 'LANG_NAME' => 'Tera Term Macro',
49 'COMMENT_SINGLE' => array(1 => ';'),
50 'COMMENT_MULTI' => array(),
51 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
52 'QUOTEMARKS' => array("'", '"'),
53 'ESCAPE_CHAR' => '',
54 'KEYWORDS' => array(
55 /* Commands */
56 1 => array(
57 'Beep',
58 'BplusRecv',
59 'BplusSend',
60 'Break', // (version 4.53 or later)
61 'Call',
62 'CallMenu', // (version 4.56 or later)
63 'ChangeDir',
64 'ClearScreen',
65 'Clipb2Var', //(version 4.46 or later)
66 'ClosesBox',
67 'CloseTT',
68 'Code2Str',
69 'Connect',
70 'CRC32', // (version 4.60 or later)
71 'CRC32File', // (version 4.60 or later)
72 'CygConnect', // (version 4.57 or later)
73 'DelPassword',
74 'Disconnect',
75 'Do', // (version 4.56 or later)
76 'Else',
77 'EnableKeyb',
78 'End',
79 'EndIf',
80 'EndUntil', // (version 4.56 or later)
81 'EndWhile',
82 'Exec',
83 'ExecCmnd',
84 'Exit',
85 'FileClose',
86 'FileConcat',
87 'FileCopy',
88 'FileCreate',
89 'FileDelete',
90 'FileMarkPtr',
91 'FilenameBox', //(version 4.54 or later)
92 'FileOpen',
93 'FileRead',
94 'FileReadln', // (version 4.48 or later)
95 'FileRename',
96 'FileSearch',
97 'FileSeek',
98 'FileSeekBack',
99 'FileStrSeek',
100 'FileStrSeek2',
101 'FileWrite',
102 'FileWriteln',
103 'FindOperations',
104 'FlushRecv',
105 'ForNext',
106 'GetDate',
107 'GetDir', //(version 4.46 or later)
108 'GetEnv',
109 'GetPassword',
110 'GetTime',
111 'GetTitle',
112 'GetVer', //(version 4.58 or later)
113 'GoTo',
114 'If',
115 'IfDefined', // (version 4.46 or later)
116 'IfThenElseIf',
117 'Include',
118 'InputBox',
119 'Int2Str',
120 'KmtFinish',
121 'KmtGet',
122 'KmtRecv',
123 'KmtSend',
124 'LoadKeyMap',
125 'LogClose',
126 'LogOpen',
127 'LogPause',
128 'LogStart',
129 'LogWrite',
130 'Loop', // (version 4.56 or later)
131 'MakePath',
132 'MessageBox',
133 'MPause', // (version 4.27 or later)
134 'PasswordBox',
135 'Pause',
136 'QuickvanRecv',
137 'QuickvanSend',
138 'Random', //(version 4.27 or later)
139 'Recvln',
140 'RestoreSetup',
141 'Return',
142 'RotateLeft', //(version 4.54 or later)
143 'RotateRight', //(version 4.54 or later)
144 'ScpRecv', // (version 4.57 or later)
145 'ScpSend', // (version 4.57 or later)
146 'Send',
147 'SendBreak',
148 'SendFile',
149 'SendKcode',
150 'Sendln',
151 'SetBaud', // (version 4.58 or later)
152 'SetDate',
153 'SetDir',
154 'SetDlgPos',
155 'SetDTR', // (version 4.59 or later)
156 'SetRTS', // (version 4.59 or later)
157 'SetEnv', // (version 4.54 or later)
158 'SetEcho',
159 'SetExitCode',
160 'SetSync',
161 'SetTime',
162 'SetTitle',
163 'Show',
164 'ShowTT',
165 'Sprintf', // (version 4.52 or later)
166 'StatusBox',
167 'Str2Code',
168 'Str2Int',
169 'StrCompare',
170 'StrConcat',
171 'StrCopy',
172 'StrLen',
173 'StrMatch', // (version 4.59 or later)
174 'StrScan',
175 'Testlink',
176 'Then',
177 'ToLower', //(version 4.53 or later)
178 'ToUpper', //(version 4.53 or later)
179 'Unlink',
180 'Until', // (version 4.56 or later)
181 'Var2Clipb', //(version 4.46 or later)
182 'Wait',
183 'WaitEvent',
184 'Waitln',
185 'WaitRecv',
186 'WaitRegex', // (version 4.21 or later)
187 'While',
188 'XmodemRecv',
189 'XmodemSend',
190 'YesNoBox',
191 'ZmodemRecv',
192 'ZmodemSend'
193 ),
194 /* System Variables */
195 2 => array(
196 'groupmatchstr1',
197 'groupmatchstr2',
198 'groupmatchstr3',
199 'groupmatchstr4',
200 'groupmatchstr5',
201 'groupmatchstr6',
202 'groupmatchstr7',
203 'groupmatchstr8',
204 'groupmatchstr9',
205 'inputstr',
206 'matchstr',
207 'param2',
208 'param3',
209 'param4',
210 'param5',
211 'param6',
212 'param7',
213 'param8',
214 'param9',
215 'result',
216 'timeout'
217 ),
218 /* LogMeTT Key Words */
219 3 => array(
220 '$[1]',
221 '$[2]',
222 '$[3]',
223 '$[4]',
224 '$[5]',
225 '$[6]',
226 '$[7]',
227 '$[8]',
228 '$connection$',
229 '$email$',
230 '$logdir$',
231 '$logfilename$',
232 '$logit$',
233 '$mobile$',
234 '$name$',
235 '$pager$',
236 '$parent$',
237 '$phone$',
238 '$snippet$',
239 '$ttdir$',
240 '$user$',
241 '$windir$',
242 ),
243 /* Keyword Symbols */
244 4 => array(
245 'and',
246 'not',
247 'or',
248 'xor'
249 )
250 ),
251 'SYMBOLS' => array(
252 '(', ')', '[', ']',
253 '~', '!', '+', '-', '*', '/', '%', '>>', '<<', '<<<', '>>>', '&', '^', '|',
254 '<>', '<=', '>=', '=', '==', '<>', '!=', '&&', '||'
255 ),
256 'CASE_SENSITIVE' => array(
257 GESHI_COMMENTS => false,
258 1 => false,
259 2 => false,
260 3 => false,
261 4 => false
262 ),
263 'STYLES' => array(
264 'KEYWORDS' => array(
265 1 => 'color: #000080; font-weight: bold!important;',
266 2 => 'color: #808000; font-weight: bold;', // System Variables
267 3 => 'color: #ff0000; font-weight: bold;', // LogMeTT Key Words
268 4 => 'color: #ff00ff; font-weight: bold;' // Keyword Symbols
269 ),
270 'COMMENTS' => array(
271 1 => 'color: #008000; font-style: italic;',
272 ),
273 'ESCAPE_CHAR' => array(),
274 'BRACKETS' => array(
275 0 => 'color: #ff00ff; font-weight: bold;'
276 ),
277 'STRINGS' => array(
278 0 => 'color: #800080;'
279 ),
280 'NUMBERS' => array(
281 0 => 'color: #008080;'
282 ),
283 'SCRIPT' => array(
284 ),
285 'METHODS' => array(
286 ),
287 'SYMBOLS' => array(
288 0 => 'color: #ff00ff; font-weight: bold;'
289 ),
290 'REGEXPS' => array(
291 0 => 'color: #0000ff; font-weight: bold;'
292 )
293 ),
294 'URLS' => array(
295 1 => '',
296 2 => '',
297 3 => '',
298 4 => ''
299 ),
300 'OOLANG' => false,
301 'OBJECT_SPLITTERS' => array(),
302 'REGEXPS' => array(
303 0 => array (
304 GESHI_SEARCH => '(\:[_a-zA-Z][_a-zA-Z0-9]+)',
305 GESHI_REPLACE => '\\1',
306 GESHI_MODIFIERS => '',
307 GESHI_BEFORE => '',
308 GESHI_AFTER => ''
309 )
310 ),
311 'STRICT_MODE_APPLIES' => GESHI_NEVER,
312 'SCRIPT_DELIMITERS' => array(),
313 'HIGHLIGHT_STRICT_BLOCK' => array(),
314 'TAB_WIDTH' => 4
315);
316
317?>
Note: See TracBrowser for help on using the repository browser.