Hello good people of FreeBSD
With all major problems fixed on my systems, in no large part with the help of this forum, I now turn to you with a most annoying matter. A problem of key bindings. I'm using the text editor editors/nano for simple stuff, and GNUs sysutils/screen on the servers.
I like to use the Home and End keys in nano, and when opening nano from the console of a system, from x11/qterminal with xorg or through SSH, all is good, meaning that pressing the End key in nano takes the cursor to the end-of-line. shells/bash is used as the shell, and all the systems is current 12.0 and fully upgraded, both base and ports.
But when opening nano through screen, from the very same systems, the End key does not work. The error in nano is displayed in Danish, but I suppose the English version would be "Unbound key". nano has a shortcut to move the cursor to the end-of-line, CTRL+e / ^-e, but to be honest I find using the End key is much easier, in no large part because I use it in other editing programs. This is one aspect of the onset of old age I can't run from; things should work as they used to.
The systems do have a nano RC file, but it does not sets any custom key bindings. screen does not have a RC file. Different resources on the Internet lists different solutions, but so far without the desired effect.
And besides, it's one of those things that has my curiosity piqued, so I would really like to know why it isn't working, or more precisely, what the difference for nano is, depending on how it is started.
With all major problems fixed on my systems, in no large part with the help of this forum, I now turn to you with a most annoying matter. A problem of key bindings. I'm using the text editor editors/nano for simple stuff, and GNUs sysutils/screen on the servers.
I like to use the Home and End keys in nano, and when opening nano from the console of a system, from x11/qterminal with xorg or through SSH, all is good, meaning that pressing the End key in nano takes the cursor to the end-of-line. shells/bash is used as the shell, and all the systems is current 12.0 and fully upgraded, both base and ports.
But when opening nano through screen, from the very same systems, the End key does not work. The error in nano is displayed in Danish, but I suppose the English version would be "Unbound key". nano has a shortcut to move the cursor to the end-of-line, CTRL+e / ^-e, but to be honest I find using the End key is much easier, in no large part because I use it in other editing programs. This is one aspect of the onset of old age I can't run from; things should work as they used to.
The systems do have a nano RC file, but it does not sets any custom key bindings. screen does not have a RC file. Different resources on the Internet lists different solutions, but so far without the desired effect.
And besides, it's one of those things that has my curiosity piqued, so I would really like to know why it isn't working, or more precisely, what the difference for nano is, depending on how it is started.