Opened 15 years ago

Closed 15 years ago

Last modified 3 years ago

#3 closed defect (fixed)

\DEV\$ type operations fail

Reported by: Abwillis Owned by: somebody
Priority: major Milestone: Version-3.08
Component: Base Version:
Keywords: Cc:

Description

e:\[2]type wrnd32$
SYS0005: Access is denied. "\DEV\WRND32$"
e:\[0]type alsahlp$
SYS0005: Access is denied. "\DEV\ALSAHLP$"

e:\[2]copy alsahlp$ a.log
\DEV\ALSAHLP$ => E:\a.log

1 file copied

e:\[2]copy wrnd32$ w.log
\DEV\WRND32$ => E:\w.log

1 file copied

e:\[0]ver /r

4OS2 3.04H OS/2 Version is 4.50
4OS2 Revision H (159) OS/2 Revision A
Copyright (c) 1988-2002 JP Software, Inc -- http://jpsoft.com/
SciTech Edition -- not supported by JP Software, Inc.
Built with Open Watcom C/C++ -- http://www.openwatcom.org/

Change History (6)

comment:1 by Abwillis, 15 years ago

Just downloaded latest version and verified that it hasn't been addressed in a later verion:
e:\[2]ver /r

4OS2 3.05A OS/2 Version is 4.50
4OS2 Revision A (162, Aug 28 2009 22:30:47) OS/2 Revision A
Copyright (c) 1988-2002 JP Software, Inc -- http://jpsoft.com/
SciTech Edition -- not supported by JP Software, Inc.
Built with Open Watcom C/C++ -- http://www.openwatcom.org/

comment:2 by andi.b, 15 years ago

The problem is in type_cmd() maybe in QueryIsDevice(). But currently I do not understand it. Have to take another look if I've more time...

comment:3 by andi.b, 15 years ago

Experimental code in 3.05rc4 to address this problem. Feedback appreciated especially for side effects on 'normal' type.

comment:4 by abwillis, 15 years ago

Thanks for your work.
type alsahlp$ works fine here.
e:\browsers\cz[0]type wrnd32$
ERROR

Checked on cmd.exe to make sure it wasn't a problem with wrnd32$ and it pulled information from there fine.

comment:5 by andi.b, 15 years ago

Resolution: fixed
Status: newclosed

I've increased the buffer size to 4096 which is the min. size for which current wrnd32$ returns meaningful information. This is the best I can do in 4os2. With smaller sizes (used with type /P or /L options) wrnd32$ returns 'ERROR' or simply 'E' instead. This is a limitation of the driver and can not be easily worked around in 4os2. Same problem with some older versions of alsahlp$. See readme.1st for additional information.

comment:6 by Gregg Young, 3 years ago

Milestone: Version-3.08
Note: See TracTickets for help on using tickets.