🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2796

Re: Some OS Q's.

#2796
From: Steve Luzynski
Date: Sat, 12 Dec 1992 23:25
72 lines
3723 bytes
In article <Qf_3j1q00UhWM7ykZk@andrew.cmu.edu> Matthew Edward Patton <mp52+@andrew.cmu.edu> writes:
>Date: Fri, 11 Dec 1992 01:57:05 -0500 
>From: Matthew Edward Patton <mp52+@andrew.cmu.edu>
>Subject: Some OS Q's.
>I would like some information on OS2's extended attributes when used on
>an HPFS drive.
>
>1. Where,how are the Extended attributes stored?  Is it tacked onto the
>end of the file? Are they kept in a special hidden file in the directory?

They're 'stored contiguously with the file.' Whatever that means...In the 
FAT system they _are_ in a hidden file - but you knew that, right? :)

>
>2. The popular OS2 compression Utilities Info's Zip and UnZip, do they
>keep track of extended attributes and successfully store them?

Yep.

>
>3. Are sources for OS2's backup.exe and restore.exe available?

Not that I know of. 

>
>4.  Has ANYONE gotten Borland C++ 3.1 to run under a dos window in OS2.
>(either ide or commandline version: when I attempt the above, I get
>screenfuls of garbage - like if you did a "type bc.exe" under dos)

Yep. The only thing you have to do is set DPMI_DOS_API to ON instead of 
AUTO. And of course you can give the thing as much memory as you want.

>5. can a DOS program access the extended attributes or is there a way to
>"dump/extract" the attributes and then "paste" them on again?

The EAUTIL program does just that. Look it up in the command reference for 
info.

>6. Is there a Programmers' guide to the OS2 kernel or os2/mdos kernel
>available? (something like the Norton Programmer's guide to DOS:
>funcalls, interupts, the works)

There are really nice .inf files included with IBM's development stuff. I 
don't know if they'd allow them to be distributed via FTP, tho...I suppose 
you could buy the CD if you have a CDROM drive available - it's only $15.

>7. Where is the source code for InfoZip's stuff?

Never seen it myself...

>Explaination:  I want to write a HD backup program for os2 which will
>operate under either FAT or HPFS and use the TurboVision IDE style
>interface. (if you know how I might implement the interface under gcc or
>something else let me know)  Anyway, I plan to develope under BCC and
>run it as a DOS app under OS2.  Is this possible? Feasible?
>
Should work...you do realize that such a beastie couldn't access the files 
OS/2 will have locked while it's running...that means the user would have to 
boot from a floppy. 
As for the interface, you could always hope that Turbo Vision (or even 
better, ObjectWindowsPM) will be included in BC++ for OS/2. Then you could 
make it a real OS/2 program...other than that you could always write the 
thing yourself - you'd probably be granted god status if you did that and 
then released the code... :)

----------------------------------------------------------------------------
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.
Technical Details
Message-ID: <sal8.247.724202722@po.cwru.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!usenet.ins.cwru.edu!b61442.STUDENT.CWRU.Edu!sal8
References: <Qf_3j1q00UhWM7ykZk@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!usenet.ins.cwru.edu!b61442.STUDENT.CWRU.Edu!sal8
From: sal8@po.cwru.edu (Steve Luzynski)
Newsgroups: comp.os.os2.programmer
Subject: Re: Some OS Q's.
Date: Sat, 12 Dec 1992 23:25:22 GMT
Organization: Case Western Reserve University
Lines: 72
Message-ID: <sal8.247.724202722@po.cwru.edu>
References: <Qf_3j1q00UhWM7ykZk@andrew.cmu.edu>
NNTP-Posting-Host: b61442.student.cwru.edu