csd and pwd
John Rickman (71) 646 posts |
Using the command line I am looking for a RISC OS equivalent to the pwd bash command. The pwd command supplied with !CoreUtils works sometimes but it has a serious bug
*Show *csd shows the current CSD but does not show the current filing system. |
Stuart Swales (8827) 1357 posts |
FileSwitch$CurrentFilingSystem, FileSwitch$<FileSwitch$CurrentFilingSystem>$CSD
Burn with fire. |
Richard Coleman (3190) 54 posts |
It took me ages to work out but I use the following in an Obey file at boot time to create an alias so I can just type “pwd”: |
Richard Coleman (3190) 54 posts |
I give up! Textile!! |
John Rickman (71) 646 posts |
Thanks Stuart and Richard. see what you mean about the Textile. Here it is using bc.
|
Rick Murray (539) 13840 posts |
As opposed to…? |
Stuart Swales (8827) 1357 posts |
It’s a bit biblical. I suppose if you don’t consider hypergolic propellants to be ‘on fire’ but with engine ‘burning’? |
Raik (463) 2061 posts |
Maybe Thomas Milius ExtdVars helps… |
Charles Ferguson (8243) 427 posts |
RISC OS Select: *Set Alias$PWD SetEval Tmp CANONICALISE "@"|MEcho |<Tmp> *pwd HostFS::HostFS.$ *resources:pwd Resources:$ Also RISC OS Pyromaniac: charles@phonewave ~/projects/RO/pyromaniac (master) [119]> ./pyro.py --load-internal-modules --command gos Supervisor *Set Alias$PWD SetEval Tmp CANONICALISE "@"|MEcho |<Tmp> *pwd $ *dir demo *pwd $.demo |