HDTenEightyP/NetNews huggingface dataset:
From: "richard hajinlian" <richard.hajinlian@channel1.com>
Newsgroups: comp.os.os2.programmer
Subject: cset/2 main() except
Date: 11 Dec 92 22:13:42 EST
Reply-To: "richard hajinlian" <richard.hajinlian@channel1.com>
Distribution: comp
Organization: Channel 1 Communications

Any guesses as to why this CSET/2 generated assembler code causes a
protection exception?  The instruction indicated by <================
causes an abend.  I have no Idea.  I should have copied the icc command
line for you review but I forgot to take it home.

Thanks for your support!


        TITLE        PCFN001S.C
        .386
        .387
        INCLUDELIB OS2386.LIB
        INCLUDELIB dde4mbsi.lib
        INCLUDELIB dde4mbmi.lib
CODE32        SEGMENT DWORD USE32 PUBLIC 'CODE'
CODE32        ENDS
DATA32        SEGMENT DWORD USE32 PUBLIC 'DATA'
DATA32        ENDS
CONST32        SEGMENT DWORD USE32 PUBLIC 'CONST'
CONST32        ENDS
BSS32        SEGMENT DWORD USE32 PUBLIC 'BSS'
BSS32        ENDS
DGROUP        GROUP CONST32, BSS32, DATA32
        ASSUME        CS:FLAT, DS:FLAT, SS:FLAT, ES:FLAT
        PUBLIC        HostName
        PUBLIC        ServiceName
        EXTRN        memcpy:PROC
        EXTRN        LogAndExit:PROC
        EXTRN        translateMessageHeader:PROC

@STAT20        DB "Inside StoreSchedulerPro"
DB "cessId.",0aH,0H
        DD        _exeentry
DATA32        ENDS
BSS32        SEGMENT
        ALIGN 04H
COMM        name:BYTE:09H
        ALIGN 04H
COMM        timeVal:DWORD
        ALIGN 04H
COMM        maxConReq:DWORD
        ALIGN 04H
COMM        serverEntry:BYTE:010H
        ALIGN 04H
COMM        sp:DWORD
BSS32        ENDS
CONST32        SEGMENT
CONST32        ENDS
CODE32        SEGMENT

;***** 196 main(SHORT argc, PCHAR argv[], PCHAR envp[])
        ALIGN 04H

        PUBLIC main
main        PROC
        PUSH        EBP
        MOV        EBP,ESP
        MOV        ECX,0570H
BLBL56:
        SUB        ECX,01000H
        MOV        BYTE PTR [ESP+ECX],0H
<=================================????
        CMP        ECX,0ffff1570H
        JG        BLBL56
        SUB        ESP,0ea90H
        PUSH        ESI
        PUSH        EDI
        SUB        ESP,0cH

;***** 201   char service[] = "fdpnetd";
        MOV        ECX,08H
        MOV        EDX,OFFSET FLAT: @STAT1
        LEA        EAX,[EBP-08H];        service
        CALL        memcpy

;***** 202   short int shutdown;
;***** 203   /*
;***** 204   *     Define the message variable.  This also contains the
user
;***** 205   *     data of the packet.
;***** 206   */
;***** 207   struct MessageHeaderStr MessageHeader;
;***** 208   /*
;***** 209   *     Work buffer for the network packet.
;***** 210   */
;***** 211   char msg[MAXMSGSIZE];

Thanks again in advance.  Rich Hajinlian Billerica, Massachusetts
--
Channel 1 (R)   Cambridge, MA

Newsgroups: comp.os.os2.programmer
Organization: Wirtschaftsuniversitaet Wien, Vienna, Austria
Date: Tuesday, 15 Dec 1992 13:23:35 CET
From: FLATSCHER Rony <RONY@awiwuw11.wu-wien.ac.at>
Newsgroups: comp.os.os2.programmer
Subject: Beware of Backup (Re: Some OS Q's.

Matthew:

If you plan to write a backup-utility for OS/2, do **not** use OS/2'
backup. It does not backup system/hidden-files (e.g. CMD.EXE, COMMAND.EXE)
and locked files. Why, I do not know (check-out the online-help).

Why don't you use GNU's tar of GTAK under the hood (see hobbes.nmsu.edu) ?

---rony
From: brooke@cco.caltech.edu (Brooke Paul Anderson)
Newsgroups: comp.os.os2.programmer
Subject: How do I give a batch program high execution priority?
Date: 18 Dec 1992 15:37:35 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: sandman.caltech.edu

I'm running some very time-intensive number-crunching programs,
and I need to know how to give them high execution priority.  On
UNIX, you can give background jobs high priority -- at least, when
the machine is idle (even if the screen saver turns on), the job
uses most of the processor time.  On OS/2, it seems that is not the
case (at least as things are set up by default).

Does anyone know how I can make sure my program gets lots of processor
time even when lockup has turned on (i.e., when I am running the program
over night)?
From: kitchin@lf.hp.com (Bruce Kitchin)
Newsgroups: comp.os.os2.programmer
Subject: Re: Where is getch()?!??
Date: 16 Dec 1992 18:05:34 GMT
Organization: Hewlett Packard Santa Clara Site
NNTP-Posting-Host: eden.avo.hp.com
X-Newsreader: TIN [version 1.1.2 PL7]

david j. looney (me41@sdcc12.ucsd.edu) wrote:
: Speaking of which, for us lowly gnu (golly its not kansas) gcc
: folks, is there ANY workaround in character mode to read single
: characters from the keyboard ala getch() ? Do more recently updated
: libs support this function? Can one call a supplied vio or pm
: functions from a window compatible program ?
: 

If your program is not a PM program, you should be able to use the KbdCharIn
function to do what you want.  You might even write a getch() which contains
the call to KbdCharIn.  Unfortunately, KbdCharIn is not documented in
any of the .Inf files with the 2.0 toolkit.  It is a 1.x API function
that is still supported (so why no documentation??).  If you don't have
access to a 1.x API document, Ray Duncan's book Advanced OS/2 programming
as well as several other OS/2 programming books (those not targeted for
PM programming) will have it.  The call requires a handle returned
by KbdOpen.  All the applications in which I have used it are single
threaded on the keyboard so I have a static variable (private to the
module containing getch() or whatever you call it) that is initialized
to something illegal (-1 I think works) and then I do a KbdOpen only
if that initial value is still present and store the returned handle
in the variable.

I haven't tested this, but something like this might work:

#define INCL_KBD
#include <os2.h>

static HKBD hKbd = 0xFFFF;

char getch(void)
{
	KBDKEYINFO info;

	if(hKbd == 0xFFFF) [

	        KbdOpen(&hKbd);
		KbdGetFocus(IO_WAIT,hKbd);
		}

	KbdCharIn(&info,IO_WAIT,hKbd);

	return (char)(info.chChar);
} 

Some examples I've seen use 0 for hKbd without opening it or doing
a get focus on it.  This might be defined to work, but I don't know
if it is reliable.

Good luck.
From: harvie@bigwpi.WPI.EDU (Lawrence Harvie)
Newsgroups: comp.os.os2.programmer
Subject: help.ndx not found,epm error
Date: 13 Dec 92 16:29:55 GMT
Organization: Worcester Polytechnic Institute
NNTP-Posting-Host: bigwpi.wpi.edu

I had the online help on cset/2 working fine for a long time.
I concattenated the ndx files, set helpndx=help.ndx,
now it can't find help.ndx again .  Could someone 
tell me what could be wrong ?

Thanks 

Larry Harvie
Newsgroups: comp.os.os2.programmer
From: Mark_Morrill@itc.educ.ualberta.ca (Mark Morrill)
Subject: How do I change pixel depth?
Followup-To: comp.os.os2.programmer
Organization: Instructional Technology Centre, UofA
Date: Thu, 17 Dec 1992 17:55:46 GMT

My screen has 16 colours (4bpp). I would like to change it to 256 colours.

The 'Master Help Index' tells me to use the  'System Setup' -> 'System'
software (What are those icons in the 'System Setup' window called?). It
tells me that I should see a 'Screen' tag. I do not see a 'Screen' tag.

How do I conjure this Screen tag?

Mark.                                | my opinions are my own
Instructional Technology Centre      |
University of Alberta.               |

Mark_Morrill@itc.educ.ualberta.ca
From: seiferth@rufous.cs.unm.edu (Justin Seiferth)
Newsgroups: comp.os.os2.programmer
Subject: Viewing source under debugger
Date: 20 Dec 92 21:33:20 GMT
Article-I.D.: rufous.BzKuJI.JI
Organization: Computer Science Department, University of New Mexico

Is there a trick to using the debugger in source code, vs. dissassembly 
mode?  I have not been able to open any files in other than dissassembly
mode.  I've tried all the project compile, debug and source code options
which seem reasonable.  Please let me know...


Thanks...
Justin
seiferth@rufous.cs.unm.edu or
seiferth@lyra.plk.af.mil
From: hatton@socrates.ucsf.edu (Tom Hatton)
Newsgroups: comp.os.os2.programmer
Subject: Re: OS/2 Developer's Kit CDROM
Date: 14 Dec 92 19:01:41 GMT
Organization: UCSF Computer Graphics Lab

utter@acsu.buffalo.edu (William M. Utter) writes:

>	I just ordered the IBM OS/2 Professional Developer's Kit CDROM with
>the AT&T's Libs.  I was wondering how many megs this Kit takes up since I 
>want to transfer it to my HD when it comes in.

Well, the AT&T Libs will be absolutely no problem, unless you have an 
uncommonly small HD. The CDROM on the other hand is... well... a
CD. It holds, if memory serves, about 480 MB.
 
Not all of this is different, of course, since they include disk
images and installable versions of the same software, but even
taking away the disk images, there's enough there to load up
most people's hard disks - your problem may end up being to 
decide what you can afford to load :-)
 

