HDTenEightyP/NetNews huggingface dataset:
From: xtifr@netcom.com (Chris Waters)
Subject: Re: Why HPFS SHOULD be secret.
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Tue, 24 Nov 1992 02:35:56 GMT

In <1992Nov23.194539.20288@murdoch.acc.Virginia.EDU> etb2s@uvacs.cs.Virginia.EDU (Erik Timothy Brandsberg) writes:

>After seeing a few of the posts requesting information about the HPFS,
>I realized that IBM should NEVER release this information, and if they
>have, it was a big mistake.  The problem is security--IBM is working
>to make OS/2 a much more secured system, and the server variations of
>the HPFS have built in security.  If someone decides to make a driver
>to access the HPFS from DOS or Linux...  Then these security measures
>can very easily be stripped off and anything on the disk can be read
>by anybody.  Therefore, I encourage you DON'T attempt to write such a
>tool, as it might be used for the wrong reasons.

Piffle, I say, piffle!  Unix is designed for file-system security (grep
-v NFS), yet no one objects to the fact that the layout of the file
system is public knowledge.  If you want security, you don't give people
direct access to the machine--you don't let them directly reboot with
another OS which might be able to peep into the partitions where your
secure data is stored.  You *certainly* shouldn't try to repress what
could be extremely useful information for people trying to recover data
off of crashed drives!

Hell, it's my computer, I'll hack it if I want to, thank you very much!

Gee, while we're at it--consider that C compilers can be useful to
crackers--so let's ban all C compilers!  Make everybody program in REXX
or shell scripts only, so that we won't have any potential holes in our
security.

1/2:-)
-- 
Chris Waters    | the insane don't | "Don't you boys know NICE songs?"
xtifr@netcom.COM| need disclaimers |                 -- Mrs. Borg
Newsgroups: comp.os.os2.programmer
From: stimpy@nmt.edu (John Reynolds)
Subject: Re: BC++ OS/2 & AF
Organization: New Mexico Tech
Date: Thu, 19 Nov 1992 20:19:33 GMT

>Will BC++ OS/2 support Windows & DOS application Programming
>or will I have to buy BC++ 3.1 ?
>
>Will Borland port the Application FrameWorks over to OS/2 PM?
>
>It would be real nice to program for windoze using AF
>and just change a library or header file and compile for OS/2 PM
>Dreaming right?  I thought so :)

True, rumor is that this won't happen in the first release of BCC++4os2,
because they 'want to get the OS/2 part right first.' But, I've also
heard they they are working on the class structures to do such a thing.
Write a windows app using their class libraries, and 'instantly' port
it over to PM. Now that would be sweet!

-Jr



-- 
DOS...Boot sector virus!????           | #include <~os2/personal.opinion.h>
Windows...It's like a stale cookie.    | John Reynolds stimpy@jupiter.nmt.edu
OS/2..."It's like buudaah" (SNL quote) | New Mexico Tech. #10 and rising!!!
From: dburton@salzo.Cary.NC.US (David Burton)
Newsgroups: comp.os.os2.programmer
Subject: Executing HLT in an application
Date: Fri, 20 Nov 92 21:01:06 EST
Organization: SalzoBoard BBS

 
The CPU in my notebook computer consumes much less power (i.e., goes
into a standby mode) when executing a HLT (halt) instruction.  I've
written a little utility that can tell when the CPU is being little-
utilized, and it slows down the clock to save power when it detects
that situation.  However, it would save even more if it executed the
HLT instruction.  That'd be no problem except that...
 
...the darn HLT instruction is privileged.
 
Of course, there is no good reason for it to be privileged... it is no
more "dangerous" than "JMP $".  However, Intel goofed (and Cyrix 
dutifully
cloned the goof), so there's nothing that I can do about it.
 
My question, then, is, "what is the best way to get a few bytes of
ring 0 code executed by my application?"  A device driver?  Or is there
a better/simpler way?
 
All advice will be appreciated...
 
-Dave
From: hamish@waikato.ac.nz
Newsgroups: comp.os.os2.programmer
Subject: Re: TCP/IP
Date: 17 Nov 92 08:56:47 +1300
Organization: University of Waikato, Hamilton, New Zealand

