HDTenEightyP/NetNews huggingface dataset:
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: QuickBASIC performance
Followup-To: comp.os.os2.apps
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Tue, 15 Sep 1992 00:18:28 GMT

In article <716364074snx@noyles.pha.pa.us> juan@noyles.pha.pa.us (Juan J. E. T. Noyles) writes:
>I need a way to stimulate better performance from QuickBASIC.
>When I run uudecode, it takes a looong time to process a file.
>Any ideas?

Why not switch to the compiled version of uudecode, available via
anonymous ftp from ftp-os2.nmsu.edu?

-- 
Timothy F. Sipples      | The OS/2 FREQ. ASKED QUESTIONS LIST is avail. from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/faq.
Dept. of Econ., Univ.   | Or from LISTSERV@BLEKUL11.BITNET (send "HELP").
of Chicago, 60637       | Family Values Means a Job
Newsgroups: comp.os.os2.programmer
From: msmith@netcom.com (Martin P. Smith)
Subject: Icons in the title bar (a la EPM in ring enabled mode)
Date: Mon, 07 Sep 92 20:16:37 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: comp.os.os2.programmer

The subject pretty much says it for me. How can I create icons in the title
bar. I would really like to build this capability into a product I am
developing. I have looked through the programmers guide volume two but
cannot seem to find the relevant info.       

Thanks in advance 

MArtin P. Smith
msmith@netcom.com
From: kslater@sps.pgh.pa.us (Kevin J. Slater)
Newsgroups: comp.os.os2.programmer
Subject: 1.3 and file handle limit?
Date: 10 Sep 92 04:01:35 GMT
Organization: SPS ACAD BBS, (412) 487-3637

Is there a limit to the number of available file handles under OS/2 1.3? 
I have a developer I'm working with who is getting an error message that 
points to no more available file handles from an app he is developing 
under v1.3. Any comments?

...Kevin

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Kevin J. Slater (kslater@sps.pgh.pa.us)       | Believe in the Lord Jesus
Slater Programming Services  | CI$ 73077,2427 | and you will be saved - you &
Glenshaw, PA 15116-0027      | bix kslater    | your household. - Acts 16:31
- - - - - - - - - - - - WESPAC BBS (412) 487-3637 - - - - - - - - - - - - - -
Newsgroups: comp.os.os2.programmer
From: 09872@brahms.udel.edu (Chung-Ru Ho)
Subject: WinSetHook, MsgFilterHook
Organization: University of Delaware
Distribution: usa
Date: Tue, 15 Sep 1992 02:41:27 GMT

Could anyone give me some directions as how to use these two functions
using an example or pointing me to a referecnce book?  I have all the
technical library books for development PM, though it has huge amount
of info, but not very helpful in guiding me...

I was trying to filter the events passed to a list box inside a modal
dialog box (LN_SELECT).  It looked like that I was able to set up all the 
functions correctly.  But my problem came inside MsgFilterHook function because
I don't know how to make use of its PQMSG parameter!  Sometimes the hwnd
parameter in this pQmsg was set to a negative number, is it possible?  
BTW, the declaration of the MsgFilterFunction was: (used for a dialog box)

     BOOL MsgFilterHook(HAB hab, PQMSG pQmsg, USHORT uContext);

Any pointers are much appreciated!  


Tony Chou
Quantum Development Corporation
Claymont, DE 19703
From: daly@ecs.umass.edu (Bryon Daly, ECE dept, UMass, Amherst)
Newsgroups: comp.os.os2.programmer
Subject: gcc-2.2.2 questions
Date: 13 Sep 92 15:01:25 GMT

Hello,

I'm trying to get a programming environment set up under os/2 2.0, and
need some advice/help on a number of things.

First, I was confronted by the bewildering array of gcc compilers at hobbes:
gcc 2.1
gcc-2.2.2
emx-0.8d

