Re: Subprocess strangeness

2020-09-14 Thread Alan Corey via mc
OK, I guess it's just that machine, I don't know why.  I tried it on
my other Pi with Raspbian Buster and that doesn't do it.  Nor a couple
of Debian machines running Buster and Spike.  I should have tried that
before posting.  I hadn't really kept track of where it was happening.
That's my summer Pi so I've been spending a lot of time on it lately
and imagined the problem was everywhere.


On 9/14/20, Andrew Borodin  wrote:
> On Sun, 13 Sep 2020 17:45:08 -0400 Alan Corey via mc  wrote:
>> I've been using mc for 20 years or more and only seen this in the last
>> couple weeks.  I use rxvt as my terminal emulator mostly.  I could
>> navigate to where I wanted another terminal in mc, then type rxvt &
>> and a new independent window would open there.  I could close the
>> original window and the new one stayed open.
>
> I tested mc-4.8.25 with following terminal emulators:
> mate-terminal-1.12.1
> xterm-320
> urxvt-9.20
>
> All of them works as described above: child window is alive after parent
> one closed.
>
> --
> Andrew
>


-- 
-
No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Cities are cages built to contain excess people and keep them from
cluttering up nature.
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Subprocess strangeness

2020-09-13 Thread Alan Corey via mc
I've been using mc for 20 years or more and only seen this in the last
couple weeks.  I use rxvt as my terminal emulator mostly.  I could
navigate to where I wanted another terminal in mc, then type rxvt &
and a new independent window would open there.  I could close the
original window and the new one stayed open.

Now whenever I close the parent one all the children close too, even
though I remember the & to make it independent.  At first I wasn't
sure it was happening.  I just did this: type mc in an rxvt, type rxvt
& in the new one, hit F10 in the original and the new one closes.  The
new one somehow depends on mc still running, lxterminal works the same
way.

This is mc 4.8.22 in Rasbian Buster, I mostly only install it from the
debs.  Some routine apt-get update and upgrade did this.
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: mc and adb?

2019-06-23 Thread Alan Corey via mc
> Message: 2
> Date: Sat, 22 Jun 2019 16:43:47 +0200
> From: Henning 
> To: mc@gnome.org
> Subject: Re: mc and adb?
> Message-ID: <20ad44a6-ca47-d21a-f2f6-cce1481ae...@t-online.de>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 22/06/2019 16:00, Alan Corey via mc wrote:
>> But there's no mc,
>
> there is
>
>> which is usually the first thing I install on a normal computer.
>
> me too.
>
> I dealt with this some years ago with a Samsun Galaxy S3. First I used
> Android Term with mc. But then I found termux
>
> The links:
> https://termux.com/ and https://wiki.termux.com/wiki/Main_Page
ee Pl> https://wiki.termux.com/wiki/Available_Software with pre-built packages,
> among them mc-4.8.22 and about 750 other packages.
>
> Henning

It seems to go the other way from what I had in mind.  I wanted to run
something on a computer and connect over USB to the phone in USB debug
mode.  Then you've got a real keyboard, much bigger monitor, more
space to put files, etc.  Running an ssh server on the phone and doing
cd ssh://user:pass@ in mc almost does it.  I grabbed it from
Google Play.

I've run debian on a phone and run mc in that, but even running
Hacker's Keyboard to get function and arrow keys you're hampered by
the display.  If you could open the phone connection from the computer
like
cd adb://[path]
you could copy files, all the good stuff.  Like you can open a zip
file or tarball: a "virtual file system" in mc terms.  Bluetooth is
also a possibility, I don't use it much though.

I haven't look at adb source, it's possibly more practical to extract
parts of it rather than running through the command line executable.
There is an adb server daemon that runs, maybe interface to that.  It
runs on port 5037 or  by default (from the adb man page).  In
Debian at least there's a android-libadb and android-libadb-dev.