In article <1992Nov16.153637.15548@watson.ibm.com>, cnadler@vnet.ibm.com (Cliff Nadler) writes:
> In <27470@oasys.dt.navy.mil> photons@oasys.dt.navy.mil (Julie Mills) writes:
>>
>>Has anybody kluged the 16-bit TCP/IP header files to work with
>>32-bit stuff yet?
>>
>> - julie
> 
> IBM just released a new CSD to the TCP/IP programmers set. It includes new
> headers for 32-bit compilers (at least the IBM C-Set/2 compiler). It should
> be on software.watson.ibm.com soon (if not already - I can't check).
>

Can't see them there. Has anyone uploaded them to ftp-os2 yet?

 
> Cliff
> Note: This posts represents the views of the poster, not IBM Corporation
-- 
Hamish Marson, SCMS, University of Waikato             |
hamish@waikato.ac.nz.  Fax +64 7 8384066               | Computers are only 
Disclaimer: Remember. You heard it here first!         |   Human.....
		  
George Washington not only chopped down his father's cherry tree, but he also 
 admitted doing it.  Now, do you know why his father didn't punish him?  
 Because George still had the axe in his hand.
From: gb8@prism.gatech.EDU (BEEBE)
Newsgroups: comp.os.os2.programmer
Subject: Help with the WinFileDlg function
Date: 13 Nov 92 11:34:08 GMT
Organization: Georgia Institute of Technology



Hello All,

I've run into a bit of a snafu on the proper utilization of the WinFileDlg
API function. The documentation in the RED BOOK's appears to be hopelessly
incorrect. I used the code they suggested to initialize the FILEDLG struc-
ture and ended up with about 10 "identifier must be a member of the structure
or union class" errors and one "severe error: general compiler fault" or 
some such thing. I've check the online help and fixed most of the declaritory
errors but the "severe error" persists. The FILEDLG member assignment that 
causes the error is

         Dlgdat.pfnDlgProc=NULL;

where FILEDLG Dlgdat; was previously declared. This assignemnt was recommended
in the RED BOOK's (although I have my reservations as to its neccesity). The
general idea is to use a default "OPEN FILE" dialog box to return a HFILE   
pointer. The question is: If you declare the pointer to the dialog procedure
to be NULL, how does the WinFileDlg call know where to process the default
dialog controls? Can someone recommend a validated source of accurate information describing the use of the WinFileDlg function?

Thank in Advance,
Gary

  


-- 
BEEBE,GARY E
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gb8
Internet: gb8@prism.gatech.edu
Newsgroups: comp.os.os2.programmer
From: giguere@csg.uwaterloo.ca (Eric Giguere)
Subject: Help me create the OS/2 REXX application list
Organization: Computer Systems Group, University of Waterloo
Date: Fri, 20 Nov 1992 18:45:44 GMT


As you may or may not know, I maintain a Frequently Asked Questions list
for REXX that I post every once in a while to comp.lang.rexx and other
appropriate groups.  (The current FAQ can be FTPd from rexx.uwaterloo.ca
as /pub/rexxfaq.)  I am now also starting to collect information on
OS/2 applications that support REXX.  A similar list is maintained 
regularly for ARexx.  As with the REXX FAQ, I will post the list regularly
to appropriate newsgroups, which may or may not include comp.lang.rexx
but will certainly include comp.os.os2.programmer.

To do this I need your help, but you really don't have to do much:  just
send me some email describing any applications that you know of under OS/2
that use REXX.  You might also mention to me HOW it uses REXX, as in:

  1) Can only spawn REXX macros 
  2) Includes a subcommand interface (i.e., you can send the application
     commands using ADDRESS)
  3) Defines new external functions

If the application is freeware, please tell me where you got it as I
may wish to keep a copy on my FTP site.  

Hopefully this list will help people (users and developers) clue in
to the usefulness of REXX as a standard macro language for OS/2.

-- 
 Eric Giguere                                    giguere@csg.UWaterloo.CA
          So is Windows NT short for "Windows, NOT?"  
