× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yes - that was an old set of instructions. I just had a bookmark to it and didn't look to see if it was correct or not. Sorry. I've changed my actual file at some point to point to /usr/bin/bash which is a symlnk to /QOpenSys/pkgs/bin/bash

The evolution of open source on the IBM i has been somewhat of a moving target.

-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Craig Richards
Sent: Friday, March 29, 2019 1:22 PM
To: IBMi Open Source Roundtable
Subject: Re: [IBMiOSS] SSH from mac

Thanks also Jim.

I created the .profile file as per Kevin's link as:

# detect if we're in a PASE shell/QSYS.LIB/QSHELL.LIB/UNAME.PGM > /dev/null 2>&1 if [ $? != 0 -a "$SHELL" != "/QOpenSys/usr/bin/bash" ]then
exec /QOpenSys/usr/bin/bashfi

but /QOpenSys/usr/bin/bash does not exist.

I can see that QOpenSys/pkgs/bin/bash DOES exist - should I be running that? and if so, would it mean amending both lines above that refer to bin/bash?

thanks


On Fri, 29 Mar 2019 at 17:59, Craig Richards <craig@xxxxxxxxxxxxxxxx> wrote:

Thanks very much Kevin ( and Jesse ) for your helpful and quick responses!

That's much better!

My first attempt at creating the .profile file was a fail, (garbage in
my terminal session after login) I'd guess it's a ccsid thing as I
created in from the iSeries using edtf.

Running bash worked though.

best regards,
C

On Fri, 29 Mar 2019 at 17:47, Jesse Gorzinski <jgorzins@xxxxxxxxxx> wrote:

Not dumb at all! Thankfully it's a common annoyance and there are some
notes in the open source troubleshooting page at
https[1]://
bitbucket.org/ibmi/opensource/src/master/docs/troubleshooting/README.
md


----- Original message -----
From: Craig Richards <craig@xxxxxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: opensource@xxxxxxxxxxxxxxxxxx
Cc:
Subject: [IBMiOSS] SSH from mac
Date: Fri, Mar 29, 2019 12:36 PM

Hi All,

apologies in advance if this is a stupid question...

When I run SSH from terminal in my mac to IBMi, it works fine
but when I
try to repeat commands with arrow up (for example) I just get some
control
characters e.g ^[[A

Typing /qopensys/pkgs/bin/python3 ..... gets old fast.

Presumably I need to do some setup / config somewhere?

thanks kindly in advance,
Craig
--

References

Visible links
1.
https://bitbucket.org/ibmi/opensource/src/master/docs/troubleshooting
/README.md
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To
post a message email: OpenSource@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/opensource.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: https://amazon.midrange.com


--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/opensource.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


[https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com



CONFIDENTIALITY NOTICE

This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.