Adding VS Code to Pi

I use sshfs all the time, since I have ssh set up to connect to every system I'm interested in it's actually easier to use sshfs than setting up nfs.

While I could use a GUI at the client end I nearly always end up using my standard text mode/command line tools.

--
Chris Green
Reply to
Chris Green
Loading thread data ...

Exactly! :-)

--
Chris Green
Reply to
Chris Green

Yes, each a remote connection via a terminal window, at least this would be the modern idiom for this.

--
Chris Green
Reply to
Chris Green

I don't think so. Posters are single page documents. Only if you cut them in pieces and glue back after printing. :)

Well... yeah... when you get used to some tool... it sticks. Until you force yourself to switch. :)

True. It's great to have a choice.

Reply to
Nikolaj Lazic

Apart from anything else sshfs doesn't require admin access to the server. IME though the latency in a remote FS mount either by NFS over VPN or sshfs over anything can be painful compared to using the command line and tmux over an ssh connection to a box or VM that's in the data centre where everything else is.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays 
C:\>WIN                                     | A better way to focus the sun 
The computer obeys and wins.                |    licences available see 
You lose and Bill collects.                 |    http://www.sohara.org/
Reply to
Ahem A Rivet's Shot

Yes, most of the time I simply ssh to the remote system and use the (bash) command line. On most of the remote systems I have the same editor (vile) and bash configuration.

However there's a few places (in particular my hosting provider) where I have ssh access but don't have the option of getting my favourite editor installed (and there other useful utilities missing as well) so for those I sometime mount them locally using sshfs.

--
Chris Green
Reply to
Chris Green

Export to rtf, and cry!

---druck

Reply to
druck

I don't remember ever having that problem with Word for DOS - its the only M$ product that I've liked without reservations. Can't say the same about Word for Windows.

--
Martin    | martin at 
Gregorie  | gregorie dot org
Reply to
Martin Gregorie

When you can fit your question on a postcard then maybe you can demand and answer on one :-) How many lines was that?

Reply to
Jim Jackson

With VNC and Virtual Machines you can do some surprising things nowadays. For instance I can open a VNC-Connection to my rpi3b with an arm64 Debian on my Windows 10 PC, open Geany there, and select the text of an assembly language source file and copy it. Then I open Virtualbox with a x86-64 Debian in Windows 10, open Geany there too, and paste the source in.

Since I use as and ld on both machines, and macros for system calls (which make the right conversion for each cpu in the background), I can convert the source from arm64 to x86-64 very fast, and don't even have to change the command-line options and libraries to use for the tools to assemble and link them.

--
aen
Reply to
aen

Well possibly. Nfs does at least allow you to specify what you export. I agree it takes all of 3 minutes to set it up.

--
?Ideas are inherently conservative. They yield not to the attack of  
other ideas but to the massive onslaught of circumstance" 

    -  John K Galbraith
Reply to
The Natural Philosopher

Well that again depends on your network speed. I now have a minimum speed of 10Mbps up and that's as good as the coaxial ethernet NFS was designed for

But the huge advantage for ME is that NFS mounted remote filesystems appear just like local ones. Its all nicely integrated

Sure I use ssh for some stuff. But its nice to click on a directory and open a remote server data area

I dabbled with sshfs but for some reason I abandoned it in favour of NFS

I cant remember why....

--
?Ideas are inherently conservative. They yield not to the attack of  
other ideas but to the massive onslaught of circumstance" 

    -  John K Galbraith
Reply to
The Natural Philosopher

Not then

we got as far as two apps on a dos PC. but the ice had its own screen and so did the scope IIRC

--
Climate Change: Socialism wearing a lab coat.
Reply to
The Natural Philosopher

I've tried to do stuff in inkscape but it simply doesn't seem to do what corel does.

Corel is a blend of CAD and art stuff. Ive never found anything else like it.

--
Climate Change: Socialism wearing a lab coat.
Reply to
The Natural Philosopher

Latency is more of a factor than speed, I have 1Gbps down, 100Mbps up, but if the other end is on another continent then the latency tends to make things painful.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays 
C:\>WIN                                     | A better way to focus the sun 
The computer obeys and wins.                |    licences available see 
You lose and Bill collects.                 |    http://www.sohara.org/
Reply to
Ahem A Rivet's Shot

Correct - it stands for Visual Interface.

Vi was most certainly designed as a CRT based interface to an editor, one of the very first such. Some of the screen handling code in the original vi wound up as part of curses.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays 
C:\>WIN                                     | A better way to focus the sun 
The computer obeys and wins.                |    licences available see 
You lose and Bill collects.                 |    http://www.sohara.org/
Reply to
Ahem A Rivet's Shot

The thing I don't like about sshfs is that if the connection drops (for example, laptop sleep or changing wifi network) you're left with a mount that hangs - it doesn't unmount, and it doesn't try to reconnect, it's just a zombie. It can hang programs that try and access files in there.

According to a stackexchange answer the thing to do is sshfs -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3

which doesn't exactly trip off the tongue. I'll try it.

The unmount command is fusermount -u which is also non-obvious.

Theo

Reply to
Theo

So do sshfs mounted ones.

No, I can't see why. If you have ssh configured to connect to a server then mounting its files using sshfs 'just works' with no further configuration at either end.

--
Chris Green
Reply to
Chris Green

Almost certainly a serial (RS-232) connection, whether over dial-up or hardwired. I'd dial in to a terminal server with my Apple II and telnet from there into whatever box I wanted to use. Emacs was the preferred editor at the time, though I've since forgotten how to use it and mostly use Joe nowadays. I could've used AppleWorks or the built-in editor in ProTERM to edit files that would then be uploaded, but it wouldn't have been any faster than editing online (in the case of AppleWorks, it would've been slower as you'd have to hang up, quit ProTERM, start AppleWorks, do your editing, exit, restart ProTERM, reconnect, and upload your file).

_/_ / v \ Scott Alfter (remove the obvious to send mail) (IIGS(

formatting link
Top-posting! \_^_/ >What's the most annoying thing on Usenet?

Reply to
Scott Alfter

Mmm. Latency is usually more an issue of link speed than of actual time delay.

I get 11-20ms for a 64byte PING to pretty much any decent core server in the USA from here in the UK - 11ms - that's my uplink delay

Its hard to tell what more remote countries are like because everyone tends to shove their hosting service in the USA.

NFS suffers under latency a bit, but protocols like sshfs should not - they use large packet sizes

--
"First, find out who are the people you can not criticise. They are your  
oppressors." 
      - George Orwell
Reply to
The Natural Philosopher

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.