A dir Question
Mark (2737) 44 posts |
In the Task window, how do I use dir to go up one directory? In windows or linux it would be dir .. I’ve looked for this but can’t find it. Thanks in advance. |
Steve Pampling (1551) 8170 posts |
Dir ^
Yeah, just looked in the User Guide and it didn’t leap out. Edit. Maybe we need fresh eyes looking at these things and pointing out failings in the first use documentation. |
Mark (2737) 44 posts |
Yep, makes perfect sense. More importantly it works. Thanks. |
Raik (463) 2061 posts |
What is your question? ;-) |
Steve Pampling (1551) 8170 posts |
He wanted to move from a directory to the parent directory "DIR ^ " does that. As BBC Micro users many are familiar with the command line stuff, newer users don’t know. For my part I’m not sure where in the documentation this kind of thing is covered, if at all. |
Rick Murray (539) 13840 posts |
It isn’t. Just searched the User Guide for ‘^’ and there were seven matches.
I’m going from thumbnails on my phone. At any rate, nothing about filesystem navigation in the command line. |
Raik (463) 2061 posts |
I know this. It was not a real question (you ignore my smily). Only a rhetorical question. |
Steve Pampling (1551) 8170 posts |
AOL mode: “Me too” Or I could have just launched into the next line which was a comment on our apparent lack of documentation for command line stuff. I know the OS is heavily GUI, but the command line is handy and we don’t appear to have a handy resource to point people at… |
Raik (463) 2061 posts |
Is a problem and it is a bigger problem if you are a not a “English” person. I have all my German Manuals (A5000, Risc PC, Photodesk…) and this helps. For the command line there was any good article in the GAG News (German Archimedes Group). If any people has a interest, maybe Herbert translate. |
Steve Drain (222) 1620 posts |
The use of ^ for parent directory is PRM Chapter 27 Fileswitch in the paragraph headed Filenames, p 2-10 in my paper copy. |
Rick Murray (539) 13840 posts |
I figured that ^ would be described in the PRMs, but that isn’t exactly go-to documentation for end users – we want to educate, not traumatise. ;-) |
Rick Murray (539) 13840 posts |
I think there are numerous parts of the command line that might do with some sort of user level documentation, like how the path system works (why RISC OS is heavily GUI oriented, but the command line exists and has uses, even if it’s just a few Obey files shortcuts to pin on the pinboard… |
Steve Pampling (1551) 8170 posts |
Which is really handy if you don’t have a copy (I do as it happens) and I was referring to the problems that new users might have. I forgot earlier to point out to Mark that *H. is rather useful, as is looking at any of the response lines and doing h. response e.g. h. commands |
GavinWraith (26) 1563 posts |
I think it desirable that a new User Guide address itself to newcomers to RISC OS as they are today, rather than as they were in the early days of Acorn. Most of my computing experience has been with RISC OS so I am perhaps least qualified to make suggestions. The RISC OS CLI has always been a neglected topic – BASIC, the wimp, even assembly language programming, have been more popular topics for exposition. The CLI is very old-fashioned; the fact that so many users can do so much with only superficial knowledge of it is a sort of compliment to the GUI. It would be good to have a central repository of examples and handy tricks with the CLI. Perhaps the User Guide should have, perhaps as appendices, sections for the DOS user and for the Unix user, to explain how best to adapt to what RISC OS does provide. |
Steve Drain (222) 1620 posts |
The old User Guide has at least three mentions of ^ with respect to filenames, but they are all in a list of characters which should not be included. ;-) That is not very helpful, so maybe those would be the places to mention what it can be used for, along with $ & % which do get mentioned elswhere, and @ which I don’t think does. |
David Pitt (102) 743 posts |
==> Help on keyword Up *Up moves the current directory up the directory structure by the specified number of levels. Syntax: *Up [<levels>] * |
Chris Evans (457) 1614 posts |
I wonder if the User Guide should include *Commands at all. |
John Williams (567) 768 posts |
I kept a copy of the Master manual for its coverage of these, IIRC. |
Mark (2737) 44 posts |
I like it when a simple question creates a lively discussion. Thanks for up and cat as well. |