Newsgroups: comp.os.os2.programmer
From: beascoea@colossus.cs.rpi.edu (Alex Beascoechea)
Subject: Any good books about OS/2?
Organization: Rensselaer Polytechnic Institute, Troy NY
Date: Tue, 24 Nov 1992 05:50:18 GMT

A friend of mine that does not have acces to the network has asked me to
post this.

Are there any good books and/or IBM documetation that concentrates on 
software development aspects of OS/2. For example, everything related to
systems calls.

Also, is there any available documetation about the Database services
in the Extended services (SQL stuff). My friend says that is very difficult
to get this kind of info in Spain, even from IBM.

I am interested in any commercially available book and/or docummentation that
can be bought from IBM.

Alex.
-- 
----------------- Alex Beascoechea -----------------
alex@ecse.rpi.edu beascoea@cs.rpi.edu beasca@rpi.e
----------------------------------------------------

Newsgroups: comp.os.os2.programmer
From: mts@shelley.u.washington.edu (Sean Milligan)
Subject: Emacs Help
Keywords: emacs
Organization: University of Washington, Seattle
Date: Fri, 20 Nov 1992 23:31:51 GMT

I'm having trouble installing EMACS from ftp-os2.nmsu.edu.  When I execute the
lib.cmd file and it inturn executes temacs.exe I get the error message:
  Can't find file EMX

I looked at the temacs.exe file using TYPE temacs.exe and the only english 
there says EMX 0.8.  Is this another program I need to build the executable
emacs.  I've done everything that the README file tells me to do without any
luck.  

Any help would be greatly appreciated.

Sean Milligan 
mts@hardy.u.washington.edu
Student, Department of Mechanical Engineering
University of Washington, Seattle

Newsgroups: comp.os.os2.programmer
From: someday@hardy.u.washington.edu (Scott Johnson)
Subject: Can you change tab size in IPMD?
Organization: University of Washington, Seattle
Date: Sat, 21 Nov 1992 01:08:09 GMT


Here's an annoying little problem with the Source View windows in the
debugger that I can't figure out.  It always displays source with tabs
expanded to 8 characters and there doesn't seem to be a way to change
this setting.  Is there a way?

Since I have my editor tabs set to 4, and some old code uses spaces
instead of tabs for indentation...well, you get the idea: the code
displayed in the debugger source window can get pretty garbled.  Yuck.

Scott Johnson
not a spokesman for,
but developing an OS/2 product at,
Revelation Technologies, Inc.
From: francis@vnet.ibm.com (Tim Francis)
Date: Mon, 23 Nov 92 11:33:32 EST
Subject: OS/2 WorkFrame and Enhanced Editor Problem
Newsgroups: comp.os.os2.programmer
Reply-To: francis@vnet.ibm.com
Organization: IBM Canada Lab, WorkFrame/2 development
Disclaimer: This posting represents the poster's views, not those of IBM

In article <20NOV92.14475345@wl.aecl.ca>,
tranx@wl.aecl.ca writes:
>
>Hi
> I am using Enhanced Editor on OS/2 but whenever I type CTR-H on the function
>(eg. WinSetFocus) to get on-line help. It always prompt the message"
>VIEW.EXE Error open the input file" . I don't understand. According to the
>Developer's guide I can get the on-line help of any function in the Enhanced
>Editor.

Make sure the .NDX and .INF files are located in a directory included in
your DPATH (by default the following should be included:  \IBMC\HELP;
\TOOLKT20\BOOK).

> And the other question about the tools in WorkFrame: I used "addtools" to
>add tools(dialog editor,recource compiler,...) into the WorkFrame. I see the
>tools listed in the "tools menu" but I can't invoke it.
>
> Could anyone help me out?

Can you explain what you mean by "can't invoke it"?  Does an error message
appear?  What does it say?   -tim
Newsgroups: comp.os.os2.programmer
From: auhl@fzi.de (Axel Uhl)
Subject: Re: Using the mouse in a Vio graphics screen...
Reply-To: auhl@fzi.de
Organization: Forschungszentrum Informatik (FZI), Karlsruhe, Germany
Date: Fri, 20 Nov 1992 10:31:46 GMT