I found I could at a command line run things like:
adb shell du &> afile.txt
and get the directory usage on a phone into a file on the computer.
df works too.  I'm always fighting with running out of space on the
phone, I think that's in a particular partition.  On one phone the
camera doesn't work most of the time, it shows as busy, that could be
a lock file or space.  But Android has Linux inside, many of the same
techniques work, you just have to deal with Android's paranoia.  Every
app runs as a different user, there are a slew of partitions, not sure
removing an app removes its partition if it used one.  Free space
vanishes, only comes back when you do a factory reset (wipe
everything).  The uninstalls aren't clean I think.
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: mc Digest, Vol 165, Issue 3

2018-06-13 Thread Alan Corey
Ghost Commander seems nicer than ES FileExplorer which I've used for
years.  Thanks.

Sent from my Motorola XT1527

On Wed, Jun 13, 2018, 8:00 AM  wrote:

> Send mc mailing list submissions to
> mc@gnome.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.gnome.org/mailman/listinfo/mc
> or, via email, send a message with subject or body 'help' to
> mc-requ...@gnome.org
>
> You can reach the person managing the list at
> mc-ow...@gnome.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mc digest..."
>
>
> Today's Topics:
>
>1. Re: mc Digest, Vol 165, Issue 1 (chris glur)
>
>
> --
>
> Message: 1
> Date: Wed, 13 Jun 2018 10:36:12 +
> From: chris glur 
> To: mc 
> Subject: Re: mc Digest, Vol 165, Issue 1
> Message-ID:
>  eeob6nnwqck2wm0x_2fx0e5_ecq2x2zz...@mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> of course we use mc every day, but it takes courage
> to replace a working tool with a claimed upgrade.
>
> Being forced to use this Android tablet thing is a big time waster
> so far. Have mc users evaluated if its worth persisting with
> GhostCmdr ? It seems not able to see dotted files !!
> ==TIA
>
>
>
>
> On Sun, Jun 3, 2018, 14:00  wrote:
> >
> > Send mc mailing list submissions to
> > ? ? ? ? mc@gnome.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > ? ? ? ? https://mail.gnome.org/mailman/listinfo/mc
> > or, via email, send a message with subject or body 'help' to
> > ? ? ? ? mc-requ...@gnome.org
> >
> > You can reach the person managing the list at
> > ? ? ? ? mc-ow...@gnome.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of mc digest..."
> >
> >
> > Today's Topics:
> >
> > ? ?1. Midnight Commander 4.8.21 released (Yury V. Zaytsev)
> >
> >
> > --
> >
> > Message: 1
> > Date: Sun, 03 Jun 2018 12:26:06 +0200
> > From: "Yury V. Zaytsev" 
> > To: mc@gnome.org
> > Cc: mc-de...@gnome.org
> > Subject: Midnight Commander 4.8.21 released
> > Message-ID: <1528021566.2931.8.camel@newpride>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi,
> >
> > I'm glad to announce the immediate availability of mc-4.8.21!
> >
> > This is a maintenance release mainly including fixes for issues found
> > since the last one, most notably the nasty -31 error that was plaguing
> > SFTP protocol support for a long time. Everybody is recommended to
> > upgrade to immediately benefit from these improvements!
> >
> > For the detailed list of changes since the last release, please refer to
> > the release notes.
> >
> > Download page: http://ftp.midnight-commander.org/?C=N;O=D
> > Release notes: http://www.midnight-commander.org/wiki/NEWS-4.8.21
> >
> > I highly appreciate the work of Andrew Borodin, who made this release
> > possible, as well as all of our contributors, including translators.
> >
> > As always, we hope to accept more patches for the next version, with
> > many waiting for reviews and tests, of which we sadly have way too few,
> > but our resources are constrained as ever, so bear with us.
> >
> > Anyways, summertime is finally there, so enjoy all it brings along :-) !
> >
> > --
> > Sincerely yours,
> > Yury V. Zaytsev
> >
> > -- next part --
> > A non-text attachment was scrubbed...
> > Name: signature.asc
> > Type: application/pgp-signature
> > Size: 836 bytes
> > Desc: This is a digitally signed message part
> > URL: <
> https://mail.gnome.org/archives/mc/attachments/20180603/b8cfd34c/attachment.sig
> >
> >
> > --
> >
> > Subject: Digest Footer
> >
> > ___
> > mc mailing list
> > https://mail.gnome.org/mailman/listinfo/mc
> >
> >
> > --
> >
> > End of mc Digest, Vol 165, Issue 1
> > **
>
>
> --
>
> Subject: Digest Footer
>
> ___
> mc mailing list
> https://mail.gnome.org/mailman/listinfo/mc
>
>
> --
>
> End of mc Digest, Vol 165, Issue 3
> **
>
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: mc is over!? - post by Ilia Maslakov

2015-05-28 Thread Alan Corey
Wow, I've been using mc for 20 years, I never realized there was a
risk of it going away.  I've got about 6 instances open now in
different panes of my desktop.  I thought it was maintained by a
committee.

I'm retired and mostly write C but I've never really looked at the
code.  I run it mostly under OpenBSD and build from sources, sometimes
a Debian binary, in the really old days Slackware.  I don't know that
I'd commit to 20 hours a week but I'd try to help.  I've been
programming on and off since 1968 in one language or another.  I've
got a resume at http://devio.us/~ab1jx/files/resume.pdf  I can imagine
it takes a while to absorb what variables and structs are doing what
and it's best to stay immersed in it once you work that out.  I've
never done anything with m4, I'm not even good with makefiles.  How
you can type make install in Open or FreeBSD and everything just
works is a miracle to me.  I just write small stuff, not more than
maybe 3 C files.  I'd probably break something.
-- 
Credit is the root of all evil.  - AB1JX
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: FTP to MS ftp server

2013-04-03 Thread Alan Corey
 Hi,

 It is regrettable that the ftp directory listing of MS ftp servers often
 use the MS-DOS directory listing format rather than the standard unix
 format.

 It is much worse that my beloved MC work horse / swiss knife does not
 understand that format. PathFinder as well as ForkLift grok that format,
 so does FileZilla, FireFTP and probably many others.

 There must be other MC users that need to access such ftp sites. How do
 they handle this? I really do not want to stick to MC for my day to day
 work.

That's easy, just avoid Microsoft servers.  Do you want to catch
something nasty or what?

Actually if you can run Wine, Total Commander works pretty well and
handles different types of FTP servers (I think you can even manually
override its guess).  If you add the e2fs or whatever plugin it works
pretty transparently under Linux.  I've been using it for (gulp) 20
years.  Many similarities to MC since they're both based on Norton
Commander.
-- 
Credit is the root of all evil.  - AB1JX
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: Trying to ftp under OpenBSD

2013-04-02 Thread Alan Corey
 Message: 2
 Date: Tue, 02 Apr 2013 11:04:41 +0300
 From: Slava Zanko slavaza...@gmail.com
 To: mc@gnome.org
 Subject: Re: Trying to ftp under OpenBSD
 Message-ID: 515a9119.1060...@gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 On 28.03.2013 20:26, Alan Corey wrote:

 It works in OpenBSD 5.0 with mc 4.7.5.2
 It doesn't work in OpenBSD 5.2 with mc 4.8.1.1 (in OpenBSD ports), I get
 Cannot chdir to /#ftp:user@ip
 No such file or directory (2)

 So I downloaded the latest stable source 4.8.1.7 and that gives the same
 error.

 I haven't tried 4.7.5.2 under OpenBSD 5.2 yet but I will.

 Please try to run command:
 cd ftp://user@ip

That works, although it seems possibly slower at connecting but I've
only tried it once so far.  4.7.5.2 did work but I couldn't get it to
find slang and ncurses didn't work very well.
-- 
Credit is the root of all evil.  - AB1JX
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Trying to ftp under OpenBSD

2013-03-28 Thread Alan Corey
It works in OpenBSD 5.0 with mc 4.7.5.2

It doesn't work in OpenBSD 5.2 with mc 4.8.1.1 (in OpenBSD ports), I get

Cannot chdir to /#ftp:user@ip
No such file or directory (2)

So I downloaded the latest stable source 4.8.1.7 and that gives the same error.

I haven't tried 4.7.5.2 under OpenBSD 5.2 yet but I will.

  Alan
-- 
Credit is the root of all evil.  - AB1JX
___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


Re: go to parent directory with backspace

