Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Closed Thread
 
Thread Tools Display Modes
  #46  
Old 04-04-2018, 09:58 AM
kvachamp kvachamp is offline
Registered User
 
Join Date: Apr 2018
Posts: 2
Not working

Is this not supported for 7.1.3? I have the option to add keywords, but when I select the Cisco Keywords from the drop down and click edit, there is nothing in there. I can open the file in notepad and see all of the expressions, but they are not showing up in securecrt.
  #47  
Old 04-04-2018, 10:06 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,293
Hi kvachamp,

The ability to edit and color keywords (and regular expression support) was added in v7.3.

Changes in SecureCRT 7.3 (Beta 1) -- August 7, 2014 (7.3.0.597)
---------------------------------------------------
New features:


  • Windows: Added support for regular expressions in keyword highlighting.
  • Added the ability to specify colors for keyword highlighting.
  • In keyword highlighting, the styles (reverse video, bold, and color) can be combined.
  • Added the ability to edit keywords used for keyword highlighting.
Version 7.1.3 is at least 5 years old, you might want to check upgrade eligibility here. Or consider purchasing an upgrade if not eligible for a newer version (with your current license).
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by bgagnon; 04-04-2018 at 10:08 AM. Reason: clarification
  #48  
Old 04-04-2018, 10:26 AM
kvachamp kvachamp is offline
Registered User
 
Join Date: Apr 2018
Posts: 2
Okay, thanks for the information. Unfortunately, our version is not eligible, and is purchased by my company, and they have not approved funding for upgrades. I'll have to deal with not having my highlighting for now :/
  #49  
Old 04-24-2018, 06:01 AM
mysubscription mysubscription is offline
Registered User
 
Join Date: Apr 2018
Posts: 1
for people who cannot download this file:

Code:
S:"Keyword List"=
D:"Match Case"=00000000
Z:"Keyword List V2"=00000047
 "[*]For_Best_Results:_Set_Forground_Font_To_Gray_(Not_Black!)",00FFFFFF,00000001
 "[*]Gray_Keywords_Are_To_Work_Around_Symbol_Delimited_Words",00FFFFFF,00000001
 "[*]Special_Cases_That_Had_To_Be_ReOrderd",000000FF,00000001
 ".*'.*",00FFFFFF,00000001
 "on-fail.*",000000FF,00000001
 "[*]In_Enable_Mode",00FFFF00,00000001
 "^\w[^>]*#|hostname",00FFFF00,00000001
 "[*]NOT_In_Enable_mode",00D4FF7F,00000001
 "^\w[^#]*>",00D4FF7F,00000001
 "[*]Interfaces",00FFFF00,00000001
 "Embedded-Service-Engine\d\/\d",00FFFF00,00000001
 ".*thernet[0-9]+(?:[\/\.:][0-9]+)+[,:]?(?:\x20|$)",00FFFF00,00000001
 ".*thernet[0-9]+[,:]?(?:\x20|$)",00FFFF00,00000001
 "\b[efgt][a-z]*[0-9]+(?:[\/.:][0-9]+)+[,:*]?(?:\x20|$)",00FFFF00,00000001
 "[fgm][aeu][0-9]+[,:*]?(?:\x20|$)",00FFFF00,00000001
 "(?:nvi|port-channel|Serial|Po|vfc)[0-9|\/|:|,]+[,:]?(?:\x20|$)",00FFFF00,00000001
 "(?:multi|lo[^c]|tun|mgmt|null)[a-z]*[0-9]+,?",00FFFF00,00000001
 "con[0-9]?|vty|line|aux|console",00FFFF00,00000001
 "[*]Fiber_WWN",00507FFF,00000001
 "wwn|pwwn|(?:[a-f0-9]{2}:){7}[a-f0-9]{2}",00507FFF,00000001
 "[*]IP,_IP:Port,_and_Subnet_Mask",0000D7FF,00000001
 "i?(?:[0-9]{1,3}\.){3}[0-9]{1,3}(?:\/[0-9]{1,2}|:[0-9]{1,5})?(?:,(?:[0-9]{1,5})?)?",007FFF00,00000001
 "(?:)(?:0|255)\.(?:[0-9]{1,3}\.){2}[0-9]{1,3}",002FFFAD,00000001
 "[*]MAC_Address",0000D7FF,00000001
 "(?:[a-f0-9]{2}[:-]){5}[a-f0-9]{2}",0000D7FF,00000001
 "[a-f0-9]{4}\.[a-f0-9]{4}\.[a-f0-9]{4}",0000D7FF,00000001
 "[*]IOS_Version",00008CFF,00000001
 "\d*\d*\.\d*\((?:\d|[a-z])*\)[^,]*|\d\d?\.\d\d?\.\d\d?\.\D\D?",00008CFF,00000001
 "[*]Serial_Numbers",00008CFF,00000001
 "(?:[a-z]{2}.\d{4}.{4})",00008CFF,00000001
 "[*]Good_Words_To_See",0032CD32,00000001
 "(?:yes|permit|\[OK\]|on|enabled).?",0032CD32,00000001
 "down->up|running|.*SUCCESS.*|.*success.*|up.?(?:\x20|$)|passed.*|Complete",0032CD32,00000001
 "[*]Bad_Words_To_See",000000FF,00000001
 ".*_ERR:|.*fail.*|invalid|.*reload.*",000000FF,00000001
 "no|administratively|shut.*|never,?|deny|.*down.?",000000FF,00000001
 "not|initializing.?|Off|1024|768|des|des56.*",000000FF,00000001
 "telnet|half-duplex.?|\(err-disabled\)|disabled",000000FF,00000001
 "up->down|trunk|Active|inhibit",000000FF,00000001
 "[*]Misc_Words",0000A5FF,00000001
 "(?:class|policy|service|parameter|match)(?:-map.?|-policy.?)?",0000A5FF,00000001
 "(?:version|PN|SN|S\/N|ID|PID|VID|NAME|DESCR):?",0000A5FF,00000001
 "Device|ID|Local|Intrfce|Holdtme|Capability|Platform|Port|ID",0000A5FF,00000001
 "H|Address|Interface|Hold|Uptime|SRTT|RTO|Q|Seq",0000A5FF,00000001
 "Neighbor|V|AS|MsgRcvd|MsgSent|TblVer|InQ|OutQ|Up/Down|State/Pf.*",0000A5FF,00000001
 "interface|IP-Address|Method|OK\?|Status|Protocol",0000A5FF,00000001
 "aaa|vlan\d*|description.?|MTU|BW|DLY|Vl[0-9]+",0000A5FF,00000001
 "bits\/sec,|packets\/sec",007FFF00,00000001
 "[*]Important_Words_To_See",000000FF,00000001
 "Building|configuration\.\.\.",000000FF,00000001
 "erase|remove|delete.",000000FF,00000001
 "\[confirm\]|\(yes/no\):.*|\[yes\/no\]:.*|.*-more-.*",000000FF,00000001
 ".*-more-.*",000000FF,00000001
 "username.*|password.*|key|.*-key",00507FFF,00000001
 "[*]Access_Lists",00008CFF,00000001
 "\(hitcnt=0\)",00FFFFFF,00000001
 "\(hitcnt=[1-9][0-9]*\)",00507FFF,00000001
 "access-(?:lists?|class|group)|use-acl|prefix-list",00008CFF,00000001
 "time-range|object-group|route-map",00008CFF,00000001
 "[*]Progress_Bars_And_Remarked_Lines",0000D7FF,00000001
 "remark|\*+|!+|###+|@+$",007FFF00,00000001
 "\[#+(?:\x20|$)|^\](?:\x20|$)",0000FFFF,00000001
 "\[#+\]",0000FC7C,00000001
 "[*]Services",00B469FF,00000001
 "ftp|tcp|udp|tftp|scp|ssh|ntp|snmp.*|inspect|icmp",00B469FF,00000001
 "router|eigrp|bgp|ospf|rip|gre|hsrp",00B469FF,00000001
 "Syslog_Messages",00008CFF,00000001
 "%.+-[0-9]-.+:|\b.*\.(?:bin|tar)",00507FFF,00000001
 "[*]Set_Default_Font_Color",00FFFFFF,00000001
 "[*]Helps_Work_Around_Symbols_As_Word_Delimiters",00FFFFFF,00000001
 ".*|setasregextosetdefaultcolor",00FFFFFF,00000000

