HDTenEightyP/NetNews huggingface dataset:
From: peterf@vnet.ibm.com (Peter Forsberg)
Date: Fri, 2 Oct 92 19:15:22 SWE
Newsgroups: comp.os.os2.programmer
Subject: Re: Novell NetBIOS
Reply-To: peterf@vnet.ibm.com
Organization: IBM Corporation
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0

In <d9mikael.717805320@dtek.chalmers.se> Mikael Wahlgren writes:
>How do I write my OS/2 programs to be binary compatible with both the IBM
>(Lan Server) NetBIOS and Novell (OS/2 Requester) NetBIOS?  I have written
>a NetBIOS application for IBM Lan Server, but when running Novell, it
>(naturally) can't find the ACS DLL's.  I suppose I will need the NETAPI.DLL
>from Novell instead?  But how do I do to get the compiled code run at both
>systems?
>
>Mikael Wahlgren
>

Mikael,
I think that the best thing for you to do is to write your own NetBIOS
DLL, which converts from your own "generic" NetBIOS calls to either of
IBM's or Novell's. You'd have to write and deliver two versions of this
DLL, and the user would have to plug in the one fitting his environment
before using your application. This way your app becomes independent of
the underlying NetBIOS software, and if another NetBIOS emerges, all you'd
have to do is to write another version of your own DLL.

Just my 10 ore (now-obsolete Swedish coin :-)...

Peter
--
Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
                                  d88-pfo@nada.kth.se        (alternate)
Disclaimer: This posting represents the poster's views, not those of IBM
Newsgroups: comp.os.os2.programmer
Subject: Is the PM model closer to X or Windows?
From: johnb@am.dsir.govt.nz (John Burnell)
Date: 28 Sep 92 08:56:34
Distribution: comp.os.os2.programmer
Organization: Dept. of Scientific and Industrial Research, NZ.


I have a couple programs that I am going to port to a PM interface. I have
examples of both X and Windows programs that perform similar tasks. Does
anyone have a feeling as to which would be easier to use as a base for my
port?

Thanks in advance for any help
John Burnell
Newsgroups: comp.os.os2.programmer
From: Larry Margolis <margoli@watson.ibm.com>
Subject: Re: EPM Editor Question
Date: Fri, 02 Oct 1992 06:14:01 GMT
Reply-To: margoli@watson.IBM.com
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: The Village Waterbed

In  <FA2-pQB@engin.umich.edu>  jwh@citi.umich.edu (Jim Howe) writes:
> I've just started to use the EPM editor and I have a
> question about how it operates when marking text in
> standard mode.  If I mark text lines which are in the
> middle of the window, when I complete the mark (when
> I release the mouse button), the window scrolls one
> direction or the other, placing the marked text either
> at the bottom of the window, or the top.  What is the
> purpose of this 'feature', and more importantly, is
> there some way to disable it?  I don't like it when
> editors dynamically shift my perspective without my
> consent.

I don't see what you're describing; can you give exact details on
how I could reproduce it?  (By email would probably be best.)

Larry Margolis, MARGOLI@YKTVMV (Bitnet), margoli@watson.IBM.com (Internet)
Newsgroups: comp.os.os2.programmer
From: orville%weyrich@uunet.uu.net (Orville R. Weyrich)
Subject: .LONGNAME Standard Extended Attribute
Reply-To: uunet.uu.net!weyrich!orville
Organization: Weyrich Computer Consulting
Date: Sun, 27 Sep 92 06:02:22 GMT

Well, I finally  got my copy of the OS/2  technical library [after  waiting
almost  2  months, I called  IBM and they Fed-ex'ed  it to me the next  day  --
I don't know what the  delay had been].

So  I started  reading. And  on page 5-12 of OS/2 2.0 Programming  Guide  -- 
Volume  I there is  a  paragaph that says:

	When an application attempts to write a  file  with a  long file
	name to  a  file system  that  does not support long  names, it 
	must generate a  short name for the file. The application should
	notify the user of the new short name and save the  original
	(long) name in the .LONGNAME extended attribute.

Now one of the "advantages" that NT advocates claim for NT is that its file
system does this  sort of mapping.  OS/2 applications do not [to my knowledge]
make full use of  this extended attribute. Are they just broken, or is there
a reason why DosFindFirst, DosFindNext and DosOpen don't check the .LONGNAME
extended attribute? Or  alternatively,  why a .SHORTNAME  extended  attribute
couldn't  be introduced?

I realize that there  would be some performance penalty from such a process,
but it shouldn't be too difficult to set  up a mapping function that [for
example] maps  long file  names to something like

	ttt'nnnh.hhh

