annotate runtime/syntax/usw2kagtlog.vim @ 13860:7f892e37b017 v8.0.1801

patch 8.0.1801: MS-Windows: redirecting terminal output does not work commit https://github.com/vim/vim/commit/f25329cb94e481999e8b08d886cc0f0169e2020c Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 6 21:49:32 2018 +0200 patch 8.0.1801: MS-Windows: redirecting terminal output does not work Problem: MS-Windows: redirecting terminal output does not work. Solution: Intercept the text written to the terminal and write it to the file.
author Christian Brabandt <cb@256bit.org>
date Sun, 06 May 2018 22:00:07 +0200
parents 056809de0b29
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Language: Innovation Data Processing USW2KAgt.log file
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Maintainer: Rob Owens <rowens@fdrinnovation.com>
6663
056809de0b29 updated for version 7.4.656
Bram Moolenaar <bram@vim.org>
parents: 5425
diff changeset
4 " Latest Revision: 2014-04-01
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 " Quit when a syntax file was already loaded
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 if exists("b:current_syntax")
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 finish
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 endif
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 " Date:
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
12 syn match usw2kagtlog_Date /\u\l\l \u\l\l\s\{1,2}\d\{1,2} \d\d:\d\d:\d\d \d\d\d\d/
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 " Msg Types:
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
14 syn match usw2kagtlog_MsgD /Msg #\(Agt\|PC\|Srv\)\d\{4,5}D/ nextgroup=usw2kagtlog_Process skipwhite
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
15 syn match usw2kagtlog_MsgE /Msg #\(Agt\|PC\|Srv\)\d\{4,5}E/ nextgroup=usw2kagtlog_Process skipwhite
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
16 syn match usw2kagtlog_MsgI /Msg #\(Agt\|PC\|Srv\)\d\{4,5}I/ nextgroup=usw2kagtlog_Process skipwhite
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
17 syn match usw2kagtlog_MsgW /Msg #\(Agt\|PC\|Srv\)\d\{4,5}W/ nextgroup=usw2kagtlog_Process skipwhite
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 " Processes:
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
19 syn region usw2kagtlog_Process start="(" end=")" contained
6663
056809de0b29 updated for version 7.4.656
Bram Moolenaar <bram@vim.org>
parents: 5425
diff changeset
20 "syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client request"
056809de0b29 updated for version 7.4.656
Bram Moolenaar <bram@vim.org>
parents: 5425
diff changeset
21 "syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client request"
056809de0b29 updated for version 7.4.656
Bram Moolenaar <bram@vim.org>
parents: 5425
diff changeset
22 "syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client\s\{0,1}\r\{0,1}\s\{1,9}request"
056809de0b29 updated for version 7.4.656
Bram Moolenaar <bram@vim.org>
parents: 5425
diff changeset
23 "syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client\s\{0,1}\r\{0,1}\s\{1,9}request"
056809de0b29 updated for version 7.4.656
Bram Moolenaar <bram@vim.org>
parents: 5425
diff changeset
24 syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client"
056809de0b29 updated for version 7.4.656
Bram Moolenaar <bram@vim.org>
parents: 5425
diff changeset
25 syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client"
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 " IP Address:
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
27 syn match usw2kagtlog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 " Profile:
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
29
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
30 syn match usw2kagtlog_Profile /Profile name \zs\"\S\{1,8}\"/
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
31 syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}/
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
32 syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}\ze, /
5425
9521463d4fc1 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5277
diff changeset
33 syn match upstreamlog_Profile /Backup Profile: \zs\S\{1,8}\ze Version date/
9521463d4fc1 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5277
diff changeset
34 syn match upstreamlog_Profile /Backup profile: \zs\S\{1,8}\ze Version date/
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
35 syn match usw2kagtlog_Profile /Full of \zs\S\{1,8}\ze$/
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
36 syn match usw2kagtlog_Profile /Incr. of \zs\S\{1,8}\ze$/
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
37 syn match usw2kagtlog_Profile /profile name "\zs\S\{1,8}\ze"/
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38 " Target:
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
39 syn region usw2kagtlog_Target start="Computer: \zs" end="\ze[\]\)]"
5425
9521463d4fc1 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5277
diff changeset
40 syn region usw2kagtlog_Target start="Computer name \zs\"" end="\"\ze"
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 " Agent Keywords:
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
42 syn keyword usw2kagtlog_Agentword opened closed
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
44 hi def link usw2kagtlog_Date Underlined
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
45 hi def link usw2kagtlog_MsgD Type
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
46 hi def link usw2kagtlog_MsgE Error
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
47 hi def link usw2kagtlog_MsgW Constant
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
48 hi def link usw2kagtlog_Process Statement
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
49 hi def link usw2kagtlog_IPaddr Identifier
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
50 hi def link usw2kagtlog_Profile Identifier
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
51 hi def link usw2kagtlog_Target Identifier
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4992
diff changeset
52 hi def link usw2kagtlog_Agentword Special
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 let b:current_syntax = "usw2kagentlog"