Hello All.
How to get started:
Install source-highlight (on Ubuntu/Debian, apt-get install source-highlight)
Copy xen-highlight.tar[1] to your home directory, untar. This will create $HOME/bin/src-hilite-lesspipe.sh and some definition files in $HOME/.source-highlight/*
Then set the following environment variables:
export LESSOPEN="| $HOME/bin/src-hilite-lesspipe.sh %s" export LESS=" -R "
When you less an SMlog or xensource.log file, the syntax highlighting should be effective.
It tries to point out obvious problems, like exceptions, and commands that failed.
If you have any suggestions on how to improve this, they are welcome.
David.
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|