Re: Help with dict-client in Lenny?
s. keeling wrote: > Charlie : >> On Sun, 10 May 2009 18:29:56 -0600 "s. keeling" >> shared this with us all: >> >> >Hi. I've two Lenny boxes, both pretty much hand-crafted (as in no >> >"Desktop Environment" on install; I startx into fluxbox). >> > >> >On one of them, dict-client works as expected. It brings the result >> >up in a pager. In the other box, no pager. It just dumps it to >> >stdout. How do I change this, or track down the problem? I've looked > > Sorry it took so long to find your reply; seems to happen to me a lot. > This was useful, thanks. /etc/dictd/dict.conf contains: > > # pager most > server localhost > server dict.org > server dict0.us.dict.org > server alt0.dict.org > > I uncomment the pager line and get: > > /etc/dictd/dict.conf:17: syntax error, unexpected TOKEN_STRING, expecting > TOKEN_SERVER /etc/dictd/dict.conf:17: pager most > /etc/dictd/dict.conf:17: ^ > dict (yyerror): parse error > > > most is installed. > > >> This may help from man dict: >> >> -c file or --config file >>Specify the configuration file. The default is >> to try ~/.dictrc and /etc/dictd/dict.conf, using the first file that > > Again, thanks. > > comment it again - don't think it's part of the config, but a comment to following config lines grep pager /usr/share/doc/dictd/examples/* gives nothing regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help with dict-client in Lenny?
Charlie : > On Sun, 10 May 2009 18:29:56 -0600 "s. keeling" > shared this with us all: > > >Hi. I've two Lenny boxes, both pretty much hand-crafted (as in no > >"Desktop Environment" on install; I startx into fluxbox). > > > >On one of them, dict-client works as expected. It brings the result > >up in a pager. In the other box, no pager. It just dumps it to > >stdout. How do I change this, or track down the problem? I've looked Sorry it took so long to find your reply; seems to happen to me a lot. This was useful, thanks. /etc/dictd/dict.conf contains: # pager most server localhost server dict.org server dict0.us.dict.org server alt0.dict.org I uncomment the pager line and get: /etc/dictd/dict.conf:17: syntax error, unexpected TOKEN_STRING, expecting TOKEN_SERVER /etc/dictd/dict.conf:17: pager most /etc/dictd/dict.conf:17: ^ dict (yyerror): parse error most is installed. > This may help from man dict: > > -c file or --config file >Specify the configuration file. The default is > to try ~/.dictrc and /etc/dictd/dict.conf, using the first file that Again, thanks. -- Any technology distinguishable from magic is insufficiently advanced. (*)http://blinkynet.net/comp/uip5.html Linux Counter #80292 - -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Help with dict-client in Lenny?
On Sun, 10 May 2009 18:29:56 -0600 "s. keeling" shared this with us all: >Hi. I've two Lenny boxes, both pretty much hand-crafted (as in no >"Desktop Environment" on install; I startx into fluxbox). > >On one of them, dict-client works as expected. It brings the result >up in a pager. In the other box, no pager. It just dumps it to >stdout. How do I change this, or track down the problem? I've looked >at bugs.debian.org, the manpage, googled "dict pager >site:lists.debian.org", I can't see anything pertinent in /etc/dictd. >I have no ~/.dict*. > >Thanks. This may help from man dict: -c file or --config file Specify the configuration file. The default is to try ~/.dictrc and /etc/dictd/dict.conf, using the first file that exists. If a specific con‐ figuration file is specified, then the defaults will not be tried. Charlie --- Registered Linux User:- 329524 *** If I repent of anything, it is very likely to be my good behavior. ...Henry David Thoreau *** Debian, just the best way to create magic ___ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Help with dict-client in Lenny?
Hi. I've two Lenny boxes, both pretty much hand-crafted (as in no "Desktop Environment" on install; I startx into fluxbox). On one of them, dict-client works as expected. It brings the result up in a pager. In the other box, no pager. It just dumps it to stdout. How do I change this, or track down the problem? I've looked at bugs.debian.org, the manpage, googled "dict pager site:lists.debian.org", I can't see anything pertinent in /etc/dictd. I have no ~/.dict*. Thanks. -- Any technology distinguishable from magic is insufficiently advanced. (*) Please don't Cc: me. - - -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org