-- 
Tom Hatton
hatton@cgl.ucsf.edu
(415)-476-7986
From: Fred.Steinbach@mtask.omahug.org (Fred Steinbach)
Newsgroups: comp.os.os2.programmer
Subject: Re: Cursor in PM Entry-F
Date: 10 Dec 92 21:27:00 CST
Reply-To: fred.steinbach@mtask.omahug.org
Organization: Multitasking Systems, Kansas City
Followup-To: comp.os.os2.programmer

DS> I've got a single line entry-field in a PM application. 
DS> How do I put the cursor into this field?  I've tried sending 
DS> an EM_SETSEL message to the entry-field, but nothing happens. 
DS> Maybe I had the wrong values? Anyone out there familiar with this? 
 
How about WinSetFocus( HWND_DESKTOP, hwndEntryField ) ?  (It's been a
while) 
 
___
 X KWQ/2 1.0C X 
               
From: Scott.Jibben@f115.n282.z1.tdkt.kksys.com (Scott Jibben)
Sender: FredGate@tdkt.kksys.com
Newsgroups: comp.os.os2.programmer
Subject: November PDK Info...
Date: Sun, 13 Dec 1992 19:24:00 -0600

Hi Jeff,

I ordered & received an IBM PDK CD.  Is there more than one of these
floating around (you noted November PDK)?  I think I received mine
before November so I'm wondering if there is a newer version?

sj

 * QMPro 1.0 41-8861 * He does the work of 3 Men...Moe, Larry & Curly


 * Origin: (1:282/115)
Newsgroups: comp.os.os2.programmer
From: johns@csd.uwo.ca (John Strybosch)
Subject: comp.windows.x comp.os.ms-windows.programmer.tools
Organization: Department of Computer Science, University of Western Ontario, London
Date: Thu, 17 Dec 1992 00:41:00 GMT

I am looking into developing a large application
with a set of UI independent tools.  The ones I 
am currently considering (They _must_ support
X esp on Sparcs or DecStations, and either PM or 
MS-Windows.) are as follows:

ImageSoft: CommonView
Wndx Corp: Wndx
Visix Corp: Galaxy
Neuron Data: Open Interface
XVT Software: XVT
Liant Software: C++ Views

Corresponding user interface building tools are also 
important.

I'd really appreciate hearing people's feedback
and experiences with these products or others
that I might not have seen yet.