Obviously you are one of the lucky people with documentation about
the MOU/KBD/VIO interface. Can you give some pointers to good literature
about that theme?

Thanks, Axel.
Newsgroups: comp.os.os2.programmer
From: axilleas@playfair.Stanford.EDU (Achilles Venetoulias)
Subject: container drag/drop
Keywords: container, drag, drop
Organization: Stanford University
Date: Tue, 17 Nov 92 04:31:50 GMT
From: vgough@slate.mines.colorado.edu (Valiant Gough)
Newsgroups: comp.os.os2.programmer
Subject: help - csd & dos
Date: 20 Nov 92 23:18:37 GMT
Organization: Colorado School of Mines


	I installed the CSD a few weeks ago, and things seem to work find,
but..... I accidentally deleted some of my windows drivers, so I had to 
reinstall them from the os/2 originals.  The install program on the
original disks happily put the files on my hard drive - as well as
overwriting my dos files.  It would seem that the CSD made changed to 
/os2/mdos/doskrnl  - because now I get wierd errors, and my system crashes
every time I try to run a Dos program. 

So,  would someone uuencode and mail me a copy of /os2/mdos/doskrnl , so
that I don't have to download all 14 csd disks again?


thanks,
Val Gough
From: francis@vnet.ibm.com (Tim Francis)
Date: Mon, 16 Nov 92 12:09:40 EST
Subject: Nested Comments in IBM C Set/2
Newsgroups: comp.os.os2.programmer
Reply-To: francis@vnet.ibm.com
Organization: IBM Canada Lab, WorkFrame/2 development
Disclaimer: This posting represents the poster's views, not those of IBM

In article <c9e-aw.721870314@volga.Berkeley.EDU>,
c9e-aw@volga (Claudio Fahey) writes:
>
>Does anybody know if the IBM C Set/2 compiler can be
>setup to support nested comments?  It sure is a pain
>uncommenting my comments when I want to comment a large
>section of code.
>

Nested comments are not supported by ANSI-conforming compilers.
If you wish to comment out large blocks of code, try surrounding it
by #if 0   and   #endif -- that will work around comments.   -tim
Newsgroups: comp.os.os2.programmer
From: Creed Erickson <creed@blowfish.taligent.com>
Subject: Re: Executing HLT in an application
X-Xxmessage-Id: <A73476BA1101C1C6@kip-4.taligent.com>
X-Xxdate: Sat, 21 Nov 92 07:28:58 GMT
Organization: Taligent Inc.
X-Useragent: Nuntius v1.1.1d12
Date: Sun, 22 Nov 1992 07:28:51 GMT

In article <JsgkuB1w165w@salzo.Cary.NC.US> David Burton,
dburton@salzo.Cary.NC.US writes:
>The CPU in my notebook computer consumes much less power (i.e., goes
>into a standby mode) when executing a HLT (halt) instruction.  I've
>written a little utility that can tell when the CPU is being little-
>utilized, and it slows down the clock to save power when it detects
>that situation.  However, it would save even more if it executed the
>HLT instruction.  That'd be no problem except that...
> 
>...the darn HLT instruction is privileged.
> 
>Of course, there is no good reason for it to be privileged... it is no
>more "dangerous" than "JMP $".  However, Intel goofed (and Cyrix 
>dutifully
>cloned the goof), so there's nothing that I can do about it.

Yes indeed there is a good reason for the HLT instruction being
privledged! Allowing an application to perform HLTs would seriously
jepordize system security.  Of course I realize this is immaterial to
you in the situation you described, but if the os is running a task
which controls Aunt Mille's iron lung, I'd like to have some assurance
a cute little utility downloaded from some BBS can't execute a HLT.

---
Creed Erickson
Newsgroups: comp.os.os2.programmer
From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
Subject: Re: HELP: need information on how to port ms-windows -> OS/2
Reply-To: sip1@midway.uchicago.edu
Organization: Dept. of Econ., Univ. of Chicago
Date: Sat, 21 Nov 1992 04:02:32 GMT

