comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Ada.Directories
Date: 23 Oct 2007 12:11:50 -0500
Date: 2007-10-23T12:11:50-05:00	[thread overview]
Message-ID: <STLiPrk2Va8x@eisner.encompasserve.org> (raw)
In-Reply-To: wccejflhkz7.fsf@shell01.TheWorld.com

In article <wccejflhkz7.fsf@shell01.TheWorld.com>, Robert A Duff <bobduff@shell01.TheWorld.com> writes:
> Kilgallen@SpamCop.net (Larry Kilgallen) writes:
> 
>> In article <ffkdem$1oe$1@infosun2.rus.uni-stuttgart.de>, Peter Hermann <ica2ph@lucky.ihr.uni-stuttgart.de> writes:
>>> Adam Beneschan <adam@irvine.com> wrote:
>>>> Maybe the GNAT folks can add a subpackage of Ada.Directories that
>>> 
>>> maybe there exists some code for
>>> standardized portable handling of path strings?
>>
>> I doubt it.  Handle this:
>>
>> 	SYS$SYSTEM:SECURITY.AUDIT$JOURNAL;-1
>>
>> Typically SYS$SYSTEM is a logical name pointing to a rooted directory,
>> but there have been cases where particular customers have made it a
>> triple-rooted directory rather than single.  The only reliable way to
>> figure out what is going on is to call the appropriate VMS system servce.
> 
> What's a triple-rooted directory?

I should have said "double" instead of "single" above, which would be:

$ show logical sys$sysroot
   "SYS$SYSROOT" = "DSA6:[SYS0.]" (LNM$SYSTEM_TABLE)
        = "SYS$COMMON:"
1  "SYS$COMMON" = "DSA6:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE)

a triple rooted directory example is:

$ show logical DECW$SYSTEM_DEFAULTS
   "DECW$SYSTEM_DEFAULTS" = "SYS$LOGIN_DEVICE:[GREG.TOOLS.DECW]" (LNM$PROCESS_TABLE)
        = "SYS$COMMON:[DECW$DEFAULTS.USER]"
        = "SYS$COMMON:[DECW$DEFAULTS.SYSTEM]"
        = "SYS$LIBRARY:"
1  "SYS$LIBRARY" = "SYS$SYSROOT:[SYSLIB]" (LNM$SYSTEM_TABLE)
   "DECW$SYSTEM_DEFAULTS" = "SYS$SYSROOT:[DECW$DEFAULTS.USER]" (DECW$LOGICAL_NAMES)
        = "SYS$SYSROOT:[DECW$DEFAULTS.SYSTEM]"
        = "SYS$LIBRARY:"
1  "SYS$LIBRARY" = "SYS$SYSROOT:[SYSLIB]" (LNM$SYSTEM_TABLE)
$

> Common Lisp has pretty good support for mostly-portable handling of path
> names.  It includes support for VMS, if I remember correctly.

Certainly that is possible, but it involves OS-specific code not
implied by sentence that prompted my comment.

>>> maybe there exists some code for
>>> standardized portable handling of path strings?



  reply	other threads:[~2007-10-23 17:11 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-20  9:21 Ada.Directories Dmitry A. Kazakov
2007-10-20 18:43 ` Ada.Directories anon
2007-10-20 19:40   ` Ada.Directories Dmitry A. Kazakov
2007-10-20 20:35     ` Ada.Directories Maciej Sobczak
2007-10-21  7:40       ` Ada.Directories Dmitry A. Kazakov
2007-10-21 13:05         ` Ada.Directories Jacob Sparre Andersen
2007-10-21 13:26           ` Ada.Directories Dmitry A. Kazakov
2007-10-21 15:29             ` Ada.Directories Markus E L
2007-10-21 15:38             ` Ada.Directories Jacob Sparre Andersen
2007-10-21 17:19             ` Ada.Directories Martin Krischik
2007-10-21 18:52               ` Ada.Directories Dmitry A. Kazakov
2007-10-21 20:32                 ` Ada.Directories Markus E L
2007-10-21 23:52         ` Ada.Directories Robert A Duff
2007-10-22 11:08         ` Ada.Directories Harald Korneliussen
2007-11-15 11:44           ` Ada.Directories Markus E L
2007-11-16 13:27             ` Ada.Directories Dmitry A. Kazakov
2007-11-16 16:48               ` Ada.Directories Martin Krischik
2007-11-16 18:47                 ` Ada.Directories Larry Kilgallen
2007-11-16 20:35                   ` Ada.Directories Martin Krischik
2007-11-16 19:00                 ` Ada.Directories Dmitry A. Kazakov
2007-10-21  1:25     ` Ada.Directories anon
2007-10-20 22:36   ` Ada.Directories Larry Kilgallen
2007-10-22 18:56 ` Ada.Directories Adam Beneschan
2007-10-23  9:04   ` Ada.Directories Peter Hermann
2007-10-23 12:07     ` Ada.Directories Larry Kilgallen
2007-10-23 13:01       ` Ada.Directories Peter Hermann
2007-10-23 16:08       ` Ada.Directories Robert A Duff
2007-10-23 17:11         ` Larry Kilgallen [this message]
2007-10-24  0:55   ` Ada.Directories Brian May
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox