TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: All
from: William McBrine
date: 1999-01-20 21:36:22
subject: Incest

From: "William McBrine"


-=> Cromwell Hooper wrote to All <=-

 CH> My specific short term goal is to spawn (?  maybe exec?) a 

Use system(), unless you have a real need for the others. The system()
function is a) easy to use, and b) ANSI.

 CH> text editor, pass on to it text data from the calling 
 CH> program, allow user to edit same, and return the edited 
 CH> text to the calling program.  I realise that this may prove 
 CH> different for each editor, but are there some general 
 CH> methods i can use?

The general method would be to write the text to a temporary file, and
call the editor with the filename as a parameter. That will work with
almost all editors, and in any environment; and it's simple to do.

 CH> Also, what would be the best format to pass such information?

Plain text.

... I'm leaving my body to science fiction.
+============================================================
= Mystic Infinity ... A dial-in Bulletin Board System
= Callaway, FL, USA
= (850)874-8649

Disclaimer: The content of this message is the property, and
responsibility, of William McBrine. The administrators of
Mystic Infinity are in no way responsible for the views or
content expressed within this message.
--- NewsGate v1.0 gamma 2
* Origin: Mystic Infinity (1:3608/3.1)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 634/397 635/506 728 639/252
SEEN-BY: 670/218
@PATH: 3608/3 4 3639/93 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.