where:

	ttt represents the first three characters after the last "." in the
		long  file name

	nnn represents the first three characters of the long file name

	' represents a flag that signals that the file name might have a
		long file  name attribute

	h.hhh are hash characters that are  generated to make the mapped
		names unique.

DOS  programs would see only the hashed names -- but would see them all.

OS/2 programs  would see  all file names in their expanded forms.

Wild-card searches of the form nnn*.ttt would be slightly slower, since the
candidates could be quickly found by looking for files with 8.3 names
matching nnn*.ttt and ttt'nnn*.*, and then the candidates would have to be
screened by looking at the .LONGNAME EA.

Wild  card searches like ???xxxxx.??x would be relatively slower, because the
mapped form ??x'???*.* admits  a much larger percentage of candidates that
need  to have their  EA's checked.

It seems that  this sort of thing could actually be implemented today strictly
at the application level, as long as a standard existed that cooperating
applications could use in generating the hashed names and deciphering them.

Anyone have any thoughts on this?:


orville

--------------------------------------   **************************************
Orville R. Weyrich, Jr.                        Weyrich Computer Consulting
Certified Data Processor                     POB 5782, Scottsdale, AZ 85261
Certified Systems Professional                   Voice: (602) 391-0821
Certified Computer Programmer            Internet: orville%weyrich@uunet.uu.net
--------------------------------------   **************************************
Newsgroups: comp.os.os2.programmer
From: hank@ducvax.auburn.edu
Subject: Re: EMX-gcc and quoted strings
Organization: Auburn University, AL
Date: Sun, 27 Sep 1992 14:20:23 GMT

> hank@ducvax.auburn.edu writes:
>>Is there no way to pass a quoted string on the EMX-gcc command line?
>>[text deleted]
>>I want
>>  gcc -DPATHS=\"c:\\HelloWorld\" -c hello.c
>>to work with hello.c:
>> main() { puts(PATHS); }

Kai Uwe Rommel (rommel@informatik.tu-muenchen.de) replies:
> Your example works as expected with emx 0.8e - are you still using 0.8d?
>[additional info on strings with spaces]

KUR is correct (of course)--strings work fine in 0.8e. 

This question was prompted by the ps2pk announcement. I have submitted
the makefiles and patches for EMX/gcc and dmake 3.8 to the author of ps2pk,
rcpt@urc.tue.nl Piet Tutelaers.

Thanks to KUR.

--darrel hankerson hank@ducvax.auburn.edu
Newsgroups: comp.os.os2.programmer
From: tdukes@eng.auburn.edu (Todd J Dukes)
Subject: OS/2 Developers Toolkit contents
Summary: How much of Programmers Library is included in on-line help?
Organization: Auburn University Engineering
Date: Wed, 30 Sep 1992 15:30:57 GMT

I have been playing around with GCC and thought about ordering
the OS/2 Programmers Toolkit.

