🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #691

Re: Finding the CSD

#691
From: Denis Howe
Date: Fri, 18 Dec 1992 13:57
32 lines
1907 bytes
Denis Howe <dbh@doc.ic.ac.uk> wrote:

>Set FS <FileSwitch$CurrentFilingSystem>
>SetEval CSD "<FS>:"+FileSwitch$<FS>$CSD

In article <1gke2bINN2up@swan.doc.ic.ac.uk> mybg@doc.ic.ac.uk (M Y Ben
Gershon) wrote:

>I am sorry to disappoint you, but this does not work either!  It
>remains constant and is not altered when the csd is changed.

Some people are never satisfied.  :-) As Jason
<J.P.OBroin@newcastle.ac.uk> noted, to get that effect you'd need to
use SetMacro but I'm not sure even that would work, you might need
SetMacroEval, which doesn't exist!  Philip
<banks_p@kosmos.wcc.govt.nz> was nearer the mark saying you need a
code variable but this week's star prize goes to Good Ol' Owen "Who
put the OS in RISC OS?" Smith or, as his friends call him,
/G=Owen/S=Smith/O=SJ-Research/ADMD=INTERSPAN/C=GB/@mhs-relay.ac.uk,
who mailed in response to my RISC OS 2 solution:

>On RISC OS 3 (no snide remarks please I'm just being helpful) you can
>do it as an OS_FSControl 37 (canonicalise name) of "@", or you can
>build it up piecemeal using the various FileSwitch$* system
>variables.

The only time I want to know the CSD is in my desktop !Boot file so I
can make everything independent of the location of the root directory.
Here, my "static" solution is quite acceptable.
--
Denis Howe <dbh@doc.ic.ac.uk>
So Biggs, you're the idiot who bought all these IBM PCs.  You're fired!
Technical Details
Message-ID: <DBH.92Dec18135755@wombat.doc.ic.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!news!dbh
References: <1gke2bINN2up@swan.doc.ic.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!news!dbh
From: dbh@doc.ic.ac.uk (Denis Howe)
Newsgroups: comp.sys.acorn.tech
Subject: Re: Finding the CSD
Date: 18 Dec 92 13:57:55
Organization: Computing Department, Imperial College, London, UK
Lines: 32
Distribution: world
Message-ID: <DBH.92Dec18135755@wombat.doc.ic.ac.uk>
References: <1gke2bINN2up@swan.doc.ic.ac.uk>
NNTP-Posting-Host: wombat.doc.ic.ac.uk
In-reply-to: mybg@doc.ic.ac.uk's message of 15 Dec 1992 11:03:39