[Malvern] Tuesday.

Chris Eilbeck chris at yordas.demon.co.uk
Wed May 5 21:15:16 BST 2004


> 
> I enjoyed the session at Phil's on Yuesday.
> Looking forward to the next two Wednesday  sessions.

Me too.

> In  both  the Pascal and  C  languages you can call in-line code, and
> also all the DOS interrupts (if you are using DOS).
> 
> When using Pascal or C  on  Linux,  can you  make calls  to external
> scripts, or to (for example) bash commands ?

Yes, using the system function call.  This is a fairly inefficient way to
go about things though.

> If you are running two simultaneous "terminals",  can they call
> each-other ?

You can have two processes which are attached to two virtual terminals
communicate in a large variety of ways, shared memory, fifos/pipes,
network sockets etc.  I'd definitely recommend Beginning Linux
Programming by Wrox Press.  I have a feeling you may have to abandon
pascal at some point though.  It's fine for standalone stuff but you
won't find many things you can crib directly for doing client/server
stuff unless you're using C or Perl, one of the more mainstream systems
programming languages.

Chris
-- 
Chris Eilbeck                         mailto:chris at yordas.demon.co.uk
MARS Flight Crew                              http://www.mars.org.uk/
UKRA #1108 Level 2                                                UYB
TRA #9527                                                        PSMR



More information about the Malvern mailing list