.mc/bindings
changeset 301 bc02af7c6a99
parent 297 94be7bf3d9a3
child 302 8354ab3a7042
equal deleted inserted replaced
300:f7c19d2b4263 301:bc02af7c6a99
    77 # Rules are applied from top to bottom, thus the order is important.
    77 # Rules are applied from top to bottom, thus the order is important.
    78 # If some actions are missing, search continues as if this target didn't
    78 # If some actions are missing, search continues as if this target didn't
    79 # match (i.e. if a file matches the first and second entry and View action
    79 # match (i.e. if a file matches the first and second entry and View action
    80 # is missing in the first one, then on pressing F3 the View action from
    80 # is missing in the first one, then on pressing F3 the View action from
    81 # the second entry will be used. default should catch all the actions.
    81 # the second entry will be used. default should catch all the actions.
    82 #
       
    83 # Any new entries you develop for you are always welcome if they are
       
    84 # useful on more than one system.  You can send your modifications
       
    85 # by e-mail to mc-devel@gnome.org
       
    86 
       
    87 
       
    88 ### Changes ###
       
    89 #
       
    90 # Reorganization: 2000-05-01 Michal Svec <rebel@penguin.cz>
       
    91 
       
    92 
       
    93 ### TODO ###
       
    94 #
       
    95 # Postscript	Open: ps2svga [gs -DEVICE=jpeg|zgv or something]
       
    96 # Images		asciiview
       
    97 # 
       
    98 # All X Apps	[Nothing/Warning] if no DISPLAY
       
    99 # Not found	[Default/Warning]
       
   100 # Empty Output	[Default/Warning]
       
   101 # Edit:		CopyOut+EDIT+CopyIn
       
   102 # Security	Check gzip/bzip EDIT (mktemp)
       
   103 # 
       
   104 # Maybe:	Open/XOpen/GOpen/KOpen/... for Console/X/GNOME/KDE/etc.
       
   105 
       
   106 regex/\.pdf\.gz$
       
   107     Open=(zxpdf %f &)
       
   108 
    82 
   109 ### Archives ###
    83 ### Archives ###
   110 
    84 
   111 # .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk
    85 # .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk
   112 regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk$
    86 regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk$
   389 	Open=see %f
   363 	Open=see %f
   390 	#Open=(mplayer %f >/dev/null 2>&1 &)
   364 	#Open=(mplayer %f >/dev/null 2>&1 &)
   391 	#Open=(gtv %f >/dev/null 2>&1 &)
   365 	#Open=(gtv %f >/dev/null 2>&1 &)
   392 	#Open=(xanim %f >/dev/null 2>&1 &)
   366 	#Open=(xanim %f >/dev/null 2>&1 &)
   393 
   367 
   394 
       
   395 ### Documents ###
   368 ### Documents ###
   396 
   369 
   397 # Postscript
   370 # Postscript
   398 type/^PostScript
   371 type/^PostScript
   399 	Open=run-mailcap application/postscript:%f &
   372 	Open=run-mailcap application/postscript:%f &
   405 	Open=run-mailcap application/pdf:%f 2>/dev/null &
   378 	Open=run-mailcap application/pdf:%f 2>/dev/null &
   406 	#Open=(xpdf %f &)
   379 	#Open=(xpdf %f &)
   407 	#Open=(acroread %f &)
   380 	#Open=(acroread %f &)
   408 	#Open=(ghostview %f &)
   381 	#Open=(ghostview %f &)
   409 	View=%view{ascii} pdftotext %f -
   382 	View=%view{ascii} pdftotext %f -
       
   383 
       
   384 shell/.pdf.gz
       
   385     Open=(zxpdf %f &)
   410 
   386 
   411 # CHM
   387 # CHM
   412 shell/.chm
   388 shell/.chm
   413 	Open=xchm %f &
   389 	Open=xchm %f &
   414 	#Open=(xpdf %f &)
   390 	#Open=(xpdf %f &)