PDA

View Full Version : Kali changing " != " to equal-sign-with-slash



gregkedro
2022-11-21, 01:08
This appears to be a Kali-specific behavior, and I'd like to ask where I can turn the behavior off.

I am editing a Python script and when I type " != " (not equal to), those two characters are "auto-changed" to an equal sign with a diagonal slash through it.

Where do I go to change that behavior?

I changed terminals (qterminal and konsole); same result.

I changed shells (zsh and bash); same result.

I turned off all autocorrection that I can find. Still does it.

I even pulled up my script in mousepad... it does the same thing.

Does anyone know where this behavior is coming from? It's driving me nuts...

Thanks.

g

5137

Fred Sheehan
2022-11-22, 00:33
That is the ligature for 'not equal to' and it happens because the terminal is using a programmers font that comes with full ligature support. From a compilation and programming point of view, the code is identical whether it uses the font ligature or != (the ligature only changes the visible appearence in terminal and code editors, it does not change the underlying characters it is comprised of).

Anyway, to turn ligatures off usually is a setting in the fonts menus

freddie123
2022-11-22, 14:44
This appears to be a Kali-specific behavior, and I'd like to ask where I can turn the behavior off.

I am editing a Python script and when I type " != " (not equal to), those two characters are "auto-changed" to an equal sign with a diagonal slash through it.

Where do I go to change that behavior?

I changed terminals (qterminal and konsole); same result.

I changed shells (zsh and bash); same result.

I turned off all autocorrection that I can find. Still does it.

I even pulled up my script in mousepad... it does the same thing.

Does anyone know where this behavior is coming from? It's driving me nuts...

Thanks.

g

5137

Kali Linux is a Debian-based Linux distribution aimed at advanced users and security professionals. It includes a large number of security and penetration testing tools. One of the most popular tools in Kali is the Aircrack-ng suite. Aircrack-ng allows you to crack Wi-Fi passwords and keys. By default, Aircrack-ng replaces the "!" character with a "/" character when performing password tests. This can cause problems when trying to crack passwords that use the "!" character. In this article, we will show you how to change the "! (https://www.connexusconsultants.co.uk/)" character to an equal sign in Kali Linux account (http://www.connexusconsultants.co.uk/about-us).

gregkedro
2022-11-23, 02:06
Thank you. I've never heard of ligatures before. Always something new to learn.

Fixed.

I appreciate it!

gk