Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: oneliner: autorun script when I save it in the editor

by FreeBeerReekingMonk (Deacon)
on Mar 27, 2017 at 20:16 UTC ( #1186146=note: print w/replies, xml ) Need Help??

in reply to Re: oneliner: autorun script when I save it in the editor
in thread oneliner: autorun script when I save it in the editor

Well, I was relegated to AIX systems through putty... and not many rights to change the system. The X worked, so you could run an editor but the delay in speed was frustrating, so commandline was better (changes of 1 byte instead of updates of pixel areas). Now, you could work locally, in say, notepad (or word, but notepad is better), then paste it in the xterm, dos2unix it (remove ^M) and run it... that was also tested by me, and a not so good idea.

If you have an IDE (codeblocks, padre, notepad++, code, sublime) you have so many possibilities... but I'm sure they can not save remotely. I had to work like this: Linux laptop (with nice IDE's) -> Windows VM (with nice IDE's) -> Citrix VPN -> remotedesktop -> putty (or notepad/wordpad) -> aix-server

So the first time, you program locally, sure grep -p (grep a paragraph) should work on Linux... ehrm... nope, there are ugly -A and -B's... and the perl on AIX is ancient (and no internet -> no CPAN...)

On another note: Here is my padre on my debian system (and the reason I code in Notepad++ /Wine):

fbrm@debian:~$ padre 09:56:22 PM: Warning: Cannot set locale to language "English (U.K.)". 09:56:22 PM: Error: locale 'en_GB' cannot be set. DBD::SQLite::db do failed: Safety level may not be changed inside a tr +ansaction at (eval 1905) line 37. Perl exited with active threads: 1 running and unjoined 0 finished and unjoined 0 running and detached

Replies are listed 'Best First'.
Re^3: oneliner: autorun script when I save it in the editor
by LanX (Cardinal) on Mar 27, 2017 at 21:34 UTC
    I'm not sure if I understand everything but emacs can do both

    • safe remotely (via tramp node)
    • be used via ssh in an xterm/putty ( -nw )

    and it has a decent vim emulation (evil mode)

    See [EMACS] "Emacs as Perl IDE" - Abstract for YAPC::EU 2016 (slides, video , discussion)

    I don't know much about modern emacs binaries for AIX usable without root rights. (Though your remarks about ancient Perl there is irritating me)

    Concerning IDEs YMMV, as usual. :)

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

    PS I did the same talk for London Perl Workshop, but I have problems locating the video.

      Perl 5.6.0 on AIX 5.1
      Perl 5.8.2 on AIX 5.2 / 5.3 and 6.1

      Being stuck on 5.8, but also needing to make portable code for the few 5.6 makes you not use modern perl-isms... you get used to it.

      Also corelist shows v5.8.2 as being released in 2003-11-05 So... yeah...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1186146]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2021-01-20 20:50 GMT
Find Nodes?
    Voting Booth?