Re: sftp with 2FA and password
Would it be feasible to use a shell script as a wrapper around mc - and pass the OTP through the shell script first, then call mc the normal way? https://ubuntu.com/tutorials/configure-ssh-2fa#1-overview HTH Keith Roberts On 07/02/2021 18:33, Michael Straube via mc wrote: Hi, I need to connect to a server that uses two factor authentication. When I login from a terminal I first need to enter the OTP and then my normal password. I'm not able to get it working, mc only asks for a single password when I try to connect. Is it even possible to login to a ssh/sftp server that uses one-time-password 2FA? Michael ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Editor syntax highlighting for Arduino *.ino source code files
Hi all, I'm using the Arduino IDE and I think the language is a subset of C++. Can I add a syntax file to MC to allow the editor to highlight C++ code in the *.ino source file? Kind Regards, Keith Roberts ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: How to switch from mcedit to mc file manager without closing editor?
Hi Alexey, I tend to use a Konsole shell with 3 or 4 different tabs each running an instance of mc to edit multiple files at once. HTH Keith Roberts On 22/04/2019 19:10, Alexey Murz Korepov via mc wrote: mcedit allow to open multiple files at once, but provide no build-in good interface for select seconf file to open - only window for manually write path to file. Is there any way exists to switch back into mc file manager panels from mcedit window without closing current file, to open second file for editing simultaneously both files? -- Best regards, Alexey Murz Korepov. E-mail: mur...@gmail.com <mailto:mur...@gmail.com> Messengers: Matrix - https://matrix.to/#/@murz:ru-matrix.org Telegram - @MurzNN ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: Setting left and right panel directories at startup
On 19/03/18 18:21, Lynn Bradshaw wrote: Sorry, forgot to reply all. I said that, personally, I would put ~/Documents in the directory hotlist and get there via C-\. Hi Lynn, Thanks for reminding me about the directory hotlist! I tend to use the drop-down arrow from the panel to do that. Kind Regards, Keith Roberts ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Setting left and right panel directories at startup
Hi all, I found this in /home/keith/.config/mc/panels.ini [Dirs] current_is_left=true other_dir=/home/keith/Documents/ I'd like mc to open /home/keith/Documents/ in the left panel as well whenever I start mc up, so both panels are showing the /home/keith/Documents/ directory. Is there some way to tell mc how to do this please? Kind Regards, Keith Roberts ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: MC doesn't edit files on remote file systems (e.g. ssh) if external editor is used
Hi Yury, I'd like to help but I'm in the middle of looking for a new job now. Maybe when I'm sorted with another job I'd be able to help then. Kind regards, Keith Roberts mob: 0794 88 503 41 On 2017-07-06 15:26, Yury V. Zaytsev wrote: On Thu, 6 Jul 2017, Keith Roberts wrote: I've known of a similar issue for some time. I've just reproduced the issue with an external editor. I guess for some reason we don't upload the file back when the editor quits. You are welcome to file a bug, and even better would be if you could have a look at it, and provide a patch. -- Sincerely yours, Yury V. Zaytsev ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: MC doesn't edit files on remote file systems (e.g. ssh) if external editor is used
Hi Pavel, I've known of a similar issue for some time. My workaround to edit a file with ftpfs is: In mc I have the left pane for my local machine, and the right pane for the remote ftpfs file system. download the file to edit it on your local machine. make an original copy on the local machine. edit the file on your local machine. If there are a lot of changes, diff your edited copy with the original, to make sure you've got all the edits right. use ftpfs to copy the edited file back to the server and overwrite the remote file you are trying to edit. I cannot SSH into my remote hosting so I have to use ftp. Another good choice is to do the same but with Filezilla ftp client. Using Filezilla you can do a diff of what's on your local machine with what's on the remote machine. Kind regards, Keith Roberts mob: 0794 88 503 41 On 2017-07-06 14:04, Pavel Moukhataev via mc wrote: mc doesn't edit files on remote file systems - e.g. ssh vfs. It allows browsing, allows editing, allows saving file after editing. But it doesn't actually save file. After refreshing (Control+R) I see previous file version. I use mcedit as mc editor mc --version GNU Midnight Commander 4.8.18 Built with GLib 2.50.1 Using the S-Lang library with terminfo database With builtin Editor 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 Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64; $ uname -a Linux pm-asus-note 4.10.0-26-generic #30-Ubuntu SMP Tue Jun 27 09:30:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux -- С уважением, Павел +7-903-258-5544 skype://pavel.moukhataev ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: Replace/RE/All = seg-error !?
On Thu, 24 Oct 2013, /dev/rob0 wrote: To: mc@gnome.org From: /dev/rob0 r...@gmx.co.uk Subject: Re: Replace/RE/All = seg-error !? On Wed, Oct 23, 2013 at 05:52:59PM -0500, tooth pik wrote: I suspect a large percentage of mc users configure mc to use vim for internal edits. I can't speak for others, but ... eww. No, I do not, will not. I for one don't, no -- since I can seamlessly configure mc to use vim as the internal editor, which has spellchecking, syntax highlighting, and is arguably the most powerful and user configurable editor in the world, why would I even think about using mc's editor? You spent a lot of time learning those vi commands. You had to retrain yourself to know that you can't just start typing in your editor, you have to put it in insert mode first. Sure, after such a long time as a Unix user I have had to learn the basic vi skills. I still hate it. All we had at college in 88-90 was VI - eeek! - some weird combination of keys to move about the screen. I'm very happy with cooledit and especially it's syntax highlighting! my 2c worth Kind Regards, Keith --- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] --- ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Changing the default PDF viewer application
I'm running MC on Centos 5.8 ┌─┬─┐ ┐ ┐ │ │ │ . │ . │ │ │ │ ┐ ┌─┤ ┬─┐ ┐ ┌─┬ ├─┐ ┼ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ┴ ┴ ┴ └─┴ ┴ ┴ ┴ └─┤ ┴ ┴ └┘ Commander 2006-09-25-14 [root@karsites ~]# rpm -q mc mc-4.6.1a-35.el5 and would like to change the default PDF viewer. At the moment it is evince, but I'd like to make it KPDF instead. How Can I change this please? Kind Regards, Keith --- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] ---___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: Of mice and menus
On Mon, 1 Oct 2012, Ugly Sean wrote: To: mc@gnome.org From: Ugly Sean sc...@rogers.com Subject: Of mice and menus So I was checking out the latest version of MC, the Windows port 4.8.4.1 and while it is pretty good, I still have to press F9 to access the menu instead of using the mouse. Is there a way around this? Do you have a link to the Windows version please Sean? Keith --- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] --- ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: how to compare folders recursively ?
On Thu, 6 Oct 2011, Thomas wrote: To: mc@gnome.org From: Thomas gam...@gmail.com Subject: how to compare folders recursively ? Hello, I'm a new french user of mc since some week. That's why my english is not good. I have a question that remains unanswered. I'd like to compare two directories but mc list the differences at the root of the two folders. Whereas I want to make it recursively ! Mc allows it this type of compare ? If yes, how to make it ? Thank for your aid. I use a program called kdiff3 for doing this. http://kdiff3.sourceforge.net/ It's designed for just this purpose, and I use it to compare directories, like after buring a data DVD/CD, comparing config files, and other things like that. Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: mc and ctrl-x
On Wed, 14 Sep 2011, Ladislav Hagara wrote: To: mc@gnome.org From: Ladislav Hagara ladislav.hag...@unob.cz Subject: mc and ctrl-x Hi, please, is possible to give ctrl-x back as shortcut for extended keybindings mode. In new stable version 4.7.5.4 [1] you removed it. According to #2586 [2] you prefer ctrl-x as shortcut for !WordRight action. Do you have some stats how many users really need it for !WordRight action? Can you not override this in your desktop settings preferences, or the shell you use to start mc from? Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
[CentOS] Funny Characters in Midnight Commander?? (fwd)
Hi all. I posted this to the Centos mailing list first, but they do not appear to know the answer to this question. Maybe it's my graphics card? -- Forwarded message -- To: CentOS mailing list cen...@centos.org From: Keith Roberts ke...@karsites.net Subject: [CentOS] Funny Characters in Midnight Commander?? I'm on Centos 5.6 and I have a problem with the screen showing funny characters when I run mc in a konsole terminal window, under Xfce desktop. Here's a link to what it looks like: http://tinypic.com/view.php?pic=zojry1s=7 Any ideas why mc is doing this? Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Midnight Commander is my favorite FTP tool But is SFTP possible??
On Mon, 8 Aug 2011, Paul Hartman wrote: To: Mc@gnome.org From: Paul Hartman paul.hartman+gen...@gmail.com Subject: Re: Midnight Commander is my favorite FTP tool But is SFTP possible?? On Sat, Aug 6, 2011 at 4:55 PM, Keith Roberts ke...@karsites.net wrote: On Sat, 6 Aug 2011, Yury V. Zaytsev wrote: To: jtw...@ttlc.net From: Yury V. Zaytsev y...@shurup.com Subject: Re: Midnight Commander is my favorite FTP tool But is SFTP possible?? On Sat, 2011-08-06 at 15:19 -0400, Joe Philbrook wrote: Is this possible with MC? If not are there any plans to implement such a thing?? It would be awesome... Support for SFTP is being worked on right now by Ilya. I don't have any ETAs, but there is code that is already functional in git, so it will be shipped at some point. I'm not sure what platform you are on, but while you are waiting there is gFTP for Linux that supports FTPS, and on Windows there is WinSCP. SFTP and FTPS are not the same thing, BTW. :) FTPS is traditional FTP protocol with SSL-encrypted control channel SFTP is SSH File Transfer Protocol, not related to traditional FTP OK. Thanks for pointing that out and correcting me on that Paul ;) Kind Regards, Keith - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: #7) Sorry to post mailtest(s) but lately my post don't get there...
On Sat, 6 Aug 2011, Joe(theWordy)Philbrook wrote: To: Mc@gnome.org From: Joe(theWordy)Philbrook jtw...@gmx.com Subject: #7) Sorry to post mailtest(s) but lately my post don't get there... gmane.comp.gnome.apps.mc.general is read only so must post via Mc@gnome.org For this attempt I've added a mc subscription to my new freemail email address This it the first attempt with that subscribed address... I'd think I was somehow no longer subscribed but the subscriber options page at http://mail.gnome.org/mailman/listinfo/mc still recognizes my password... But somehow it seems my messages are not getting posted anymore. Or at least they are not making it to gmame's mirror at: gmane.comp.gnome.apps.mc.general IF I don't see this message on gmane, I'll try editing my subscription to turn email delivery on and then resend. If that don't work then I may have to unsubscribe and then try resubscribing with a fresh profile. If that fails I'll probably just cry... Do you get any bounces from the list, saying your emails to this list cannot be delivered? There have been problems for some of us trying to post to this list, as for some strange reason *@gnome.org started to use the UCEprotect service to filter out spam to their email lists. My ISP and some others were blocked from posting to mc@gnome.org list for several weeks. However the problem appears to be sorted for myself now - not sure about others on the list that had this problem though. Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Midnight Commander is my favorite FTP tool But is SFTP possible??
On Sat, 6 Aug 2011, Yury V. Zaytsev wrote: To: jtw...@ttlc.net From: Yury V. Zaytsev y...@shurup.com Subject: Re: Midnight Commander is my favorite FTP tool But is SFTP possible?? On Sat, 2011-08-06 at 15:19 -0400, Joe Philbrook wrote: Is this possible with MC? If not are there any plans to implement such a thing?? It would be awesome... Support for SFTP is being worked on right now by Ilya. I don't have any ETAs, but there is code that is already functional in git, so it will be shipped at some point. I'm not sure what platform you are on, but while you are waiting there is gFTP for Linux that supports FTPS, and on Windows there is WinSCP. Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
UCEprotect mail tester
1,2,3 Keith - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Command to swap directory pane contents?
** Well it appears that I can send emails to this list ** again! ** Hoorah!! That UCEprotect racket is a right pain! Is it possible to have two different directory listings in the left and right panes, then flip the contents of each pane, so the directory listing in the lh pane is now in the rh pane, and what was in the rh pane is now in the lh pane? I know Alt-i will mirror what is listed in the active pane, into the other pane. But I want to actually do more than that, and be able to swap the directory listings both at the same time. Is this implemented in mc yet please? Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Smarty Syntax Highlighting File?
I'm running Centos 5.6 and the version of mc is this: Name : mc Arch : i386 Epoch : 1 Version: 4.6.1a Release: 35.el5 I'm trying to learn how to use Smarty PHP Template Engine, to seperate the server sided logic from the browser display logic, using Smarty templates. I cannot see a syntax hightlighting file for Smarty code in the mc syntax directory. Has this been done yet? If not, how can I write my own Smarty syntax highlighting file please? Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Smarty Syntax Highlighting File?
On Fri, 5 Aug 2011, Keith Roberts wrote: *snip* If I delete the /usr/share/mc/syntax/php.syntax file, then edit a php file, I get the following error: Load syntax file Error in file /root/.mc/cedit/Syntax on line 89 But when I use mc to look for that Syntax file it's not there ?? Now if I copy my own Syntax file to /root/.mc/cedit/Syntax with those two lines in it: file ..\*\\.(tpl|TPL)$ Smarty\sTemplate\sFile include smarty.syntax The .php file opens for editing without any Load syntax file error, and the php file is not syntax highlighted any more. Furthermore, if I edit a Smarty template file ending in .tpl that Smarty file is now using syntax highlighting. So where is the location of the mystery default /root/.mc/cedit/Syntax file ?? This is really strange. Any ideas please? Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Smarty Syntax Highlighting File?
On Fri, 5 Aug 2011, Keith Roberts wrote: *snip* So where is the location of the mystery default /root/.mc/cedit/Syntax file ?? OK - found it now. The Syntax file is actually under: [root@karsites ~]# rpm -ql mc /etc/mc /etc/mc/cedit.menu /etc/mc/edit.indent.rc /etc/mc/edit.spell.rc /etc/mc/extfs /etc/mc/extfs/extfs.ini /etc/mc/extfs/sfs.ini /etc/mc/mc.charsets /etc/mc/mc.ext /etc/mc/mc.lib /etc/mc/mc.menu /etc/mc/syntax /etc/mc/syntax/Syntax But for some reason the error message gives the wrong path! I have added those two lines to the /etc/mc/syntax/Syntax file: file ..\*\\.(tpl|TPL)$ Smarty\sTemplate\sFile include smarty.syntax And I can now edit .php files AND Smarty .tpl files, both with the syntax highlighting working OK. Got there in the end - LOL. Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: screen size on Windows Vista
On Fri, 1 Jul 2011, Paul Hartman wrote: To: mc@gnome.org From: Paul Hartman paul.hartman+gen...@gmail.com Subject: Re: screen size on Windows Vista On Fri, Jul 1, 2011 at 6:43 AM, ke...@karsites.net wrote: I have downloaded the Windows 32 bit executable for Midnight Commander, and have installed it on my Vista laptop. I need to ftp from my Vista laptop, into my main machine running Centos 5.6. More recent MC builds are available in Cygwin, at least 4.6.1 is on my Windows machine right now. There appears to be a problem with the size of the mc gui. I cannot drag the corner and resize it to a usable size. It's only about 3.5 wide, by 3 tall. Windows cmd.exe is not ordinarily resizable by dragging the edges. Is there any way to make the mc screen larger on Windows Vista please, so I can actually see what I'm doing! Use the DOS mode command to set the screen size before you run MC. I use mode 132,60 to get a nice big window. NB This was sent from my web hosters webmail interface, as my ISP's smtp server is being blocked by the gnome spam filtering tool :( UCEPROTECT is generally considered to be an extortion scheme. They block you and want money to be removed from their list. I'm amazed anyone is actually using them to block e-mail. Good luck :) Thanks for your reply Paul. I'm looking at different ways of getting my email out from my machine, possibly via my web hosting service SMTP, or even running my own SMTP server for sending my email from. Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: MC in console
On Mon, 20 Sep 2010, Yury V. Zaytsev wrote: To: reyni...@mi.is From: Yury V. Zaytsev y...@shurup.com Subject: Re: MC in console On Mon, 2010-09-20 at 19:07 +, reyni...@mi.is wrote: So wrote Yury V. Zaytsev: Unfortunately, I have no clue on how to check this out. If you are on a Linux computer and see Tux the Wonder Penguin on the console screen while the OS is booting, it's a frame-buffered console. They use a graphical mode to emulate a text mode. Are you kidding :-) ? I am using Ubuntu 8.04 and the boot process is completely hidden behind usplash. There must be a way to disable the splash screen, and boot in text/psuedo text mode, so you see your services starting? Try passing 'nomodeset' as a kernel parameter at boot time. See if you can disable the splash screen thing? HTH Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
File Directory Hightlighting
I'm having to copy empty sub-directories to several different directories at once. Would it be possible to have an option in mc, that would allow one to keep the same set of files/directories hightlighted after a copy has been done? So multiple copies could then be done, without having to keep selecting and highlighting the same set of files each time a new copy is done? Kind Regards, Keith - Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Documentation for editing/creating mc syntax files?
On Fri, 3 Sep 2010, Andrew Borodin wrote: To: mc@gnome.org From: Andrew Borodin aboro...@vmail.ru Subject: Re: Documentation for editing/creating mc syntax files? On Thu, 2 Sep 2010 14:22:50 +0100 (BST) Keith Roberts wrote: Is there any documentation that will tell me about creating mc syntax files, or editing the colours in mc syntax files please? man mcedit, section SYNTAX HIGHLIGHTING. -- Andrew Thanks for that Andrew. I was only aware of the help for mc using the F1 function key in the program. I have found both man pages now for mc, and mcedit. Kind Regards, Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: MC 4.7.3 - where is show hidden files option
On Wed, 25 Aug 2010, Michał Piotrowski wrote: To: mc@gnome.org From: Michał Piotrowski mkkp...@gmail.com Subject: MC 4.7.3 - where is show hidden files option Hi, Where it was hidden show hidden files option in the latest MC version? I can't find it. Menu bar - Options - Panel Options - Main Panel Options [x] Show hidden files HTH Keith___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: mcedit syntax highlighting
On Sat, 21 Aug 2010, Michelle Konzack wrote: To: mc@gnome.org From: Michelle Konzack linux4miche...@tamay-dogan.net Subject: Re: mcedit syntax highlighting Hello Stanisław Findeisen, Am 2010-08-21 14:56:21, hacktest Du folgendes herunter: On 2010-08-21 03:10, Michelle Konzack wrote: He can put the files under ~/.mc/cedit/ :-D Thanks! It works! What a cool files! :-) In the time when I had found out it, there was not a singel indice, that you can do that... I have ried it out and it worked! But there is a problem with it: If you have /usr/share/mc/syntax/Syntax and ~/.mc/cedit/Syntax the later one takes precedence and if you have only C Source Code defined, any other Syntax files from /usr/share/mc/syntax/ will be ignored. What about copying ALL the mc syntax files to the user's ~/.mc/cedit/Syntax directory? Does that work? FOR THE DEVELOPERS: It would be an advantage, if the developers of MC could do a merge of the two directories with precedence on ~/.mc/cedit/Syntax and if a Syntax file is not found, MC looks into /usr/share/mc/syntax/ Thanks, Greetings and nice Day/Evening Michelle Konzack That makes perfect sense to me Michelle. So each user can have their own custom versions of the mc syntax files. As they are in the user's home directory, they would not get overwritten when there is an update to mc. Kind Regards, Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] -___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
F9 /#ftp history list?
I was wondering if we could have a dropdown history list that stores the last 10 ftp login details please? So you could just hit the dropdown list and chose which machine to connect to? Kind Regards, Keith - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Setting custom syntax file(s) path
On Fri, 16 Jul 2010, Andrew Borodin wrote: To: mc@gnome.org From: Andrew Borodin aboro...@vmail.ru Subject: Re: Setting custom syntax file(s) path On Fri, 16 Jul 2010 06:07:16 +0100 (BST) Keith Roberts wrote: I'd like to make a directory for my edited customised syntax files, and tell mc to look in there. This is requested, but not implemented yet. http://www.midnight-commander.org/ticket/1633 http://www.midnight-commander.org/ticket/1984 -- Andrew Thanks for doing that Andrew. I'm sure that will be a useful feature for mc. Kind Regards, Keith Roberts ___ mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: KUDOS to the authors and maintainers
On Thu, 17 Dec 2009, Marco Ciampa wrote: To: mc@gnome.org From: Marco Ciampa ciam...@libero.it Subject: Re: KUDOS to the authors and maintainers On Wed, Dec 16, 2009 at 08:35:49AM -0500, Masiar, Peter wrote: Joe(theWordy)Philbrookwrote:- KUDOS to the authors and maintainers! The main praise must go to the original Norton commander concept/design, which is a prime example of a design which was worth cloning and extending. Although original design was good, but even the best design would be worthless without the excellent and dedicated volunteers who maintain our favorite MC, keep it alive and add new features, bit by little bit. So kudos to maintainers at the first place! Thank you for your dedication! Yeah a BIG THANKS to you all! I say Amen to that too :) mc is the first program I install after a fresh Linux installation. I'm on fedora 12, and mc is now included on the F12 distribution DVD by default :) mc-4.7.0-0.4.pre2.fc12.i686.rpm I also install the legacy fonts in: bitmap-fonts-0.3-9.fc12.noarch.rpm These work nicely in mc. Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net Look on the bright side - For each and every negative thought, there is an equal and opposite positive thought. All email addresses are challenge-response protected with TMDA [http://tmda.net] Where will you spend Eternity? http://www.fellowshiptractleague.org/tract_pdf/english/130.pdf - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: multiple configs
On Sat, 28 Nov 2009, Yury V. Zaytsev wrote: To: /dev/rob0 r...@gmx.co.uk From: Yury V. Zaytsev y...@shurup.com Subject: Re: multiple configs On Sat, 2009-11-28 at 13:42 -0600, /dev/rob0 wrote: On Sat, Nov 28, 2009 at 02:08:53PM -0500, MK wrote: Is it possible to start mc with an alternate .ini file? Judging by the man page, I suspect not, but I have to ask. I found out with a simple experiment: $ mkdir mc-test # not strictly necessary but it helps $ HOME=$HOME/mc-test mc What about creating a hard link in the .mc/ directory to the required configuration file in same directory. Name the hard-link 'ini' and point it mc-ini-whatever? I tried this and it works. The only thing is when you edit and save the ini file in using mc itself, using the 'hard link' the following message appears: ┌── Warning ───┐ │ File has hard-links. Detach before saving? │ │ │ │ [ Yes ] [ No ] [ Cancel ] │ └┘ Kind Regards, Keith Roberts - Websites: http://www.karsites.net http://www.php-debuggers.net All email addresses are challenge-response protected with TMDA [http://tmda.net] Where will you spend Eternity? http://www.fellowshiptractleague.org/tract_pdf/english/130.pdf -___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: FTP links in F2 meunu file ?
On Mon, 10 Aug 2009, kap...@volny.cz wrote: To: mc@gnome.org From: kap...@volny.cz Subject: FTP links in F2 meunu file ? Hello, is it possible to make permanent FTP links in (F2) User menu / or somewhere else ? I have try add (in ~/.mc/menu): -- w Connect to my FTP cd /#ftp:myname:myp...@ftp.myprovider.cz -error - I have try also this variants: %cd /#ftp:myname:myp...@ftp.myprovider.cz [it should be internal cd, or not ?!] /#ftp:myname:myp...@ftp.myprovider.cz #ftp:myname:myp...@ftp.myprovider.cz ftp:myname:myp...@ftp.myprovider.cz nothing helps. only cd to FTP which works is cd when panels are showed, otherwise I think standard (shell) cd is used. Can some one please help me ? Thank You Karel Following on from this, it would be nice to be able to store the ftpfs logon details in a configuration file. Save having to remember the syntax and host:username:password strings. Would this be possible? Maybe with similar functionality like the CTRL-\ option, to display a directory hot list? How about an ftpfs hotlist as well? Kind Regards, Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Customizing the MC editor
This has beem implemeted for mc on Fedora 10. Not sure which version of mc, as I'm on another machine ATM :) Trailing white space is shown as blue period character. Also tabs are displayed something like -- in a blue color. Kind Regards, Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - On Sat, 18 Apr 2009, Dan Dascalescu wrote: To: mc@gnome.org From: Dan Dascalescu ddascalescu...@gmail.com Subject: Re: Customizing the MC editor I read about an option to display trailing whitespace on the trac ticket list. I would strongly support that option because I've caused numerous false diff positives while editing with MC and either adding tabs instead of spaces when it auto-indents, or otherwise removing whitespace. It could be implemented by displaying some Unicode dot characters instead of 0x09 and 0x20. Dan ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Bold/bright colors don't work as background.
On Thu, 19 Mar 2009, Josh Rickmar wrote: To: Keith Roberts ke...@karsites.net From: Josh Rickmar joshua_rick...@eumx.net Subject: Re: Bold/bright colors don't work as background. On Thu, March 19, 2009 1:30 pm, Keith Roberts wrote: On Wed, 18 Mar 2009, Josh Rickmar wrote: To: mc@gnome.org From: Josh Rickmar joshua_rick...@eumx.net Subject: Bold/bright colors don't work as background. I am trying to create my own color scheme for Midnight Commander, but am having some trouble with the colors. When setting the background color for normal (normal, dnormal, helpnormal, etc.), it seems to only work when using the regular version of the color, not the bold or bright variant. For example, I want to set the background of my dialogs (dnormal) to gray (the bold version of black), but it uses black instead. Likewise, if I use white (the bright variant), then it will use lightgray instead (the regular terminal white). Is this a bug in mc, or this intentional? I am using Midnight Commander 4.6.2 built from FreeBSD ports. It's currently built against ncurses, but if that is causing the problem, I can use a different library instead. Hi Josh. What OS are you running mc on? Keith I'm using FreeBSD. OK. On Fedora 8 and higher I have had problems with colors in mc as well. What fixed it for me was this: # set the font to 16 colors for mc to work ok. setfont lat1-16 You will need to restart mc for the setfont lat-16 command to take effect. To make the change permanent after a re-boot, fire up mc and edit /etc/sysconfig/i18n file to the following value SYSFONT=lat1-16 HTH Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Define a shortcut key for search
On Wed, 25 Feb 2009, Enrico Weigelt wrote: To: mc@gnome.org From: Enrico Weigelt weig...@metux.de Subject: Re: Define a shortcut key for search * Caj Zell caj.z...@swipnet.se wrote: On Jan 29, 2009, Enrico Weigelt wrote: * Mark Ryden markr...@gmail.com schrieb: For now, hotkeys are hardcoded, so you'll have to change the code. Is there an reasonable interest in configurable key bindings ? Yes, very much so. Changing sort order and toggling of hidden files view would be very nice to have the possibility of configuring your own, or at least to have as shortcuts (in that case, preferably the ones Total Commander have chosen). I'm currently thinking of some tiny generic library for this, which does like this: a) commands have names (maybe even cmdline args ?) b) hotkeys are mappings between keycodes and commands c) menus/buttons map to command names d) the mappings can be loaded from external files But: using command names doesnt necessarily mean that every time strings have to be passed and parsed, instead an simple function could construct a direct pointer list where the caller works on. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc I'd also like to see user-defined shortcut keys for mc please. So each user can tailor the shortcut keys for their own implementation of mc. Maybe mc could start with a set of default shorcuts that could then be customised? Kind Regards, Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Define a shortcut key for search
On Thu, 29 Jan 2009, Enrico Weigelt wrote: To: Mark Ryden markr...@gmail.com, mc@gnome.org From: Enrico Weigelt weig...@metux.de Subject: Re: Define a shortcut key for search * Mark Ryden markr...@gmail.com schrieb: Hi, Currently, F7 is the key for performing search when opening a file with F4 (MC editor). Is there a way to define a shortcut key (like ctrl/f) for search instead of F7 ? For now, hotkeys are hardcoded, so you'll have to change the code. Is there an reasonable interest in configurable key bindings ? I'd like to see that please :) Kind Regards, Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: mc efficiency
On Wed, 21 Jan 2009, zhang zhengquan wrote: To: mc@gnome.org From: zhang zhengquan zhang.zhengq...@gmail.com Subject: mc efficiency Dear mc users: I have been using icewm with file manager rox-filer for years and now I find rox-filer not a very efficient. Efficiencywise, could you please compare a competent mc user and a GUI file manager user? I am considering to a console based commander in hope of increasing my efficienty in managing my files. Thanks and Regards, Zhang The nice thing about mc is that it has a consistent look, whether you use it in CLI text mode without a desktop running, or use it in a shell running X and a desktop :) Running under Fedora, I do need to change the default font, to get the proper colors for files and directories. Otherwise directories look the same as normal files, and highlighted items look a rusty red color. I do this with: [root]# setfont lat1-16 And then to make the change permanent fire up mc and edit /etc/sysconfig/i18n file to the following value: SYSFONT=lat1-16 Kind Regards, Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
creating a new file in a new sub directory?
After creating a new subdirectory with mc, is there any way to create a new file in that subdir? I know F4 opens an existing file for editing, but how do I create a completely new file in that dir? At the moment I have to copy an empty file to the new subdir, before I can edit it. Kind Regards, Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: creating a new file in a new sub directory?
On Sat, 17 Jan 2009, Andrew Borodin wrote: To: mc@gnome.org From: Andrew Borodin aboro...@vmail.ru Subject: Re: creating a new file in a new sub directory? On Sat, 17 Jan 2009 09:09:18 + (GMT) Keith Roberts wrote: After creating a new subdirectory with mc, is there any way to create a new file in that subdir? I know F4 opens an existing file for editing, but how do I create a completely new file in that dir? Shift-F4 creates an new empty file. Then you can save it in any directory. Thanks for pointing that out Andrew. That's what I want to be able to do. It works fine. Kind Regards, Keith Roberts ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Alt-o in xterm
On Mon, 12 Jan 2009, Russell Shaw wrote: To: mc@gnome.org From: Russell Shaw rjs...@netspace.net.au Subject: Alt-o in xterm Hi, In an xterm, i could press alt-o to get both panels the same. Now after a few X windows upgrades, alt-o gives an I with two dots above it. How can i get back the old behaviour? Does it only work in 8859-1 locale instead of utf-8 ? Try Alt-i instead :) Keith - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Re-arrarange dir-hot-list ?
Chris Glur wrote: To: mc@gnome.org From: Chris Glur [EMAIL PROTECTED] Subject: Re-arrarange dir-hot-list ? After over 10 years of regularly using mc, I've only recently learned to use the very usefull dir-hot-list. Because I'm putting a lot of entries in this list, I'd like to be able to move the 'most current' to the top-of-the-list. The F1/help doesn't explain the facilities: [ New Group ] [ New Entry ] [ Remove ] [ Move ] and I don't want to browse/experiment because I've got too much serious work loaded on the machine, to afford 'going off the tracks'. Please someone explain if/how to re-sort the dir-hot-list. Thanks, == Chris Glur. do Ctrl-\, highlight the directory you want to move. Hit the [Move] button, and you will get a status line saying: Moving /dir/you/just/highlighted/to/move at the top of the Directory Hotlist pane. You can now move the highlight again to where you want to move the directory entry. Hit return, and the directory listing will be moved to *below* the hightlighted entry. If you want to move a directory listing to the very top of the directory Hotlist, you will have to move the directory entry above it down. So it will take two moves to get the directory listing to the top, if it's not second from the top already. HTH Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: mc as burning frontend?
On Tue, 2 Dec 2008, Jesús Guerrero wrote: To: mc@gnome.org From: Jesús Guerrero [EMAIL PROTECTED] Subject: mc as burning frontend? Hello, I was wondering if some mc user uses mc in any creative way as a burning frontend. So far, I found mcburn which is a patch for mc. However I revieved it briefly and from what I can gather looking at it on my browser it only seems to be able to burn a given folder into a cd. Nothing else. http://friesoft.nl/software/mcburn-0.2.patch Not that this is important. I am just happy with command lines tools. I just feel curious. Regards :) -- Jesús Guerrero ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc Might be able to incorporate BashBurn into mc somehow. http://sourceforge.net/projects/bashburn/ HTH Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Mc Digest, Vol 52, Issue 7
On Sun, 10 Aug 2008, MK wrote: To: mc@gnome.org From: MK [EMAIL PROTECTED] Subject: Re: Mc Digest, Vol 52, Issue 7 chris glur asked: What's 'virtual viewport' ? I liked fvwm2 but as time goes on I've found extra utility from KDE. You would have a couple of lines in xorg.conf like these Section Screen Identifier Screen0 Device Videocard0 DefaultDepth 24 SubSection Display Virtual 1600 1200 - Viewport 0 0 - Depth 24 EndSubSection EndSection Meaning my desktop is bigger than my physical screen (which is 1200 x 768), and you slide around. For some reason the big new suites like gnome and KDE won't permit it. I can't stand anything that doesn't rely on pure text file configuration. This is one of my favourite features on KDE. Currently on Fedora 8 I have the following virtual viewport setup: Section Screen Identifier Screen0 Device Videocard0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 24 Virtual 800 1800 EndSubSection EndSection The above settings give me a virtual screen size that is almost 3 times the height of my display's physical size. This means I can resize my browser windows or PDF viewers to give me a window that will almost completely fill my monitor with a document that does not take up screen real estate with menu bars along the top or bottom of the screen. Installing Fedora 9 and KDE will not allow me to setup a virtual viewport at all. I find this really restricting. Is there some workaround to continue to use virtual viewports on KDE, or can I use another desktop application that still supports using KDE apps and the virtual viewport definitions I have setup? Kind Regards, Keith Roberts PS: It appears that KDE seems to send to the swap partition the desktops that are not in focus. So this means that the active desktop is the one that gets swapped back into computer RAM. - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk The mind of the prudent is ever getting knowledge, and the eear of the wise is ever seeking, inquiring for and craving knowledge. Pr. 18:15 Amp All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: got lost....etc
On Thu, 7 Aug 2008, MK wrote: To: mc@gnome.org From: MK [EMAIL PROTECTED] Subject: Re: got lostetc chris glur wrote: Keith Roberts [EMAIL PROTECTED] wrote: Well under Fedora and KDE I have 18 desktops running. I can then use the Konsole program (an X terminal program for KDE) to open 3 or more tabs, each with a different version of mc running. Yes, I use KDE 3? and Konsole [the root one] and the bottom RHS icon 'initiates' more VT's. So from the row if 8 icons I can see I'm in the 5th VT. But to see it's contents, I need to 'open' it; which causes me to lose concentration. Do you guys wear capes when you're doing all this? Perhaps not enough coffee is the real problem... I think the trick is to keep one VT for a specific purpose, so you know what's what, and where to find things easily. Eg: My email Konsole and Firefox is on VT1 Bugzilla's and tmda stuff on VT2 Web development code is on VT3 Phing stuff is on VT4 Browsers for web development are on VT5 VT6-7 are usually spare Smart Package manager is on VT8 K3b and Kdiff3 for making CD/DVD system backups are on VT9 Apache, PHP, MySQL Manuals are all together on VT10 SysAdmin stuff is on VT11-12 VT13-VT18 are just for general stuff I might be doing at the moment. Generally web browsing or testing out something or whatever. HTH Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk The mind of the prudent is ever getting knowledge, and the eear of the wise is ever seeking, inquiring for and craving knowledge. Pr. 18:15 Amp All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Got lost in windows (was: Re: Mc Digest, Vol 52, Issue 1)
Well under Fedora and KDE I have 18 desktops running. I can then use the Konsole program (an X terminal program for KDE) to open 3 or more tabs, each with a different version of mc running. Double clicking on the Konsole tab allows me to rename that tab to something helpfull so I don't get lost. HTH Keith Roberts - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk The mind of the prudent is ever getting knowledge, and the eear of the wise is ever seeking, inquiring for and craving knowledge. Pr. 18:15 Amp All email addresses are challenge-response protected with TMDA [http://tmda.net] - ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Is mc can connect with ssh through a specific port ?
On Wed, 26 Mar 2008, wwp wrote: To: mc@gnome.org From: wwp [EMAIL PROTECTED] Subject: Re: Is mc can connect with ssh through a specific port ? Hello Marco, On Wed, 26 Mar 2008 22:26:46 +0100 Marco Ciampa [EMAIL PROTECTED] wrote: On Tue, Mar 25, 2008 at 03:43:32PM +0100, Hedy Dargère wrote: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN First: do not email HTML on a public list. Hi, I'm using every day mc as ftp/sftp client. I have a new server which ssh listen on the port 2022 in place of the standard 22 port The shell command I'm using to be connected to the server is : $ ssh [EMAIL PROTECTED] -p 2022 Do you know if mc can make a connexion on this server ? Thanks for your answer, Hedy To get similar functionality I SSH to my main server from my laptop with: # ssh 10.0.0.1 then start mc on the main machine. This allows me to browse around the directories at will. I can then cut and paste code from my main server to my laptop for testing. If I need a complete file, I copy it into /home/keith/FTP-OUT, and then fire up gFTP and copy it across to my laptop's ftp-in directory. HTH Keith Roberts___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: Locking directory panes while cd'ing
On Wed, 17 Oct 2007, [EMAIL PROTECTED] wrote: To: William Kimber [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: Re: Locking directory panes while cd'ing On Thu, 18 Oct 2007, William Kimber wrote: A very useful idea that I would also like William kimber On 18/10/07 04:35, Keith Roberts wrote: Hi. Is it possible to have a button that would allow one to lock directory panes while cd'ing to a new directory tree, then toggle the button again to unlock the panes please, once both directory panes are at the required location? The reason is I like to have the same directory structure open in both panes. I also have a 'tmp-backups' sub-dir for making copies of the files in my current directory. At the moment I have to cd to a particular location in the left-hand pane. Then TAB to the right-hand pane, and do the same thing again. If it was possible to 'lock' the directory panes together, so that wherever I cd to in the left-hand directory pane, the right-hand pane would automatically follow in sync with the left-hand pane. This would be alot quicker I think. mc is my favourite directory browser, file viewer and editor. Kind Regards Keith Roberts http://www.karsites.net http://www.raised-from-the-dead.org.uk This email address is challenge-response protected with http://www.tmda.net ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc I agree. This looks interesting. Also here is another suggestion, for the editor: Is the Shift-Tab command taken in the editor? If not, it would be useful to be able to indent a block of text by highlighting the block and then doing Shift-Tab, would it not? Or is there already a way to indent a highlighted block and I am unaware of it? Theodore Kilgore That's another thing that I was going to suggest as well Theodore. Is this the right list for making suggestions for the mc internal editor? My head feels abit stuffed at the moment, but I'll make an effort later - I think it's some sort of viral infection. Kind Regards Keith Roberts http://www.karsites.net http://www.raised-from-the-dead.org.uk This email address is challenge-response protected with http://www.tmda.net ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Block highlighting of text - was Locking directory panes while cd'ing
On Wed, 17 Oct 2007, [EMAIL PROTECTED] wrote: snip Also here is another suggestion, for the editor: Is the Shift-Tab command taken in the editor? If not, it would be useful to be able to indent a block of text by highlighting the block and then doing Shift-Tab, would it not? Or is there already a way to indent a highlighted block and I am unaware of it? Theodore Kilgore At the moment the editor supports selecting text by range or line, depending on where you start and end your selection with the F3 key. I would also like to be able to select an arbitrary size block of text to copy, move or delete. Eg. placing the cursor at line 1, column 1, then selecting 'block mode', then pressing F3 to start the selection, then moving the cursor to another place in the text (say line 15, column 20) and pressing F3 again, to mark out the bottom right hand corner of a block of text. So in this example a block of text starting at line 1, column 1 and ending at line 15, column 20 would be selected and highlighted. So in block selection mode, the cursor should not select text any farther to the right of the actual current cursor position - even when making a selection over several lines of text. This should then hightlight that block for copying, moving or deleting. Maybe the editor could allow one to choose between 'select range', or 'select block', before pressing the F3 key to start the selection? So really what we need is the ability to select text by columns of varying width and height, which equates to a block of text. Then being able to copy, move or delete those columns from the text with the F5-copy, F6-move or F8-delete function keys? This functionality would then allow one to copy, move or delete text by columns of varying sizes, which would be very usefull IMHO. Kind Regards Keith Roberts http://www.karsites.net http://www.raised-from-the-dead.org.uk This email address is challenge-response protected with http://www.tmda.net ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: GNU Midnight Commander maintainer
On Thu, 6 Sep 2007, Iain Mac Donald wrote: To: mc@gnome.org From: Iain Mac Donald [EMAIL PROTECTED] Subject: Re: GNU Midnight Commander maintainer On Wed, 05 Sep 2007 14:14:45 +0200 Pavel Tsekov [EMAIL PROTECTED] wrote: I am writing this message to inform you that Pavel Roskin, the long time maintainer and developer of GNU Midnight Commander, decided to step down as a maintainer. I hope that you'll join me to wish Pavel luck in whatever he pursues next. Absolutely! For me MC is the best file manager available on any platform. Thanks to the efforts of Pavel, and others, typing the two letters mc in my terminal instantly increases my productivity. I agree with that as well - absolutely. mc is the first package I install after a fresh upgrade/install of Linux. I think mc should also be included on Linux rescue CD's too. Vi(m) is a pain for me. AFAIK it has no file or directory browsing capabilities like mc. Kind Regards Keith Roberts The FSF following a recommendation from Pavel Roskin appointed me as the new project maintainer. I hope that I'll be able to justify their trust and live up to the expectations of MC's users. Pavel Tsekov Congratulations and good luck to you too. -- http://www.karsites.net http://www.raised-from-the-dead.org.uk This email address is challenge-response protected with http://www.tmda.net ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
MC internal editor (was Re: colors)
Check under the /home/yourname/.mc directory for a file just called ini. In mine it has the following line: use_internal_edit=1 When I press F4 on a file I get cooledit as my default built-in editor. See also # man mcedit for details of the built-in default mc editor, which is called cooledit. I can also run the mc editor as a stand-alone editor, by typing #mcedit at the command line. This is on Fedora Core 6. Kind Regards Keith Roberts On Tue, 21 Aug 2007, Justin Zygmont wrote: To: Keith Roberts [EMAIL PROTECTED] From: Justin Zygmont [EMAIL PROTECTED] Subject: Re: colors It seemed, typing mc -c did the trick. In solaris the $TERM was already xterm, but some things are still different. The page up key just enters a tilde at the command line, F4 to edit seems to take the variable for the default editor (vi). On Tue, 21 Aug 2007, Keith Roberts wrote: I had a similar problem under Fedora Core 6. This bug report may point you in the right direction: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237793 Regards Keith On Mon, 20 Aug 2007, Justin Zygmont wrote: To: mc@gnome.org From: Justin Zygmont [EMAIL PROTECTED] Subject: colors Does anyone know why mc doesn't show colors in solaris? I miss losing the same features i've been so used to in linux. ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc -- http://www.karsites.net http://www.raised-from-the-dead.org.uk This email address is challenge-response protected with http://www.tmda.net ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Re: colors
I had a similar problem under Fedora Core 6. This bug report may point you in the right direction: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237793 Regards Keith On Mon, 20 Aug 2007, Justin Zygmont wrote: To: mc@gnome.org From: Justin Zygmont [EMAIL PROTECTED] Subject: colors Does anyone know why mc doesn't show colors in solaris? I miss losing the same features i've been so used to in linux. ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc -- http://www.karsites.net http://www.raised-from-the-dead.org.uk This email address is challenge-response protected with http://www.tmda.net ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc
Color problem under FC6
Hi all. I'm using mc-4.6.1a-35.fc6 on three different machines. There is a problem with the directory colors showing the same as ordinary files, and not bold white. When I highlight a file with the insert key, it shows up as a rusty brown color, not yellow. The same applies to the yellow highlighting in the dialogues. Any ideas why this is happening please, and what to do to fix the colors so they work correctly? Other Linux distros mc packages worked OK on these platforms, including SuSE, Debian, and Kubuntu. TIA Keith ___ Mc mailing list http://mail.gnome.org/mailman/listinfo/mc