Andrzej Kaczmarczyk wrote:
Hi,

I have program that I need to run on the text dosemu console instead of the xterm. I'd like to setup the script to automaticaly switch to the text terminal, run the program, and return to KDE after closing.

I've found out already the way to change terminals with chvt
I can run the program easily
the missing piece is the automatic login, so the user once logged to KDE wouldn't have to authorise every program run.

it is doable, neh?

CUIN Kaczy
You may want to look at the open command. (man open) The only drawback is that you need read/write access to the VT, and the default ownership is root:tty, so you ether need to change the ownership of the tty you want to use, or make your user a member of the tty group.

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to