Monday, 20 January 2020

[Rpcemu] (no subject)

Right...

Thanks for all the thoughts about symlinks etc. but after reading them
through many times I still have no idea about any of it.

So for the time being, or until RPCEmu is network fixed I'm putting it all
back in hiding and returning from whence I came.

Thanks
Dave

--

Dave Triffid

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] (no subject)

In article <701801228.35723.1579538761035@communicator.strato.de>,
Steffen Huber <steffen@huber-net.de> wrote:
> Hi Dave,

> > Dave <dave@triffid.co.uk> wrote:
> >
> > Aside from myself, is there anyone out there using this version of
> > RPCEmu, if there is, Why?

> I am using it in preference to V-RPC for day-to-day use, as its MouseSync
> actually works (I am always in windowed mode, switching back-and-forth
> between RISC OS and Windows), and it supports all RISC OS versions
> without jumping through hoops (especially RO5 of course).

> Have fun
> hubersn

Unfortunately I find absolutely no fun at all using RISC OS 5.2nn.
PITA more like, every time I think I must try it. :-/

Dave

--

Dave Triffid

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] (no subject)

Hi Dave,

> Dave <dave@triffid.co.uk> wrote:
>
> Aside from myself, is there anyone out there using this version of RPCEmu,
> if there is, Why?

I am using it in preference to V-RPC for day-to-day use, as its MouseSync
actually works (I am always in windowed mode, switching back-and-forth
between RISC OS and Windows), and it supports all RISC OS versions
without jumping through hoops (especially RO5 of course).

Have fun
hubersn

--
Steffen Huber LambdaComm System – Welcome to Trollinger Country
steffen@huber-net.de
Private homepage http://www.huber-net.de/
RISC OS Blog http://riscosblog.huber-net.de/

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Sunday, 19 January 2020

Re: [Rpcemu] (no subject)


On 19 Jan 2020, at 07:17, Dave <dave@triffid.co.uk> wrote:

In article <mpro.q4bpxm03t0nwz01so.lists@stevefryatt.org.uk>,
  Steve Fryatt <lists@stevefryatt.org.uk> wrote:
On 18 Jan, Dave wrote in message
   <58346bbad8dave@triffid.co.uk>:

In my VRPC-DL install I have a Mount on the Icon bar that connects to
a Directory (Moving stuff) inside the RPCEmu HostFS, so that's a sort
of get around the ShareFS problem... Really!

Why can't you do that with RPCEmu?

Because RPCEmu has no mechanism from within it to set up and display a
Mount.

Perhaps this might be of interest:


(Hopefully the images work - let me know if not.)

It's not ready for public release yet, and it really needs some people to test it before it gets submitted to the mailing list.

Tim


Re: [Rpcemu] (no subject)

In article <mpro.q4crsu027debp02fv.lists@stevefryatt.org.uk>,
Steve Fryatt <lists@stevefryatt.org.uk> wrote:
[Snippy]

> I can connect to other machines on the LAN fine, but then I'm using NFS
> for that. I don't generally do RISC OS-RISC OS transfers, as I store
> data on the NFS NAS for easy backup. Very little is stored locally on
> any machine.

> Steve Fryatt - Leeds, England

Thank for the info Steve.

Dave

--

Dave Triffid

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] (no subject)

On 19 Jan, Dave wrote in message
<5834aa6356dave@triffid.co.uk>:

> In article <mpro.q4bpxm03t0nwz01so.lists@stevefryatt.org.uk>,
> Steve Fryatt <lists@stevefryatt.org.uk> wrote:
> > On 18 Jan, Dave wrote in message
> > <58346bbad8dave@triffid.co.uk>:
>
> > > In my VRPC-DL install I have a Mount on the Icon bar that connects to
> > > a Directory (Moving stuff) inside the RPCEmu HostFS, so that's a sort
> > > of get around the ShareFS problem... Really!
>
> > Why can't you do that with RPCEmu?
>
> Because RPCEmu has no mechanism from within it to set up and display a
> Mount.
>
> Can't even mount a memory stick. Unless you could explain how I might do
> it? ;-) (Memory stick is F:\)

Put a symlink in the root of HostFS to point to F:? That's broadly speaking
what I would do on Linux, but as I said below, if your host OS doesn't do
symlinks, then you might be stuck.

> > Alternatively, and on an OS that supports proper symlinks, you can
> > create symlinks in the HostFS root from the host side, to folders on the
> > host that you wish to see in your HostFS::$ folder.
>
> But don't understand that at all? ?

My HostFS is at /home/steve/RPCEmu/RO5/hostfs

Within it, on the Linux side, there are some symlinks:

/home/steve/RPCEmu/RO5/hostfs/Development -> /home/steve/Development
/home/steve/RPCEmu/RO5/hostfs/Filestore -> /remote/filestore

The former is a folder in the root of my Linux home directory where all of
the RISC OS software development goes on; the latter is an NFS mount that
lets me see the generic file storage on the NAS.

Thus, on the RISC OS side, I can access

HostFS::HostFS.$.Development
HostFS::HostFS.$.Filestore

as if they were real directories (because as far as HostFS knows, they are
just that).

I'm fairly sure this arrangement was based on suggestions on this list
several years ago.

> Bottom line is, with RPCEmu semi networking I can browse, I can post
> email, but no connection with the other four computers on the LAN.

I can connect to other machines on the LAN fine, but then I'm using NFS for
that. I don't generally do RISC OS-RISC OS transfers, as I store data on the
NFS NAS for easy backup. Very little is stored locally on any machine.

--
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] (no subject)

In article <5834bd50a1rinfo@avisoft.f9.co.uk>,
Martin <rinfo@avisoft.f9.co.uk> wrote:
> On 18 Jan in article <58346bbad8dave@triffid.co.uk>,
> Dave <dave@triffid.co.uk> wrote:
> > Is there any way at all of getting stuff out of a RPCEmu install?

> Yes ... by using the host machine OS to read the files, eg Windows.

[Snip]

I don't think I understand what you've written?

If I'm working in RPCEmu and I want to get files from another machine on
the LAN and then when edited return them to the original machine how?

Do you mean, I minimise RPCEmu, open the relevant RPCEmu hostfs dir in
Windows?

Open the other external relevant dir, either on the same Host machine, or
over the LAN and Drag or Copy/Paste between them?

Dave

--

Dave Triffid

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] (no subject)

On 18 Jan in article <58346bbad8dave@triffid.co.uk>,
Dave <dave@triffid.co.uk> wrote:
> Is there any way at all of getting stuff out of a RPCEmu install?

Yes ... by using the host machine OS to read the files, eg Windows.

The new NAT networking in RPCEmu is a massive step forwards from the
old way (which I for one never managed to get working).

I know the authors are well aware of the limitations of the new
method, and I am sure will be trying to remove them.

--
Martin Avison using a TiMachine running RISC OS 5
and the Pluto mail and newsreader

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] (no subject)

Le 2020-01-18 23:17, Steve Fryatt a écrit :

>> Aside from myself, is there anyone out there using this version of
>> RPCEmu,
>> if there is, Why?
>
> Yes, thanks. It provides a very viable, daily-use system.

Yes, it's fast and reliable. And perhaps soon perfect :)

"Reduce CPU Usage" is not working (well) with the latest version of RISC
OS 5 (especially if you boot in CLI mode). It can be a problem if you
want to use it to deploy RISC OS apps on other computers. Once it will
be corrected, I think I'll simply switch off all my Win32 dev in favor
of RISC OS ones.

Ah, and a bridge for host printers would be fantastic.

David

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Saturday, 18 January 2020

[Rpcemu] (no subject)

In article <mpro.q4bpxm03t0nwz01so.lists@stevefryatt.org.uk>,
Steve Fryatt <lists@stevefryatt.org.uk> wrote:
> On 18 Jan, Dave wrote in message
> <58346bbad8dave@triffid.co.uk>:

> > In my VRPC-DL install I have a Mount on the Icon bar that connects to
> > a Directory (Moving stuff) inside the RPCEmu HostFS, so that's a sort
> > of get around the ShareFS problem... Really!

> Why can't you do that with RPCEmu?

Because RPCEmu has no mechanism from within it to set up and display a
Mount.

Can't even mount a memory stick.
Unless you could explain how I might do it? ;-) (Memory stick is F:\)

> HostFS is simply a collection of folders on your host machine's filing
> system. You can get at files from the host side by going into the hostfs
> folder, with no problem.

I understand that, but a lot of extra clunk work to do it... and on four
machines. :-(

> Alternatively, and on an OS that supports proper symlinks, you can
> create symlinks in the HostFS root from the host side, to folders on the
> host that you wish to see in your HostFS::$ folder.

But don't understand that at all?
?


Bottom line is, with RPCEmu semi networking I can browse, I can post
email, but no connection with the other four computers on the LAN.

Not in RISC OS (ShareFS) nor externally with LanMan98, so that rather
limits the use of a RPCEmu install.

Can't even connect to the NAS. (I use LanMan98 to connect).
Unless you know different. :-)

Thanks for your thoughts.

Dave

--

Dave Triffid

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] (no subject)

On 18 Jan, Dave wrote in message
<58346bbad8dave@triffid.co.uk>:

> In my VRPC-DL install I have a Mount on the Icon bar that connects to a
> Directory (Moving stuff) inside the RPCEmu HostFS, so that's a sort of get
> around the ShareFS problem... Really!

Why can't you do that with RPCEmu?

HostFS is simply a collection of folders on your host machine's filing
system. You can get at files from the host side by going into the hostfs
folder, with no problem.

Alternatively, and on an OS that supports proper symlinks, you can create
symlinks in the HostFS root from the host side, to folders on the host that
you wish to see in your HostFS::$ folder.

> I really have to ask this question..
>
> Aside from myself, is there anyone out there using this version of RPCEmu,
> if there is, Why?

Yes, thanks. It provides a very viable, daily-use system.

--
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

[Rpcemu] (no subject)

In article <583460704frinfo@avisoft.f9.co.uk>,
Martin <rinfo@avisoft.f9.co.uk> wrote:

> See http://www.marutan.net/rpcemu/manual/net-ro-nat.html

> Martin

Thanks for the reminder Martin, that's where I originally read it though
I'd forgotten the source. :-)

Is there any way at all of getting stuff out of a RPCEmu install?

Aside from *sending* the data out as an email to myself and picking it up
on another machine... Really!

Or...

In my VRPC-DL install I have a Mount on the Icon bar that connects to a
Directory (Moving stuff) inside the RPCEmu HostFS, so that's a sort of get
around the ShareFS problem... Really!

I really have to ask this question..

Aside from myself, is there anyone out there using this version of RPCEmu,
if there is, Why?

Dave

--

Dave Triffid

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] (no subject)

On 18 Jan in article <583459cdf9dave@triffid.co.uk>,
Dave <dave@triffid.co.uk> wrote:
> G'day...
> I have RPCEmu 0.9.2 running on a Win 10 Pro PC.

> It is running RISC OS 5.27 and is Network enabled... I can browse
> okay with Netsurf etc.

> I have a vague recollection that it cannot connect with ShareFS,
> which is why it doesn't see other RISC OS on the LAN here.

> Am I correct in that vague notion?

> LanMan98 version 2.06 will also not connect to the LAN and thus
> other computers etc on the Local network, is there any particular
> reason why this should be so?

> Does anybody have a RPCEmu 0.9.2 running RISC OS 5.27 which does
> network connect using LM98?

> Thanks Dave

> FWIW. A VRPC-DL install RISC OS 6.20 on the same Win 10 PC does
> connect to the LAN okay.

See http://www.marutan.net/rpcemu/manual/net-ro-nat.html

Martin

--
Martin Avison using a TiMachine running RISC OS 5
and the Pluto mail and newsreader

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Re: [Rpcemu] (no subject)

Think I replied directly rather than the list .. try again :)

I am pretty sure that you are correct in that notion. I believe the virtual RiscPC is behind a NAT and so can't be seen by other machines on the network. Hence connecting to things works, but incoming connections don't. ShareFS needs both.

Cheers

Chris 

Sent from my iPhone

On 18 Jan 2020, at 16:42, Dave <dave@triffid.co.uk> wrote:

G'day...
I have RPCEmu 0.9.2 running on a Win 10 Pro PC.

It is running RISC OS 5.27 and is Network enabled... I can browse okay
with Netsurf etc.

I have a vague recollection that it cannot connect with ShareFS, which is
why it doesn't see other RISC OS on the LAN here.

Am I correct in that vague notion?

LanMan98 version 2.06 will also not connect to the LAN and thus other
computers etc on the Local network, is there any particular reason why
this should be so?

Does anybody have a RPCEmu 0.9.2 running RISC OS 5.27 which does network
connect using LM98?

Thanks
Dave

FWIW. A VRPC-DL install RISC OS 6.20 on the same Win 10 PC does connect to
the LAN okay.

?

D.

--

Dave Triffid

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

[Rpcemu] (no subject)

G'day...
I have RPCEmu 0.9.2 running on a Win 10 Pro PC.

It is running RISC OS 5.27 and is Network enabled... I can browse okay
with Netsurf etc.

I have a vague recollection that it cannot connect with ShareFS, which is
why it doesn't see other RISC OS on the LAN here.

Am I correct in that vague notion?

LanMan98 version 2.06 will also not connect to the LAN and thus other
computers etc on the Local network, is there any particular reason why
this should be so?

Does anybody have a RPCEmu 0.9.2 running RISC OS 5.27 which does network
connect using LM98?

Thanks
Dave

FWIW. A VRPC-DL install RISC OS 6.20 on the same Win 10 PC does connect to
the LAN okay.

?

D.

--

Dave Triffid

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Wednesday, 8 January 2020

Re: Port of Netsurf 3.9 to Plan 9

Hi Jonas,

Le 06/01/2020 à 16:38, Jonas a écrit :
> Dear Netsurf developers,
>
> I have started a port of Netsurf 3.9 to the operating system Plan 9
> (http://9front.org, https://9p.io/plan9). It uses the framebuffer
> frontend for now, but I plan to continue with a native frontend, also
> possibly with help from other developers.

Wow, nice to see NS ported to yet another platform :-)

> quality of the Netsurf source. Another obstacle is that most larger GNU
> development tools aren't available for Plan 9, no GCC for example. Plan
> 9 has its own C compiler (https://9p.io/sys/doc/compiler.html) that
> sometimes does things in different ways, and typically doesn't support
> GCC extensions and newer features added to the language lately.

Does it require C89 style (like, variables declared at beginning of block)?

For the Haiku ports I tried to maintain C89 code for a while for GCC
2.95, and if another platform requires it that'd be an incentive to fix
replicant support so we could put NS as a widget on the desktop…

> In the absence of GCC/Autotools/GNUmake and friends, I have written my
> own build system using Plan 9 'mk' (using 'mkfile'). I am aware that
> this makes a possible upstream integration of the port harder.

Well we don't use autotools anyway, we have custom makefiles used as a
buildsystem for all libraries:
http://git.netsurf-browser.org/buildsystem.git/

Maybe it's possible to isolate the incompatible parts from it and
reimplement them for other make engines?

I once managed to write a simple makefile engine for both GNU make and
MS Nmake that accepted unchanged makefiles with only declarative stuff:
http://miniserve.defence-force.org/svn/users/mmu_man/sdk-makefile-engine/make/

> Alternative routes would have been making GCC work on plan 9---some work
> has been done on this (https://harvey-os.org), or to try to generate
> plan 9 binaries from Linux using cross compilation. Both ways would be a
> lot of compiler development work, and I am quite sure that the plan 9

Well for continuous integration we might want to do that anyway. But if
you went this far without changing code it can probably be fixed.

> I started with the source tree of Netsurf 3.9, downloading all all
> support libraries separately (that is why they have version numbers in
> the directories). I have not deleted any files, only added files and
> changed files. All files 'xxx.y' that I changed are backed up as
> 'orig_xxx.y' making it easier to 'diff' against the original. I got the
> tip that it might be a good idea to make a clone of the official Git
> repository and applying the diffs against it, in which case the 'orig_'
> files won't be necessary, and a possible merger maybe easier to do in


Indeed, it's usually better to work on the HEAD. And with git you can
rebase your changes from time to time, with git resolving most of the
conflicts itself.

I believe you should already have a git client:
https://hub.packtpub.com/introducing-git-fs-a-native-git-client-for-plan-9/

It might also be possible to build some simple client like this one
using libgit2:
https://github.com/sba1/simplegit


François.

Monday, 6 January 2020

Port of Netsurf 3.9 to Plan 9

Dear Netsurf developers,

I have started a port of Netsurf 3.9 to the operating system Plan 9 (http://9front.org, https://9p.io/plan9). It uses the framebuffer frontend for now, but I plan to continue with a native frontend, also possibly with help from other developers.

I have got to the point where it is possible to run the browser, load local pages from the file system, click on buttons and links. Several components requiring external libraries are still missing, like image support, fetching pages from the network etc.

Plan 9 could be considered a "Unix like" OS, especially as it originally was written by much the same authors as did write Unix. It is, however, in it self not Posix compliant at the system-call level. My port uses the Posix emulation layer APE (http://doc.cat-v.org/plan_9/4th_edition/papers/ape) in order to compile the Netsurf sources. APE does not provide complete Posix support, especially not features added in recent years, but given the size of the source code of Netsurf (which is big compared to most Plan 9 software) things have gone surprisingly well, which is indeed a testament to the quality of the Netsurf source. Another obstacle is that most larger GNU development tools aren't available for Plan 9, no GCC for example. Plan 9 has its own C compiler (https://9p.io/sys/doc/compiler.html) that sometimes does things in different ways, and typically doesn't support GCC extensions and newer features added to the language lately.

In the absence of GCC/Autotools/GNUmake and friends, I have written my own build system using Plan 9 'mk' (using 'mkfile'). I am aware that this makes a possible upstream integration of the port harder. Alternative routes would have been making GCC work on plan 9---some work has been done on this (https://harvey-os.org), or to try to generate plan 9 binaries from Linux using cross compilation. Both ways would be a lot of compiler development work, and I am quite sure that the plan 9 community would rather prefer something that will compile on the platform itself (as is with the current port beginning). Even though plan 9 is a bit of a minimalistic OS with modest hardware requirements, it runs on contemporary hardware (32-bit and 64-bit PC:s as well as Raspberry PI:s), so a middle layer between the source and the system API is not that of a big burden, especially as Netsurf is a lightweight browser, compared to the giants. In the Plan 9 world, simplicity and clarity is praised over premature optimisation, and it is my impression that the same holds for the Netsurf project to a large extent.

Anyhow, there is quite an excitement in the 9front crowd about the possibility to have modern, yet well written and non-bloated, web browser available on the platform. The existing browsers: Mothra (http://man.9front.org/1/mothra) and Abaco (https://9p.io/sources/contrib/fgb/abaco.pdf) are usable for many things, but does not support CSS and other modern features of the web. The browsers present do however support 'https' trough the use of plan 9's own web content fetcher: Webfs (http://man.9front.org/4/webfs). The plan 9 user base almost entirely consists of programmers who uses plan 9 as their preferred development platform, mostly as a personal and hobby system.

So far the port resides on my plan 9 file server at home, and I upload it here (http://webbkurs.ei.hv.se/~imjam/plan9/). Now when I managed to get it going, I am thinking of hosting it in a repository for easier collaboration. Of course, it would be really cool if the Plan 9 port in the future would be part of the official Netsurf project in some way, which also would make it easier to keep up with new releases.

I started with the source tree of Netsurf 3.9, downloading all all support libraries separately (that is why they have version numbers in the directories). I have not deleted any files, only added files and changed files. All files 'xxx.y' that I changed are backed up as 'orig_xxx.y' making it easier to 'diff' against the original. I got the tip that it might be a good idea to make a clone of the official Git repository and applying the diffs against it, in which case the 'orig_' files won't be necessary, and a possible merger maybe easier to do in the future. Some of auto-generated files (e.g. by perl scripts) are copied over from Linux build directory, to reduce the number of external tools used during the compilation (and Plan 9 does not have all of them).

I am interested in all kinds of feedback on the project, especially regarding what you think about the the not so standard build system, and if/how you would think merging into the official repository could be done in the future.

I've recorded a 14 minutes long video showing how I compile and run netsurf on 9front. Be aware that the GUI is very slow, which is most likely because my framebuffer driver copies the whole window bitmap for every change, and that the window output is sent to my Mac where I use Quicktime to record. Running the browser directly on a 9front computer is much snappier. Also, I expect remoteing the window to another computer to work much better with a native frontend.

Streaming version of the video: (https://hvplay.hv.se/media/t/0_6uyp5hck)

All the best, thank you for making Netsurf, and happy new year!

Jonas Amoson

Wednesday, 1 January 2020

Mantis bug 2724

I can confirm that I no longer see the bug in build CI#4962, so I agree
that is is resolved.

Thank you!

David