A while back, I saw a post (It's gone now; was it the faq?) detailing
some of the differences between them, but I can no longer remember the 
details.  (A copy of that might be very useful if placed at hobbes in
the programming directory or in the info directory).

Anyway, my needs are just for a 32 bit C compiler.  DOS compatibility is
not a concern.  The ability to do PM programming might be nice, but isn't
necessary.  I do need a debugger, and a make program.  So, guessing, I 
grabbed gcc-2.2.2.  (Please tell me I didn't grab the wrong one).

So I unpacked all the stuff into its directories, and I notice it lacks
a debugger (as far as I can tell) and a make program.  There is a
gnumake program in the programming directory whose description makes it sound
experimental or something.  Does this program work OK?  Is there a debuger
available for gcc-2.2.2?  If there is, where is it?  If there isn't,
do any of the other gcc packages have a debugger available?

Lastly, I saw someone's post about what to do with the .texi file, but I 
now need to know what to do with the man files that document the library
functions.  What software do I need to view them correctly and/or print
them out?

Thanks in advance for any help you can provide
-Bryon
Newsgroups: comp.os.os2.programmer
From: bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor)
Subject: Re: Division by 0 crashes OS2/2.0
Organization: /usr/local/lib/news/organization
Date: Wed, 9 Sep 1992 22:40:48 GMT

In article <9209091933.AA21809@SPUNKY.CS.NYU.EDU> figueroa@SPUNKY.CS.NYU.EDU (Samuel A. Figueroa) writes:

>
>I am interested in floating-point arithmetic in general.  I am wondering
>if this behavior can occur with Intel math coprocessors.  (Someone has
>already mentioned that it can occur on poorly-designed 486 motherboards.)
>If not, is it due to a bug in IIT and Cyrix chips, and if so, has/will it
>be corrected?  What other brands of coprocessors exhibit this behavior?

Intel, I am afraid will join in in OS/2 2.1 -:)

>------------
>Sam Figueroa (figueroa@cs.nyu.edu)
>This is not a .signature virus.
>Do NOT copy me into your .signature file!

Dov
From: mmtl@cc.flinders.edu.au (T.Lampre)
Newsgroups: comp.os.os2.programmer
Subject: GMAKE
Date: 11 Sep 92 03:44:00 GMT
Organization: Flinders University
Originator: mmtl@hobson.cc.flinders.edu.au


I tried to use GMAKE last night with no success. It kept saying
'Cannot find /bin/sh'. I have set SHELL= to be the same as OS2_SHELL=.

Have I missed something?

Trevor Lampre
<mmtl@cc.flinders.edu.au>
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.win32
From: MLONG@isucard.card.iastate.edu
Subject: Re: OS/2 vs NT features list, Revision 1.6
Organization: CARD
Date: Sat, 5 Sep 1992 15:36:21 GMT

In article <1992Sep5.012500.2098@hellgate.utah.edu>                             
brian%jaguar.cs.utah.edu@cs.utah.edu (Brian Sturgill) writes:                   
                                                                                
>OS/2 LAN Server 2.0 Advanced Package (Not available for OS/2 2.0 yet)          
>	(Includes features of Entry Package above.)                                   
>	Local security                                                                
>@	Remote maintenance support                                                   
>	higher throughput.                                                            
>	Fault tolerance (disk duplexing and disk mirroring)                           
>!	Cost: ???                                                                    
>                                                                               
>OS/2 LAN Sever 3.0 (Due by year end)                                           
>	(Of course all the features from above)                                       
>	Clients can do peer-to-peer file and printer sharing.                         
>!		Anybody know the level of security?                                         
                                                                                
The level of security for a LAN Server is the same as LAN Server 2.0 Adv. - loc 
al security is available.  The level of security for the peer services at this  
time is either a user level security or a share level security.  UPM on the pee 
r machine is used for the user level security, and a password must be supplied  
with the net use command if using share level security.  A peer servers securit 
y compares very much to a LAN Server 2.0 Entry.                                 
                                                                                
>	Built-in TCP/IP                                                               
                                                                                
I might term this'Support for running LAN Server over TCP/IP?',after reading th 
e beta docs, unless things change.                                              
                                                                                
>	Advanced version works under 2.0.                                             
>!	Cost: ???                                                                    
                                                                                
Mike Long                                                                       
Iowa State University
From: cparker@centerline.com (Charles Parker)
Newsgroups: comp.os.os2.programmer
Subject: Re: Shared global memory between OS/2 and WIN-OS/2
Date: 15 Sep 1992 20:22:50 GMT
Organization: CenterLine Software
Distribution: world
Reply-To: cparker@centerline.com
NNTP-Posting-Host: 140.239.2.37

In article 24857@midway.uchicago.edu, sip1@ellis.uchicago.edu (Timothy F. Sipples) writes:
>In article <1992Sep14.185421.3713@ifi.unizh.ch> ban@ifi.unizh.ch (Bela Ban) writes:
>>'m looking for a way to exchange data between a WIN-OS/2 session
>>(full-screen or windowed) and an OS/2 session. Is there another way
>>besides DDE ? E.g. shared global memory etc...?? (*Is* there such a
>>thing as shared memory between a WIN-OS/2 session and an OS/2 session
>>??)
>>If this is the wrong newsgroup, please redirect me ...
>
>Named pipes?
>

I have heard that this has been done by using named pipes on the
OS/2 end, and locating and opening the temp file associated with
the named pipe on the Windows end.


---
---------------------------------------------------------
                                       cyberspace
momma, don't let yer children grow up to be ^ cowboys ...
---------------------------------------------------------
From: 890560p@dragon.acadiau.ca (Trevor Porter)
Newsgroups: comp.os.os2.programmer
Subject: 256 color bmps in WPS question
Date: 14 Sep 92 12:21:00 GMT
Organization: Acadia University

Here's something that's been bothering me ever since I got OS/2 2.0.
Why do the 256 color bmps look horrible when used as background pictures in
the WPS.  The palette selection does not change like in Windows.  Why is 
this?

-- 
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_                               Trevor Porter    	890560p@dragon.acadiau.ca                               Acadia University                                                               Wolfville, NS, Canada                                                           -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 
Newsgroups: comp.os.os2.programmer
From: brooke@cco.caltech.edu (Brooke Paul Anderson)
Subject: Re: gnu c++ versions - which is better?
Organization: California Institute of Technology, Pasadena
Distribution: comp
Date: Fri, 11 Sep 1992 09:15:55 GMT

I prefer emx/gcc because it has a debugger available.  gcc/2, as
far as I know, does not.
From: misc@pfbs.philips.se (Mikael Scherer)
Newsgroups: comp.os.os2.programmer
Subject: Can i reeboot the PC from my program?
Date: 10 Sep 92 10:35:48 GMT
Organization: Digital Equipment BCFI AB, Sweden


HELP!

Is it possible to reeboot the PC from a program when running OS/2 2.0 
If it is possible how do?  

/Thanks

Mikael Scherer       , Digital Equipment BCFI AB
tele:+46 8 759 4940	facs:+46 8 7398676
email: misc@pfbs.philips.se
 
Newsgroups: comp.os.os2.programmer
From: markmc@sierra.com (Mark McWiggins)
Subject: Re: C++ Compiler for OS/2, which is NOT GNU (summary, long)
Organization: Sierra Geophysics Inc.,  Kirkland, Wa
Date: Mon, 14 Sep 1992 23:45:24 GMT

Intek C++ will be released for OS/2 within the next couple of months.
It's based on AT&T 2.0 and will support Watcom C and IBM C Set/2. It's
a solid but rather generic (i.e. limited debugging support) cfront port.

ACKNOWLEDGEMENT OF PREJUDICE: I ported it and profit from its sale.

For more info, call Draiken Software at +1 503 243 3660.
--
Mark McWiggins           +1 206 822 5200x377 days      Box 31356
markmc@sierra.com        +1 206 632 1905 24 hrs.       Seattle WA 98103-1356
From: rls@tip.wedge.nt.com (Robert L. Smith)
Newsgroups: comp.os.os2.programmer
Subject: OS2 Window Screen Control
Date: 14 Sep 92 13:27:03 GMT
Organization: Northern Telecom Inc., RTP, NC
Originator: rls@


    I have a dandy full-screen UNIX xterm editor I'd like to port to
OS/2, to run in an OS/2 window or in OS/2 full screen.  But after
searching the C-Set/2 documentation, both hard copy and online, I can
find no description of low-level screen system calls usable for such
actions as clearing the screen, setting the text cursor position,
opening up a blank line, etc.
    The "migration" calls, putch() and getch(), would be perfect for
outputting characters and inputting keystrokes -- including function
keys! -- without echo, but I can find nothing for fine control of the
screen.  Can anyone advise of documentation for such functions?
    In a DOS window under OS/2 it is still possible to issue BIOS
Interrupt 10h for this purpose.  Is 10h also supported in an OS/2
window?  If anyone can answer that question it might save a lot of
trouble (I have the Borland TASM for DOS, which claims to support 32
bit code, but from previous articles here, using its .OBJ files under
OS/2 looks to be an involved undertaking).

Regards, rLs
From: msf@skaro.as.arizona.edu (Michael Fulbright)
Newsgroups: comp.os.os2.programmer
Subject: Writing Device Drivers
Date: 11 Sep 92 19:41:14 GMT
Distribution: na
Organization: University of Arizona UNIX Users Group

I am working on a port of the SBBSD unix device driver for the Sound
Blaster.  I have looked at several sample device drivers and I have
almost all the info I need. I have 2 remaining questions:

1) How do you parse the command line from CONFIG.SYS that invoked
   your device driver?

   Say CONFIG.SYS has    DEVICE=D:\A.SYS A B C D

   How do I get the string 'A B C D'? Is it passed as part of the
   initialization request packet?

2) The sample code I have is for pre-2.0 drivers. I understand from
   'The Design of OS/2' that 2.0 drivers are still 16 bit, except for
   the VDD part, which i'm not dealing with. Also, in 2.0 you do NOT
   need to write bimodal code, since the DOS emulation is done in
   protected mode. Do I have this right?

And as a final request, if anyone knows of or has sample code using
DMA I would be very appreciative. I plan on releasing the device driver
into the public domain.

<BEGIN AD>
If you arent familar with the BSD driver for the SB and SB Pro, it
sets up seperate devices for the FM, MIDI and VOICE sections of the
card. Then you can open the VOICE section, for example, and use
standard i/o calls to read and write to the SB. On the SB Pro it
also has a device for the Mixer, so you can control the volume and
other things. I have the source code for TrakBlaster, a .MOD player,
which compiles fine, so all i need now is to finish the device driver.
<END OF AD>

michael fulbright
msf@as.arizona.edu
Newsgroups: comp.os.os2.programmer
From: terryfry@access.digex.com (Terry Fry)
Subject: Re: Missing documentation - KBD, MOU and VIO 
Organization: Express Access Online Communications, Greenbelt, Maryland USA
Date: Wed, 9 Sep 1992 06:54:13 GMT

In article <715981801snx@sugs.tware.com> landis@sugs.tware.com (Hale Landis) writes:
>In article <9209080106.AA19548@ucbvax.Berkeley.EDU> KENKAHN@PKSMRVM.VNET.IBM.COM writes:
>
>  > In <715895337snx@sugs.tware.com> Hale Landis writes:
>  > >Has anyone found the (missing) documentation for the KBD, MOU and
>  > >VIO functions in the OS/2 2.0 manuals?

>Sorry, but I think that is the wrong answer:  I don't have the
>1.x technical manuals and I bet few other people have them!  If
>these are supported, even if for backward compatibility, I should
>be able to find some reference to them in the 2.0 manuals.  Also,
>if they are considered 'old', then what replaces them?  How about
>some documentation to aid us old (read non-GUI) programmers that
>have programs that use these functions?

I havn't found any reference to the 1.x calls in the 2.0 toolkit, either.
I happen to have the MS PM 1.2 Toolkit, I just loaded up the quickhelp
and run with this.

>
>My bet is that there are far more non-GUI (not PM) programs
>than there are GUI (PM) programs for OS/2.  I also would bet
>that a lot of these will get 'upgraded' to 2.0 without being
>converted to PM programs.  By not including any documentation
>(not even the slightest reference) that I can find in the 2.0
>manuals, IBM is not making life easy out here.

Your right, I think that IBM has under-estimated the amount of programers
that simply want to code in a Vio format.  Most of what everyone
here does is get whatever engine they want running in a full screen
program... then its PM time.  This habit came from inherit problems
debugging under 1.x PM with codeview and dealing with Async events.

I don't think that 2.0 needs a 32bit Vio system, just some reference
for us to utilize the 16 system there.


Newsgroups: comp.os.os2.programmer
From: feustel@netcom.com (David Feustel)
Subject: Re: C++ Compiler for OS/2, which is NOT GNIU
Date: Mon, 07 Sep 92 18:50:10 GMT
Organization: DAFCO: OS/2 Software Support & Consulting

My understanding is that the IBM C++ compiler is already done, but IBM
agreed with Borland  not to announce its C++ compiler until after
Borland announces its own 32-bit C++ compiler for OS/2.
-- 
Dave Feustel N9MYI <feustel@netcom.com>
 
RE Drug Warriors who enjoy making a "good" bust: I'm sure the Salem
Witch Hunters enjoyed their law enforcement achievements too.
From: ADUNSMUI@TOROLAB6.VNET.IBM.COM (Al Dunsmuir)
Date: Mon, 7 Sep 92 17:38:31 EDT
Newsgroups: comp.os.os2.programmer
Subject: Re: C++ Compiler for OS/2, which is NOT GNIU
Organization: IBM Canada Laboratory Ltd, Toronto, CANADA
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
            <_yqnl!m.feustel@netcom.com>

In <_yqnl!m.feustel@netcom.com> David Feustel writes:
>My understanding is that the IBM C++ compiler is already done, but IBM
>agreed with Borland  not to announce its C++ compiler until after
>Borland announces its own 32-bit C++ compiler for OS/2.
>--
>Dave Feustel N9MYI <feustel@netcom.com>
>
>RE Drug Warriors who enjoy making a "good" bust: I'm sure the Salem
>Witch Hunters enjoyed their law enforcement achievements too.
>

Dave,
  I forwarded your posting to John Soyring, and his response follows.

Al Dunsmuir                       Internet: adunsmui@torolab6.vnet.ibm.com
CODE Development II + TEAM OS/2      Voice: (416) 448-3315
IBM Canada Laboratory Ltd, Toronto, CANADA

OS/2 V2: Why settle for anything less?
-----------------------------------------------------------------------
Al, please post the attached note to David Feustel under my signature:

##############################################################################

David,

I appreciate your interest in both the IBM C++ compiler for OS/2 2.0 (not
yet announced as a product) and the Borland C++ product set for OS/2 2.0.
Your speculation on any agreements between IBM and Borland to hold back on
releasing the IBM C++ for OS/2 32-bit product is FALSE. There exists no
such agreement.

The IBM Toronto development team which produces the very popular C Set/2
32-bit compiler for OS/2 2.0, and also is developing the C++ compiler, is
a competitor of Borland.

The OS/2 operating system group in IBM supports both Borland and the IBM
development team. We feel this competition is healthy for the industry
and expect it leads to even greater levels of innovation on the 32-bit
OS/2 operating system base.

Users should judge these competitive alternatives based on their relative
merits to decide which best meets their OS/2-based development requirements.
In addition we are working with many other vendors who will be releasing
32-bit C++ compilers for OS/2 2.0. Some, such as Zortech and JPI (now part
of Clarion), have already announced their intentions to do so.

I hope that you agree that have multiple, superior development tools and
applications available on an OS/2 2.0 platform is to your advantage.

Regards,

John A. Soyring
Director, IBM Software Development Programs
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.programmer.win32
From: tom@piassun1.joanneum.ac.at (Tom Leitner)
Subject: Achieving animation like image update speeds under OS/2 PM
Originator: tom@piassun1
Organization: Joanneum Research, Graz, Austria
Date: Sun, 6 Sep 92 16:42:38 GMT


Hi everybody,

I have the following question: My application currently runs under
OS/2 1.3 and OS/2 2.0 using a dual monitor configuration were the
first monitor runs the OS/2 PM using a standard VGA card and the 
second monitor is connected to high resolution Matrox card.

The application requires that a series of images (about 400x300 with 
32 colors) can be displayed in an animation like speed of, say
less than 0.8 seconds between the image updates. The image update
should not cause any noticeable flicker on the screen. (Apart
from the image data changes of course)

This is currently achived by preloading multiple images into the
VRAM of the Matrox card and by switching the video start addresses.

Now for my question: Is there any chance that I could port my program
to the PM and I can still achive the same (or a similar) image update speed ?

I thought of some nifty trick with double buffering and color pallette 
manipulation as I only need 32 colors per image. Could that be feasible ?

I'd appreciate any comments on that per e-mail. (Of course if there's enough
demand I could post a summary of what I get)

Thanks in advance and regards from Austria.

Tom Leitner, Joanneum Research, Graz, Austria
             Internet: tom@piassun1.joanneum.ac.at
             Fido    : 2:316/7.91

BTW: The graphics card needs to have a resolution of at least 1280x1024
with 256 colors under the OS/2 WPS. I presume that something like that
is available now, isn't it ?
From: KENKAHN@PKSMRVM.VNET.IBM.COM ("Kenneth A. Kahn")
Newsgroups: comp.os.os2.programmer
Subject: Re: Missing documentation - KBD, MOU and VIO
Date: 8 Sep 92 00:59:35 GMT

Organization: Staff of IBM Fellow - IBM Personal/370
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)

In <715895337snx@sugs.tware.com> Hale Landis writes:
>Has anyone found the (missing) documentation for the KBD, MOU and
>VIO functions in the OS/2 2.0 manuals?
>

These APIs are not documented in any 2.0 technical manual because they are
not supported in 32-bit mode.  They are supported in 16-bit mode which is
what thunking is all about.  This is mentioned in one or two of the ToolKit
Manuals for 2.0 but I forget which right now.  The actual description and
syntax for these APis however must be looked up in the 1.x technical manuals.
From: Barry.King@ttlg.UUCP (Barry King)
Sender: postmaster@ttlg.UUCP