[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] UNIX "system" command (fwd)



I work on IBMs, Macs, Suns, SGIs, and Linux boxes.  All of
them have Perl.  (Which makes for a fun time when I
sometimes have to use a system call to run a C program.)
Each has it's own quirks but I too have found that if you
stick to only Perl code you can do almost anything you want
without having to resort to another language or system
commands.

However, there are one or two command which were recognized
by MacPerl via the system command.  DIR is one of them (if
I remember correctly).  And there were a set of tools which
you could install into the Mac which allowed you to do more
Unix commands.  But I forget what it was called.  :-/

Lastly, there is a program called NSHELL which is free and
is a Unix-like interface shell.  Using it you can run
MacPerl with a command line.  I downloaded and tried
NSHELL.  It was ok.  No VI.  No EMACS.  But you could get
STEVIE (a vi clone) and use it to edit your files under the
NSHELL.  The drawback to STEVIE was that you could not have
an INIT file.  Instead you have to re-INIT everything every
time you run it.  With the new ThinkC (or maybe I should
say better ThinkC) ANSI interface library I've thought
about trying to compile the new version of VI called VIE (I
believe).  If it compiles correctly, then using NSHELL and
VIE would make MacPerl act a lot more like regular Perl.
:-)

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch