-
Hello, I am currently trying to use nano with However, using Is there any solution to this? Note that I am not using sudo in mac, but in Ubuntu. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
that is due to how sudo works not sure if sudo shell integration works over ssh though |
Beta Was this translation helpful? Give feedback.
Ah, so yes, coping the
~/.terminfo
folder to/root/.terminfo
seems to have done the trick. Probably not the right way to do that? I'm open to the right way ;)I'm on AlmaLinux and running the
tic -D
showed:I wasn't sure how to run the original command to get the terminfo under root, but doing the copy seems to have worked. Now I get:
And
sudo nano <file>
works as expected!