From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,31af760e939556ef X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Interpretation of extensions different from Unix/Linux? Date: Thu, 3 Sep 2009 17:22:44 -0500 Organization: Jacob Sparre Andersen Message-ID: References: <17qw45cbpv4r.1rcmhhpnxv3dv.dlg@40tude.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1252016642 28463 69.95.181.76 (3 Sep 2009 22:24:02 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 3 Sep 2009 22:24:02 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Xref: g2news2.google.com comp.lang.ada:8140 Date: 2009-09-03T17:22:44-05:00 List-Id: "Dmitry A. Kazakov" wrote in message news:17qw45cbpv4r.1rcmhhpnxv3dv.dlg@40tude.net... ... > This does not answer my question. Is file manager a typical application? > How can it be designed in Ada using Ada.Directories? Let us ignore GUI > issues. IMHO, no, it is not a typical application. You serve no one by reinventing the wheel, and file managers are an integral part of every modern OS, and commonly available on lots of non-modern OSes. Let the user use what they are familar with. If you did write one with Ada.Directories (and you surely can, you just have to use some OS-specific way of finding roots), it would necessarily be a poor imitation of the provided one -- it couldn't handle anything unusual (such as network connections that need authentication) or anything newly added (imagine a new Windows version that supported accessing files over the internet using URLs). Tom's application (making the video catalog from a known directory) or my most recent one (finding partially processed [but fully received] e-mail messages on mail filter startup [for crash and reboot recovery]) seem far more typical to me. Randy.