TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Patrick Haller
from: Brian May
date: 1994-08-11 17:49:04
subject: Hpfs

Hello,

PH>Hi Mike!

[..]
 MB> I'm writing an OS/2 app, and would like to include support for HPFS
 MB> long names.  I've never worked with long names, or EAs at all for
 MB> that matter.  :)  Could someone explain or give me an example of how
 MB> to access the EA.Longname from my program?

Also, when adding support for long files names, make sure that your
code doesn't assume file names are in the 8.3 format. While this
might be rare, some non OS/2 code that I have does just that.

PH>EA.Longname ist only good for a sort of "longname emulation" on FAT-
PH>partitions (as it's done by the WPS). You won't have to 
PH>deal with it at all when using HPFS. Normally you only need 
PH>a larger buffer for the filenames to add HPFS-support in 
PH>your programs (when you recompile them with a 32-Bit OS/2 
PH>compiler).

It also is used be the WPS to allow users to give files non HPFS
file names (for example, '/', the new line and carriage return
characters are not supported by HPFS, but can be entered in WPS)

Brian May
___
 * MR/2 2.03 NR * Don't let school interfere with your education.

--- Maximus/2 2.01wb

* Origin: Multi - 61-3-739-7145 (3:633/363)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/301 341 348 365 386 998 633/104 252
SEEN-BY: 633/260 357 363 371 373 379 634/384 635/210 502 503 636/100 638/100
SEEN-BY: 639/100 640/820 690/660 711/409 413 430 807 808 809 934 712/353 623
SEEN-BY: 713/888 800/1
@PATH: 633/363 260 371 635/503 632/348 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.