MorphOS shell
  • Cocoon
    Cocoon
    rlitt01
    Posts: 43 from 2015/7/25
    From: Washington D.C.
    So, I'm of course new to this OS. I'm very familiar with the command line awk,sed,bash, and the likes of. I read about AmigaDOS commands. Are these commands compatible with this OS? Or is there another subset of commands that are used with this OS in a different way? By the way my Powermac just arrived(yeeaaahhh!). So, I'm eager to try MorphOS out on the 2.3GHz A1047.
    Powermac G5(A1047) 2.3GHz Registered MorphOS
    Powerbook G4 PowerBook5,8 1.6GHz Registered MorphOS
    Powermac G5(A1047) 2.0GHz Registered MorphOS
    Icaros Desktop 3.0GHz
  • »13.08.15 - 16:24
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    Quote:

    rlitt01 schrieb:
    So, I'm of course new to this OS. I'm very familiar with the command line awk,sed,bash, and the likes of. I read about AmigaDOS commands. Are these commands compatible with this OS? Or is there another subset of commands that are used with this OS in a different way? By the way my Powermac just arrived(yeeaaahhh!). So, I'm eager to try MorphOS out on the 2.3GHz A1047.


    You are welcome!
    It's pretty compatible
    Days ago I read about AmigaDOS's search, even the ctrl-d signal worked :-D
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »13.08.15 - 16:43
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    MorphOS and AmigaDOS commands and shell do work in the same way. Everything you read from AmigaDOS manuals do work with MorphOS too.

    MorphOS also has native versions of all standard AmigaDOS commands, and some of them have some new options too.

    Here's a half finished documentation of the default MorphOS commands: http://library.morph.zone/Shell_Commands
    Pattern matching is good to learn too: http://library.morph.zone/Pattern_matching

    If you want "man" kind of documentation for shell, you could install Help command, although it isn't updated for the current MorphOS version it's still nice help for basic commands: http://aminet.net/package/util/cli/Help

    You can also use legacy 68k commands under MorphOS just fine if you're missing some. Just copy the 68k command to SYS:C/ on MorphOS.


    [ Edited by jPV 13.08.2015 - 18:46 ]
  • »13.08.15 - 16:44
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    connor
    Posts: 570 from 2007/7/29
    I think he comes from the Unix world because awk, sed and so on are typical Unix commands but not Amiga commands. On MOS you can use them if you install the SDK.

    The Help utility was cool but sadly it is much outdated. Is there any chance that the author reactivates it?
  • »13.08.15 - 17:50
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > Is there any chance that the author reactivates it?

    Very unlikely but you can always ask him:

    https://morph.zone/users/490.html
  • »13.08.15 - 20:00
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    I used Help's text as a base material in Shell Commands descriptions in Library, and I contacted the author with email for the permission to do so. I also asked if he would have any interest to continue the development, but he said that he doesn't have any plans for it since he doesn't have any access to MorphOS machine anymore. He also said that if he can find the sources, he might release them.

    Later we had some talk with Itix and he threw an idea if he'd ask a permission to include the program to MorphOS itself, but I don't know if that went forward in any level... finding the source code would be required for that at least.
  • »14.08.15 - 05:10
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 416 from 2003/2/24
    From: Berlin
    It shouldn't be a problem to write a script which shows the help text of your Shell Commands descriptions (copied as ascii text to f.e. Help:<language>/ShellCommands/).
    Somethinge like this:
    Code:

    .key CMD/A
    .bra {
    .ket }

    IF EXISTS HELP:$Language/ShellCommands/{CMD}
    Type HELP:$Language/ShellCommands/{CMD}
    ELSE
    IF EXISTS HELP:english/ShellCommands/{CMD}
    Type HELP:english/ShellCommands/{CMD}
    ELSE
    Echo "Sorry, no help text found for command '{CMD}!'"
    ENDIF
    ENDIF


    Now, you only need to convert the html help descriptions as ascii text;)
  • »14.08.15 - 12:36
    Profile Visit Website
  • Cocoon
    Cocoon
    rlitt01
    Posts: 43 from 2015/7/25
    From: Washington D.C.
    Quote:

    polluks wrote:
    Quote:

    rlitt01 schrieb:
    So, I'm of course new to this OS. I'm very familiar with the command line awk,sed,bash, and the likes of. I read about AmigaDOS commands. Are these commands compatible with this OS? Or is there another subset of commands that are used with this OS in a different way? By the way my Powermac just arrived(yeeaaahhh!). So, I'm eager to try MorphOS out on the 2.3GHz A1047.


    You are welcome!
    It's pretty compatible
    Days ago I read about AmigaDOS's search, even the ctrl-d signal worked :-D



    Thanks that's what I needed.
    Powermac G5(A1047) 2.3GHz Registered MorphOS
    Powerbook G4 PowerBook5,8 1.6GHz Registered MorphOS
    Powermac G5(A1047) 2.0GHz Registered MorphOS
    Icaros Desktop 3.0GHz
  • »15.08.15 - 00:44
    Profile
  • Caterpillar
    Caterpillar
    Posts: 26 from 2015/8/10
    I'm new to morphos too, I found that the software sdk had a lot of tools I was used to (ls, grep etc) installed as part of the supporting packages. I see connor has mentioned this already.
    I have to get around to and install gvim next, so it can be set up like my classic amiga although ed is pretty workable as a gui based editor and there is the classic cygnus ed for morphos :)


    [ Edited by MrFluffy 15.08.2015 - 11:08 ]
  • »15.08.15 - 10:04
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    Quote:

    MrFluffy wrote:
    I have to get around to and install gvim next, so it can be set up like my classic amiga although ed is pretty workable as a gui based editor and there is the classic cygnus ed for morphos :)



    Yeah, CEd works nicely too, but MorphOS also comes with a modern and powerful text editor called Scribble. You can find it in your SYS:Applications/Scribble/ dir.
  • »15.08.15 - 10:50
    Profile Visit Website
  • Caterpillar
    Caterpillar
    Posts: 26 from 2015/8/10
    Hi jPV, understood. I liked ced because it was one of the few things supporting vertical copy and paste back on my a500 which when your doing asm with lots of copper or table work is handy. Vi does that too. Ive not used scribble to see if it brings anything new to the table yet but I'll give it a try when I have time.

    There is a morphos port of vim if the op needs it, but you have to mail the guy and ask nicely for his software a cd or some such nonsense. So I installed the os4 package from aminet and its working just fine for me on 3.9. If anyone has a link to a repo with the vim for morphos package in it, please correct me.
  • »16.08.15 - 11:32
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > I installed the os4 package from aminet and its working just fine for me on 3.9.

    You mean http://aminet.net/package/text/edit/vim-bin for OS4 runs on MorphOS? Is that via OS4Emu?
  • »16.08.15 - 14:32
    Profile
  • MorphOS Developer
    Nadir
    Posts: 162 from 2003/3/17
    Quote:

    MrFluffy wrote:
    Hi jPV, understood. I liked ced because it was one of the few things supporting vertical copy and paste back on my a500 which when your doing asm with lots of copper or table work is handy. Vi does that too. Ive not used scribble to see if it brings anything new to the table yet but I'll give it a try when I have time.

    There is a morphos port of vim if the op needs it, but you have to mail the guy and ask nicely for his software a cd or some such nonsense. So I installed the os4 package from aminet and its working just fine for me on 3.9. If anyone has a link to a repo with the vim for morphos package in it, please correct me.



    Scribble also supports vertical copy and uses the same clipboard format as CED for that so you can copy and paste vertical segments between the two if you want ;)
  • »16.08.15 - 17:41
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    Quote:

    Nadir schrieb:
    Scribble also supports vertical copy and uses the same clipboard format as CED for that so you can copy and paste vertical segments between the two if you want ;)


    CYGD chunk support, smart :-)
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »16.08.15 - 18:47
    Profile