LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-08-2004, 02:03 AM   #1
kris273
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Rep: Reputation: 0
real time recompiling


Ok, I have a telnet like system in which I need other coders to be able to log into it, make code and be able to compile code.

I have a core that will always be running but then I have a way to attach dynamic libraries to it.

The only way I see to add new stuff to it is more or less give them their own console so that they can call compile commands and navigate through the file system.

So is there a way to give each person their own console
a way to port lines from the console to them.

or lastly what I was thinking is set up commands that my system will call that will allow them to see what's in the file system but no direct access to the console, but this would require a way to port data from the konsole to their screen. Something like when you call "ls" it will call that in a konsole and send everything to their socket.

I know of the "system()" function, and a few others but I have no idea how to capture the commands out put to a string i can manipulate with my program

is there a way to do any of these? if many are possible, which do you think would be best?

thank you

Last edited by kris273; 08-08-2004 at 02:34 AM.
 
Old 08-08-2004, 04:50 AM   #2
max_sipos
Member
 
Registered: Jul 2004
Posts: 96

Rep: Reputation: 15
If I understand you well, secure shell + CVS (both are very standard, they're probably installed on your machine) is great for this, just make appropriate users.

--
Maksim Sipos
 
Old 08-08-2004, 02:59 PM   #3
kris273
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I need to be able to do it THROUGH my program. Using another program to do this will not help me on the project I'm working on.
 
Old 08-09-2004, 10:12 PM   #4
Hano
Member
 
Registered: Sep 2001
Location: Venezuela, Caracas
Distribution: RedHat 9.0
Posts: 196

Rep: Reputation: 30
kris, could you be a more explicit about exactly what you want to do? if i get a bare idea of what you say is a kind of hybrid of emacs+interactive CVS, but not sure.. maybe you have to rephrase yourself a bit
 
  


Reply



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
Real Time Equalizer st00 Linux - Software 1 03-20-2004 06:00 PM
real-time OS h/w Programming 11 01-24-2004 08:28 PM
Real-Time programming javpogon Programming 5 09-04-2003 08:25 AM
run real time echox Programming 3 04-03-2003 02:01 PM
Real Time Plot... DaFrEQ Linux - Software 0 08-27-2002 08:25 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:27 AM.

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