Ticket #3742: 0001-Ticket-3742-patch-2.patch

File 0001-Ticket-3742-patch-2.patch, 2.9 KB (added by mc-hobbit, 7 years ago)

Remove reference to $MC_* variables and change 'temporal' to 'temporary'

  • misc/mc.ext.in

    From 80dbae3775b61318d17509f7684d87c4e5c6840e Mon Sep 17 00:00:00 2001
    From: Brian Lowe <mc-hobbit@groupbcl.ca>
    Date: Sun, 22 Jan 2017 13:47:56 -0600
    Subject: [PATCH] Ticket #3742: remove reference to $MC_* variables and change
     'temporal' to 'temporary'
    
    ---
     misc/mc.ext.in | 22 +++++++++++-----------
     1 file changed, 11 insertions(+), 11 deletions(-)
    
    diff --git a/misc/mc.ext.in b/misc/mc.ext.in
    index a14a984..87c6ced 100644
    a b  
    33# Empty lines and lines starting with "#" are ignored. 
    44# 
    55# IMPORTANT: mc scans this file only at startup or after updating it using the 
    6 # mc "Edit extension file" command (F9-c-e). If you edit the file otherwise 
     6# mc "Edit extension file" command (F9-c-e).  If you edit the file otherwise 
    77# while mc is running, you will need to (F9-c-e) and exit the editor for your 
    88# changes to take effect, or exit mc and restart. 
    99# 
     
    1515# 
    1616#    shell 
    1717#       DESC is, when starting with a dot, an extension (no wildcards.) 
    18 #       All the files matching '*DESC'. Example: .tar matches *.tar; if it 
    19 #       doesn't start with a dot, it matches only a file of that name. 
     18#       All the files matching '*DESC'.  Example: .tar matches *.tar; if 
     19#       it doesn't start with a dot, it matches only a file of that name. 
    2020# 
    2121#    shell/i 
    2222#       DESC is, when starting with a dot, an extension (no wildcards.) 
     
    7272#    %% 
    7373#       The '%' character 
    7474# 
    75 #    %p or $MC_EXT_BASENAME 
     75#    %p 
    7676#       Name of the current file (without path, but 'pwd' is its path.) 
    7777# 
    78 #    %f or $MC_EXT_FILENAME 
     78#    %f 
    7979#       Name of the current file. Unlike %p, if file is located on a non-local 
    8080#       virtual filesystem (e.g. tarfs or ftpfs,) then the file will be 
    8181#       temporarily copied into a local directory and %f will be the full path 
    82 #       to this local temporal file.  If you don't want to get a local copy and 
    83 #       want to get the virtual fs path (like ftp://ftp.cvut.cz/pub/linux),  
     82#       to this local temporary file.  If you don't want to get a local copy 
     83#       and want to get the virtual fs path (like ftp://ftp.cvut.cz/pub/linux),  
    8484#       then use %d/%p instead of %f. 
    8585# 
    86 #    %d or $MC_EXT_CURRENTDIR 
     86#    %d 
    8787#       Name of the current directory (pwd, without trailing slash) 
    8888# 
    89 #    %s or $MC_EXT_SELECTED 
     89#    %s 
    9090#       Space separated list of tagged files (if any) or the name of the 
    9191#       current file. 
    9292# 
    93 #    %t or $MC_EXT_ONLYTAGGED 
     93#    %t 
    9494#       Space-spearted list of tagged files 
    9595# 
    9696#    %u 
     
    121121# 
    122122#    %var{VARNAME:default} 
    123123#       Expands to the value of the VARNAME variable in the environment if it's 
    124 #       set, otherwise the value in "default" is used. This is similar to the 
     124#       set, otherwise the value in "default" is used.  This is similar to the 
    125125#       Bourne shell ${VAR-default} construct. 
    126126# 
    127127# Rules are applied from top to bottom, thus the order is important.  If some