I was wondering how much of the programmer`s library made it to the 
on-line help.

What else is in the package that would make it worth ~$95?

Is $95 with shipping a good price?


Thanks 

Todd

Newsgroups: comp.os.os2.programmer
From: tnt@netcom2.com (Terry Turner)
Subject: developing for windows under os2?
Organization: Watch the Skies
Distribution: comp
Date: Sat, 3 Oct 1992 19:42:20 GMT

i am going to do a short term contract to develop a windpws app. i would
like to do this under os2. has anyone been doing this. what
recommendations do you have? i am interested in using either borlland c++
or ms c++ 7.0.

thanks
-- 
terry
	tnt@netcom.com
Xref: sparky comp.os.os2.programmer:5364 comp.os.os2:360
From: timcraig@ddbeezer.Dundee.NCR.COM (Tim Craig)
Newsgroups: comp.os.os2.programmer,comp.os.os2
Subject: Using DDE in OS/2 2.0
Date: 1 Oct 92 10:58:44 GMT
Reply-To: andrew@ddesp3.Dundee.NCR.COM (Andrew Hamilton)
Distribution: world
Organization: NCR E&M Dundee

Subject: Using DDE in OS/2 2.0


In a recent article in a PC magazine the reviewer of OS/2 2.0 comments that
"you should avoid anything that uses DDE, especially between Windows and OS/2
applications."

I would appreciate any experiences that anybody has had with using DDE in OS/2
2.0.

Thanks in advance,
          Andrew R Hamilton

Andrew.Hamilton@Dundee.NCR.COM

-- 
Newsgroups: comp.os.os2.programmer
From: sci240s@monu6.cc.monash.edu.au (Wey Jing HO)
Subject: How to "makeinfo for gcc.tex" ?
Organization: Monash University, Melb., Australia.
Date: Sun, 4 Oct 1992 14:28:22 GMT

As instructed by the install.doc that comes with EMX-0.8e, one can create
infor files for GCC manual and etc by using makeinfo, as given below. My
problem is I can't find such a program call makeinfo in the EMX distribution.
Can anyone please tell me where I can find such a program?

Thanks.


Viewing the GNU on-line manuals                                                 
-------------------------------                                                 
                                                                                
To view the GCC and GDB manuals, unpack gnudoc.zip and gnuinfo.zip and          
install info (see install.doc). Use GNU makeinfo to create info files           
for on-line help from the texinfo files.                                        
                                                                                
To create info files for the GCC manual, type:                                  
                                                                                
  cd \emx\gnu\doc                                                               
  set emxopt=-t                                                                 
  makeinfo gcc.tex -o /emx/info/gcc.inf                                         
  makeinfo cpp.tex -o /emx/info/cpp.inf                                         
                                                                                



-- 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Wey Jing Ho    Tel: 61-3-573-2567   E-mail : sci240s@monu6.cc.monash.edu.au<
>Physics Dept., Monash University ( Caulfield Campus ), Melbourne, AUSTRALIA<
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
From: john.navas@uttsbbs.uucp (John Navas)
Newsgroups: comp.os.os2.programmer
Subject: Vio and Kbd calls using G
Date: 3 Oct 92 11:59:00 GMT
Article-I.D.: uttsbbs.1785.18.uupcb
Reply-To: john.navas@uttsbbs.uucp (John Navas)
Distribution: world
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591

landis@sugs.tware.com (Hale Landis) writes:

 > The KBD, MOU and VIO calls ARE supported by OS/2 2.0!
 > ...
 > WE NEED REAL OS/2 2.0 DOCUMENTATION FOR THESE SYSTEM FUNCTIONS AND
 > WE NEED IT NOW!
 > What do we have to do to get IBM's attention on this matter?  Write
 > to the CEO?  No problem, I bet we could flood his office with
 > letters!

I suggest you post a polite request on the CompuServe OS/2 support
forums.  Address it to John Soyring if you like -- he does read and
answer his messages.

 > Yes, some of you IBMer's did comment here previously that you could
 > use the OS/2 1.x technical documentation for these functions but
 > this is the WRONG answer!  The OS/2 1.x documentation is virually
 > unavailable.

I believe that you will find it readily available from IBM,
particularly if you join the new Worldwide Developer's Assistance
Program.

Best regards,
John
From: fhart@ncratl.AtlantaGA.NCR.COM (Fred Hart)
Newsgroups: comp.os.os2.programmer
Subject: Small gnu emacs cursor
Date: 29 Sep 92 13:51:48 GMT
Organization: NCR Engineering and Manufacturing Atlanta -- Atlanta, GA

I am running gnuemacs for os2 in an 80X42 window with the 10X6 font and
the cursor is practically invisible. I saw a post a while back that said
the command:

   cursor -70 -100

would produce a larger cursor, however this doesn't seem to do anything.
I tried running this both inside an emacs *shell* buffer and in an os/2
window. In the os/2 window the cursor was enlarged for a split second
but returned to its original size when the next prompt was displayed.

Is there any detailed documentation on the cursor command and are any
modifications to the termcap file necessary? Where/when should it be run?

I have also been having problems running link386 inside gnu emacs. I posted
something about this problem earlier but received no responses, so I'll
tack the question onto this post for another try. Whenever I run link386 in
gnuemacs it hangs until killed. Link386 runs fine in an os/2 window.

-- Fred Hart (Fred.Hart@AtlantaGA.ncr.com)
Newsgroups: comp.os.os2.programmer
From: ljensen@netcom.com (Colin Jensen)
Subject: Re: Compiling with GCC 2.2.2
Date: Tue, 29 Sep 92 04:46:09 GMT
Organization: Netcom - Online Communication Services (408 241-9760 guest)

In article <1a7rf4INNcvi@coral.bucknell.edu> skelly@coral.bucknell.edu (Kelly Sean David) writes:
>I feel dumb asking this but how do you compile C++ programs with GCC 2.2.2?
>I know in UN*X the command is g++ 

As of gcc 2.0, there is only one command neccessary to compile either assembly,
C, or C++, and that command is....gcc.  Gcc "decides" what type of compilation
to invoke based on the filename extension of the source file.  For example,
``.s'' is assembly, ``.c'' is ANSI-C, and ``.cc'' is C++.  [Several other
extension variants are also recognized as C++].

Just be sure *not* to use gcc to do your linking.  Use link386 for that.

>Also, is there any ftp-able documentation on link386?

No.  Link386 is documented in the Developer's Toolkit, which costs money,
but is probably worth it. [It contains an online API reference]
-
Colin Jensen
cjensen@ampex.com, ljensen@netcom.netcom.com
Xref: sparky comp.os.os2.programmer:5463 comp.os.os2.networking:1634
From: hacker@cco.caltech.edu (Jonathan Bruce Hacker)
Newsgroups: comp.os.os2.programmer,comp.os.os2.networking
Subject: Re: fingerd and finger
Date: 5 Oct 1992 23:47:56 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: punisher.caltech.edu

Carl B Jabido <cj00+@andrew.cmu.edu> writes:

>Does anyone know if a fingerd and finger program exist for IBM's TCP/IP
>for OS/2?  If not, anyone want to port it from unix?

finger exists.
fingerd does not exist.

-- 
Jon Hacker
Caltech, Pasadena CA
hacker@tumbler-ridge.caltech.edu
Newsgroups: comp.os.os2.programmer
From: richk@grebyn.com (Richard Krehbiel)
Subject: Re: precise event timing?
Organization: Grebyn Timesharing
Date: Mon, 28 Sep 1992 23:29:26 GMT

In article <1666.18.uupcb@uttsbbs.uucp> john.navas@uttsbbs.uucp (John Navas)  writes:
>ochealth@unixg.ubc.ca (ochealth) writes:
> > I need to write to a port every 10-30 us or so (smaller is better)
>
>Given that you're talking about 40,000 interrupts per second, it would
>simply not be possible.  OS/2 is rated at 1,000 interrupts per second.

I believe the 1000 interrupt per second "limit" is on virtual
interrupts delivered to a DOS VDM.
-- 
Richard Krehbiel                                 richk@grebyn.com
OS/2 2.0 will do for me until AmigaDOS for the 386 comes along...
Newsgroups: comp.os.os2.programmer
From: sam@ms.uky.edu (Mike Mills)
Subject: Opening four serial ports at once?
Date: Mon, 5 Oct 1992 18:31:52 GMT
Organization: University Of Kentucky, Dept. of Math Sciences

Hi,

I would like to access all of my serial ports at once (I have four; two
I/O cards with two ports on each.  The appropriate jumpers have been set
to the correct places for the base address and interrupts.)

The problem:  I can't seem to use them.  COM1 = mouse, COM2 = modem.  When
I try to use either COM3 or COM4 while COM1 and COM2 are in use, it complains
that the port is already in use.

Soooo...is there some parameter in DosOpen() that I need to specify in order
to use the other COM ports?  My theory is that perhaps by default, when I
try to use COM3 or COM4, it actually tries (by default?) to use the base
address and interrupt that is reserved for COM1 or COM2 (despite the I/O
cards being set differently.)

Any help is appreciated.

Thanks,

-- 
--Mike Mills              E-Mail:  sam@ms.uky.edu, {rutgers, uunet}!ukma!sam
--UK Math Sciences Dept.                  mike@ukpr.uky.edu    
--(606) 257-1429 (work) 263-0721 (home)
From: etxabju@comp (Anders Bjurman)
Newsgroups: comp.os.os2.programmer
Subject: C Set/2 + Gnu Emacs = false?
Date: 29 Sep 92 22:26:46 GMT
Distribution: comp
Organization: Ericsson Telecom AB, Stockholm, Sweden

Hello netters!

I have just installed the IBM C Set/2 compiler, and for me there are two
(except the usual ones :-) problems when compiling from within gnu emacs.

First, emacs can't parse the error messages that C Set/2 generates. I can
probably fix this in compile.el, but with my knowledge of Lisp it will
take a week or two... Is there a fix out there somewhere that I can borrow?

Second: My Emacs can't detect when the compiling process terminates. The
status bar still states "(Compilation: run)". The death of most other
processes is detected, but not icc32. Is there an easy (or hard) way to
fix this problem? Will a newer version of emx help (for example 0.8e)? (if
"yes", can I just replace the .dll file?). Will the promised CSD for OS/2
"2.01" help?

I am using Emacs 18.58.3, emx 0.8d (i.e. the version posted at c.b.os2
a few months ago), and C Set/2 1.0 CSD #14.

Thanks for any help!

/Anders Bjurman

--
------------------------------------------------------------------------
                Anders Bjurman, TN/ETX/TM/JUG   Memo: eri.etx.etxabju           
    \\|||//     Ericsson Telecom AB             etxabju@juno.ericsson.se
     |o o|      S-126 25 Stockholm, Sweden      +46 8 7191232
--w----v----w-----------------------------------------------------------
Newsgroups: comp.os.os2.programmer
Subject: developing for windows under os2?
From: Chris_Sullivan@kcbbs.gen.nz (Chris Sullivan)
Date: 6 Oct 92 11:50:54 GMT
Organization: Kappa Crucis Unix BBS, Auckland, New Zealand

I'm currently developing for Windows under OS/2 2.0
I use the Borland C++ 3.1 compiler, I use the windows IDE which works
very nicely in a WIN-OS/2 session.  I needed to set OS/2 Session/Dos/DMIP 
to 3Mb to link a large windows program in the Borland IDE.

I tried Microsoft C7 (we have the OS/2 patches for it) but couldn't 
get it to work.

I'd highly recommend the Borland WIndows IDE - it works very well under 
OS/2 and is a very smart environment.  The debugger works fine under 
OS/2.  Borland have a patch to fix a problem with the browser with large 
programs.

Newsgroups: comp.os.os2.programmer
From: ochealth@unixg.ubc.ca (ochealth)
Subject: Vio/Avio/Mou/Kbd calls for EMX, need header file!!
Organization: University of British Columbia, Vancouver, B.C., Canada
Date: Sat, 26 Sep 1992 20:25:19 GMT


Help! I've found a set of DLLs and files that let you call the 16bit
OS/2 API functions. I need a copy of the IBM header file (I think it's
os2tk.h). I don't know if it's a big copyright deal, but it's only
a header file (rationalise....)


-- 
______________________________________________________________________________
jpm: ochealth@unixg.ubc.ca         
                            Happily using OS/2 2.0 because MS Windows isNT ___
                                                      Insert VapourFeature ^^^
Newsgroups: comp.os.os2.programmer
From: tdukes@eng.auburn.edu (Todd J Dukes)
Subject: EPM and GCC 2.2.2
Organization: Auburn University Engineering
Date: Sun, 27 Sep 1992 20:12:32 GMT

I am using EPM 5.1, GCC 2.2.2 and gmake. 

I tried running make from a EPM shell. (I typed ctrl-I and then shell. 
A shell came up. I changed directories, and then typed make.)

No text appears in the EPM window.

If I do the same thing in a CMD window, I get error messages.
I thought this was the purpose for allowing a shell from the editor
(creating a text file of error messages), but I can't get it to work.
Am I doing something wrong or is there an incompatability between
GCC and EPM that prevents me from using this feature.

Thanks
Todd
From: si0_tb90020@debet.nhh.no
Newsgroups: comp.os.os2.programmer
Subject: Re: Minor wishlist item: any IBMers out there?
Date: 5 Oct 92 13:57:15 MET
Organization: Norwegian School of Economics

In article <717978212snx@sugs.tware.com>, landis@sugs.tware.com (Hale Landis) writes:
> Hmmmm, wonder what you really mean... Are you looking for
> a 'standard' C library (.lib file used with a linker) or
> are you looking for a 'standard' C library as a .dll file?
> 
> I think the IBM C compiler has a 'standard' C library as
> a .lib file.  What more could you want?
> 
> Why in the world would you want a .dll file for the C library?
> Why would any one want a .dll file for any normal application

Why? If the standard library was distributed as a dll, you would have
several advantages:

1) A compiler manufacturer would not have to worry about making one, he
   could just use the IBM .dll

2) A .dll is just loaded into memory once, not once for each application
   using it. This means you would get a much smaller .exe. This means
   more disk space is free, and you would use less memory. Thats why!



Terje Bergesen  :  SI0_TB90020@debet.nhh.no
From: gthome@bulldogs.austin.ibm.com
Newsgroups: comp.os.os2.programmer
Subject: Re: Serious bug in OS/2 2.0
Date: 25 Sep 92 17:39:12 GMT
Reply-To: gthome@dss1.austin.ibm.com
Organization: IBM, Austin
News-Software: IBM OS/2 PM RN (NR/2) v0.13 by O. Vishnepolsky and R. Rogers

In  <1992Sep25.073705.18715@mynet.no>  ivarh@mynet.no (Ivar E. Hosteng) writes:
> I have found a nasty bug in the OS/2 kernal. If you use alloca to
> allocate large amounts of stack space the hole system crashes. I know
> the stack spaec for the first thread is fixed, but a stack overrun
> should not crash the whole system system. The strange thing is that
> this is only happening on ISA machines and not every thime there
> either. But in every case the error screen that pops up is serverly
> disorted. At the bottom where you are given the choice to aboty the
> program or to get help only horizontal lines are displayed. This
> happens if the system doesent crash completly with an internal error.
>
> Try compiling the following program with gcc: (bevare, executing this
> program migth crash your system.)
>
> #include <stdio.h>
> #include <stdlib.h>
>
> int main()
> {
>         void *foo;
>
>         foo= alloca(10240000);
>
>         printf("foo is now 0x%x\n",foo);
>         return 0;
> }
>
> BTW: Do not increase the stac size when compiling this program.
> Atleast not if you want it to chrash the system.
>
>
> --
> Name:    Ivar E. Hosteng. Phone:   +47 2 68 11 50 ext 278
> Address: Mynet A/S. Ensjoveien 20 PBox 6199 Etterstad, 0602 OSLO 6 Norway
> email:   ivarh@mynet.no
> My opinions are my own and not necessarily shared by my employer.

When I do this with IBM C Set/2 compiler, I get an error stating that I'm
out of stack, and my machine stays running.  I guess C Set/2 has an
exception handler that catches this...

--
=============================================================================
| Gerry Thome              | t/l  678-2256   fax : t/l  678-8597 | Internal |
| IBM-Austin               | (512)838-2256         (512)838-8597 | Zip 9132 |
| OS/2 DCE RPC Development | 11400 Burnet Rd, Austin, TX 78758   |          |
| I do not speak for IBM.  | These are my opinions...            |          |
=============================================================================