Add /src/vim/release.sh, a script to compile and install vim
[msysgit.git] / share / vim / vim58 / syntax / ncf.vim
blob50adc2a07baf303fff2d546400ef39ca4b79ae87
1 " Vim syntax file
2 " Language:     ncf NCF Batch File
3 " Maintainer:   Jonathan J. Miner <jon.miner@doit.wisc.edu>
4 " Last Change:  Friday 21 January 2000 09:25 Central Standard Time
5 " $Id: ncf.vim,v 1.1.1.1 2001/06/07 21:35:12 corinna Exp $
7 " For version 5.x: Clear all syntax items
8 " For version 6.x: Quit when a syntax file was already loaded
9 if version < 600
10   syntax clear
11 elseif exists("b:current_syntax")
12   finish
13 endif
15 syn case ignore
17 syn keyword ncfCommands         mount load unload
18 syn keyword ncfBoolean          on off
19 syn keyword ncfCommands         set nextgroup=ncfSetCommands
20 syn keyword ncfTimeTypes        Reference Primary Secondary Single
21 syn match ncfLoad       "\(unl\|l\)oad .*"lc=4 contains=ALLBUT,Error
22 syn match ncfMount      "mount .*"lc=5 contains=ALLBUT,Error
24 syn match ncfComment    "^\ *rem.*$"
25 syn match ncfComment    "^\ *;.*$"
26 syn match ncfComment    "^\ *#.*$"
28 syn match ncfSearchPath "search \(add\|del\) " nextgroup=ncfPath
29 syn match ncfPath       "\<[^: ]\+:\([A-Za-z0-9._]\|\\\)*\>"
30 syn match ncfServerName "^file server name .*$"
31 syn match ncfIPXNet     "^ipx internal net"
33 " String
34 syn region ncfString    start=+"+  end=+"+
35 syn match ncfContString "= \(\(\.\{0,1}\(OU=\|O=\)\{0,1}[A-Z_]\+\)\+;\{0,1}\)\+"lc=2
37 syn match ncfHexNumber  "\<\d\(\d\+\|[A-F]\+\)*\>"
38 syn match ncfNumber     "\<\d\+\.\{0,1}\d*\>"
39 syn match ncfIPAddr     "\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}"
40 syn match ncfTime       "\(+|=\)\{0,1}\d\{1,2}:\d\{1,2}:\d\{1,2}"
41 syn match ncfDSTTime    "([^ ]\+ [^ ]\+ \(FIRST\|LAST\)\s*\d\{1,2}:\d\{1,2}:\d\{1,2} \(AM\|PM\))"
42 syn match ncfTimeZone   "[A-Z]\{3}\d[A-Z]\{3}"
44 syn match ncfLogins     "^\([Dd]is\|[Ee]n\)able login[s]*"
45 syn match ncfScript     "[^ ]*\.ncf"
47 "  SET Commands that take a Number following
48 syn match ncfSetCommandsNum "\(Alert Message Nodes\)\s*="
49 syn match ncfSetCommandsNum "\(Auto Restart After Abend\)\s*="
50 syn match ncfSetCommandsNum "\(Auto Restart After Abend Delay Time\)\s*="
51 syn match ncfSetCommandsNum "\(Compression Daily Check Starting Hour\)\s*="
52 syn match ncfSetCommandsNum "\(Compression Daily Check Stop Hour\)\s*="
53 syn match ncfSetCommandsNum "\(Concurrent Remirror Requests\)\s*="
54 syn match ncfSetCommandsNum "\(Convert Compressed to Uncompressed Option\)\s*="
55 syn match ncfSetCommandsNum "\(Days Untouched Before Compression\)\s*="
56 syn match ncfSetCommandsNum "\(Decompress Free Space Warning Interval\)\s*="
57 syn match ncfSetCommandsNum "\(Decompress Percent Disk Space Free to Allow Commit\)\s*="
58 syn match ncfSetCommandsNum "\(Deleted Files Compression Option\)\s*="
59 syn match ncfSetCommandsNum "\(Directory Cache Allocation Wait Time\)\s*="
60 syn match ncfSetCommandsNum "\(Enable IPX Checksums\)\s*="
61 syn match ncfSetCommandsNum "\(Garbage Collection Interval\)\s*="
62 syn match ncfSetCommandsNum "\(IPX NetBIOS Replication Option\)\s*="
63 syn match ncfSetCommandsNum "\(Maximum Concurrent Compressions\)\s*="
64 syn match ncfSetCommandsNum "\(Maximum Concurrent Directory Cache Writes\)\s*="
65 syn match ncfSetCommandsNum "\(Maximum Concurrent Disk Cache Writes\)\s*="
66 syn match ncfSetCommandsNum "\(Maximum Directory Cache Buffers\)\s*="
67 syn match ncfSetCommandsNum "\(Maximum Extended Attributes per File or Path\)\s*="
68 syn match ncfSetCommandsNum "\(Maximum File Locks\)\s*="
69 syn match ncfSetCommandsNum "\(Maximum File Locks Per Connection\)\s*="
70 syn match ncfSetCommandsNum "\(Maximum Interrupt Events\)\s*="
71 syn match ncfSetCommandsNum "\(Maximum Number of Directory Handles\)\s*="
72 syn match ncfSetCommandsNum "\(Maximum Number of Internal Directory Handles\)\s*="
73 syn match ncfSetCommandsNum "\(Maximum Outstanding NCP Searches\)\s*="
74 syn match ncfSetCommandsNum "\(Maximum Packet Receive Buffers\)\s*="
75 syn match ncfSetCommandsNum "\(Maximum Physical Receive Packet Size\)\s*="
76 syn match ncfSetCommandsNum "\(Maximum Record Locks\)\s*="
77 syn match ncfSetCommandsNum "\(Maximum Record Locks Per Connection\)\s*="
78 syn match ncfSetCommandsNum "\(Maximum Service Processes\)\s*="
79 syn match ncfSetCommandsNum "\(Maximum Subdirectory Tree Depth\)\s*="
80 syn match ncfSetCommandsNum "\(Maximum Transactions\)\s*="
81 syn match ncfSetCommandsNum "\(Minimum Compression Percentage Gain\)\s*="
82 syn match ncfSetCommandsNum "\(Minimum Directory Cache Buffers\)\s*="
83 syn match ncfSetCommandsNum "\(Minimum File Cache Buffers\)\s*="
84 syn match ncfSetCommandsNum "\(Minimum File Cache Report Threshold\)\s*="
85 syn match ncfSetCommandsNum "\(Minimum Free Memory for Garbage Collection\)\s*="
86 syn match ncfSetCommandsNum "\(Minimum Packet Receive Buffers\)\s*="
87 syn match ncfSetCommandsNum "\(Minimum Service Processes\)\s*="
88 syn match ncfSetCommandsNum "\(NCP Packet Signature Option\)\s*="
89 syn match ncfSetCommandsNum "\(NDS Backlink Interval\)\s*="
90 syn match ncfSetCommandsNum "\(NDS Client NCP Retries\)\s*="
91 syn match ncfSetCommandsNum "\(NDS External Reference Life Span\)\s*="
92 syn match ncfSetCommandsNum "\(NDS Inactivity Synchronization Interval\)\s*="
93 syn match ncfSetCommandsNum "\(NDS Janitor Interval\)\s*="
94 syn match ncfSetCommandsNum "\(New Service Process Wait Time\)\s*="
95 syn match ncfSetCommandsNum "\(Number of Frees for Garbage Collection\)\s*="
96 syn match ncfSetCommandsNum "\(Number of Watchdog Packets\)\s*="
97 syn match ncfSetCommandsNum "\(Pseudo Preemption Count\)\s*="
98 syn match ncfSetCommandsNum "\(Read Ahead LRU Sitting Time Threshold\)\s*="
99 syn match ncfSetCommandsNum "\(Remirror Block Size\)\s*="
100 syn match ncfSetCommandsNum "\(Reserved Buffers Below 16 Meg\)\s*="
101 syn match ncfSetCommandsNum "\(Server Log File Overflow Size\)\s*="
102 syn match ncfSetCommandsNum "\(Server Log File State\)\s*="
103 syn match ncfSetCommandsNum "\(SMP Polling Count\)\s*="
104 syn match ncfSetCommandsNum "\(SMP Stack Size\)\s*="
105 syn match ncfSetCommandsNum "\(TIMESYNC Polling Count\)\s*="
106 syn match ncfSetCommandsNum "\(TIMESYNC Polling Interval\)\s*="
107 syn match ncfSetCommandsNum "\(TIMESYNC Synchronization Radius\)\s*="
108 syn match ncfSetCommandsNum "\(TIMESYNC Write Value\)\s*="
109 syn match ncfSetCommandsNum "\(Volume Log File Overflow Size\)\s*="
110 syn match ncfSetCommandsNum "\(Volume Log File State\)\s*="
111 syn match ncfSetCommandsNum "\(Volume Low Warning Reset Threshold\)\s*="
112 syn match ncfSetCommandsNum "\(Volume Low Warning Threshold\)\s*="
113 syn match ncfSetCommandsNum "\(Volume TTS Log File Overflow Size\)\s*="
114 syn match ncfSetCommandsNum "\(Volume TTS Log File State\)\s*="
115 syn match ncfSetCommandsNum "\(Worker Thread Execute In a Row Count\)\s*="
117 " SET Commands that take a Boolean (ON/OFF)
119 syn match ncfSetCommandsBool "\(Alloc Memory Check Flag\)\s*="
120 syn match ncfSetCommandsBool "\(Allow Audit Passwords\)\s*="
121 syn match ncfSetCommandsBool "\(Allow Change to Client Rights\)\s*="
122 syn match ncfSetCommandsBool "\(Allow Deletion of Active Directories\)\s*="
123 syn match ncfSetCommandsBool "\(Allow Invalid Pointers\)\s*="
124 syn match ncfSetCommandsBool "\(Allow LIP\)\s*="
125 syn match ncfSetCommandsBool "\(Allow Unencrypted Passwords\)\s*="
126 syn match ncfSetCommandsBool "\(Allow Unowned Files To Be Extended\)\s*="
127 syn match ncfSetCommandsBool "\(Auto Register Memory Above 16 Megabytes\)\s*="
128 syn match ncfSetCommandsBool "\(Auto TTS Backout Flag\)\s*="
129 syn match ncfSetCommandsBool "\(Automatically Repair Bad Volumes\)\s*="
130 syn match ncfSetCommandsBool "\(Check Equivalent to Me\)\s*="
131 syn match ncfSetCommandsBool "\(Command Line Prompt Default Choice\)\s*="
132 syn match ncfSetCommandsBool "\(Console Display Watchdog Logouts\)\s*="
133 syn match ncfSetCommandsBool "\(Daylight Savings Time Status\)\s*="
134 syn match ncfSetCommandsBool "\(Developer Option\)\s*="
135 syn match ncfSetCommandsBool "\(Display Incomplete IPX Packet Alerts\)\s*="
136 syn match ncfSetCommandsBool "\(Display Lost Interrupt Alerts\)\s*="
137 syn match ncfSetCommandsBool "\(Display NCP Bad Component Warnings\)\s*="
138 syn match ncfSetCommandsBool "\(Display NCP Bad Length Warnings\)\s*="
139 syn match ncfSetCommandsBool "\(Display Old API Names\)\s*="
140 syn match ncfSetCommandsBool "\(Display Relinquish Control Alerts\)\s*="
141 syn match ncfSetCommandsBool "\(Display Spurious Interrupt Alerts\)\s*="
142 syn match ncfSetCommandsBool "\(Enable Deadlock Detection\)\s*="
143 syn match ncfSetCommandsBool "\(Enable Disk Read After Write Verify\)\s*="
144 syn match ncfSetCommandsBool "\(Enable File Compression\)\s*="
145 syn match ncfSetCommandsBool "\(Enable IO Handicap Attribute\)\s*="
146 syn match ncfSetCommandsBool "\(Enable SECURE.NCF\)\s*="
147 syn match ncfSetCommandsBool "\(Fast Volume Mounts\)\s*="
148 syn match ncfSetCommandsBool "\(Global Pseudo Preemption\)\s*="
149 syn match ncfSetCommandsBool "\(Halt System on Invalid Parameters\)\s*="
150 syn match ncfSetCommandsBool "\(Ignore Disk Geometry\)\s*="
151 syn match ncfSetCommandsBool "\(Immediate Purge of Deleted Files\)\s*="
152 syn match ncfSetCommandsBool "\(NCP File Commit\)\s*="
153 syn match ncfSetCommandsBool "\(NDS Trace File Length to Zero\)\s*="
154 syn match ncfSetCommandsBool "\(NDS Trace to File\)\s*="
155 syn match ncfSetCommandsBool "\(NDS Trace to Screen\)\s*="
156 syn match ncfSetCommandsBool "\(New Time With Daylight Savings Time Status\)\s*="
157 syn match ncfSetCommandsBool "\(Read Ahead Enabled\)\s*="
158 syn match ncfSetCommandsBool "\(Read Fault Emulation\)\s*="
159 syn match ncfSetCommandsBool "\(Read Fault Notification\)\s*="
160 syn match ncfSetCommandsBool "\(Reject NCP Packets with Bad Components\)\s*="
161 syn match ncfSetCommandsBool "\(Reject NCP Packets with Bad Lengths\)\s*="
162 syn match ncfSetCommandsBool "\(Replace Console Prompt with Server Name\)\s*="
163 syn match ncfSetCommandsBool "\(Reply to Get Nearest Server\)\s*="
164 syn match ncfSetCommandsBool "\(SMP Developer Option\)\s*="
165 syn match ncfSetCommandsBool "\(SMP Flush Processor Cache\)\s*="
166 syn match ncfSetCommandsBool "\(SMP Intrusive Abend Mode\)\s*="
167 syn match ncfSetCommandsBool "\(SMP Memory Protection\)\s*="
168 syn match ncfSetCommandsBool "\(Sound Bell for Alerts\)\s*="
169 syn match ncfSetCommandsBool "\(TIMESYNC Configured Sources\)\s*="
170 syn match ncfSetCommandsBool "\(TIMESYNC Directory Tree Mode\)\s*="
171 syn match ncfSetCommandsBool "\(TIMESYNC Hardware Clock\)\s*="
172 syn match ncfSetCommandsBool "\(TIMESYNC RESET\)\s*="
173 syn match ncfSetCommandsBool "\(TIMESYNC Restart Flag\)\s*="
174 syn match ncfSetCommandsBool "\(TIMESYNC Service Advertising\)\s*="
175 syn match ncfSetCommandsBool "\(TIMESYNC Write Parameters\)\s*="
176 syn match ncfSetCommandsBool "\(TTS Abort Dump Flag\)\s*="
177 syn match ncfSetCommandsBool "\(Upgrade Low Priority Threads\)\s*="
178 syn match ncfSetCommandsBool "\(Volume Low Warn All Users\)\s*="
179 syn match ncfSetCommandsBool "\(Write Fault Emulation\)\s*="
180 syn match ncfSetCommandsBool "\(Write Fault Notification\)\s*="
182 " Set Commands that take a "string" -- NOT QUOTED
184 syn match ncfSetCommandsStr "\(Default Time Server Type\)\s*="
185 syn match ncfSetCommandsStr "\(SMP NetWare Kernel Mode\)\s*="
186 syn match ncfSetCommandsStr "\(Time Zone\)\s*="
187 syn match ncfSetCommandsStr "\(TIMESYNC ADD Time Source\)\s*="
188 syn match ncfSetCommandsStr "\(TIMESYNC REMOVE Time Source\)\s*="
189 syn match ncfSetCommandsStr "\(TIMESYNC Time Source\)\s*="
190 syn match ncfSetCommandsStr "\(TIMESYNC Type\)\s*="
192 " SET Commands that take a "Time"
194 syn match ncfSetCommandsTime "\(Command Line Prompt Time Out\)\s*="
195 syn match ncfSetCommandsTime "\(Delay Before First Watchdog Packet\)\s*="
196 syn match ncfSetCommandsTime "\(Delay Between Watchdog Packets\)\s*="
197 syn match ncfSetCommandsTime "\(Directory Cache Buffer NonReferenced Delay\)\s*="
198 syn match ncfSetCommandsTime "\(Dirty Directory Cache Delay Time\)\s*="
199 syn match ncfSetCommandsTime "\(Dirty Disk Cache Delay Time\)\s*="
200 syn match ncfSetCommandsTime "\(File Delete Wait Time\)\s*="
201 syn match ncfSetCommandsTime "\(Minimum File Delete Wait Time\)\s*="
202 syn match ncfSetCommandsTime "\(Mirrored Devices Are Out of Sync Message Frequency\)\s*="
203 syn match ncfSetCommandsTime "\(New Packet Receive Buffer Wait Time\)\s*="
204 syn match ncfSetCommandsTime "\(TTS Backout File Truncation Wait Time\)\s*="
205 syn match ncfSetCommandsTime "\(TTS UnWritten Cache Wait Time\)\s*="
206 syn match ncfSetCommandsTime "\(Turbo FAT Re-Use Wait Time\)\s*="
207 syn match ncfSetCommandsTime "\(Daylight Savings Time Offset\)\s*="
209 syn match ncfSetCommandsTimeDate "\(End of Daylight Savings Time\)\s*="
210 syn match ncfSetCommandsTimeDate "\(Start of Daylight Savings Time\)\s*="
212 syn match ncfSetCommandsBindCon "\(Bindery Context\)\s*=" nextgroup=ncfContString
214 syn cluster ncfSetCommands contains=ncfSetCommandsNum,ncfSetCommandsBool,ncfSetCommandsStr,ncfSetCommandsTime,ncfSetCommandsTimeDate,ncfSetCommandsBindCon
217 if exists("ncf_highlight_unknowns")
218     syn match Error "[^ \t]*" contains=ALL
219 endif
221 " Define the default highlighting.
222 " For version 5.7 and earlier: only when not done already
223 " For version 5.8 and later: only when an item doesn't have highlighting yet
224 if version >= 508 || !exists("did_ncf_syntax_inits")
225   if version < 508
226     let did_ncf_syntax_inits = 1
227     command -nargs=+ HiLink hi link <args>
228   else
229     command -nargs=+ HiLink hi def link <args>
230   endif
232         HiLink ncfCommands      Statement
233         HiLink ncfSetCommands   ncfCommands
234         HiLink ncfLogins        ncfCommands
235         HiLink ncfString        String
236         HiLink ncfContString    ncfString
237         HiLink ncfComment       Comment
238         HiLink ncfImplicit      Type
239         HiLink ncfBoolean       Boolean
240         HiLink ncfScript        Identifier
241         HiLink ncfNumber        Number
242         HiLink ncfIPAddr        ncfNumber
243         HiLink ncfHexNumber     ncfNumber
244         HiLink ncfTime          ncfNumber
245         HiLink ncfDSTTime       ncfNumber
246         HiLink ncfPath          Constant
247         HiLink ncfServerName    Special
248         HiLink ncfIPXNet        ncfServerName
249         HiLink ncfTimeTypes     Constant
250         HiLink ncfSetCommandsNum        ncfSetCommands
251         HiLink ncfSetCommandsBool       ncfSetCommands
252         HiLink ncfSetCommandsStr        ncfSetCommands
253         HiLink ncfSetCommandsTime       ncfSetCommands
254         HiLink ncfSetCommandsTimeDate   ncfSetCommands
255         HiLink ncfSetCommandsBindCon    ncfSetCommands
257         delcommand HiLink
258 endif
260 let b:current_syntax = "ncf"
262 " vim: ts=8