Re: dict not piping through less/pager



Gary Johnson wrote:
but since I don't have dict installed on any systems here, I Googled for
"man dict". One of the man pages said that 'pager' may be set in a
configuration file, which may be ~/.dictrc or /etc/dict.conf. Ubuntu
may not specify a pager for dict. Adding the following line
your own ~/.dictrc should fix the problem.

pager less

I tried that among other things to ~/.dictrc and i keep getting an error:
$dict apple
$~/.dictrc:1: syntax error, unexpected TOKEN_STRING, expecting TOKEN_SERVER
$~/.dictrc:1: pager less
$~/.dictrc:1: ^^^^^
dict (yyerror): parse error

'man' is your friend.

Not always; Option --pager is now depricated in dict.

Any other suggestions?

--
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours;
and this we should do freely and generously.
--Benjamin Franklin
.



Relevant Pages

  • dict not piping through less/pager
    ... And dict isn't piping anything through less or pager or whatever it normally uses to allow you to scroll through definitions. ... As we enjoy great advantages from inventions of others, ...
    (comp.os.linux.misc)
  • Re: dict not piping through less/pager
    ... piping anything through less or pager or whatever it normally uses to ... It just spits the entire ... definition in a shell right to the end. ... man dict ...
    (comp.os.linux.misc)
  • Re: dict not piping through less/pager
    ... pager. ... Ergo, it must have been something outside dict itself. ... Modern computers make startup time negligible. ...
    (comp.os.linux.misc)
  • Re: dict not piping through less/pager
    ... $~/.dictrc:1: pager less ... dict (yyerror): parse error ...
    (comp.os.linux.misc)
  • Re: dict not piping through less/pager
    ... pager. ... Ergo, it must have been something outside dict itself. ... I think someone else has already suggested that you alias dict in your ...
    (comp.os.linux.misc)