public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* more info on /etc/festival.scm issue
@  Chuck Hallenbeck
   ` hanke
   ` Gregory Nowak
  0 siblings, 2 replies; 4+ messages in thread
From: Chuck Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've done some more narrowing down of the problem, and it turns out the
problem lies in this statement:

(defvar server_access_list '("127.0.0.1" "cq" "cq.ftml.net")

If I comment that statement out, the problem goes away, but without an
access list I cannect connect to the festival server. The parens are
not balanced, and there is a single quote without a match, but that's
the way the docs indicate it should be coded. I can't find any other
examples anywhere, and am curious to know if anyone here is running
festival and how they might have coded their access list.

Thanks,
Chuck

- -- 
The Moon is Waning Gibbous (92% of Full)
My new web site location is at: http://hallenbeck.ftml.net
College, that fountain of knowledge, where everyone goes to drink.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG10UJ0maTgpPXM9cRAjGzAKCbCDglZzb1MwlF0OkWF5E/yAU05ACghRK9
c4Lvvznc18RclbP0d0vTCpg=
=Ska7
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: more info on /etc/festival.scm issue
   more info on /etc/festival.scm issue Chuck Hallenbeck
@  ` hanke
   ` Gregory Nowak
  1 sibling, 0 replies; 4+ messages in thread
From: hanke @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.


Hi Chuck,

the single apostrophe is right, but parenthesis must
be balanced. I believe the correct option is this

(set! server_access_list '("127.0.0.1" "cq" "cq.ftml.net"))

Have a nice day,
Hynek Hanke




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: more info on /etc/festival.scm issue
   more info on /etc/festival.scm issue Chuck Hallenbeck
   ` hanke
@  ` Gregory Nowak
     ` Chuck Hallenbeck
  1 sibling, 1 reply; 4+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Chuck and all.

The line you gave is different than what i have in my
/etc/festival.scm. My line reads:

(set! server_access_list '(localhost localhost\.localdomain))

When I was setting up my festival, I relied on /etc/init.d/festival,
which states:

# NOTE: Not just anybody can connect to your server; the list of
  allowed
# hostnames is a regexp. Check /usr/share/festival/festival.scm for
  more
# helpful comments; add your settings to /etc/festival.scm.

and on /usr/share/doc/festival/README.Debian, which states:

Set the 'server_access_list' variable to the host names you want to
grant
   access to the server.

 Note that this variable holds a regular expression which is matched
 against
 whatever the client's IP address resolves to (or the address itself,
 if
 address-to-name resolution fails). For local connections, that is the
 first
 name in the '127.0.0.1' line of /etc/hosts; it may or may not be
 'localhost'.

 Set 'server_access_list' to NIL if you want to control access by
 other means
 (e.g., if your firewall filters incoming access to TCP port 1314, or
 whatever
 you've set the 'server_port' variable to):

 (set! 'server_access_list nil)

I remember that when I was doing it, it took 2-3 edits of
/etc/festival.scm and trial and error, before I got it working. So,
I'd suggest trying the following in your /etc/festival.scm:

(set! server_access_list '(127\.0\.0\.1 cq cq\.ftml\.net))

I haven't run festival for a good while now, in favor of espeak, but
I've just started up my festival service, to see if my setup still
works, and it does; I was able to telnet to 127.0.0.1 1314, and make
festival say some text. Hth.

Greg


On Thu, Aug 30, 2007 at 06:30:33PM -0400, Chuck Hallenbeck wrote:
> I've done some more narrowing down of the problem, and it turns out the
> problem lies in this statement:
> 
> (defvar server_access_list '("127.0.0.1" "cq" "cq.ftml.net")
> 
> If I comment that statement out, the problem goes away, but without an
> access list I cannect connect to the festival server. The parens are
> not balanced, and there is a single quote without a match, but that's
> the way the docs indicate it should be coded. I can't find any other
> examples anywhere, and am curious to know if anyone here is running
> festival and how they might have coded their access list.
> 
> Thanks,
> Chuck
> 
> -- 
> The Moon is Waning Gibbous (92% of Full)
> My new web site location is at: http://hallenbeck.ftml.net
> College, that fountain of knowledge, where everyone goes to drink.
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG11xC7s9z/XlyUyARAnprAJ4ziZKyxnPhTP10Y2bHRf72syXtawCfYqS8
cB3/PySlDk1Nyhl5hhsdUGs=
=+5oH
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: more info on /etc/festival.scm issue
   ` Gregory Nowak
@    ` Chuck Hallenbeck
  0 siblings, 0 replies; 4+ messages in thread
From: Chuck Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Many thanks to Hynek and Greg, it's working

The close paren was critical, and allowed the statement to be accepted
during initialization. But I had to change the defvar to set! to permit
my access list to work. Otherwise I retained my original syntax, which
I guess could now be simplified, but not right now. I'll wait until it
breaks before I fix it.

Chuck



- -- 
The Moon is Waning Gibbous (88% of Full)
My new web site location is at: http://hallenbeck.ftml.net
College, that fountain of knowledge, where everyone goes to drink.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG19aA0maTgpPXM9cRAkBYAJ90zsyTTrhLJls3CYGkkPmC1AB1UACeLCfO
uz4a2j5kX3yrhqfprt9PAmY=
=MGc+
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 more info on /etc/festival.scm issue Chuck Hallenbeck
 ` hanke
 ` Gregory Nowak
   ` Chuck Hallenbeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).