[ gpsdrive ] Clear Track Button

Ross Scanlon info at 4x4falcon.com
Fri Sep 19 23:23:30 AKDT 2008


On Sat, 20 Sep 2008 08:58:24 +0200
Guenther Meyer <d.s.e at sordidmusic.com> wrote:

> Am Samstag 20 September 2008 schrieb Ross Scanlon:
> > Hi All,
> >
> > Just been looking at the latest svn download and noticed that there is now
> > a Clear button.
> >
> yes, this one is new.
> 
> > What does this do exactly?
> >
> it deletes/resets the recorded track and trip data.
> the data is NOT saved.

Thanks.  Will have to have a look as I want to be able to save and restart the code.


> > Secondly, had also been looking for information on acting on the TERM
> > signal from the operating system.  ie on shutdown (whether from user or
> > power signal etc) gpsdrive receives a signal from the os that a shutdown is
> > about to happen.  Gpsdrive should then save and close the current track
> > file and anything else that needs to be saved and then close itself. 
> > Anyone know how this should be implemented or can point me in the direction
> > of some info.
> usually a track should always be saved (if there is one) to 
> ~/.gpsdrive/tracksaved.gpx on shutdown.
> 
> sigterm was already handled in gpsdrive.c
> sigint handling is available from svn revision 2057 ;-)


Will have to have a look at this then as I want the current track log saved as well as the tracksaved.gpx is overwritten the next time gpsdrive is started and it starts automatically on my system.



-- 


 Regards
 Ross
 ross at theinternethost.com.au

 -------------------------------------------
 The Internet Hosting Company
 Low Cost, High Value web Hosting and Design
 http://www.theinternethost.com.au
 P: 07 4945 3820
 F: 07 4945 3825
 E: info at theinternethost.com.au
 -------------------------------------------


More information about the GPSdrive mailing list