[Simh] Problems running simH in Android

Gene Irwin girwin1215 at gmail.com
Wed May 9 19:51:11 EDT 2018


At least it's not just me.

On Wed, May 9, 2018, 4:17 PM Ray Jewhurst <raywjewhurst at gmail.com> wrote:

> I just got that error too and now after doing a make clean, I cannot build
> anything.
>
> On Wed, May 9, 2018, 6:45 PM Gene Irwin <girwin1215 at gmail.com> wrote:
>
>> I'm having issues compiling on the note 8 with android 8.
>>
>> Getting glob.h not found on the altairz80 and most give a warning about
>> redefinition of *DIR_ENTRY_CALLBACK
>>
>> Kernel if 4.4.78
>>
>> On Wed, May 9, 2018 at 2:05 PM John Forecast <john at forecast.name> wrote:
>>
>>> Works fine for me - LineageOS 14.1 (which is basically Nougat 7.1) on a
>>> Nexus 7 tablet.
>>>
>>>   John.
>>>
>>> On May 9, 2018, at 2:49 PM, Mark Pizzolato <mark at infocomm.com> wrote:
>>>
>>> The github master branch code should now work under termux on Android
>>> for at least Marshmallow on up.  I have tested Marshmallow and Oreo.  I
>>> would appreciate confirmation on other Android versions:
>>>
>>> 1)      Install termux from the Google Play Store
>>> 2)      Under termux, Install the tool chain:
>>>     $ pkg install clang make git
>>> 3)      Testing with:
>>>     $ git clone https://github.com/simh/simh
>>>     $ cd simh
>>>     $ make vax
>>>     $ BIN/vax
>>>     sim> B
>>> If you end up at the >>> prompt everything looks good.  If you did this
>>> without a physical keyboard connected, you won’t be able to type Control-E
>>> to get back to the sim> prompt.  Just enter B ZZZ which is an unknown
>>> device and the boot ROM will halt returning you to the sim> prompt.
>>>
>>> Once you get that far, all the other simulators should build fine and be
>>> usable pretty much like on most other Linux environments.  Things which
>>> require root access won’t work since termux doesn’t give you that.  It
>>> would be interesting to know if NAT mode networking works for the VAX
>>> simulators…
>>>
>>> *From:* Mark Pizzolato
>>> *Sent:* Tuesday, May 8, 2018 11:00 PM
>>> *To:* Mark Pizzolato <Mark at infocomm.com>; Ray Jewhurst <
>>> raywjewhurst at gmail.com>; simh <simH at trailing-edge.com>
>>> *Subject:* RE: [Simh] Problems running simH in Android
>>>
>>> Hi Ray,
>>>
>>> Give the latest github code a try.
>>>
>>> BTW, what Android version is running on your phone/tablet?
>>>
>>> What is the output of ‘uname –a’ in your termux session?
>>>
>>> -          Mark
>>>   __
>>> *From:* Simh [mailto:simh-bounces at trailing-edge.com
>>> <simh-bounces at trailing-edge.com>] *On Behalf Of *Mark Pizzolato
>>> *Sent:* Tuesday, May 8, 2018 8:13 AM
>>> *To:* Ray Jewhurst <raywjewhurst at gmail.com>; simh <
>>> simH at trailing-edge.com>
>>> *Subject:* Re: [Simh] Problems running simH in Android
>>>
>>> To follow up a little more on this.
>>>
>>> The call to tcsetattr() is failing with errno: 13 – Permission denied
>>>
>>> *From:* Mark Pizzolato
>>> *Sent:* Sunday, May 6, 2018 11:47 PM
>>> *To:* Mark Pizzolato <Mark at infocomm.com>; Ray Jewhurst <
>>> raywjewhurst at gmail.com>; simh <simH at trailing-edge.com>
>>> *Subject:* RE: [Simh] Problems running simH in Android
>>>
>>> I did a little digging and struggled with typing a whole bunch on my
>>> phone.
>>>
>>> The problem you’re seeing is due to the Linux OS environment you’re
>>> running under doesn’t support ‘raw’ mode for terminal I/O.  When you
>>> start a simulator the traffic to/from the simulated console device is
>>> expected to be exactly the characters that the user types on the console
>>> keyboard.  To achieve this, the current tt mode is gathered with
>>> tcgetattr()
>>> then those attributes are adjusted so that every character typed is
>>> received
>>> without any interpretation by the OS and output is also not translated
>>> (i.e.
>>> \n only sends a LF character instead of CRLF characters).  The error
>>> message,
>>> you seeing is due to the call a tcsetattr() failing.
>>>
>>> *From:* Simh [mailto:simh-bounces at trailing-edge.com
>>> <simh-bounces at trailing-edge.com>] *On Behalf Of *Mark Pizzolato
>>> *Sent:* Saturday, May 5, 2018 8:38 PM
>>> *To:* Ray Jewhurst <raywjewhurst at gmail.com>; simh <
>>> simH at trailing-edge.com>
>>> *Subject:* Re: [Simh] Problems running simH in Android
>>>
>>> If you’re not comfortable digging into this yourself, then please create
>>> an
>>> Issue at https://github.com/simh/simh/issues and spell out exactly how
>>> to
>>> recreate your setup and reproduce the problem.
>>>
>>> *From:* Simh [mailto:simh-bounces at trailing-edge.com
>>> <simh-bounces at trailing-edge.com>] *On Behalf Of *Ray Jewhurst
>>> *Sent:* Saturday, May 5, 2018 5:48 PM
>>> *To:* simh <simH at trailing-edge.com>
>>> *Subject:* [Simh] Problems running simH in Android
>>>
>>> Greetings
>>>
>>> I have been trying forever to get simh to run under the Termux Android
>>> shell app and got very close but no cigar. It builds okay but then when I
>>> try running it, it starts fine but when I go to run an OS,  I get this:
>>>
>>> PDP-11 simulator V4.0-0 Current        git commit id: f2f4bfa8
>>> sim> do rt1154f.ini
>>> Disabling XQ
>>> rt1154f.ini-3> b rk0
>>> sim_ttrun() returned: Console input I/O error
>>> sim>
>>>
>>> Any ideas?
>>>
>>> Thanks
>>>
>>> Ray
>>> _______________________________________________
>>> Simh mailing list
>>> Simh at trailing-edge.com
>>> http://mailman.trailing-edge.com/mailman/listinfo/simh
>>>
>>>
>>> _______________________________________________
>>> Simh mailing list
>>> Simh at trailing-edge.com
>>> http://mailman.trailing-edge.com/mailman/listinfo/simh
>>
>> _______________________________________________
>> Simh mailing list
>> Simh at trailing-edge.com
>> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20180509/1f23b3ed/attachment-0001.html>


More information about the Simh mailing list