I have an openvpn configuration directory containing a few config files. 100.1.2.1.ovpn
100.1.2.2.ovpn
100.1.2.3.ovpn
When I doubleclick on that 100.1.2.3.ovpn text file, I get connected to the specified VPN server (here exemplified by 100.1.2.3) which works real nice.
Doubleclicking runs the openvpn client due to Windows file associations.
The resulting command window description says something like this
(look at the F4 entry).
[C:\openvpn\config\100.1.2.3.ovpn OpenVPN 2.5.8 F4:EXIT F1:USR1 F3:HUP]
All that works real nice.
But if I exit that VPN session any other way than to hit the F4 keyboard
key, it sometimes (but not always) hangs up and gets stuck in a sad state.
What's the magic of the F4 Windows keyboard key?
The reason I care is it's hard to find that F4 key sometimes and I'd rather find an alternative way of killing the openvpn session without having to
hunt and peck for the specific F4 key (which is harder to hit on laptops).
Thus, we can conclude from this, that the program developer
sees that Windows does that with alt-F4, so the developer
decides that a "naked F4" will be the exit key.
That is the only significance. Imitation.
Otherwise, I guess I just have to get over it but at night on an unlit keyboard (and especially laptops which require fn first) it's harder.
On Wed, 22 Mar 2023 23:18:46 -0400, Paul wrote:There are usb clip on lights that you can get for a laptop. https://www.amazon.com/i2-Gear-Dimmable-Flexible-Gooseneck/dp/B0BSG8ZTGS
Thus, we can conclude from this, that the program developer
sees that Windows does that with alt-F4, so the developer
decides that a "naked F4" will be the exit key.
That is the only significance. Imitation.
Do you think I can map the F4 key (which I don't use for anything else) to
a key that I can more easily use (especially on the smaller laptops and especially at night because my small laptop has no lights in the keys)?
I've tried other keys, like F3 and control+c which work to some extent but which often hang up. I saw people asked the same question on the openvpn forum and the developers were snotty (imho) telling them what's the problem with using the F4 key. Get over it.
Otherwise, I guess I just have to get over it but at night on an unlit keyboard (and especially laptops which require fn first) it's harder.
Do you think I can map the F4 key (which I don't use for anything else) to
a key that I can more easily use (especially on the smaller laptops and especially at night because my small laptop has no lights in the keys)?
What's the magic of the F4 Windows keyboard key?
Sysop: | Tetrazocine |
---|---|
Location: | Melbourne, VIC, Australia |
Users: | 7 |
Nodes: | 8 (0 / 8) |
Uptime: | 135:12:16 |
Calls: | 46 |
Files: | 21,492 |
Messages: | 65,130 |