[elinks-users] Piping to elinks - skip popup dialog?

Chris Jones cjns1989 at gmail.com
Fri Jan 22 10:12:53 PST 2010


It's apparently possible to invoke ELinks as the last step in a pipe and
use it as a pager.

An artificial example might be:

$ cat file | elinks

This fires up a new instance of ELinks that displays this dialog:

┌─────────────────────────────────────────────────────────────────────┐
│                                                                     │
│  What would you like to do with 'stdin' type: text/plain?           │
│                                                                     │
│  Program ('%' will be replaced by the filename)                     │
│  ............................................................       │
│                                                                     │
│  [X] Block the terminal                                             │
│                                                                     │
│  [ Open ]   [ Save ]   [ Display ]   [ Show header ]   [ Cancel ]   │
└─────────────────────────────────────────────────────────────────────┘

The [ Open ] button is focused so hitting <Enter> makes Elinks display
the file's contents.

If I don't specify 'Program' or '%', and ELinks defaults to itself, so
to speak, which makes me think that I should be able to skip the popup. 

I played with the options under 'Options Manager -> MIME' and ELinks's
command-line switches, but I am still seeing this popup.

Is there any way I could have Elinks skip this dialog?

Thanks,

CJ





More information about the elinks-users mailing list