To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

Using Hyperlinks for keywords highlighting

Dmitry - Wed 27/04/2016 09:37:20 CEST +0200

Hello.
I use KiTTY for access to some routers.
Is it possible use custom regexp for highlighting/underlining custom keywords/IP?
I tried some regexps, but it doesnt work for me.
Thank you!

Dmitry - Wed 27/04/2016 09:53:03 CEST +0200

update:
when i use regexp like (.*>)? or [0-9]+? KiTTY crashes.
it seems like ? quantifuer make something wrong?

Dmitry - Wed 27/04/2016 13:37:32 CEST +0200

update:

but [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*(\/[0-9]*)? works fine.

is it possible make different colors for different regexps? )

Andrej Korshikov - Sat 30/04/2016 21:24:16 CEST +0200

There is old feature request (without any answer) about highlighting keywords:
http://www.9bis.net/kitty/?action=forum&id=0526

By the way, can I highlight "hyperlinks" without underlining them?
I mean, now I choose option "Window - Hyperlinks - Underline hyperlinks - Always", than "Window - Colours - Underlined text is a different colour", and than adjust "Default Underlined Foreground / Background".
So I change the color, but colorized keywords stay underlined. Is there some way to remove underlining?

And yes, KiTTY crashes quite often when I turn on hyperlink highlighting and use SSH connection. (Maybe there is something wrong with Cisco SSH?..) So I prefer to use option "hyperlink=no" in kitty.ini, and copy-paste to Notepad++ for complicated highlighting.




Answer


The forum is actually closed