You are not logged in.

#1 2017-09-15 15:02:05

geo909
Member
Registered: 2008-09-07
Posts: 309

Problem when running a terminal with an ncurses application

Hi all,

I'm using vimpc an ncurses mpd client for my music. I would like to have a shortcut that opens a terminal with vimpc executed in it. I'm using lxterminal or xfce4-terminal, so I can use something like:

lxterminal -e vimpc

or

xfce4-terminal -x vimpc

In any of these two cases however, vimpc appears messed up. In particular the interface is only partly drawn. For example, in the following screenshot on the left is what I have if I open a terminal and then execute "vimpc" (which then shows okay) and on the right is what I get if I run "lxterminal -e vimpc" from another terminal (you can see things are missing).

I am pretty positive that I had a similar problem with nvim, but I could not reproduce it now.

2017_09_15_17_58_44_screenshot.png

Note that if I execute "xterm -e vimpc" then I do not have this problem, so it seems to be specific to at least those terminals.

Any ideas?

Thanks a lot in advance.

Offline

#2 2018-06-06 14:02:32

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

Re: Problem when running a terminal with an ncurses application

Hi, your problem has probably something to do with vte which is the library both lxterminal and xfce4-terminal are based on.
Can you confirm you're seeing the same problem with gnome-terminal?

Offline

Board footer

Powered by FluxBB