How about emacs then?

A local git repository is definitely a good idea.

Could you set up your Mac or another machine as an NFS server to get a
better idea of where the problem might be?  If the aren't already, I would
use a wired connection for both the linux machine and NAS and put them on
the same switch.

If LinuxCNC wasn't hardware dependent, I would suggest using virtual
machines.  However, it might be interesting to look into NFS booting (once
the connection issues are resolved).  I haven't done this in a while, but a
minimal kernel on the linux machine mounts an NFS share as the root fs and
boots from there.  Small usb flash drives could be used to select different
kernel versions and mount points.




On Fri, Aug 23, 2013 at 7:48 AM, andy pugh <[email protected]> wrote:

> There has to be a more sensible way to do this.
>
> I have a bare motherboard with 8GB flash that is my LinuxCNC
> development hardware. It sits on a book-shelf behind the TV, which
> acts as a monitor when required. This has various bits of Mesa
> hardware festooned all over it.
>
> I also have an iMac with a 27" screen and a comfy chair. This is where
> I prefer to sit when coding.
>
> Previously I have been running Eclipse (and before that Xcode) on the
> Mac with the code stored on the 8GB ssd on the Linux system and shared
> to the Mac. (then compiling and testing through an ssh terminal (and
> X-forwarding when I need to see the Axis interface)).
>
> This works OK, when it works. The drawbacks are that if the iMac loses
> contact with the share for any reason, then Eclipse gets upset, can't
> save the workspace file, and the whole project needs to be set up from
> scratch again. Also X-forwarding only works once per login. I have to
> log out and in again to re-enable it.
>
> Now that I appear to be swapping between 32-bit and 64-bit systems
> rather frequently I decided it made more sense to keep the git
> repository on my NAS, then Eclipse should never lose it and all my
> LinuxCNC machines can share the same code repository. Does that seem
> logical?
>
> Setting up the NFS share from the Mac to the NAS was easy, it has
> autofs built-in and basically it just works.
>
> I have not yet managed to get the LinuxCNC machine to work properly in
> the same way. I spent several hours with a chap on the IRC on the
> problem on wednesday, and at one point it appeared that we had cracked
> it with a change to the timeout in the mount command, but it turned
> out to be a fluke, and reconnection via an fstab entry or by a manual
> mount always fails. Re-installaion from scratch of 12.04 Lubuntu did
> not help, nor did a clean installation from the 10.04 LiveCD. I also
> tried installing Autofs on the LinuxCNC machine, and that appears to
> simply not work at all.
>
> I _did_ manage to set up fstab to connect to the NAS via a Samba
> share, but that was unusably slow (there is no reason to think that an
> NFS share would be faster, of course)
>
> So, now I am back with the original setup, which will be OK until next
> time I need to swap OS-es on the dev machine, at which point I will
> have to re-create the git-repo from the LinuxCNC server, re-install
> all the dependencies and the other tools and accept that in the
> process I lose all the non-pushed branches.
>
> Given the setup (monitor, keyboard and chair belong to the Mac, Mac
> can see NAS, Linux Machine can't see NAS, Linux Machine is frequently
> nuked, can anyone suggest a sensible way to work?
>
> Preferably one that doesn't involve vi :)
>
> --
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to