Re: Key binding problem
"Marion Hakanson" writes: > Tom, were you using "ssh -Y" to connect from macOS to RHEL? Somewhere > in the OpenSSH development chain we all had to switch from using "ssh -X" > to "ssh -Y", which had some xauth/security ramifications. Yup, me too. ... although now that I look at it, I have both of these things set in .ssh/config for that host: ForwardX11 yes ForwardX11Trusted yes Does it work to enable only the latter? Is that better? BTW, after poking around a bit I found where the config difference is. XQuartz installation appends this to /etc/ssh/ssh_config: # XAuthLocation added by XQuartz (http://www.xquartz.org) Host * XAuthLocation /opt/X11/bin/xauth and then macOS takes that back out again :-(. Since there's no /usr/bin/xauth, it's not real surprising that things don't work without that. regards, tom lane ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
>t...@sss.pgh.pa.us wrote: >> xauth does work for me when ssh'ing from macOS/XQuartz to a RHEL machine. > >> But to keep it working, I do have to reinstall XQuartz after every single > >> macOS upgrade, even minor ones, as the OS insists on overwriting some > >> necessary config for that. (I forget the details, but I think somebody > >> explained it on this list, once upon a time.) > k...@pobox.com said: > I am a heavy XQuartz user, many different machines, and I can't speak for > anyone else ... but I have never had to do that, all the way from El Capitan > up to and including Catalina. Sorry to add so little content, but I'm with Ken here, El Capitan through to Catalina, never had the ssh/xauth/XQuartz-reinstall-needed problem described above. Tom, were you using "ssh -Y" to connect from macOS to RHEL? Somewhere in the OpenSSH development chain we all had to switch from using "ssh -X" to "ssh -Y", which had some xauth/security ramifications. Sorry I can't recall exactly when -- like most exmh-users, I'm old (:-). Regards, Marion ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
>xauth does work for me when ssh'ing from macOS/XQuartz to a RHEL machine. >But to keep it working, I do have to reinstall XQuartz after every single >macOS upgrade, even minor ones, as the OS insists on overwriting some >necessary config for that. (I forget the details, but I think somebody >explained it on this list, once upon a time.) I am a heavy XQuartz user, many different machines, and I can't speak for anyone else ... but I have never had to do that, all the way from El Capitan up to and including Catalina. --Ken ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
"Valdis Kl=?utf-8?Q?=c4=93?=tnieks" writes: > On Tue, 18 Aug 2020 10:31:10 +0200, Emile CARCAMO said: >> and don't forget to build tk with option -DTK_NO_SECURITY >> as documented somewhere (I can't remember) to avoid xhost >> (well known) warning issue. > There shouldn't be any need for that, as the other (better) option is > to use xauth. And that *should* be getting done for you automatically > on a Fedora system - at least lightdm does it. If you're using gdm and > it's *not* setting itup, that would qualify as a bug. xauth does work for me when ssh'ing from macOS/XQuartz to a RHEL machine. But to keep it working, I do have to reinstall XQuartz after every single macOS upgrade, even minor ones, as the OS insists on overwriting some necessary config for that. (I forget the details, but I think somebody explained it on this list, once upon a time.) regards, tom lane ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
> and don't forget to build tk with option -DTK_NO_SECURITY > as documented somewhere (I can't remember) to avoid xhost > (well known) warning issue. Ouch, dude it's 2020. xauth authentication is by no means perfect, but you can't get that working? --Ken ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
On Tue, 18 Aug 2020 01:52:01 -, "Marion Hakanson" said: > valdis.kletni...@vt.edu said: > > If you get ambitious and give the Apple 8.6.10 packages a try, that would go > > a ways to sorting out what happened... > > Not sure what Apple packages you have in mind here. I was hoping that somebody who has Apple systems would fill in the blanks, I'm basically a Linux person, so I've got Fedora, Raspian, and OpenWRT (though that last system may be a bit underpowered to run exmh :) pgpT3WXien29y.pgp Description: PGP signature ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
valdis.kletni...@vt.edu said: > If you get ambitious and give the Apple 8.6.10 packages a try, that would go > a ways to sorting out what happened... Not sure what Apple packages you have in mind here. macOS Catalina comes with Tk 8.5.9, and I don't see sign of Tk in their "Command Line Tools for Xcode 11.5". Thanks and regards, Marion ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
On Mon, 17 Aug 2020 17:13:29 -0400, Ken Hornstein said: > Are you talking about the OSX-supplied Tcl/Tk that uses Aqua and not X11? > In my experience that is completely unusable for exmh. Thanks for the data point. I'll make a note of it someplace pgpGY4tMaoBOb.pgp Description: PGP signature ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
>On Mon, 17 Aug 2020 21:02:10 -, "Marion Hakanson" said: >> Thanks for the feedback. >> >> Just to clarify: I'm not using the Apple-supplied tcl/tk, rather I have >> pre-built pkgsrc binaries from pkgsrc.joyent.com. > >If you get ambitious and give the Apple 8.6.10 packages a try, that would >go a ways to sorting out what happened... Are you talking about the OSX-supplied Tcl/Tk that uses Aqua and not X11? In my experience that is completely unusable for exmh. --Ken ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
On Mon, 17 Aug 2020 21:02:10 -, "Marion Hakanson" said: > Thanks for the feedback. > > Just to clarify: I'm not using the Apple-supplied tcl/tk, rather I have > pre-built pkgsrc binaries from pkgsrc.joyent.com. If you get ambitious and give the Apple 8.6.10 packages a try, that would go a ways to sorting out what happened... pgp9K7IhMF_Ml.pgp Description: PGP signature ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
Thanks for the feedback. Just to clarify: I'm not using the Apple-supplied tcl/tk, rather I have pre-built pkgsrc binaries from pkgsrc.joyent.com. Regards, Marion > From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" > To: Discussion list for EXMH users > Subject: Re: Key binding problem > Date: Fri, 14 Aug 2020 23:47:05 -0400 > > On Fri, 14 Aug 2020 19:26:24 -, "Marion Hakanson" said: > > Sorry to reply to myself here, but further info: > > > > I've discovered that if I symlink in the tcl8.6.8 and tk8.6.8 stuff > > from prior to upgrading my pkgsrc stack, the exmh keybinding problem > > goes away. I've left the rest of the "new" pkgsrc stack in place. > > So something in the tcl/tk 8.6.10 update caused the breakage. > > I'm on Fedora Redhat x86_64, with 8.6.10 versions: > > tk-8.6.10-5.fc33.x86_64 > tcl-8.6.10-2.fc33.x86_64 > > and meta-< and meta-> in sedit work properly for me. > > One thing you can check: go into 'Bindings...', and under 'Simple Edit' > check if bof is bound to and eof to . > > However, between the fact it works for me, and Ken Hornstein's mail, I'm > afraid > that the answer is probably "MacOS screwed the pooch on recent Tk/Tcl and it's > going to take a MacOS expert to fix it". > > > ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
Hi Ken, Thanks for the note, good to hear from you. Yeah, a maze of twistly little dependencies. And the fact that XQuartz apparently hasn't been touched since 2016 is not very comforting. Still gets the job done for me, but I wonder what will happen when new Macs all run Apple/ARM processors in the near future. In my case, I only had to symlink out the following items to get exmh keybindings to work. The X11 and other bits in my updated pkgsrc stack remain: /opt/pkg/bin/wish /opt/pkg/lib/tcl8.6 /opt/pkg/lib/tk8.6 /opt/pkg/lib/libtk86.1.0.dylib /opt/pkg/lib/libtcl86.1.0.dylib I don't do anything special with fonts, so there may indeed be issues with those still. I think next I'll send a note to the pkgsrc folks about the issue. Regards, Marion > From: Ken Hornstein > To: Discussion list for EXMH users > Subject: Re: Key binding problem > Date: Fri, 14 Aug 2020 15:32:03 -0400 > > >Sorry to reply to myself here, but further info: > > > >I've discovered that if I symlink in the tcl8.6.8 and tk8.6.8 stuff > >from prior to upgrading my pkgsrc stack, the exmh keybinding problem > >goes away. I've left the rest of the "new" pkgsrc stack in place. > >So something in the tcl/tk 8.6.10 update caused the breakage. > > There has definitely been some breakage on later versions of tcl/tk > on MacOS X and exmh (mine mostly centers around fonts, though). Digging > into it ... well, it devolved into a hell of search paths and various > X libraries and I gave up. I realize this doesn't help you, other than > to say "You're not alone". > > --Ken > > ___ > Exmh-users mailing list > Exmh-users@redhat.com > https://www.redhat.com/mailman/listinfo/exmh-users > ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
>Sorry to reply to myself here, but further info: > >I've discovered that if I symlink in the tcl8.6.8 and tk8.6.8 stuff >from prior to upgrading my pkgsrc stack, the exmh keybinding problem >goes away. I've left the rest of the "new" pkgsrc stack in place. >So something in the tcl/tk 8.6.10 update caused the breakage. There has definitely been some breakage on later versions of tcl/tk on MacOS X and exmh (mine mostly centers around fonts, though). Digging into it ... well, it devolved into a hell of search paths and various X libraries and I gave up. I realize this doesn't help you, other than to say "You're not alone". --Ken ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Re: Key binding problem
Sorry to reply to myself here, but further info: I've discovered that if I symlink in the tcl8.6.8 and tk8.6.8 stuff from prior to upgrading my pkgsrc stack, the exmh keybinding problem goes away. I've left the rest of the "new" pkgsrc stack in place. So something in the tcl/tk 8.6.10 update caused the breakage. Any insights you tcl/tk aficionados might have would be welcome. Regards, Marion > From: Marion Hakanson > To: Discussion list for EXMH users > Subject: Key binding problem > Date: Thu, 13 Aug 2020 18:53:48 -0700 > > Greetings, > > I've recently had the and key bindings in > the simple editor stop working. More specifically, the "Escape-less" > and "Escape-greater" forms don't work anymore, while using the actual > Meta-Shift-comma and Meta-Shift-period forms do still work. > > I'm on macOS 10.15.6, using exmh-2.7.2, tk-8.6.10 and other dependencies > from pkgsrc, and these bindings used to work until a recent upgrade of > pkgsrc bits. > > Anyway, I can see in the exmh code (seditBind.tcl) that it maps Meta-* > to Escape-*, and many Meta-* key combinations continue to work in > their Escape-* form, but not Meta-less and Meta-greater. > > Has anybody else run into something similar? Thoughts on how to > troubleshoot this? > > Thanks and regards, > > Marion > ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users
Key binding problem
Greetings, I've recently had the and key bindings in the simple editor stop working. More specifically, the "Escape-less" and "Escape-greater" forms don't work anymore, while using the actual Meta-Shift-comma and Meta-Shift-period forms do still work. I'm on macOS 10.15.6, using exmh-2.7.2, tk-8.6.10 and other dependencies from pkgsrc, and these bindings used to work until a recent upgrade of pkgsrc bits. Anyway, I can see in the exmh code (seditBind.tcl) that it maps Meta-* to Escape-*, and many Meta-* key combinations continue to work in their Escape-* form, but not Meta-less and Meta-greater. Has anybody else run into something similar? Thoughts on how to troubleshoot this? Thanks and regards, Marion ___ Exmh-users mailing list Exmh-users@redhat.com https://www.redhat.com/mailman/listinfo/exmh-users