using rigorous reduction methods from the _Astronomical Almanac_ and related sources. Includes PLAN404 series for positions of the planets, and a long-term extension of modern Lunar theory for the Moon's position. Reads ASCII file catalogues of stars and orbital elements. Displays all adjustments as it finds local azimuth and elevation, rise and set times, etc. Latest update 2005-11-09. WWW: http://moshier.net/aadoc.html PR: ports/101850 Submitted by: Frank W. Josellis <frank@dynamical-systems.org>
11 lines
250 B
C
11 lines
250 B
C
--- dms.c.orig Sun Nov 1 18:59:47 1998
|
|
+++ dms.c Fri Aug 11 13:23:07 2006
|
|
@@ -485,7 +485,7 @@
|
|
else
|
|
printf( "Illegal input format\n" );
|
|
printf( ") ? ");
|
|
-gets(s);
|
|
+fgets(s, 40, stdin);
|
|
if( s[0] != '\0' )
|
|
sscanf( s, format, num );
|
|
return(0);
|