Re: saved Panelisation setup not reloaded?



I tried panelising my utility on an older version:
   GNU Midnight Commander 4.6.0
and logged the following problems:
If I step to the [Panelize] button via <tab> it's OK; but if I
1.  mouse there, it's fails to get & display my results/file-list.
2. Hangs when Panelised history evoked [by mouse]. Needed to `kill -9 <pid>`

This panelising is really a great feature, which I suspect is little used,
and perhaps not well tested re. user feedback.

My application is a <show me where: in various locations, filing-cabinets,
boxes, concertina-file...etc. my documents are for topic: A, B, C,...
or topic(A AND D) OR topic(B and C) >

The obvious key is that the file-tree is isomorphic to physical-space.
So if you take doco1 out of contertina-file-pocket-"N"  AND
/room3/FilingCabnt2/drawM/HangFileDog/doco2 AND
<doco3 who's physical location maps 1to1 [is isomorphic] to the dir-tree>
   and put the 3 docos in a box to take to a meeting,
then:
1. to first find the docos, you just use mc -> panelising to:
   `ShowLocationOfDocosFor` <Topic of the meeting>.
 [ this part works without the panelising, but with the panelising
  you are immeditely 'indexed to each of the relevant found docos,
  so you can just <F3> to look at the file's description of the doco,
  before you physically take it.]
2. When you physically move the docos to the <box that goes to the meeting>,
   you just use mc -> <F6> on a new sub-dir which represents the 'box';
   and mc "visually shows you the 3 docos moving into the box" !!!
   And if after the meeting it's not suitable to return the docos to their
   previous locations, that doesn't lead to chaos, because your little
   utility which looks for docos of <topic of that meeting> will find
   them still-in-the-box !!

My point: this project is substantially simplified by using `mc`.
Don't you just love mc? And we should give credit to the original Norton.

== Chris Glur.


On 5/15/11, chris glur <crglur gmail com> wrote:
I've made a very nice/important utility, which uses the panelizing
facility.

After I've 'entered' my new command & its prompt-text it runs nicely.
But when I try to run it again in another VT, after:
   Options -> Save Setup
my new entries are not there. Only the original/default entries are there;
even though my entries ARE in: ~/.mc/ini ?

Oh, I've just discovered that by activating the 'History:^', you can get
  the required command [which was previously exercised/tested]; and
  <enter> transfers it to the special-command-line to use.

Now I've rebooted and my stuff is no longer in ~/.mc/ini, where the
'panelise section' is last; which might indicate that this was the
latest update -- perhaps. The panelised-history is still there.

Why doesn't `Options -> Save Setup` allow me to reuse my effort ?

Thanks,

== Chris Glur.

PS. this also seems not right:
->  mc --help ==
Usage: mc [flags] [this_dir] [other_panel_dir]

  -h, --help             Displays this help message
  -V, --version          Displays the current version
...
->   mc -V ==
GNU Midnight Commander unknown
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, smbfs
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 32
------------------------------------------------
This long-story doesn't "Displays the current version"

This is on Slackware-13.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]