if you are working on a local network there should be no noticeable lag at all when editing a file - perhaps you should investigate the cause of the lag.
do ensure all your rpi sw is up to date though i use putty to ssh into all my pis and pizeros - and have never had an issue with lag even when weewx is running together with web server and MySQL or a gui is running to display on a touchscreen - never any issues at all, although on two of the rpi's I do use a hard disk rather than the sd. On Sunday, 8 April 2018 08:45:59 UTC+3, Glenn McKechnie wrote: > Apparently an older version of nano would return that error at > seemingly random times, possibly due to file corruption. > If you were suffering extreme lag in the connection then perhaps it is > related to that. > Check your version of nano, or update it if you feel it's an older one. > I really can't help much more with nano as I don't use it. > > vi (vim) > In the absence of a suitable user config file, the default action is > to place it in the same directory as the file you are editiing, so in > this case it would be in /etc/weewx > If you ignore the lock file warning and decide to edit the file > anyway, you'll create another swp file - ending as .swo . Rinse repeat > for the next letter. > if vi is giving no clues about the swap files location then try using > find. > > sudo find /etc/weewx -name *.sw[nop] > If that fails to return anything, broaden the search to... > sudo find / -name *.sw[nop] > > > Cheers > Glenn > > rorpi - read only raspberry pi & various weewx addons > https://github.com/glennmckechnie > > > On 8 April 2018 at 14:16, Kimberly Olsen <[email protected] > <javascript:>> wrote: > > Glenn, > > > > I can see no swap file despite vi insisting there is. No amount of ls > -la > > will find one > > > > K > > > > On Saturday, 7 April 2018 12:48:18 UTC+10, Kimberly Olsen wrote: > >> > >> I've been attempting to get ftp working this morning and suddenly when > >> attempting to edit weewx.conf, I get the message below > >> > >> This is when I am ssh-ing in from my Mac. > >> When I attempt to edit the file directly on the pi, I cannot save it > >> > >> Any ideas ? > >> > >> Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data > read > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "weewx-user" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
