Nettle SSH nono from nano
John Rickman (71) 646 posts |
When using Nettle/vt220 v0.2043b on RISC OS 5.29 to SSH into Raspberry Pi OS there is a problem with the Nano editor. Nano works ok if used directly via a command window from VNC. Has anybody else experienced this behaviour? |
Stuart Swales (8827) 1357 posts |
That’s weird, isn’t it? Any Return in I can |
Jeffrey Lee (213) 6048 posts |
I also ran into that problem when I recently switched over to using SSH instead of VNC for interacting with a RPi OS machine. The “solution” I went with was to use packman to install the openssh package, then configure Nettle to run SSH as an ANSI task (and make sure RISC OS has the TERM environment variable set to a sensible value). That makes enter/return in nano work, but then I’m stuck with a different problem, which is that using the arrow keys in the Linux shell just print the terminal escape codes instead of working properly. Meanwhile, arrow keys in nano work fine. (Also Delete performs the same operation as Backspace, but that’s less annoying) Linux, the TERM environment variable on RISC OS, and Nettle are all configured to the same thing (xterm-color). Maybe if I play around I’ll be able to find a different terminal setting which works properly, but for the moment I’m just living with it. |
Theo Markettos (89) 919 posts |
I found the solution to a nano display problem the other day – it messes up scrolling inside tmux. The solution is to set the TERM variable to ‘screen’, ie ‘export TERM=screen’ before you start nano. This is not the same problem, but perhaps you could try tweaking TERM and seeing if it makes a difference? |
John Rickman (71) 646 posts |
Thanks for the suggestions. I tried tweaking TERM but it had no effect. |