Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-27-2004, 03:50 AM   #1
sudha naidu
LQ Newbie
Registered: Dec 2004
Location: Bangalore
Posts: 4

Rep: Reputation: 0
invoke xterm through program

Old 12-27-2004, 04:12 AM   #2
Registered: Jul 2004
Location: Pakistan
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
Well that depends on what language you are using.
If you are using C/C++ you can use the system command simply.

system("xterm") will invoke xtem from your c prog.

check man system for more help.
i think you will find system command in unistd.h but not sure
Old 12-27-2004, 04:46 AM   #3
sudha naidu
LQ Newbie
Registered: Dec 2004
Location: Bangalore
Posts: 4

Original Poster
Rep: Reputation: 0
i am sorry for not posting the complete problem......
i need to create a gtk apllication to send data to a simputer....
i used to send data to simputer using minicom -o,change to the dir where files has to be copied and press ctrl+a+s.....
how do i do the same through programming.....
system("/usr/bin/minicom -o");
invokes minicom, but how do i execute further commands like changing dir and copinf files through program?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xterm - howto lauch an xterm into a specific directory jobano Linux - Software 8 02-26-2008 04:18 PM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 04:51 AM
ho to i invoke vi editor through pygtk program sailu_mvn Linux - Newbie 0 01-06-2005 07:29 AM
Problems opening xterm on linux from windows using xvision remote program starter c.santosh Linux - General 0 09-12-2004 01:46 PM
How to set title in xterm according to what program running ? tvn Linux - General 1 07-25-2004 08:58 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration