You are not logged in.

#1 2012-03-08 03:40:42

v43
Member
Registered: 2011-02-03
Posts: 140

[solved] console doesn't refresh using nano

the problem presents when exiting nano after editing a file in the console (ttyX). the screen doesn't clear, and keeps displaying the last thing nano was showing.
also, if something outputs some text on the console while nano is open, the text is echoed over nano, replacing the characters.
i can't understand what's causing this.

Last edited by v43 (2012-03-08 23:40:05)

Offline

#2 2012-03-08 04:30:08

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] console doesn't refresh using nano

Sounds like you're forcing your TERM environment var to something that the console isn't able to support.

Offline

#3 2012-03-08 15:20:16

v43
Member
Registered: 2011-02-03
Posts: 140

Re: [solved] console doesn't refresh using nano

you're right.
There's this line in my .bash_profile:

export TERM=rxvt-unicode

I copied this file from an old installation.. and I can't really remember why I added this line!
Anyway, commenting it fixed the problem. Thanks

Offline

Board footer

Powered by FluxBB