You are not logged in.

#1 2014-10-09 15:02:38

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

[SOLVED]Virtual terminal buffer

Hi,
I would like to create some kind of "virtual terminal" buffer so I can run ncurses programs and send user input to them through a script, something like:

<some command to start the virtual terminal> -e curses_app &
<some command to send the input>  -key "F10"

I thought of starting an xvfb+tiling wm+xterm/rxvt and then xdotooling my way through, but it seemed overkill.

So is there any program that can do that

Last edited by aditya3098 (2014-10-21 15:58:54)

Offline

#2 2014-10-11 10:34:56

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [SOLVED]Virtual terminal buffer

Did you have a look at `expect`?

Offline

#3 2014-10-21 15:58:30

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: [SOLVED]Virtual terminal buffer

Perfect. Thanks

Offline

Board footer

Powered by FluxBB