You are not logged in.

#1 2012-06-04 09:05:25

nos09
Member
Registered: 2011-09-09
Posts: 107

[SOLVED] Urxvt cant handle nano on ssh

well the problem is what the subject says .. Urxvt doesn't seem to handle nano on secure shell.

I use ssh to login in my virtual machine to practice on that machine. I use nano to edit files, but since it's not working I tried to do that using vi/vim but that leads to another weird problem .. i cant move the pointer to the previous line - ' I am only allowed to go downwards !!' .. anyway i tried the same thing with aterm - and it works just fine (with nano and vi both).

here is the output of that error when input nano in terminal : Error opening terminal: rxvt-unicode-256color.

anybody have idea what's causing the problem ?

p.s the nano and vi works fine in the same terminal locally.

Last edited by nos09 (2012-06-04 20:21:46)

Offline

#2 2012-06-04 09:11:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Urxvt cant handle nano on ssh

Install urxvt in the virtual machine.

Offline

#3 2012-06-04 16:10:01

xartii
Member
Registered: 2012-01-18
Posts: 19

Re: [SOLVED] Urxvt cant handle nano on ssh

You can also add "TERM=rxvt" in your .bashrc (without " " , located in your home directory) on a client machine. It should also solve the problem.

Offline

#4 2012-06-04 16:20:53

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: [SOLVED] Urxvt cant handle nano on ssh

xartii wrote:

You can also add "TERM=rxvt" in your .bashrc (without " " , located in your home directory) on a client machine. It should also solve the problem.

That's not really a solution, that terminfo has the wrong control codes. The correct solution is to either install urxvt in the virtual machine, or just the terminfo. The terminfo can be installed locally to your $HOME too, so it works for machines you don't have root access on.

Last edited by thestinger (2012-06-04 16:22:05)

Offline

#5 2012-06-04 16:42:39

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: [SOLVED] Urxvt cant handle nano on ssh

Offline

#6 2012-06-04 17:37:02

nos09
Member
Registered: 2011-09-09
Posts: 107

Re: [SOLVED] Urxvt cant handle nano on ssh

thanks to you both !

Offline

#7 2012-06-04 19:44:55

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: [SOLVED] Urxvt cant handle nano on ssh

nos09 wrote:

thanks to you both !


If you resolved your issue please mark the thread as 'Solved'.

Offline

#8 2012-06-04 20:21:23

nos09
Member
Registered: 2011-09-09
Posts: 107

Re: [SOLVED] Urxvt cant handle nano on ssh

doug piston wrote:
nos09 wrote:

thanks to you both !


If you resolved your issue please mark the thread as 'Solved'.

nope it didn't solved the problem .. but I changed my SSH terminal to tilda - which is transparent so I can keep it upon the pdf file that i refer and use it as virtual machine and it also handles nano and vi perfectly. not exactly as I planned but hey it works for me ! lol anyway i ll mark this thread as solved anyway !

Offline

Board footer

Powered by FluxBB