* Re: O T weather underground
O T weather underground Glenn Ervin at Home
@ ` Janina Sajka
` Glenn Ervin at Home
` Cheryl Homiak
` Lorenzo Prince
` (3 subsequent siblings)
4 siblings, 2 replies; 20+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: Glenn Ervin at Home, Speakup is a screen review system for Linux.
Hi, Glen:
I'm sure you won't mind getting the URL from a gal:
http://braille.wunderground.com
Enjoy!
Glenn Ervin at Home writes:
> From: "Glenn Ervin at Home" <GlennErvin@cableone.net>
>
> Hi List,
> Sorry for the off-topic item,
> But about a month ago or so, someone resent me the link to the weather
> underground, and that useful link is on another hard drive.
> I would sure appreciate it if he could send it my way again.
> Thanks.
>
> Glenn.
>
>
> Glenn
> N0YJV GlennErvin@cableone.net
> Work: gErvin@NCBvi.state.ne.us
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Janina Sajka
Email: janina@rednote.net
Phone: +1 (202) 408-8175
Director, Technology Research and Development
American Foundation for the Blind (AFB)
http://www.afb.org
Chair, Accessibility Work Group
Free Standards Group
http://a11y.org
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Janina Sajka
@ ` Glenn Ervin at Home
` Lorenzo Prince
` Cheryl Homiak
1 sibling, 1 reply; 20+ messages in thread
From: Glenn Ervin at Home @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
And what a fine gal.
thanks Janina.
----- Original Message -----
From: "Janina Sajka" <janina@rednote.net>
To: "Glenn Ervin at Home" <GlennErvin@cableone.net>; "Speakup is a screen
review system for Linux." <speakup@braille.uwo.ca>
Sent: Saturday, January 31, 2004 6:39 PM
Subject: Re: O T weather underground
Hi, Glen:
I'm sure you won't mind getting the URL from a gal:
http://braille.wunderground.com
Enjoy!
Glenn Ervin at Home writes:
> From: "Glenn Ervin at Home" <GlennErvin@cableone.net>
>
> Hi List,
> Sorry for the off-topic item,
> But about a month ago or so, someone resent me the link to the weather
> underground, and that useful link is on another hard drive.
> I would sure appreciate it if he could send it my way again.
> Thanks.
>
> Glenn.
>
>
> Glenn
> N0YJV GlennErvin@cableone.net
> Work: gErvin@NCBvi.state.ne.us
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Janina Sajka
Email: janina@rednote.net
Phone: +1 (202) 408-8175
Director, Technology Research and Development
American Foundation for the Blind (AFB)
http://www.afb.org
Chair, Accessibility Work Group
Free Standards Group
http://a11y.org
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Janina Sajka
` Glenn Ervin at Home
@ ` Cheryl Homiak
` Dan Murphy
` Cheryl Homiak
1 sibling, 2 replies; 20+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
What a cool link!!!
thanks--even though I wasn't the one to ask for it, I get the benefit!!!
--
Cheryl
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Cheryl Homiak
@ ` Dan Murphy
` Alex Snow
` Cheryl Homiak
1 sibling, 1 reply; 20+ messages in thread
From: Dan Murphy @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Yeah it's quite nice. I've been using the telnet site for many years.
----- Original Message -----
From: "Cheryl Homiak" <chomiak@charter.net>
To: "Speakup is a screen review system for Linux."
<speakup@braille.uwo.ca>
Sent: Saturday, January 31, 2004 8:52 PM
Subject: Re: O T weather underground
What a cool link!!!
thanks--even though I wasn't the one to ask for it, I get the benefit!!!
--
Cheryl
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Dan Murphy
@ ` Alex Snow
` Janina Sajka
0 siblings, 1 reply; 20+ messages in thread
From: Alex Snow @ UTC (permalink / raw)
To: Dan Murphy, Speakup is a screen review system for Linux.
I tried telnetting there a few weeks ago but all the forcasts and
stuff seemed really old. like from 2001 or something.
On Sat, Jan 31,
2004 at 09:01:07PM -0500, Dan Murphy wrote:
> Yeah it's quite nice. I've been using the telnet site for many years.
>
> ----- Original Message -----
> From: "Cheryl Homiak" <chomiak@charter.net>
> To: "Speakup is a screen review system for Linux."
> <speakup@braille.uwo.ca>
> Sent: Saturday, January 31, 2004 8:52 PM
> Subject: Re: O T weather underground
>
>
> What a cool link!!!
> thanks--even though I wasn't the one to ask for it, I get the benefit!!!
>
>
>
> --
> Cheryl
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Always borrow money from a pessimist; he doesn't expect to be paid
back.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: O T weather underground
` Cheryl Homiak
` Dan Murphy
@ ` Cheryl Homiak
` Buddy Brannan
` (2 more replies)
1 sibling, 3 replies; 20+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hmm, no weather command on debian unstable.
And don't try the weather package on debian; it's some kind of interactive
story. However, try miscfiles package if you want three-letter airport
codes and other interesting stuff.
If anybody does find the equivalent in debian for weather, I'd be
interested.
apt-cache search brought up some candidates but they looked graphical.
anyway, the wunderground site is nice.
--
Cheryl
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Cheryl Homiak
@ ` Buddy Brannan
` Janina Sajka
` Lorenzo Prince
2 siblings, 0 replies; 20+ messages in thread
From: Buddy Brannan @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
There is a weather script in expect. Errmm...in debian, it'll either be in expect or expect-dev, I suspect. Anyway, if anyone wants it, I have it, and it still works fine.
--
Buddy Brannan, KB5ELV/3 | But I will lay my burden
Email: davros@ycardz.com | in the cradle of your grace,
ICQ: 36621210 | And the shining beaches of your love,
http://www.ycardz.com | and the sea of your embrace.--Dave Carter
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Cheryl Homiak
` Buddy Brannan
@ ` Janina Sajka
` Lorenzo Prince
2 siblings, 0 replies; 20+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]
Weather is just a script. I've attached it. No idea whether or not it
will just run in your environment, of course.
Cheryl Homiak writes:
> From: Cheryl Homiak <chomiak@charter.net>
>
> Hmm, no weather command on debian unstable.
> And don't try the weather package on debian; it's some kind of interactive
> story. However, try miscfiles package if you want three-letter airport
> codes and other interesting stuff.
> If anybody does find the equivalent in debian for weather, I'd be
> interested.
> apt-cache search brought up some candidates but they looked graphical.
> anyway, the wunderground site is nice.
>
>
>
>
> --
> Cheryl
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Janina Sajka
Email: janina@rednote.net
Phone: +1 (202) 408-8175
Director, Technology Research and Development
American Foundation for the Blind (AFB)
http://www.afb.org
Chair, Accessibility Work Group
Free Standards Group
http://a11y.org
[-- Attachment #2: weather --]
[-- Type: text/plain, Size: 1990 bytes --]
#!/bin/sh
# \
exec expect -f "$0" ${1+"$@"}
# weather - Expect script to get the weather (courtesy University of Michigan)
# Don Libes
# Version 1.10
# local weather is retrieved if no argument
# argument is the National Weather Service designation for an area
# I.e., WBC = Washington DC (oh yeah, that's obvious)
# Notes from Larry Virden <lvirden@yahoo.com> about the new host,
# rainmaker.wunderground.com: "[the] new site requires the
# machine doing the request be located in reverse dns lookup
# or it refuses to provide data." This appears to be a blind error
# condition on the part of rainmaker.
exp_version -exit 5.0
if {$argc>0} {set code $argv} else {set code "WBC"}
proc timedout {} {
send_user "Weather server timed out. Try again later when weather server is not so busy.\n"
exit 1
}
set timeout 60
set env(TERM) vt100 ;# actual value doesn't matter, just has to be set
spawn telnet rainmaker.wunderground.com 3000
while {1} {
expect timeout {
send_user "failed to contact weather server\n"
exit
} "Press Return to continue*" {
# this prompt used sometimes, eg, upon opening connection
send "\r"
} "Press Return for menu*" {
# this prompt used sometimes, eg, upon opening connection
send "\r"
} "M to display main menu*" {
# sometimes ask this if there is a weather watch in effect
send "M\r"
} "Change scrolling to screen*Selection:" {
break
} eof {
send_user "failed to telnet to weather server\n"
exit
}
}
send "C\r"
expect timeout timedout "Selection:"
send "4\r"
expect timeout timedout "Selection:"
send "1\r"
expect timeout timedout "Selection:"
send "1\r"
expect timeout timedout "city code:"
send "$code\r"
expect $code ;# discard this
while {1} {
expect timeout {
timedout
} "Press Return to continue*:*" {
send "\r"
} "Press Return to display statement, M for menu:*" {
send "\r"
} -re "(.*)CITY FORECAST MENU.*Selection:" {
break
}
}
send "X\r"
expect
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Cheryl Homiak
` Buddy Brannan
` Janina Sajka
@ ` Lorenzo Prince
2 siblings, 0 replies; 20+ messages in thread
From: Lorenzo Prince @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
The famous speaker who no one had heard of said:
> Hmm, no weather command on debian unstable.
It should be part of the "expect" package. Expect should be there since it is
apparently required by I think tcl or something like that. Try
apt-cache search expect
or
apt-cache search tcl
OK. I just looked at expect and it says it is a tcl application that allows a
script to interact with other programs. The package includes the expect app and
"some scripts that use it."
HTH
PRINCE
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: O T weather underground
O T weather underground Glenn Ervin at Home
` Janina Sajka
@ ` Lorenzo Prince
` Alex Snow
` (2 subsequent siblings)
4 siblings, 0 replies; 20+ messages in thread
From: Lorenzo Prince @ UTC (permalink / raw)
To: Glenn Ervin at Home, Speakup is a screen review system for Linux.
The famous speaker who no one had heard of said:
> But about a month ago or so, someone resent me the link to the weather
> underground, and that useful link is on another hard drive.
Sorry that I don't have the link to the web site, but if at the command prompt
you type
weather <city code>
where <city code> is the 3-letter code for your nearest airport, you can get the
forcast printed directly to your screen and you can pipe it through less or to a
file. Of course that depends on your distro, but I think it's part of tcl or
something. Actually, I'm not really sure what package it's in, but I know both
Slackware and RH have it. And if they do, Debian has to have it, as it has more
packages than anything else.
HTH
PRINCE
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
O T weather underground Glenn Ervin at Home
` Janina Sajka
` Lorenzo Prince
@ ` Alex Snow
` Raul A. Gallegos
` Ann Parsons
4 siblings, 0 replies; 20+ messages in thread
From: Alex Snow @ UTC (permalink / raw)
To: Glenn Ervin at Home, Speakup is a screen review system for Linux.
It's www.wunderground.com
On Fri, Jan 30, 2004 at 05:55:08PM -0600, Glenn
Ervin at Home wrote:
> Hi List,
> Sorry for the off-topic item,
> But about a month ago or so, someone resent me the link to the weather
> underground, and that useful link is on another hard drive.
> I would sure appreciate it if he could send it my way again.
> Thanks.
>
> Glenn.
>
>
> Glenn
> N0YJV GlennErvin@cableone.net
> Work: gErvin@NCBvi.state.ne.us
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Always borrow money from a pessimist; he doesn't expect to be paid
back.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: O T weather underground
O T weather underground Glenn Ervin at Home
` (2 preceding siblings ...)
` Alex Snow
@ ` Raul A. Gallegos
` Lorenzo Prince
` Janina Sajka
` Ann Parsons
4 siblings, 2 replies; 20+ messages in thread
From: Raul A. Gallegos @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here is a weather script I us. Works real nice. I just type at a
prompt for example:
wxw 80222
And I get the weather for Denver Colorado.
Script follows:
#!/bin/bash
if [ "$#" -lt "1" -o "$#" -gt "2" ] ;then
echo "Usage: wxw zip or wxw cityname."
echo "Example: wxw 66212 or wxw Overland Park"
exit 1
fi
if [ "$#" -eq "1" ] ;then
QUERY="$1"
else
QUERY="$1+$2"
fi
lynx "http://braille.wunderground.com/cgi-bin/findweather/getForecast?query=$QUERY"
- --
Raul a. Gallegos - http://www.asmodean.net
Do you like 80's music? Do you want to spend some time on Saturdays listening?
Visit http://www.chosen80s.com for all the details.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAHHeYas0vKmIuNMcRAqciAJ9RtWnxOf3NWz8CP7ZNFfdj8y8zTACgrhfU
PkA1pBQiFuwqz+N94VGRobg=
=Qxpu
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Raul A. Gallegos
@ ` Lorenzo Prince
` Janina Sajka
1 sibling, 0 replies; 20+ messages in thread
From: Lorenzo Prince @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
The famous speaker who no one had heard of said:
> Here is a weather script I us. Works real nice.
<snip>
Thanks for the script. That works a lot better than my weather alias I used to
ust. The alias used the weather tcl script and had to run it through dos2unix
and finally less to get it to look presentable. Then I had to press space twice
just to get to the forcast. This makes things much easier on me and my system. ;-)
PRINCE
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Raul A. Gallegos
` Lorenzo Prince
@ ` Janina Sajka
` Raul A. Gallegos
1 sibling, 1 reply; 20+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Nice script, Raul. May I recommend:
lynx -dump -nostatus
Raul A. Gallegos writes:
> From: "Raul A. Gallegos" <raul@asmodean.net>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Here is a weather script I us. Works real nice. I just type at a
> prompt for example:
>
> wxw 80222
>
> And I get the weather for Denver Colorado.
>
> Script follows:
>
> #!/bin/bash
>
> if [ "$#" -lt "1" -o "$#" -gt "2" ] ;then
> echo "Usage: wxw zip or wxw cityname."
> echo "Example: wxw 66212 or wxw Overland Park"
> exit 1
> fi
>
> if [ "$#" -eq "1" ] ;then
> QUERY="$1"
> else
> QUERY="$1+$2"
> fi
>
> lynx "http://braille.wunderground.com/cgi-bin/findweather/getForecast?query=$QUERY"
>
> - --
> Raul a. Gallegos - http://www.asmodean.net
> Do you like 80's music? Do you want to spend some time on Saturdays listening?
> Visit http://www.chosen80s.com for all the details.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFAHHeYas0vKmIuNMcRAqciAJ9RtWnxOf3NWz8CP7ZNFfdj8y8zTACgrhfU
> PkA1pBQiFuwqz+N94VGRobg=
> =Qxpu
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Janina Sajka
Email: janina@rednote.net
Phone: +1 (202) 408-8175
Director, Technology Research and Development
American Foundation for the Blind (AFB)
http://www.afb.org
Chair, Accessibility Work Group
Free Standards Group
http://a11y.org
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Janina Sajka
@ ` Raul A. Gallegos
` Janina Sajka
0 siblings, 1 reply; 20+ messages in thread
From: Raul A. Gallegos @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Janina Sajka said the following on Sun, Feb 01, 2004 at 09:53:30AM -0500:
> Nice script, Raul. May I recommend:
> lynx -dump -nostatus
Thanks. I think I got the original idea from this list or from blinux.
Can't remember though.
Only thing about adding your suggestion is I'd have to pipe it to more
or grep out certain information. Is this why you suggested it? I just
want to make sure I see where you are coming from.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAHX5aas0vKmIuNMcRAnm8AJ9aSXPCXAwH03CWb1t6/2fGcnqXggCgzogG
jWBL8+AFd5QKgjUXolRGp4U=
=LVZW
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: O T weather underground
` Raul A. Gallegos
@ ` Janina Sajka
0 siblings, 0 replies; 20+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hmmm, pardon me for forgettn that I use a large screen configuration --
64 rows and 175 chars. Yes, you'd have to pipe to more -- but it's only
a suggestion.
I like the -dump because for me the idea is to get the weather, and not
necessarily to start surfing the web.
And, the -nostatus turns off all those contacting/loading messages while
the data is being received.
I guess if I think about it harder, I would be inclined to chop off
everything beginning with the copyright statement. But, that's just me.
Raul A. Gallegos writes:
> From: "Raul A. Gallegos" <raul@asmodean.net>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Janina Sajka said the following on Sun, Feb 01, 2004 at 09:53:30AM -0500:
> > Nice script, Raul. May I recommend:
> > lynx -dump -nostatus
>
> Thanks. I think I got the original idea from this list or from blinux.
> Can't remember though.
>
> Only thing about adding your suggestion is I'd have to pipe it to more
> or grep out certain information. Is this why you suggested it? I just
> want to make sure I see where you are coming from.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFAHX5aas0vKmIuNMcRAnm8AJ9aSXPCXAwH03CWb1t6/2fGcnqXggCgzogG
> jWBL8+AFd5QKgjUXolRGp4U=
> =LVZW
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Janina Sajka
Email: janina@rednote.net
Phone: +1 (202) 408-8175
Director, Technology Research and Development
American Foundation for the Blind (AFB)
http://www.afb.org
Chair, Accessibility Work Group
Free Standards Group
http://a11y.org
^ permalink raw reply [flat|nested] 20+ messages in thread
* O T weather underground
O T weather underground Glenn Ervin at Home
` (3 preceding siblings ...)
` Raul A. Gallegos
@ ` Ann Parsons
4 siblings, 0 replies; 20+ messages in thread
From: Ann Parsons @ UTC (permalink / raw)
To: Glenn Ervin at Home, Speakup is a screen review system for Linux.
Hi all,
http://braille.wunderground.com
Ann P.
--
Ann K. Parsons
email: akp@eznet.net
WEB SITE: http://home.eznet.net/~akp
"All that is gold does not glitter.
Not all those who wander are lost." JRRT
^ permalink raw reply [flat|nested] 20+ messages in thread