(Note: though Inmark's Zapp is advertised to support
       Motif, they don't. So I can`t consider it)

I'll post a summary of replies.

John Strybosch
Newsgroups: comp.os.os2.programmer
Subject: Online help, API reference
From: paulg@a1.resmel.bhp.com.au (Paul Gallagher)
Date: 15 Dec 92 08:56:58 +1000

Hi,

FINALLY I've got myself setup for OS/2 development. I'm using
IBM C Set/2 and workframe that came on CD from a developer's
conference.

I've spent some time exploring the online books, INF files etc,
and I've set EPM up for online help, but (forgive me if there's
an obvious answer to this question)... where the hell do you
"go" to get comprehensive online API help? 

Is a complete API reference available on-line? If not, what are
some good alternative sources? (Am I missing something because
IBM only gave me the CDs and not the printed docs?)

Regards,
PaulG
----------------------------------------------------------------
   /\/\     :  Paul Gallagher, PC/Mac Support
  / / /\    :  Computer Services Group
 / / /  \   :  BHP Research - Melbourne Laboratories
/ / / /\ \  :  245 Wellington Rd, Mulgrave, 3170, AUSTRALIA
\ \/ / / /  :  Phone    +61-3-560-7066
 \  / / /   :  E-mail   paulg@a1.resmel.bhp.com.au
  \/\/\/    :
================================================================
All I (not my company) want for Christmas is ... OS/2 v2.0 
support in Lan Manager 2.2 ... and LanMan 2.2 support in DEC
Pathworks ... and MacTCP free with all my new Macs ... and ...
----------------------------------------------------------------
Newsgroups: comp.os.os2.programmer
From: richk@grebyn.com (Richard Krehbiel)
Subject: Re: Monochrome card in OS/2 DOS VDM work okay?
Organization: Grebyn Timesharing
Distribution: usa
Date: Fri, 18 Dec 1992 03:22:52 GMT

In article <1992Dec17.043335.9041@grebyn.com> richk@grebyn.com (Richard Krehbiel) writes:

>   I'd like to get a monochrome (text) card and monitor, and use it for
>   two-screen DOS program debugging.  I think this should work okay, but
>   I thought I'd ask first.

Well, to follow up my own post...

I asked that question because I didn't want to spend money on
something that wouldn't work, but when I was offered an old monitor
and mono graphics card from the office for free, I went ahead and
tried it.

The results are that OS/2 would not boot while the monochrome card was
installed.  It appeared to be working, but instead of clearing the
screen to gray and presenting the desktop, some color bars were drawn
on top of the logo, and shortly thereafter the machine locked, and
C-A-D wouldn't restart it.
-- 
Richard Krehbiel                                 richk@grebyn.com
OS/2 2.0 will do for me until AmigaDOS for the 386 comes along...
From: harvie@cs.WPI.EDU (Larry Harvie)
Newsgroups: comp.os.os2.programmer
Subject: cset/2 message file not found
Date: 17 Dec 1992 19:26:03 GMT
Organization: Dept of Computer Science, WPI
Distribution: world
NNTP-Posting-Host: wpi.wpi.edu
Originator: harvie@wpi.WPI.EDU

My Cset/2 began doing something weird.  Whenever I try to compile,
it says

can't find message file

help !!!

Larry
From: pendrith@spectrum.cs.unsw.oz.au (Mark Pendrith)
Subject: emx/gcc + workframe/2 + toolkit
Reply-To: pendrith@spectrum.cs.unsw.oz.au (Mark Pendrith)
Organization: unsw
Date: Sun, 20 Dec 1992 05:21:58 GMT

hi all,

i'm quite enjoying using emx/gcc, but was wondering whether the workframe/2
and toolkit (both of which are being offered by ibm at attractive prices at
the meoment) can be used with emx/gcc, or whether you have to use cset/2?

also, could anyone briefly outline what the workframe/toolkit stuff actually
gives you? any good books that complement their use? thanks in advance.

- Mark

pendrith@cs.unsw.oz.au
From: lansche@torolab6.VNET.IBM.COM (Martin Lansche)
Date: Wed, 16 Dec 92 12:04:57 EST
Newsgroups: comp.os.os2.programmer
Subject: Re: C++ and Database Manager
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
            <1992Dec16.144407.10078@odin.diku.dk>

In <1992Dec16.144407.10078@odin.diku.dk> Maz H. Spork writes:
>Don't expect C++ exception handling to be supported much anywhere, as there
>is still much discussion as to its generality and usefulness (though all
>clear-minded thinkers know it's a good idea!)
>
>M Spork
>halgrim@diku.dk
>
You can find C++ exception handling in the C++ compiler for OS/2 from
IBM, in the current Professional Developers's Kit Beta.  It is there
also in the OS/2 compiler's "big brother" the IBM XL C++/6000 Compiler
for AIX on the Risc System/6000.
Cheers,
Martin Lansche, IBM Canada Lab, Toronto Canada
  ________________________________________________________________________
   Ilu Iluvatar en kare eldain a firimoin ar antarota mannar valion :
   numessier.  Toi aina, mana, meldielto -- enga morion : talantie.
   ----------------------------------------------------------------------
   The father made the world for elves and mortals and he gave it into
   the hands of the Lords in the West.  They are blessed, holy and loved,
   except the black one.  He has fallen.  (J.R.R. Tolkien).
  ________________________________________________________________________

Newsgroups: comp.os.os2.programmer
From: misra@fsg.com (Mark Israel - Fusion Boston)
Subject: Re: OS/2 Developer's Kit CDROM
Organization: Fusion Systems Group, Inc.
Date: Fri, 11 Dec 1992 13:39:06 GMT

Hey, how much did you pay for the CD version and where did you order it from?

Did any one get the beta of OS/2 2.1 on CD.

Thanks in advance.
-- 
---------------------------------------------------------------------------
Mark A. Israel
Fusion Sytems Group
misra@fsg.com        Voice: (617) 542-6130      FAX: (617) 542-6248
Newsgroups: comp.os.os2.apps
From: goyal@utdallas.edu (MOHIT K GOYAL)
Subject: Re: 1st hand info on NC/2?
Organization: Univ. of Texas at Dallas
Date: Fri, 18 Dec 1992 06:37:05 GMT

>2)	No "extension" file.  You can't (with NC) associate all .ZIP files
>	with a particular command, for example.
>
I have been using the DOS version for years now and just ordered the OS/2
version.

One question, does it still offer the "brief" option for viewing files/

Anyways, as to why I quoted the above...that sucks!!!

I make heavy use of the "extension file" option.  for .zips, .gifs, etc, etc.

What a bummer...hopefully the will add it to the next version.

Are their any bugs?
From: tat@yvax.byu.edu (Todd A. Turnblom)
Newsgroups: comp.os.os2.apps
Subject: WordPerfect Info.
Date: 11 Dec 92 22:11:56 -0700
Organization: Brigham Young University

I called WordPerfect the other day and got some info you 
might be interested in.  According to the lady who helped 
me, they are working on three applications for OS/2 2.0.
They are WordPerfect (of course), WP Office, and 
Presentations.  

WordPerfect is now in "pre-release," but the only date
she could give me for any of the apps was "1993."  She
did say that it will be version 6.0 of WP and it is being
written as a pure 32 bit application.  She said the DOS
version should be out in January or so and she assumed
that the OS/2 version would be out a month or two after
that.  She said it would be priced the same as the
DOS version.  She also took my name and promised to call
back when she got more info.

It is a bit aggravating that it is taking them so long to
get their word processor out.  They are trying to integrate
the interface on all machines with version 6.0,
so maybe they have an excuse to take so long, but I am
getting impatient.  I figure that if they can't give me
better info in the next month or so, I will take a more
serious look at AMI Pro and Describe.  I hate to leave
a company that gives such exellent support, but I want
REAL apps, now!

Oh well, enough ranting.  I hope this interested someone...

- Todd Turnblom: TAT@yvax.byu.edu

Newsgroups: comp.os.os2.apps
From: olavt@ulrik.uio.no (Olav Torvund)
Subject: Re: WordPerfect Info.
Organization: University of Oslo, Norway
Date: Tue, 15 Dec 1992 09:49:57 GMT

In article <Bz97Fp.H3@unx.sas.com> sasghw@pica.unx.sas.com (Greg Wust) writes:


   |> I called WordPerfect the other day and got some info you
   |> might be interested in.  According to the lady who helped
   |> me, they are working on three applications for OS/2 2.0.
   |> They are WordPerfect (of course), WP Office, and
   |> Presentations.

   I spoke with WP a few days ago as well.  They also informed me of the
   delay in WP for OS/2 2.0 but went further to explain that one of the
