TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Winston Smith
from: Charles Angelich
date: 2003-07-01 01:45:02
subject: dos2unix

1237c2d18df6
c_echo



Hello Winston - 

>> So which one of these is most commonly used in, for example,
>> directory listings? 

WS> Well, the "default" is to list the "last modified" time,
WS> since that is an important security feature to see how
WS> recently the file contents had been "twiddled", and it is
WS> needed for compiles and MAKE and code deltas and other
WS> automatic functions that use a "last touched" time. It that
WS> it concurrs with DOS. 

I have never before heard a *nix programmer say his code must
agree with DOS defaults. I would hazard the guess that the
'MAKE' app would read the information using it's own internal
code and not rely on some utilities directory listings displays? 

WS> However, as this is UNIX, you can set the flags to show or
WS> exclude any fields that you like, to create alias commands
WS> such as 'oldest' or 'looked-at' or anything that you like. 

Last time I wrote any C code to use/display directory listings
it seemed to me that there are no 'canned' routines for this
and I was at liberty to do whatever I wanted to do with the raw
data supplied by library routines that read the directory in
DOS. There really isn't much there as I recall and I had to
convert the data to be able to display human readable
information on my own. :-\ 

>
>        ,                          ,
>      o/      Charles.Angelich      \o       ,
>       __o/
>     / >          USA, MI           < \   __\__
 

___ * ATP/16bit 2.31 * 
... DOS the Ghost in the Machine! http://www.undercoverdesign.com/dosghost/

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

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™.