Re: [Flightgear-devel] Problem with modified apt.dat file

2010-01-19 Thread jean pellotier
Andrew Gillanders a écrit :
 Hello all,

 I am having trouble with an updated apt.dat file. I think it is with  
 compressing it. I used the command 'tar cfz apt.dat.gz apt.dat'. Is  
 this correct?

   
to me it should be 'gzip apt.dat'

BTW, you can put apt.dat uncompressed in FG, fg will load it instead of 
the apt.dat.gz, it's sometimes more convenient for checking changes.

jano

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Problem with modified apt.dat file

2010-01-19 Thread Csaba Halász
On Tue, Jan 19, 2010 at 11:51 AM, Andrew Gillanders
andrew.gilland...@uqconnect.edu.au wrote:

 I am having trouble with an updated apt.dat file. I think it is with
 compressing it. I used the command 'tar cfz apt.dat.gz apt.dat'. Is
 this correct?

Nope, you don't want to tar it, just gzip.

-- 
Csaba/Jester

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Problem with modified apt.dat file

2010-01-19 Thread Jari Häkkinen
Judging from the extension .gz the command to use is gzip not tar. For 
compressed tar I'd expect extension .tgz or .tar.gz. Try 'gzip apt.dat' 
instead.


Jari


On 1/19/10 11:51 AM, Andrew Gillanders wrote:
 Hello all,

 I am having trouble with an updated apt.dat file. I think it is with
 compressing it. I used the command 'tar cfz apt.dat.gz apt.dat'. Is
 this correct?

 When I put the compressed file into FG, but there were problems
 loading. First, it fell over on line 2 (the version number and
 copyright), so I removed that. It then gets through the file, but
 seems to get stuck in an infinite loop, not recognising the end of
 the file. The log looks like this:

 Logging priority is bulk
 Setting geometry to 1280x800

 Finished command line arguments
 Initializing splash screen
 Reading image /Applications/Games/FlightGear191/FlightGear.app/
 Contents/Resources/data/Aircraft/SenecaII/splash.rgb
 Intel GMA 950 OpenGL Engine
 Max texture size = 2048
 Depth buffer bits = 24
 Splash screen progress reading aircraft list
 Splash screen progress reading airport  navigation data
 Loading Airport Database ...
 #1 './._apt.dat'
 #2 ''
 #3 '13799 0 1 E46  02 Ranch'
 Next airport = E46 3799

 [snip]

 #367972 '1   1 0 0 EHYB [X] Ypenburg The Hague'
 Next airport = EHYB 1
 Adding NV26 pos = -115.069, 36.0791 elev = 1913
 #367973 '10  52.053471  004.341159 22x 222.00  7020 .
 .   148 343243  2 0 2 0.25 0 0300.0300'
 #367974 '10  52.053955  004.339983 xxx 100.00   800 0.0 0.0   110
 161161  1 0 0 0.25 0 '
 #367975 '10  52.046864  004.329772 xxx 132.00   702 0.0 0.0   176
 161161  1 0 0 0.25 0 '
 #367976 '10  52.060818  004.350292 xxx 132.00   702 0.0 0.0   180
 161161  1 0 0 0.25 0 '
 #367977 '10  52.054977  004.338323 xxx  42.00  1000 0.0 0.0   400
 11  1 0 0 0.25 0 '
 #367978 '10  52.053928  004.339871 xxx  42.00  6690 0.0 0.0   130
 11  1 0 0 0.25 0 '
 #367979 '10  52.054462  004.338961 xxx 222.00  7000 0.0 0.0   125
 161161  1 0 0 0.25 0 '
 #367980 '10  52.053768  004.339871 xxx 356.00   880 0.0 0.0   110
 161161  1 0 0 0.25 0 '
 #367981 '99'
 End of file reached
 #367982 ''
 #367983 ''
 #367984 ''
 #367985 ''

 and thus it continues indefinitely. The text it is reading from the
 file is correct, so it seems to be some subtle character set encoding
 thing, perhaps?

 Thanks
 Andrew


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Problem with modified apt.dat file

2010-01-19 Thread Torsten Dreyer

Am 19.01.2010 um 13:22 schrieb jean pellotier:

 Andrew Gillanders a écrit :
 Hello all,
 
 I am having trouble with an updated apt.dat file. I think it is with  
 compressing it. I used the command 'tar cfz apt.dat.gz apt.dat'. Is  
 this correct?
 
 
 to me it should be 'gzip apt.dat'
 
 BTW, you can put apt.dat uncompressed in FG, fg will load it instead of 
 the apt.dat.gz, it's sometimes more convenient for checking changes.
Or use vim as editor which opens gzip'ed text files as easy as uncompressed 
files.

Torsten
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel