Re: Help with dict-client in Lenny?
s. keeling wrote:
> Charlie <ariestao@clearmail.com.au>:
>> On Sun, 10 May 2009 18:29:56 -0600 "s. keeling" <keeling@nucleus.com>
>> 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
Reply to: