Hi! -- File position saving: -- When you are developing, and you should edit several files, you have to leave and enter again into files. It can be a lot of time to go back to the position where you were, when you reenter into the file you would like to edit again. This option (you can set/unset in editor's configuration) turns on file position saving, so if you reenter a file, your cursor will be at the position where you were last time. The positions are saved in the file "EditPos" in you mc configuration dir (~/.mc/). The last 1024 file's full name, x;y position is stored on each line. When you leave the editor, this file will be modified. When you edit the file, it will be opened again. Locking not necessary, just if more than one person using the computer at the same time with the same user. You are unable to do exiting two editor at the same moment. ------ The original files are based on the "2002-11-20-17" snapshot, except the edit/editoptions.c file that based on the CVS version (Pavel told me to do this way). Actually, I used to compile the snapshot version with the CVS-editoptions.c and it worked (the changes was just optimizations). I'm using the pathed version during my daily work, and I expected no problem with them. Bye, Andras
Attachment:
mc-filepos.udiff
Description: Binary data