🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #121

Re: microEmacs v. 3.10

#121
From: Abdenacer Moussaoui
Date: Fri, 27 Oct 1989 17:51
26 lines
1090 bytes
>>I am posting microEmacs 3.10 to this newsgroup because
>> .....
>>the program.  It runs in both full-screen mode and in a text window 
>> under PM.  The mouse also works in either mode.  Enjoy.

How to get a program to run under PM text windows?
If I compile and run the following program from a PM windows
the output goes to a full-screen and flash back to the text window?!

I hope there is a simple answer to this one.

#define INCL_SUB
#define INCL_DOS
#include <stdio.h>
#include <string.h>
#include <os2.h>

void main( void ) 
{
	VioWrtTTY( "hello", 4, 0 ) ;
	DosExit( EXIT_PROCESS, 0 ) ;
}

Thank you.
--Abdenacer 	(nacer@hpmcaa.mcm.hp.COM)
Technical Details
Message-ID: <10670001@hpmcaa.mcm.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!voder!pyramid!hplabs!hp-pcd!hpmcaa!nacer
References: <32190@ucbvax.BERKELEY.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!voder!pyramid!hplabs!hp-pcd!hpmcaa!nacer
From: nacer@hpmcaa.mcm.hp.com (Abdenacer Moussaoui)
Newsgroups: comp.os.os2
Subject: Re: microEmacs v. 3.10
Message-ID: <10670001@hpmcaa.mcm.hp.com>
Date: 27 Oct 89 17:51:27 GMT
References: <32190@ucbvax.BERKELEY.EDU>
Organization: HP McMinville Division
Lines: 26