2012-05-17 Thread Alan Corey

 Yep, have another better way.

 F9 - Options - Panel options - [x] Lynx-like motion
 NB: panel listing mode shouldn't be a 'Brief file list'

 ... and you will navigate as well by left arrow (leave directory)
 and right arrow (enter to directory). An in my opinion, this
 behaviour much better, rather than navigation by 'Backspace' key.

I haven't seen that work in Total Commander, but as long as we're on
the subject of comparing, here's one thing I miss: In Total Commander
you can quickly sync up your left and right panes to the same place by
using the drive letter dropdown, even if they were both already on the
same drive to start with.  Is there a quick way in mc to set one pane
to where the other one is?

  Alan
-- 
Credit is the root of all evil.  - AB1JX
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


Re: disable mouse sort order?

2012-05-14 Thread Alan Corey
 That (to me) is the main reason to use the -d... But then I prefer to use
 keyboard shortcuts to switch the focus...

I have jr aliased to joe -readonly so I use that as a viewer too.
Besides copying, I save blocks into /tmp a lot.

If fvwm has a keyboard shortcut for changing the focus I haven't found
it.  alt-tab is the same as Microsoft Windows, so it might have worked
in fvwm95 which tried to work like Windows 95.

 I on the other hand use multiple virtual desktop areas (workspaces some call
 em)

FVWM has the same virtual desktops, except only one common wallpaper
for all of them.  Down in the bottom right corner of my screenshot is
the pager, this screenshot was of the upper left pane/page/whatever.
I have mine set to 3x3.

fvwm doesn't have distinct desktops like KDE, you can drag things off
of one onto the next.  The screen flips to where you're going when
your mouse cursor gets to the edge as you're dragging.  Edge scroll
and X's virtual desktops get turned off early.  I use  KDE in Linux.

I try to get that organized, I tend to open the same things in the
same places, but then I get looking something up in a man page and hit
the see also section at the bottom, so I pop up more rxvt windows
with more man pages to look up what might be closer to what I'm
looking for.  I often don't want to close the original yet, and some
things I can only find by the see also sections of other pages.  In
OpenBSD man write gets info on the program that writes to somebody
else's terminal, not writing to a file or device which is usually what
I want, and it's not in the see also of the first page.  I haven't
learned the section numbers yet.

And I almost always have my reading glasses on.

 Maybe one approach would be to have the window manager consume the
 first mouse click in a window when that mouse click is in an unfocused
 window.  I wouldn't be surprised if fvwm can be set to do that, in the
 window styles, but I haven't looked into it because I just thought of
 it.

 That sounds to me like it would be a good feature. But if aliasing mc to
 the -d option works for you, why bother?

I guess because I'd like to use the mouse for some things in mc like
selecting a file, but be able to lock out other things like the sort
order and whatever it does in the viewer.  Changing the sort order
borders on dangerous to me because I keep looking for something that's
suddenly off screen.

  Alan

Credit is the root of all evil.  - AB1JX
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


Re: disable mouse sort order? (Joe(theWordy)Philbrook)

2012-05-13 Thread Alan Corey
  alias mc=mc -d
  alias mcm=/usr/bin/mc

 Or instead of mcm, 'mc' (quotes included) for an unaliased mc command.
 Works both in bash and tcsh.

 I didn't realize that quoting a command disables any defined alias...

 It's a good thing to know, but for my purposes mcm is easier to type, and
 helps me to remember why I aliased mc in the first place. I had actually
 considered using alias mcme=/usr/bin/mc which would stand for
 mcMouseEnabled, but I decided three keystrokes were enough... ;-7

FreeBSD used to have midc set up driving a script that drove mc after
doing other stuff, so I used that.

Spent over a day using mc -d and no crashes yet. An unexpected benefit
is that now I can copy from mc's viewer instead of having it go
berserk when I click in it.

Well, this is a Dell 24 widescreen monitor which I use at it's native
1920x1080 (HDTV) resolution.  I put a screenshot at
http://ab1jx.webs.com/toys/dell24.gif so people can see why I'd want
to click in a window to shift the focus.  I have it at arm's length
and wear my reading glasses.  I can read the smaller rxvt windows, but
shift +/- (after clicking in them) zooms them up and down.  I can have
them all small then zoom the one I want to work in.

Maybe one approach would be to have the window manager consume the
first mouse click in a window when that mouse click is in an unfocused
window.  I wouldn't be surprised if fvwm can be set to do that, in the
window styles, but I haven't looked into it because I just thought of
it.

  Alan

Credit is the root of all evil.  - AB1JX
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


re: disable mouse sort order?

2012-05-01 Thread Alan Corey
   I have nothing good to say about starting MC with the -d option and highly
 reccomend recompiling. Disabling mouse
 support will still allow gpm copy/paste functions while not operating in a
 GUI.

Why? Does it crash if you remove mouse support or something?  And I've
never seen the GUI version.


 If you wish to avoid rebuilding MC for the time being, I have found simply
 rolling the mouse wheel will bring the focus
 back to whichever window you are hovering over, even over the task-bar,
 usually without disturbing the cursor.

I don't have any wheel mice.  I consider them to be an evil invention
by Microsoft designed to cause repetitive strain disorder.

  Alan
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


Re: mc Digest, Vol 96, Issue 4

2012-04-28 Thread Alan Corey
On 4/28/12, mc-requ...@gnome.org mc-requ...@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-requ...@gnome.org

 You can reach the person managing the list at
   mc-ow...@gnome.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of mc digest...


 Today's Topics:

1. disable mouse sort order? (Alan Corey)
2. Re: disable mouse sort order? (Keith Roberts)


 --

 Message: 1
 Date: Sat, 28 Apr 2012 00:44:42 -0400
 From: Alan Corey alan01...@gmail.com
 To: mc@gnome.org
 Subject: disable mouse sort order?
 Message-ID:
   CAOh3dDZ-yF-wtc5ACBQa84c-HYPRW=frc04i__ak+-jluff...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 I think its great that its there, but is there way way to turn it off
 other than starting mc with mc -d?

 Most often I'm just clicking in a window to give the window the focus,
 and at least once a day I click the wrong place and mess up the sort
 order.  I try to not click column headings anymore, but it still
 changes.  An option to disable this in settings would work best for
 me.

   Alan

 --
 Credit is the root of all evil.  - AB1JX


 --

 Message: 2
 Date: Sat, 28 Apr 2012 07:35:51 +0100 (BST)
 From: Keith Roberts ke...@karsites.net
 To: Alan Corey alan01...@gmail.com
 Cc: mc@gnome.org
 Subject: Re: disable mouse sort order?
 Message-ID: alpine.LRH.2.02.1204280731580.15742@karsites.localdomain
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

 On Sat, 28 Apr 2012, Alan Corey wrote:

 To: mc@gnome.org
 From: Alan Corey alan01...@gmail.com
 Subject: disable mouse sort order?

 I think its great that its there, but is there way way to turn it off
 other than starting mc with mc -d?

 Most often I'm just clicking in a window to give the window the focus,
 and at least once a day I click the wrong place and mess up the sort
 order.  I try to not click column headings anymore, but it still
 changes.  An option to disable this in settings would work best for
 me.

 Hi Alan. Why click to bring a window into focus? I'm running
 the XFCE4 desktop on Centos Linux 5.7, and I have the
 desktop set so that the window focus follows the mouse
 pointer. That means as soon as I place my mouse pointer on a
 window, that automatically brings that window into focus -
 without me having to click.

 Not sure what OS you are running 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


 End of mc Digest, Vol 96, Issue 4
 *


I'm using OpenBSD, window manager is FVWM, Focus style is
SloppyFocus.  The focus stays in whatever window I clicked in last
until I change it.  The default is something like you described but I
didn't like it so I changed it.

  Alan

-- 
Credit is the root of all evil.  - AB1JX
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


disable mouse sort order?

2012-04-27 Thread Alan Corey
I think its great that its there, but is there way way to turn it off
other than starting mc with mc -d?

Most often I'm just clicking in a window to give the window the focus,
and at least once a day I click the wrong place and mess up the sort
order.  I try to not click column headings anymore, but it still
changes.  An option to disable this in settings would work best for
me.

  Alan

-- 
Credit is the root of all evil.  - AB1JX
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc