[raspberry-vi] Re: Syncing files

  • From: Mike Ray <mike@xxxxxxxxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Wed, 27 Jul 2016 08:26:00 +0100


To sync files have a look at syncthing.  Google it.

Not updating a loaded file in real-time is NOT a limitation of nano.  It
would be very annoying for an editor to do this.  As far as I know every
editor I have ever found load the edited file into a buffer and won't
update the disk file until the next deliberate write, or sometimes it
will write a temporary file periodically.

It would be quite easy to write a client program that reads text from a
common server which the tutor is using to type notes.  You could get it
to only read or print a line on the screen every time a line-end
(carriage return) is received.



On 27/07/2016 02:28, Amanda Lacy wrote:

What about google docs for the raspberry pi?

Honestly, I can't use it, and last time I checked it didn't work with
the Braille display. Braille is a requirement for this project.

I'm guessing the inability to refresh as you type is a limitation of nano...

Do you think Emacs might work better for this?

On 7/26/16, erik burggraaf <erik@xxxxxxxxxxxxxxxxxx> wrote:
What about google docs for the raspberry pi?  Love google or hate them, and
I'm not even sure there's a debian/raspbian package for google docs, but
they do what you want.  I'm guessing the inability to refresh as you type is
a limitation of nano which I'm not sure has been updated since I got my
first linux box in 2004 or so.
Best,

Erik Burggraaf
Freelance jack of many trades!  Visit my website:
http://www.theoutofworkbum.work
Also check out my website for inclusion to the android platform for persons
with sensery, physical or cognitive disabilities:
http://www.inclusiveandroid.com

On Jul 26, 2016, at 5:24 PM, Amanda Lacy <lacy925@xxxxxxxxx> wrote:

What's the easiest way to sync files between the Pi and another
computer? I'm looking for simple to set up and use via the command
line. There appears to be no Dropbox installation for the Pi. Rsync
won't update the file on one end as you make changes on the other.

Also, is it even possible to cause an editor to reload a file when it
detects that there's a more recent version? Right now, if I open a
test file in nano, then change that file on my other machine and send
the changes to the pi, what I see in nano doesn't reflect the change
until I exit and reopen the file.

In case anyone's wondering, I'm working on a system that should allow
blind students to read notes in class as a note taker types them out
in real time.

Amanda
===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views
and attitudes expressed by the subscribers to this list do not reflect
those of the Foundation.

Mike Ray, list creator, January 2013



===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.

Mike Ray, list creator, January 2013


=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of 
the Foundation.

Mike Ray, list creator, January 2013



-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

Eyes-free Linux:
http://eyesfreelinux.ninja/

Raspberry VI:
http://www.raspberryvi.org/

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: