You are not logged in.

#1 2013-07-12 11:12:07

psycho_tea_drinker
Member
From: West Sussex, United Kingdom
Registered: 2013-07-02
Posts: 41

Terminal content remains on screen without being 'refreshed'

I'm using Awesome wm and I get this weird terminal/vim behaviour.

Basically it seems to not 'refresh' some lines of the terminal after a command - hence they 'remain' there and I literally have to 'overwrite' the content to remove it.
Here is a screenshot - look at the last line in the terminal window.
http://imgur.com/rywIJEf

Any idea what is causing this?

Offline

#2 2013-07-12 14:03:12

leflore
Member
From: Columbus, OH
Registered: 2013-07-09
Posts: 11

Re: Terminal content remains on screen without being 'refreshed'

What shell are you using?


"Whoever has ears, let him hear"

Offline

#3 2013-07-12 15:05:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,550
Website

Re: Terminal content remains on screen without being 'refreshed'

Does this only happen in vim?  What is your TERM set to?  For a short-term 'bandaid' Ctrl-L should refresh it.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2013-07-12 17:24:09

psycho_tea_drinker
Member
From: West Sussex, United Kingdom
Registered: 2013-07-02
Posts: 41

Re: Terminal content remains on screen without being 'refreshed'

I'm using Xterm. I've only noticed it with vim though I haven't really tested other console application.

Offline

#5 2013-07-12 17:25:08

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Terminal content remains on screen without being 'refreshed'

Does it do it with all terminals or just xterm?

Offline

#6 2013-07-12 22:26:57

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Terminal content remains on screen without being 'refreshed'

If you are using bash as the shell, you can try adding this line to your '~.bashrc':

shopt -s checkwinsize

From 'info bash':

'checkwinsize'
          If set, Bash checks the window size after each command and, if
          necessary, updates the values of 'LINES' and 'COLUMNS'.

Edit: I don't use zsh, but googling suggests it will work there, too.

Last edited by thisoldman (2013-07-12 22:34:36)

Offline

Board footer

Powered by FluxBB