OB   biggies built into WordPerfect 5.2 (a $50 upgrade) for Windows is
   actually for support for use under OS/2 until the OS/2 version of 
   WP for Win comes out.  Not heavily advertised, as they don't want to
   step on sales of their own products currently for OS/2 1.x, most people
   would not know this.  Claims to be OS/2 smart and will multithread and
   show significant speed advantages over WP for Windows 5.1.
 
I asked a WP representative about some of the issues mentioned. He
said that yes, WP 5.2 does run much better under OS/2 2.0 compared to
the 5.1 version. He also said that WP will release a 5.2 version for
OS/2. The other side of that coin is of course that it means that WP
6.0 i delayed. WP 6.0 will not be available BEFORE fall '93.

There has been some rumours about a 6.0 version for DOS early '93. He
would not confirm that, and said that this must be rumours and that he
did not know about such plans.

Unfortunatly, the WP 5.2 will be a 16-bit, not a 32-bit program.
(Don't ask me why.) It will be out "first half of '93". He would not
be more specific, but said that he was hoping that it would be early
'93.

This tells me first of all that WP 6.0 is delayed. But it also tells
me that WP see the OS/2 market as an important market, and that there
is a demand for OS/2 applications. (They would not have decided to
make 5.2 for OS/2 if it was not for the market pressure). But it is
also likely that WP will loose market shares to Lotus, given that
Lotus have their 32-bit Ami Pro out 1Q '93.

Olav Torvund
University of Oslo
Norway
Olavt@jus.uio.no


Newsgroups: comp.os.os2.apps
From: kj@mits.mdata.fi (Kaj Niemi)
Subject: Cirrus Logic 
Organization: Microdata International Telecom System, Helsinki, Finland
Date: Sat, 12 Dec 1992 20:09:14 GMT
Summary: Cirrus Logic drivers wanted...
Keywords: Cirrus, Logic, SVGA, Drivers

Hi,

	I'd like to know if there is OS/2 display drivers to 
	a Cirrus Logic -SVGA card (max. 1208x1024x?), if available,
	please tell the FTP-address or send me a copy of them,
	since I got only Win 3.1 + AutoCad drivers with the card...

		Thank you in advance,


--
Kaj J. Niemi          | OS/2: Windows with a bullet-proof glass!
kj@mits.mdata.fi      | If you want it done right, forget Microsoft....
kaj.niemi@compart.fi  | -----------------------------------------------------
2:220/660@fidonet.org | "640k ought to be enough for anyone." Bill Gates, 1981
From: sal8@po.cwru.edu (Steve Luzynski)
Newsgroups: comp.os.os2.apps
Subject: trap 000d sillyness
Date: 14 Dec 92 23:34:51 GMT
Organization: Case Western Reserve University
NNTP-Posting-Host: b61442.student.cwru.edu

I was tinkering with my mail reader and decided that it would be cool to 
have a different sig file depending on what time of day it was. I came up 
with the following (4Dos) batch file:

cdd c:\popmail
del popmail.sig
IF %@TIME[%_time] GE 72000 .OR. %@TIME[%_time] LT 28800 copy nitetime.sig 
popmail.sig
IF NOT EXIST popmail.sig copy daytime.sig popmail.sig
c:\ip\cable 0x62 5 0x300
popmail

This works fine(by clicking a WPS object pointing to the batch file)...once.

The second time I run it, it prints the 'deleting popmail.sig' line and then 
traps.

On reboot, chkdsk finds a 'minor file system error' and then corrects 
\delete\control.del. 

So what's the dumb thing's problem? I can't imagine what could possibly 
cause not only errors in the undelete tracking stuff but a _trap_! Anyone 
else have any ideas/feel brave enough to try it?

Thanks,

----------------------------------------------------------------------------
steve luzynski @ case western reserve university in cleveland, oh
sal8@po.cwru.edu             | voice calls cheerlessly accepted at x2153.
----------------------------------------------------------------------------
happy people are deluding themselves that there is nothing wrong.
----------------------------------------------------------------------------
life is but a series of bitter dissapointments.
Newsgroups: comp.os.os2.apps