I don't know about newer versions, but my slak13 `man mc`==
MC Version 4.6.2-pre1           September 2007
<history tab> doesn't show the immediately recent paths;
so I made:-- mc2 == open with last 2 paths.

#! /bin/bash
 Path1=`head -1 /root/.mc/filepos |awk '{print $1}' `
 Path2=`head -2 /root/.mc/filepos |awk '{print $1}' | tail -1`
 xterm -e mc `dirname $Path1` `dirname $Path2`

last 3 & 4
#! /bin/bash
 Path1=`head -3 /root/.mc/filepos |awk '{print $1}' | tail -1`
 Path2=`head -4 /root/.mc/filepos |awk '{print $1}' | tail -1`
 xterm -e mc `dirname $Path1` `dirname $Path2`
_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc

Reply via email to