You are not logged in.

#1 2007-11-25 06:15:52

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

[solved] connect to a virtual terminal

I want to start a console-based app (vim, ncmpc, irssi, etc.) in a new terminal (urxvt), how can I do this?

Here are some examples of things I'd like to be able to do:

- launch ncmpc in a new terminal at a given time every morning as an alarm clock
- launch irssi in a terminal every time I start X

If I summon an urxvt, is there a way of knowing which tty it's connected to (programmaticaly), and then is there a way of sending commands to that tty?

Last edited by peets (2007-11-25 15:44:53)

Offline

#2 2007-11-25 08:20:27

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

Re: [solved] connect to a virtual terminal

Moved to here.

urxvt -e <command> - it's in the man page.

Offline

#3 2007-11-25 15:44:39

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: [solved] connect to a virtual terminal

Cool. Thank you!

Offline

Board footer

Powered by FluxBB