Last edited by jdev; 04-24-2018 at 10:01 AM. Reason: Wrap ini file text in [code] blocks so that it doesn't get munged by smilies and lose necessary indentation
  #50  
Old 04-24-2018, 10:00 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 990
Hello all,In review, here's how to use the example Casey provided:
  1. Make sure you're running SecureCRT version 7.3 or newer. Support for regular expressions in keyword does not exist in versions prior to 7.3.
  2. Find out where your SecureCRT configuration folder is (Options > Global Options, General > Configuration Paths).
  3. Locate the Keywords folder that is found in SecureCRT's configuration folder. If the Keywords folder does not yet exist in your configuration folder, go ahead and create it there: Keywords
  4. Download the Cisco Words.ini file and save/copy it into the Keywords folder.
  5. Edit your Session Options > Appearance > Highlight keywords such that the Name dropdown is set to Cisco Words, and the Color option is enabled in the Style section.
  6. Optional: Edit the Default session to make this change to all of your ad hoc, existing, and future sessions.

Here are the example screen shots Casey provided:







This forum thread is closed for further posting, but feel free to submit a new thread that references this one (https://forums.vandyke.com/showthread.php?t=11631), if you want to engage in further conversation on the matter.

--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support

Last edited by jdev; 04-24-2018 at 10:10 AM.
  #51  
Old 02-27-2019, 08:27 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,293
Hi all,

Good news! Regular expression support in SecureCRT/Linux has been added to a pre-release build of SecureCRT.

If you would like to try the new build:

  • Please send an email to support@vandyke.com.

  • Please reference "RegEx Linux Feature Request" (or similar) in the subject line.

  • If not writing us from the email address associated with your VanDyke Software download account, then please include that email address in the body of your email. A download account is how we make pre-releases available to individuals.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
  #52  
Old 03-18-2020, 02:41 PM
Maureen's Avatar
Maureen Maureen is offline
VanDyke Product Director
 
Join Date: Feb 2004
Location: Albuquerque, NM
Posts: 1,584
Quote:
Originally Posted by pavel.skovajsa View Post
The only small request I have with this feature is that I wish the regex parsing would be little faster. There is really a speed difference when doing "show log" and scrolling with and without the feature turned on. After all regex parsing is O(n) using the old NFA -> DFA algorithm, so arguing it is computationally intensive won't help you
Keyword highlighting performance has been improved in SecureCRT 8.7.1, which was released yesterday. The performance is significantly better on Windows. You can download it here:

https://www.vandyke.com/cgi-bin/rele...duct=securecrt

Maureen
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:12 PM.