Re: Ctrl+J in mc

2019-01-03 Thread Jan Synacek via mc-devel
On Fri, Nov 16, 2018 at 11:40 AM Ivan Pizhenko via mc-devel
 wrote:
>
> Hi, I'm wondering why following happens:
> In Ubuntu and FreeBSD, when I am pressing Ctrl+J in MC, it puts name
> of file on which file cursor is currently on. But this doesn't work in
> CentOS and RHEL.
> How to fix that in CentOS and RHEL?
> Ivan.

Hi,

Ctrl+j usually generates the ascii character 10, which is basically
the same as pressing Enter, unless (I guess) it's redefined in the
terminfo database or, maybe, is a setting of the X terminal emulator.
The escape sequences are usually generated by pressing Alt+. So,
as others already pointed out, Alt+Enter will generate the same
sequence as pressing Esc and then Enter. In fact, you can use this
behaviour whenever you want to press Esc first (works great in Vim,
for example - try pressing Alt+h when in insert mode).

As to why Ctrl+j generates an escape sequence on other systems, I
don't know. I find that behaviour quite confusing.

Hope this explanation helps a bit.

Cheers,
-- 
Jan Synacek
Software Engineer, Red Hat
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: Ctrl+J in mc

2019-01-03 Thread Ivan Pizhenko via mc-devel
Thanks! Didn't know about Alt+Enter.
Looks like in Ubuntu Ctrl+J generates Alt+Enter and in RHEL/CentOS just Enter
пт, 16 лист. 2018 о 13:18 Thomas Zajic  пише:
>
> * Ivan Pizhenko via mc-devel, 28.10.18 21:52
>
> > Hi, I'm wondering why following happens:
> > In Ubuntu and FreeBSD, when I am pressing Ctrl+J in MC, it puts name
> > of file on which file cursor is currently on. But this doesn't work in
> > CentOS and RHEL.
> > How to fix that in CentOS and RHEL?
> > Ivan.
>
> Never heard about Ctrl+j, I always used Alt+Enter for that purpose.
> Alt+a does the same thing for the path, BTW (just in case you didn't
> know). :-)
>
> HTH,
> Thomas
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: Help testing release candidate / mc-4.8.22-rc1

2019-01-03 Thread Jack Woehr via mc-devel
In IBM i PASE environment, we're back to having struct timespect trouble
with this snapshot:

make[3]: Entering directory '/home/JWOEHR/work/mc_build/src/filemanager'
  CC   achown.lo
  CC   boxes.lo
  CC   chmod.lo
  CC   chown.lo
  CC   cmd.lo
  CC   command.lo
  CC   dir.lo
  CC   ext.lo
  CC   file.lo
/home/JWOEHR/work/mc-4.8.21-108-g4b46e6194/src/filemanager/file.c: In
function 'get_times':
/home/JWOEHR/work/mc-4.8.21-108-g4b46e6194/src/filemanager/file.c:899:17:
error: incompatible types when assigning to type 'struct timespec' from
type 'st_timespec_t {aka const struct st_timespec}'
 (*times)[0] = sb->st_atim;
 ^
/home/JWOEHR/work/mc-4.8.21-108-g4b46e6194/src/filemanager/file.c:900:17:
error: incompatible types when assigning to type 'struct timespec' from
type 'st_timespec_t {aka const struct st_timespec}'
 (*times)[1] = sb->st_mtim;


On Sat, Dec 29, 2018 at 11:42 AM Yury V. Zaytsev  wrote:

> Hi there,
>
> TLDR; I would appreciate if you could please test the following tarball
> on your systems and report any blocker regressions as compared to the
> previous 4.8.21 release:
>
>
> https://www.midnight-commander.org/nopaste/tarball/mc-4.8.21-108-g4b46e6194.tar.xz
>

-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: Help testing release candidate / mc-4.8.22-rc1

2019-01-03 Thread Jack Woehr via mc-devel
Yuri, Andrew ... I tried with a different build script which I wrote when
we were working on this months ago. The current snapshot builds correctly.

So there is no problem. I just used an older (and incorrect) build script.

On Sat, Dec 29, 2018 at 11:21 PM Andrew Borodin  wrote:

> On Sat, 29 Dec 2018 19:46:16 -0700 Jack Woehr via mc 
>  wrote:
> > In IBM i PASE environment, we're back to having struct timespect trouble
> > with this snapshot:
>
> This is weird.
>
> > /home/JWOEHR/work/mc-4.8.21-108-g4b46e6194/src/filemanager/file.c: In
> > function 'get_times':
> > /home/JWOEHR/work/mc-4.8.21-108-g4b46e6194/src/filemanager/file.c:899:17:
> > error: incompatible types when assigning to type 'struct timespec' from
> > type 'st_timespec_t {aka const struct st_timespec}'
> >  (*times)[0] = sb->st_atim;
> >  ^
> > /home/JWOEHR/work/mc-4.8.21-108-g4b46e6194/src/filemanager/file.c:900:17:
> > error: incompatible types when assigning to type 'struct timespec' from
> > type 'st_timespec_t {aka const struct st_timespec}'
> >  (*times)[1] = sb->st_mtim;
>
> Looks like HAVE_UTIMENSAT is defined. But there no any changes around
> checking of utimensat() since 09/09 (commit a453376).
>
> --
> Andrew
>


-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: Midnight Commander 4.8.22 released

2019-01-03 Thread Jack Woehr via mc-devel
On Tue, Jan 1, 2019 at 7:59 AM Yury V. Zaytsev  wrote:

I'm glad to announce the immediate availability of mc-4.8.22!
>

Congratulations!

 as well as support for building on IBM PASE for i
>

Thanks for working with us on this!


> Happy New Year 2019!
>

С Новым Годом!  :)

-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel