Page 1 of 1

Emacs and TRAMP from OSX to IRIX

Posted: Thu May 03, 2012 4:36 am
by kubatyszko
Hi all,

I have :

IRIX BOX (say Fuel) with 6.5.30 and Macbook with OSX running emacs.

I'm trying to edit remote files on Fuel using emacs (running on osx), usually the best solution is to use TRAMP (via ssh or anything),
but what happens, is that when using ssh/scp/sftp tramp freezes after asking for password (and sometimes it freezes the whole emacs).
I only got further when setting telnet as the access method (which is fine with me), but then I got part of the file intertwined with some garbage (it's a c source file).

Did you guys have similar experience ?

The ssh may be hopeless (due to some IRIX oddities with remote prompts and the way it's handled in TRAMP), telnet gave me some hope but probably encoding is messed up...

Cheers

Re: Emacs and TRAMP from OSX to IRIX

Posted: Thu May 03, 2012 5:30 am
by hamei
kubatyszko wrote:IRIX BOX (say Fuel) with 6.5.30 and Macbook with OSX running emacs.

I'm trying to edit remote files on Fuel using emacs (running on osx)

This is crude but vnc works for a quick-n-dirty answer ......

Re: Emacs and TRAMP from OSX to IRIX

Posted: Thu May 03, 2012 5:33 am
by Adrenaline
Just so I'm clear, you've got a c source file on your Fuel that you want to edit on your Macbook? Why not just setup a SMB share with your source code?

If you've doing cross-platform development, you might want to simply use SVN or CVS to check in/checkout code from each platform. That's what I do when I have cross-platform development at work and for personnel projects.

Another option to consider, yesterday I was asked to make modifications to all 3 platforms our app runs on (Windows Phone 7, iOS and Android). Since you can't do iOS development on anything but a Mac, I simply have 1 Visual Studio for Windows Phone 7, 1 for Android and a TurboVNC connection to the iMac.

Re: Emacs and TRAMP from OSX to IRIX

Posted: Thu May 03, 2012 5:34 am
by Adrenaline
hamei wrote:
kubatyszko wrote:IRIX BOX (say Fuel) with 6.5.30 and Macbook with OSX running emacs.

I'm trying to edit remote files on Fuel using emacs (running on osx)

This is crude but vnc works for a quick-n-dirty answer ......

Beat me to it! :)

Re: Emacs and TRAMP from OSX to IRIX

Posted: Thu May 03, 2012 5:48 am
by kubatyszko
my use-case is development on irix and for irix (including compilation) with occasional usage of my mac as terminal/editor (fuel doesn't fit on my laps when I don't want to sit at my desk).
emacs+tramp would be for editing with cc over ssh for compilation.
it seems that using some CVS/git will be the best option but having to check in/out code every time to compile seems annoying - or maybe I'll teach emacs to do this for me :-) this would be fun weekend project...

vnc would work equally well to running emacs via x11 from irix to mac - but in addition to my fuel here I also want to use another box far in Poland - the lag would kill me...

Re: Emacs and TRAMP from OSX to IRIX

Posted: Thu May 03, 2012 6:35 am
by hamei
kubatyszko wrote:vnc would work equally well to running emacs via x11 from irix to mac - but in addition to my fuel here I also want to use another box far in Poland - the lag would kill me...

If the files aren't too big you could try joe. It runs in a terminal so no X required. I use that to edit some files on Solaris from the Irix box.

For larger files, this is even cruder than vnc but axyftp can be set with a target host, username and password so you can grab a file, edit it in the comfort of whatever system you prefer, then ftp it back fairly conveniently without a bunch of excessive name / password / host typing. Crude but works .....

Is there a nedit for Mac ? Maybe the problem is between the Irix emacs and the Mac emacs, nedit might not have that problem ? Or is this getting into the dangerous area of editor wars ? :P

Re: Emacs and TRAMP from OSX to IRIX

Posted: Thu May 03, 2012 7:06 am
by josehill
hamei wrote:Is there a nedit for Mac ?

Yep...and it's just as good on MacOS X as it is on IRIX. (X11 required, of course.)
http://sourceforge.net/projects/nedit/f ... table/5.5/

As others have suggested, though, for editing a large file over a poor network connection, it would probably be better to login remotely and use a character-based editor in a shell or to check-out the file via source code management utilities and work on it locally.

Re: Emacs and TRAMP from OSX to IRIX

Posted: Thu May 03, 2012 5:03 pm
by noth
The obvious answer seems to be use emacs on the IRIX box? That, or as others suggest, setup a version control system, but I presume you're compiling on the IRIX station. Use emacs+screen so disconnects aren't so much of an issue and you'll be fine.

Re: Emacs and TRAMP from OSX to IRIX

Posted: Wed Dec 05, 2012 8:28 pm
by voidfoo
+1 on emacs -nw & screen

Re: Emacs and TRAMP from OSX to IRIX

Posted: Wed Dec 05, 2012 8:52 pm
by mia
voidfoo wrote:+1 on emacs -nw & screen


++

Re: Emacs and TRAMP from OSX to IRIX

Posted: Wed Dec 05, 2012 11:46 pm
by PymbleSoftware
josehill wrote:
hamei wrote:Is there a nedit for Mac ?

Yep...and it's just as good on MacOS X as it is on IRIX. (X11 required, of course.)
http://sourceforge.net/projects/nedit/f ... table/5.5/


1. Install MacPorts
2. Open an Xterm and type "sudo port install nedit"
3. Coffee
4. Enjoy.
5. ???
6. Profit !!!

R.

Re: Emacs and TRAMP from OSX to IRIX

Posted: Thu Dec 06, 2012 4:55 am
by mila
When I am on Mac I use ssh -x(running emacs on the remote box) or if I am on a slow line expandrive using emacs locally.

telnet if you are on a local network is fastest.