Re: mc Digest, Vol 77, Issue 7
- From: chris glur <crglur gmail com>
- To: mc gnome org
- Subject: Re: mc Digest, Vol 77, Issue 7
- Date: Mon, 13 Sep 2010 16:32:36 +0200
Subject: Tools for heavy-duty mc usage.
A typical task, like 'how to drive the Huawe 2552+ wireless terminal
from linux', may need multiple viweres to be open:
for a man/s, an email/s, a NwsGroup-article/s, the log of the
task...etc.
So if you've got 3 such tasks being investigatated, you can easily
have 20 files: hence mc/s running.
So, when you get your email or News, and it's got stuff relevant
to task B, you need to know which of the 20 mc/S to switch to.
I've raised this problem here and on *linux* groups before, but
it seems that users can manage with their full-featured-browser,
which does every thing that they want.
I've been using a tool that I hacked that starts off with lsof
<but show me only the pid-numbers of "/mc">, and combined with
`pstree -p` which allows the pid-numbers to be related to the
specific Desktop & VT, which allows you to view a list of
files open for mc/s and see which Desktop & VT to switch to, to
attend to the eg. newly arrived email item.
Here's a little tool which helps me to manage the Deb-Lenny
test installation [on a small scrap disk, because Debian hasn't
proven itself to me yet] which has no X yet, but is my only kernl2.6*
installation:
1. 6 VT/s with mc/s just isn't enough.
2. when you have to re-boot [for these damned USBs to settle]
you don't want to loose all your settings.
So if you setup your user-menu [I use <f2>,6} to:
echo "openvt mc " >> /root/reStartFiles
pwd >> /root/reStartFiles ; %f >> /root/reStartFiles
[I'm writing this without checking eg. the \n], you create a
file of instructions which will:
1. open a root VT without having to enter the password
2. run the mc at the path which you had before rebooting
3. probably `cooledit <%f>` would even open the file that
you were busy with before rebooting; but I find that setting
my working side of mc to <ordered by latest used>, I don't
need to have the file identified, other than that it was the
most recent, ie. top of the list.
So you generate a [previously execute enabled] file with lines like:
openvt ; mc <the previously used path> ; <possibly cooledit
thepreviously usedFile>
Which restores your set of mc/S: working before you rebooted.
== Chris Glur.
PS. sorry, this web-based gmailer is crappy. I only use it for mail-lists,
because gmail is good for filtering spam.
On 9/10/10, mc-request gnome org <mc-request gnome org> wrote:
Send mc mailing list submissions to
mc gnome org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.gnome.org/mailman/listinfo/mc
or, via email, send a message with subject or body 'help' to
mc-request gnome org
You can reach the person managing the list at
mc-owner gnome org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of mc digest..."
Today's Topics:
1. MC in console (Frank McCormick)
2. Re: MC in console (Yury V. Zaytsev)
3. Re: MC in console (Frank McCormick)
4. Re: MC in console (Yury V. Zaytsev)
5. Re: MC in console (Frank McCormick)
6. Re: MC in console (Iain Mac Donald)
----------------------------------------------------------------------
Message: 1
Date: Thu, 09 Sep 2010 12:40:45 -0400
From: Frank McCormick <beacon videotron ca>
To: "mc gnome org" <mc gnome org>
Subject: MC in console
Message-ID: <20100909124045 c69b29db beacon videotron ca>
Content-Type: text/plain; charset=US-ASCII
MC in the console is displaying garbage characters instead of line
drawing in my Debian Squeeze .
I use UTF8 on this machine-could that be the problem?
I have tried reconfiguring console-setup with ISO and selecting
various font options but that didn't change anything.
Suggestions please ?
Thanks
--
Frank<beacon videotron ca>
------------------------------
Message: 2
Date: Thu, 09 Sep 2010 18:43:36 +0200
From: "Yury V. Zaytsev" <yury shurup com>
To: Frank McCormick <beacon videotron ca>
Cc: "mc gnome org" <mc gnome org>
Subject: Re: MC in console
Message-ID: <1284050616 8385 85 camel mypride>
Content-Type: text/plain
On Thu, 2010-09-09 at 12:40 -0400, Frank McCormick wrote:
MC in the console is displaying garbage characters instead of line
drawing in my Debian Squeeze .
I use UTF8 on this machine-could that be the problem?
I have tried reconfiguring console-setup with ISO and selecting
various font options but that didn't change anything.
aptitude show mc
locale
--
Sincerely yours,
Yury V. Zaytsev
------------------------------
Message: 3
Date: Thu, 09 Sep 2010 13:14:02 -0400
From: Frank McCormick <beacon videotron ca>
To: "Yury V. Zaytsev" <yury shurup com>
Cc: "mc gnome org" <mc gnome org>
Subject: Re: MC in console
Message-ID: <20100909131402 f05538e4 beacon videotron ca>
Content-Type: text/plain; charset=US-ASCII
On Thu, 09 Sep 2010 18:43:36 +0200
"Yury V. Zaytsev" <yury shurup com> wrote:
On Thu, 2010-09-09 at 12:40 -0400, Frank McCormick wrote:
MC in the console is displaying garbage characters instead of line
drawing in my Debian Squeeze .
I use UTF8 on this machine-could that be the problem?
I have tried reconfiguring console-setup with ISO and selecting
various font options but that didn't change anything.
aptitude show mc
locale
frank squeeze:~$ aptitude show mc
Package: mc
State: installed
Automatically installed: no
Version: 3:4.7.0.6-1
Priority: optional
Section: utils
Maintainer: Debian MC Packaging Group
<pkg-mc-devel lists alioth debian org> Uncompressed Size: 6,574k
Depends: libc6 (>= 2.3.6-6~), libglib2.0-0 (>= 2.24.0), libgpm2 (>=
1.20.4), libslang2 (>= 2.0.7-1) Recommends: mime-support
Suggests: perl, zip, unzip, bzip2, links | w3m | lynx, arj, file,
xpdf-reader | pdf-viewer, dbview, odt2txt, gv, catdvi, djvulibre-bin,
imagemagick, python, python-boto, python-tz Description: Midnight
Commander - a powerful file manager GNU Midnight Commander is a
text-mode full-screen file manager. It uses a two panel interface and
a subshell for command execution. It includes an internal editor with
syntax highlighting and an internal viewer with support for binary
files. Also included is Virtual Filesystem (VFS), that allows files
on remote systems (e.g. FTP, SSH servers) and files inside archives
to be manipulated like real files. Homepage:
http://www.midnight-commander.org
frank squeeze:~$ locale
LANG=en_CA.UTF-8
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=
frank squeeze:~$
frank squeeze:~$ mc -V
GNU Midnight Commander 4.7.0.6
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish
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 8
frank squeeze:~$
Thanks
--
Frank<beacon videotron ca>
------------------------------
Message: 4
Date: Thu, 09 Sep 2010 19:19:20 +0200
From: "Yury V. Zaytsev" <yury shurup com>
To: Frank McCormick <beacon videotron ca>
Cc: "mc gnome org" <mc gnome org>
Subject: Re: MC in console
Message-ID: <1284052760 8385 88 camel mypride>
Content-Type: text/plain
On Thu, 2010-09-09 at 13:14 -0400, Frank McCormick wrote:
On Thu, 09 Sep 2010 18:43:36 +0200
"Yury V. Zaytsev" <yury shurup com> wrote:
On Thu, 2010-09-09 at 12:40 -0400, Frank McCormick wrote:
MC in the console is displaying garbage characters instead of line
drawing in my Debian Squeeze .
I use UTF8 on this machine-could that be the problem?
I have tried reconfiguring console-setup with ISO and selecting
various font options but that didn't change anything.
Very good, now I have to tell you that I use this & UTF-8 on Karmic /
Lucid / Hardy and have no problems whatsoever.
Are you using mc in a terminal emulator (which one) or raw console?
--
Sincerely yours,
Yury V. Zaytsev
------------------------------
Message: 5
Date: Thu, 09 Sep 2010 13:25:32 -0400
From: Frank McCormick <beacon videotron ca>
To: "Yury V. Zaytsev" <yury shurup com>
Cc: "mc gnome org" <mc gnome org>
Subject: Re: MC in console
Message-ID: <20100909132532 5dc992ac beacon videotron ca>
Content-Type: text/plain; charset=US-ASCII
On Thu, 09 Sep 2010 19:19:20 +0200
"Yury V. Zaytsev" <yury shurup com> wrote:
On Thu, 2010-09-09 at 13:14 -0400, Frank McCormick wrote:
On Thu, 09 Sep 2010 18:43:36 +0200
"Yury V. Zaytsev" <yury shurup com> wrote:
On Thu, 2010-09-09 at 12:40 -0400, Frank McCormick wrote:
MC in the console is displaying garbage characters instead of line
drawing in my Debian Squeeze .
I use UTF8 on this machine-could that be the problem?
I have tried reconfiguring console-setup with ISO and selecting
various font options but that didn't change anything.
Very good, now I have to tell you that I use this & UTF-8 on Karmic /
Lucid / Hardy and have no problems whatsoever.
Yes I checked and MC in a console runs fine in the latest Ubuntu.
Are you using mc in a terminal emulator (which one) or raw console?
Runs fine in terminal...its the console which is the problem.
--
Frank<beacon videotron ca>
------------------------------
Message: 6
Date: Thu, 9 Sep 2010 18:33:19 +0100
From: Iain Mac Donald <mc list picturenow co uk>
To: mc gnome org
Subject: Re: MC in console
Message-ID: <20100909183319 5894bf4f dylan coachhouse>
Content-Type: text/plain; charset=US-ASCII
On Thu, 09 Sep 2010 19:19:20 +0200
"Yury V. Zaytsev" <yury shurup com> wrote:
Very good, now I have to tell you that I use this & UTF-8 on Karmic /
Lucid / Hardy and have no problems whatsoever.
I am using mc 3:4.7.0.6-1 on Squeeze with console, xterm and
xfce4-terminal all without problem. Locale is en_GB.UTF-8.
Regards,
Iain.
------------------------------
_______________________________________________
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc
End of mc Digest, Vol 77, Issue 7
*********************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]