You are not logged in.

#1 2008-11-17 20:35:34

niller
Member
From: Denmark
Registered: 2008-02-12
Posts: 91

File suffix command in MC ??

I'm using mc a lot in terminals.

A have configured it to open epdfview when executing .pdf's, like this:

# PDF
type/^PDF
Open=(epdfview %f &)
#Open=(xpdf %f &)
#Open=(acroread %f &)
#Open=(ghostview %f &)
View=%view{ascii} pdftotext %f -

But epdfview generates a lot of output that messes up my screen.

Anyone knows how to redirect the output to /dev/null ??


/Niels
Registered Linux user #133791
Get counted at http://counter.li.org

Offline

#2 2008-11-17 21:11:54

string
Member
Registered: 2008-11-03
Posts: 286

Re: File suffix command in MC ??

Offline

#3 2008-11-18 08:56:25

niller
Member
From: Denmark
Registered: 2008-02-12
Posts: 91

Re: File suffix command in MC ??

string wrote:

Thanks smile That did the trick !

I now have this:

type/^PDF
Open=(epdfview %f &> /dev/null &)

And it works perfect smile


/Niels
Registered Linux user #133791
Get counted at http://counter.li.org

Offline

Board footer

Powered by FluxBB