mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Ticket #1469: strace.syntax
strace.syntax: add file to support strace syntax Syntax, Makefile.am: enable strace.syntax Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
This commit is contained in:
parent
d57c955cea
commit
e03b8504f5
@ -49,6 +49,7 @@ SYNTAXFILES = \
|
||||
smalltalk.syntax \
|
||||
slang.syntax \
|
||||
spec.syntax \
|
||||
strace.syntax \
|
||||
sql.syntax \
|
||||
swig.syntax \
|
||||
syntax.syntax \
|
||||
|
@ -202,5 +202,8 @@ include erlang.syntax
|
||||
file .\*named.conf$ Bind9\sconfiguration
|
||||
include named.syntax
|
||||
|
||||
file .\*\\.strace$ Strace\sdebug\soutput
|
||||
include strace.syntax
|
||||
|
||||
file .\* unknown
|
||||
include unknown.syntax
|
||||
|
43
syntax/strace.syntax
Normal file
43
syntax/strace.syntax
Normal file
@ -0,0 +1,43 @@
|
||||
context default
|
||||
keyword access(*) green
|
||||
keyword execve(*) brightgreen
|
||||
keyword uname(*) brightblue
|
||||
|
||||
keyword open(*) cyan
|
||||
keyword close(*) cyan
|
||||
|
||||
keyword read(*) magenta
|
||||
keyword select(*) magenta
|
||||
keyword write(*) magenta
|
||||
|
||||
keyword readv(*) brightmagenta
|
||||
keyword writev(*) brightmagenta
|
||||
|
||||
keyword fcntl64(*) white
|
||||
keyword fstat64(*) white
|
||||
keyword stat64(*) white
|
||||
|
||||
keyword old_mmap(*) red
|
||||
keyword mmap2(*) red
|
||||
keyword munmap(*) red
|
||||
|
||||
keyword exit_group(*) brightred
|
||||
keyword kill(*) brightred
|
||||
keyword wait4(*) brightred
|
||||
keyword statfs(*) brightred
|
||||
keyword ioctl(*) brightred
|
||||
keyword rt_sigaction(*) brightred
|
||||
keyword rt_sigprocmask(*) brightred
|
||||
keyword alarm(*) brightred
|
||||
keyword brk(*) brightred
|
||||
|
||||
keyword chown32(*) yellow
|
||||
keyword chmod(*) yellow
|
||||
keyword geteuid32(*) yellow
|
||||
keyword getegid32(*) yellow
|
||||
keyword getuid32(*) yellow
|
||||
keyword getgid32(*) yellow
|
||||
keyword setresuid32(*) yellow
|
||||
keyword setresgid32(*) yellow
|
||||
keyword gettimeofday(*) yellow
|
||||
|
Loading…
Reference in New Issue
Block a user