#16
|
||||
|
||||
The ability to specify colors for keyword highlighting has been added to a pre-beta version of SecureCRT. If you would be interested in trying it, please send email to me at Maureen.Jett@vandyke.com.
Maureen |
#17
|
||||
|
||||
Support for regular expressions in keyword highlighting has been added to a pre-beta version of SecureCRT. If you would be interested in trying it, please send email to me at Maureen.Jett@vandyke.com.
Maureen |
#18
|
|||
|
|||
![]() Quote:
|
#19
|
|||
|
|||
14.04 works fine. I fat fingered my ct.cfg file which broke the highlighting.
On a new note. I've been playing around with BETA CRT; which has color Highlighting. I have combined this with ChromaTerm for some pretty cool effects!! See Below: http://i.imgur.com/PLED18d.png http://i.imgur.com/A7vvj6c.png http://i.imgur.com/OY5j8YM.png Also if you want to see my ct.cfg config for chromaterm: # run session bash #config regex on #event {SESSION DISCONNECTED} {#end} #highlight {Gigabit} {bold pink} #highlight {Ethernet} {bold cyan} #highlight {Vlan} {bold green} #highlight {Fast} {bold red} #highlight {0/0} {bold red} #highlight {0/1} {bold blue} #highlight {0/2} {bold yellow} #highlight {0/3} {bold orange} #highlight {0/4} {bold green} #highlight {0/5} {bold cyan} #highlight {0/6} {bold magenta} #highlight {0/7} {bold pink} #highlight {administratively} {bold orange} #highlight {unassigned} {black} #highlight {%d.%d.%d.%d} {bold yellow} #highlight { any } {bold white} #highlight {{permit(ted)*}} {bold green} #highlight {{(d|D)eny}} {bold red} #highlight {{ (E|e)rr..}} {bold white} #highlight {access-list(standard|extended)} {bold blue} #highlight {access-list %d} {bold blue} #highlight {class-map} {bold green} #highlight {policy-map} {bold cyan} #highlight {DMZ} {bold magenta} #highlight {match} {bold green} #highlight {ip} {bold white} #highlight {ip sla monitor %d} {bold blue} #highlight {mls.*} {green} #highlight {interface} {bold magenta} #highlight {switchport} {bold white} #highlight {trunk} {bold cyan} #highlight {router osfp 1} {bold white} #highlight {router bgp %d} {bold white} #highlight {network} {bold green} #highlight {mask} {bold green} #highlight {area} {bold green} #highlight {neighbor} {bold green} #highlight {route} {bold white} #highlight {prefix-list} {bold green} #highlight {glbp %d} {bold green} #highlight {standby %d} {bold green} #highlight {address} {bold green} #highlight {helper-address} {bold green} #highlight {wccp %d} {bold green} #highlight {mode} {bold green} #highlight {access vlan %d} {cyan} #highlight {access} {bold cyan} #highlight {channel-group %d} {bold green} #substitute {^Cisco %1 Version %2, %3} {Cisco %1 <134>Version %2<088>, %3} #substitute {%1pkts encaps: %d, %3} {%1pkts encaps: <150>%2<088>, %3} #substitute {%1pkts decaps: %d, %3} {%1pkts decaps: <120>%2<088>, %3} #substitute {%1 uptime is %2} {%1 <134>uptime is %2<088>} |
#20
|
|||
|
|||
As a note, SecureCRT version 7.3 with color syntax highlighting is currently in "pre-release". The beta release cycle is expected to begin on August 7. These will be available via our website. Once available (usually by noon Eastern time zone), this URL should work:
http://www.vandyke.com/download/beta.html
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#21
|
|||
|
|||
![]()
Yes, I can download the beta version.
And I can use some regular expression to highlight the key work. But seems we cannot highlight a sentence including a "blank". Like "Hello world!" 1) I just wonder whether it is possible to highlight a sentence with a blank. 2) How to use the regular expression? I cannot find a guide through the help document. Thanks. |
#22
|
|||
|
|||
Hi i9pk,
Quote:
I have created a feature request to add the ability to handle spaces. We will post to this thread if that is added in a future release. If you would like to be notified directly, please complete and submit the form at the following location: Submit Feature Request Quote:
http://www.cplusplus.com/reference/regex/ECMAScript/If not, do you have a specific question? Are you just looking for a couple of general examples? |
#23
|
|||
|
|||
Hi Support,
what is the current status of feature request to add the ability to handle spaces? Thank you |
#24
|
|||
|
|||
Hi dimi3,
Thanks for the post. Things haven't changed since we made the following post: https://forums.vandyke.com/showpost....7&postcount=67 |
#25
|
|||
|
|||
sorry for bumping this thread up, but "allowing space character in regex" would be like best christmas present ever in the world
![]() oh and one more thing. It would be great to have another kind of button in button bar which would "aggregate" same kind of buttons (menu button / multilevel button?). For example to create such menubutton, name it as Scripts and it would open some kind of submenu with items of type 'send string' items... or maybe it is already possible to do it somehow? I couldnt figure it out yet. |
#26
|
|||
|
|||
Hi marek_k,
Thanks for the post. Quote:
Quote:
In the meantime, did you know you can create multiple button bars? It is even possible to create a button that runs a script to change to another button bar, so you could have a "master" button bar and sub button bars with scripts to switch to the master or a sub button bar. Does this sound like it might help? If so, you can use the following script code: strButtonBar = crt.Arguments.GetArg(0)When you define the button to switch to a different button bar, you will need to provide an argument that is the name of the button bar to which you are switching. |
#27
|
|||
|
|||
![]() Quote:
![]() |
#28
|
|||
|
|||
Hi marek_k,
You are welcome. I am glad that the workaround helps. If you would like to be notified directly if either of the feature requests are implemented in a future SecureCRT release, please complete and submit the form at the following location: Submit Feature Request |
#29
|
|||
|
|||
Spaces in regex for highlighting keywords
Has there been any change or update as to when keyword highlighting will support spaces in regex?
I went to http://www.cplusplus.com/reference/regex/ECMAScript/ as mentioned previously as this is the regex that SecureCRT was using. That page indicates that \s is for white space but SecureCRT gives and error when you try to use \s. I also saw that you can use hex codes for ascii characters, but when I try to use '\x20rcvd=' in the keyword, it accepts it without error but nothing gets highlighted. If I try 'rcvd\x3D', then it will highlight all instances of 'rcvd=' in my screen output. Using spaces in regex would be very beneficial to my daily work. Thanks, |
#30
|
|||
|
|||
Hi sboyd,
There is no further update at this time. The most recent information that we have about the feature request is in the following post: https://forums.vandyke.com/showpost....7&postcount=67 |
![]() |
Tags |
cisco , color , highlighting , securecrt , word |
Thread Tools | |
Display Modes | |
|
|