delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/10/13/20:21:07

To: physmsa AT cantua DOT canterbury DOT ac DOT nz
Cc: opendos AT delorie DOT com
References: <199710132235 DOT LAA24325 AT cantua DOT canterbury DOT ac DOT nz>
Message-Id: <AAKHiGqKA5@mpak.convey.ru>
Organization: International Brownian Movement
From: "-= ArkanoiD =-" <ark AT mpak DOT convey DOT ru>
Date: Tue, 14 Oct 97 04:01:08 +0300
Subject: Re: ls
Lines: 65
MIME-Version: 1.0

nuqneH,

> Date: Tue, 14 Oct 1997 11:35:55 +1300
> From: physmsa AT cantua DOT canterbury DOT ac DOT nz (Mr M S Aitchison)
> Subject: Re: ls
> To: opendos AT delorie DOT com

> > I am looking for "ls" that is:
> > a) softlinks-aware
>
> Um. Which soft links?
>
> * The ls that comes with the shareware xfs program can list Unix
> features like this, provided we are talking about a Unix nfs-mounted
> file system in the first place.

Nope, i mean FAT..

> * I wrote a program a while back to create _hard_ links (which the
> standard chkdsk doesn't like...  not too much ofg a problem now 'cause
> chkdsk has to be rewritten anyway, for long names).  Normal directory
> listing program work with my hard links.

..and what happens when you _write_ to one of those files?

> * Win95 has "shortcuts" that are much like soft links. I've been
> thinking of supporting them in some of my utilities - already they can
> be recognised as a shortcut, but still the resolution of the link isn't
> used in listing the file size, attributes, etc.  Win95 has poor support
> for its own shortcuts - only in the GUI, not command.com, and if a .lnk
> file is renamed Win95 won't realise it is a shortcut.

..and i'd like those to be supported too..

> * I would really like to support soft links when running OpenDOS under
> Linux via dosemu... I have written a program for fun that lists such

[dd]

Actually i did not mean one of those - i mean that small TSR softlink
driver (was posted to the list a month ago or so)

> > b) device files-aware
> > c) LFN-aware
>
> The LONGNAME TSR that extends OpenDOS 7.01 to use Win95-style long
> filenames is usable by the new COMMAND.COM for OpenDOS, by the Win95
> COMMAND.COM (need to use SETVER), and by 4DOS.  My new XDIR command
> uses long filenames when needed and can be made to output in Unix "ls"
> format (either SET COMPATIBILITY=UNIX before running the command, or
> use /FORM=Unix as an option, e.g. DEFKEY LS=C:\MARK\XDIR /F=U $* or
> something like that).

Hmm sounds great..

[dd]

> When I've finished upgrading my XDIR to use shortcuts and Unix links via
> XFS, I'll release it generally.

What about those softlinks? And - device files?
--- 
                                       _     _  _  _  _      _  _
   Must be a visit from the dead..     _| o |_ | | _|| |   / _||_|   |_ |_ |_
   CU in Hell ..........  Arkan#iD    |_  o  _||_| _||_| /   _|  | o |_||_||_|

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019