Menu

#99 Dir command fails

general
open
nobody
Shell/DOS (109)
2
2018-06-02
2006-01-14
No

Dir command with pattern fails:

Dir #?
prints some parts of sub directories

Dir inter
prints a strange formattet result

Discussion

  • Matthias Rustler

    • priority: 5 --> 7
     
  • rkmurthy

    rkmurthy - 2006-03-10

    Logged In: YES
    user_id=1472789

    Can you provide me Environment, Where should I run the command

     
  • Matthias Rustler

    • priority: 7 --> 3
     
  • Matthias Rustler

    Logged In: YES
    user_id=916859

    Georg has committed a new version at 2006-02-08. The problem
    with the wrong result when using patterns seemes to be solved.

    The problem with the 'inter' option still exists. To be
    honest, I don't need the 'inter' option.

    My environment: I'm running AROS hosted under Linux (Ubuntu
    Breezy Badger) on a P4.

     
  • Barry Nelson

    Barry Nelson - 2008-03-28
    • milestone: 175424 --> general
    • priority: 3 --> 2
     
  • Barry Nelson

    Barry Nelson - 2008-03-28

    Logged In: YES
    user_id=1160500
    Originator: NO

    Dir inter
    Still seems to format the output improperly and not perform as it should.
    Quoted from: http://www.monitor.ca/monitor/issues/vol6iss6/amiga.html

    Type "DIR INTER" to see what happens. You'll notice that only the first file or directory will be displayed followed by a question mark. Pressing enter will display the next item in the same fashion. This continues until all items in the directory are listed. The interactive mode lets you do a multitude of things to files or directories as you go through each one. After the question mark, you have the following options:

    · Pressing enter or the return key will continue to the next file.
    · Typing "E" will enter in the directory you are at. This only works with directories.
    · Typing "B" will go back one directory.
    · Typing "T" displays the contents of a text file.
    · Typing "Q" quits the interactive mode.
    · Typing "C" will allow you to type other CLI commands.
    · Typing the three letters "DEL" (not the Del key) will delete the file or directory.
    · And finally, if you can't remember this list, type the question mark to get the command options.
    Experiment by typing "DIR INTER" in the Shell. You can't hurt the system or do any damage. The only thing to watch out for is the DEL switch which will delete files or directories, so stay away from this one unless you really intend to use it.

     
  • Matthias Rustler

    A small update to the interactive mode has been done. It's now possible to walk stepwise through the directory.

     
  • Crosswinds

    Crosswinds - 2018-06-02

    I don't know how dir inter is supposed to function exactly, but when I ask it for the inter template, by entering question-mark Return, it displays the template twide and goes to the next FS entry. Neither can be right.

     

Log in to post a comment.