In article <2702@targon.UUCP> andre@targon.UUCP (Andre van Dalen) writes:
>What do I have to do to get a pair of MS Windows (3.0/3.1) programs running
>on OS/2 1.x or 2.x presentation manager?
>To be more specific, I have a set of programs that use a server that
>runs on a Unix machine. The IPC I use is LanManager named pipes from
>windows to lan mananger on unix. On the PC I have two programs,
>one keeps the connection with the server and accepts requests via
>DDE. The other implements a UI and gets results via DDE from the other
>windows program.
>Now I must find out what I have to do let these run on OS/2 machines
>I do not know if I am going to use OS/2 1.x or 2.x.
>- Are there tools to help me?
>- Do I have to port or should it run as is with an extra set of dll's?
>- What about the Named Pipe connection?
>- Is the DDE mechanism the same (where are the differences)?
>I looked in the faq's but they didn't help me,
>any information is welcome.

Well, first off OS/2 2.0 does run Windows programs rather well.  But
you probably will want to do some porting.

If so, there are basically two approaches.  One is to get an OS/2
compiler, programming documentation, and go to it.  The most popular
method right now (on the commercial side) of doing that is to get
IBM's $375 WorkSet/2 product (which includes C Set/2 compiler,
debugger, WorkFrame/2, and Toolkit, including lots of online
programming information).  Then you just go and code.  A brute force
approach.

The other way is to call Micrographx and ask them about Mirrors for
OS/2.  This product essentially lets you recompile your existing
Windows source code to run as a "native" OS/2 application, with a
minimum of fuss.

-- 
Timothy F. Sipples      | Read the OS/2 FAQ List 2.0g, available from
sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/info
Dept. of Econ., Univ.   | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
of Chicago, 60637       | [Read the List, THEN post to ONE OS/2 newsgroup.]
Newsgroups: comp.os.os2.programmer
From: smbrush@lims01.lerc.nasa.gov (Andy Brush @Sverdrup)
Subject: Re: IBM DOCUMENTATION
News-Software: VAX/VMS VNEWS 1.41    
Organization: NASA Lewis Research Center
Date: 23 Nov 1992 09:36 EST  

In article <2667.2289.uupcb@synapse.org>, robert.turner@synapse.org (Robert Turner) writes...
>Can someone who has purchased any of these books (list follows post)
>   o "Application Design Guide"
>        Part Number: 10G6260   Price: $15.00
>   o  "Programming Guide Volume I"
>        Part Number: 10G6461   Price: $15.00
>   o  "Programming Guide Volume II"
>        Part Number: 10G6494   Price: $25.00
>   o  "Programming Guide Volume III"
>        Part Number: 10G6495   Price: $15.00

I bought these books in paper form as soon as they were available.  I have 
identified major discrepancies between the programming examples in 
the paper books and what will really compile successfully using the GA 
release of C Set/2.  Even so, I am doing reasonably well at learning to 
program in OS/2 (at a hobbyist pace) using these books.

An electronic version of these manuals is available as part of the DAP CD.  
If they will send me the CD, they will send it to anyone.

Andrew S. Brush             | SMBRUSH@LIMS01.lerc.nasa.gov
Sverdrup Technology         | 2001 Aerospace Parkway
NASA LeRC Group             | Brook Park, OH 44142
"Opinions are Mine, Only"   | (216) 826-6770
From: atoenne@mpii02000.cs.uni-sb.de (Andreas Toenne)
Newsgroups: comp.os.os2.programmer
Subject: Beginner's question on emx
Date: 17 Nov 92 08:17:10 GMT
Organization: Max-Planck-Institut fuer Informatik, Saarbruecken

Hi!

Can anyone tell the exact way to use the emx/gcc in conjunction with IBM's
development toolkit? I like to compile some of the examples but I have constant
problems.

Some other questions:

- how do I build a DLL which contains bitmaps? dialogs?
- is there a way to reverse just the background of some media using the bit-blt
  calls? I have some black text on light gray background and (for selection)
  I like to make that gray into yellow. But this operation must be its own
  inverse operation (ie. doing it twice restores the old picture).
  My best solution is to use ROP_PatReverse (85) but this is not exactly what
  I like to have.

   Thanx,

	Andreas
-- 

	Andreas Toenne			Voice: 	x49 681 5846272
	Max-Planck-Institut		Office:	x49 681 302 5363
	fuer Informatik			e-mail:	atoenne@mpi-sb.mpg.de

	Im Stadtwald
	6600 Saarbruecken, Germany
Newsgroups: comp.os.os2.programmer
From: andrest@wl.aecl.ca
Subject: Re: let FORTRAN program run under DOS to run under OS2
Organization: AECL RESEARCH
Date: Sun, 15 Nov 1992 18:25:15 GMT


In article <1992Nov13.212747.24403@cs.cornell.edu>, liang@cs.cornell.edu 
(Yu-Min Liang) writes:
> Does anyone know if there is any tool available to help one
> modify a FORTRAN program originally run under DOS and make it
> to be run in OS/2 environment?

I have just received a copy of Watcom's F77/386.  The concept is wonderful,
although I have not had much time to test it.  The compiler, linker, make
etc. all run under DOS or under OS/2, and it can generate executables or
dynamic link libraries for DOS, Windows and OS/2.

Terry Andres

AECL Whiteshell Labs  | Phone:    (204) 753-2311     | Eschew obfuscation
Pinawa, Manitoba      | Fax:      (204) 753-2455     | and sesquipedalian
R0E 1L0, Canada       | Internet: andrest@wl.aecl.ca | sophistry!
-- Content disclaimed by AECL at source --
From: weissh@nextadm.cc.vt.edu (Hugh Weiss)
Newsgroups: comp.os.os2.programmer
Subject: Support Recommendation Sought
Date: 23 Nov 92 05:57:55 GMT
Organization: Virginia Tech Computing Center - Distributed Computing Group

This post is for a friend who does not have net access.
I'll pull down posted replies and forward them.

"I work for a small company developing under OS/2 1.3, using Microsoft
C 6.0, and Microsoft OS/2 Presentation Manager Toolkit 2.1.  We are
converting to OS/2 2.0.  We are interested in improving our support
environment and would be very grateful for answers to a few questions:

1) What are the relative values of the following sources regarding the
resolution of problems and the recommendation of solutions in the OS/2
environment?
	- comp.os.os2 newsgroups
	- Compuserve fora
	- IBM Helpware
	- IBM OS/2 Bulletin Board
	- IBM programmers & developers groups
	- IBM Boca Raton programmer's club?
	- any other notable sources?

2) What are some recommended patches, upgrades, kluges, etc. to tidy up
OS/2 2.0, PM Toolkit 2.1, and MSC 6.0?  What are other recommended
development applications?

3) Here are a couple of sample questions that we are looking to answer:

	How does one use cvp to debug a Presentation Manager
	application?  We generally get a segmentation violation or an
	unfriendly lockup when we try to do so.  Is there a debugger
	out there for OS/2 that is more robust?

	Why when changing a file or folder name on the OS/2 2.0
	desktop does it often take several attempts to actually
	complete the change?

Any and all suggestions, recommendations, answers, redirections, lies,
and rumors are graciously welcomed in our current support vacuum.

- Rodney"
Newsgroups: comp.os.os2.programmer
From: rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel)
Subject: Re: Heap Walker for OS/2 ?
Keywords: Memory Resource Monitor
Organization: Technische Universitaet Muenchen, Germany
Date: Mon, 16 Nov 1992 22:59:37 GMT

In article <4311@execu.execu.com> kevin@execu.execu.com (Kevin English) writes:
>Is there a utility like the MS/Windows Heap Walker available
>for OS/2 ?  I am most interested in something that will let
>me walk through the PS's our application has allocated to
>obtain the details of their contents.

IBM has a product called System Performance Monitor/2 (SPM/2) which
includes an OS/2 2.0 specific version of the THESESUS utility. It allows
viewing not only all memory but also kernel internal thread/process etc.
tables and structures.

Kai Uwe Rommel

/* Kai Uwe Rommel --- rommel@informatik.tu-muenchen.de */

DOS ... is still a real mode only non-reentrant interrupt
handler, and always will be.                -Russell Williams

Newsgroups: comp.os.os2.programmer