Annotation of researchv10dc/cmd/weather/weath.h, revision 1.1.1.1

1.1       root        1: struct wline {
                      2:        char anam[3]; /* airport code */
                      3:        char nlat[5]; /* north latitude */
                      4:        char nlng[6]; /* west longitude */
                      5:        char wtime[4]; /* GMT */
                      6:        char wtemp[3]; /* temperature, farenheit */
                      7:        char wdewpt[3]; /* dewpoint */
                      8:        char wweath[6]; /* string, containing as shown ... */
                      9:                /*
                     10:                case 'A': strcat(temp, " hail"); break;
                     11:                case 'D': strcat(temp, " dust"); break;
                     12:                case 'F': strcat(temp, " fog"); break;
                     13:                case 'H': strcat(temp, " haze"); break;
                     14:                case 'I': if (s[1]=='P') strcat(temp, " sleet"); break;
                     15:                case 'K': strcat(temp, " smoke"); break;
                     16:                case 'L': strcat(temp, " drizzle"); break;
                     17:                case 'R': strcat(temp, " rain"); break;
                     18:                case 'W': strcat(temp, " showers"); break;
                     19:                case 'S': strcat(temp, " snow"); break;
                     20:                case 'T': strcat(temp, " thunderstorms"); break;
                     21:                case 'Z': strcat(temp, " freezing"); break;
                     22:                */
                     23:        char wwind[7]; /* wind: xxyy[Gzz]: xx bearing (xx0 degrees), yy knots */
                     24:                /* Gzz: gusting to zz knots */
                     25:        char wcloud[1]; /* as shown */
                     26:                /*
                     27:                case 'C': s= "clear"; break;
                     28:                case 'P': s= "partly cloudy"; break;
                     29:                case 'O': s= "overcast"; break;
                     30:                default: s= "ordinary"; break;
                     31:                */
                     32:        char wpress[3]; /* barometer, offset from 30 inches */
                     33:        char wday[3]; /* day of year */
                     34:        char newline[1];
                     35:        };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.