From nobody Thu Mar 02 09:30:10 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PS5S4314hz3vZk0 for ; Thu, 2 Mar 2023 09:30:28 +0000 (UTC) (envelope-from ken@highwinds.cloud) Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PS5S40wpzz3pHv for ; Thu, 2 Mar 2023 09:30:28 +0000 (UTC) (envelope-from ken@highwinds.cloud) Authentication-Results: mx1.freebsd.org; none Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id BEE831DC36D for ; Thu, 2 Mar 2023 04:30:25 -0500 (EST) (envelope-from ken@highwinds.cloud) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:cc:content-type; s=sasl; bh=K/2B6RJ2GJbEVShzj3U/rITXhN7EyMM5 n8D6/KfzqXY=; b=Rusg4RyaISXbQH5vPV6zGBBCli9k6jtqufBJ7cmby8neg1aB +sqr4k69kgG8UNKRlgBMhKhtGL2hTSIcCDWITIPpuv+SJcMz5WR8Nh/r698bnmCJ ID3mWjJdOdWui0OIXRkjoh/E/5sfHe+2KNR7/lWWN/IlgAgo6XXPdDvPo5Q= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id B85371DC36C for ; Thu, 2 Mar 2023 04:30:25 -0500 (EST) (envelope-from ken@highwinds.cloud) Received: from mail-qt1-f179.google.com (unknown [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 3106F1DC369 for ; Thu, 2 Mar 2023 04:30:23 -0500 (EST) (envelope-from ken@highwinds.cloud) Received: by mail-qt1-f179.google.com with SMTP id h19so17317075qtk.7 for ; Thu, 02 Mar 2023 01:30:23 -0800 (PST) X-Gm-Message-State: AO0yUKX0FS1jM+YoJlxXyaaEZDupnIfqhB+3j43FEwFrxVDV7Mmzmm9C aP2yOLVLGd1VucBUxkqyrSAUodXjt3/JNfajq4A= X-Google-Smtp-Source: AK7set9H67zlNI+EtYa15SfT5ClLfoqUxRVhOPPG8T4ll4c/70KNArUumDa44/+Fm2ColQZwYmShVbUIx0nalMJF2KY= X-Received: by 2002:ac8:434c:0:b0:3bf:baab:bf95 with SMTP id a12-20020ac8434c000000b003bfbaabbf95mr381479qtn.4.1677749421697; Thu, 02 Mar 2023 01:30:21 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20230301074107.GB9@sh4-5.1blu.de> <20230302004552.wj7m3x4kkz7lruvl@beesty.loosely.org> <20230302074000.GA9@sh4-5.1blu.de> In-Reply-To: <20230302074000.GA9@sh4-5.1blu.de> From: Ken Young Date: Thu, 2 Mar 2023 17:30:10 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Moving a FreeBSD/X11 keyboard config to Macbook Pro To: Matthias Apitz Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000004d726205f5e77a15" X-Pobox-Relay-ID: DB6E5306-B8DC-11ED-A2AA-B31D44D1D7AA-60148086!pb-smtp21.pobox.com X-Rspamd-Queue-Id: 4PS5S40wpzz3pHv X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29838, ipnet:173.228.157.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000004d726205f5e77a15 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Matthias, Due to a typo you have setup the wrong SPF for your mail server: unixarea.de. 86400 IN TXT "v=3Dspf1 ip4:178.254.4.101 include:unixare.de -a= ll" "unixare.de" is just a typo, it should be "unixarea.de". Hope this helps. On Thu, Mar 2, 2023 at 3:40=E2=80=AFPM Matthias Apitz wr= ote: > El d=C3=ADa Mittwoch, M=C3=A4rz 01, 2023 a las 04:45:52 -0800, > possessor.assizer305@aceecat.org escribi=C3=B3: > > > On Wed, Mar 01, 2023 at 01:02:51PM +0100, Matthias Apitz wrote: > > > > > > I figured it out; one can create a dir and a file in it with the > > > following syntax: > > > > > > /* to be placed into the (created) directory > /Users/apitzm/Library/KeyBindings as file DefaultKeyBinding.dict */ > > > > When I started using a Mac about 2 years ago I wrote a Perl script to > translate > > my XCompose file from my Linux computers. Maybe it can be useful. > > > > https://gist.github.com/nobrowser/4f4342cb95c7e4c186cba01425123871 > > Ian, thanks for this. This is very useful and I will give it a try. > > As I wrote, I crafted my own file DefaultKeyBinding.dict by hand and it > is working mostly: > > { > "~q" =3D ("insertText:", "@"); > "~a" =3D ("insertText:", "=C3=A1"); > "~A" =3D ("insertText:", "=C3=81"); > "~e" =3D ("insertText:", "=C3=A9"); > "~E" =3D ("insertText:", "=C3=89"); > "~i" =3D ("insertText:", "=C3=AD"); > "~I" =3D ("insertText:", "=C3=8D"); > "~o" =3D ("insertText:", "=C3=B3"); > "~O" =3D ("insertText:", "=C3=93"); > "~u" =3D ("insertText:", "=C3=BA"); /* =C3=BA does not work; use =C2= =B4u which also > gives =C3=BA */ > "~U" =3D ("insertText:", "=C3=9A"); > "~?" =3D ("insertText:", "=C2=BF"); > "~!" =3D ("insertText:", "=C2=A1"); > "~<" =3D ("insertText:", "=C2=AB"); > "~>" =3D ("insertText:", "=C2=BB"); > > "~m" =3D ("insertText:", "=C3=B1"); /* =C3=B1 not working , why? */ > "~M" =3D ("insertText:", "=C3=91"); /* =C3=91 not working , why? */ > } > > As said, mostly. Do you have an idea why the above three lines with the > comments /* ... */ are not working? Btw: The Mac has a German keyboard, > if this matters. For the =C3=B1 and =C3=91 I use the keys option+m or opt= ion+M, > which works, but is ugly. > > Thanks > > matthias > > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ > +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > > --0000000000004d726205f5e77a15 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Matthias,

Due to a typo you have set= up the wrong SPF for your mail server:

= unixarea.de. = 86400 IN = TXT <= /span>"v=3Dspf1 ip4:178.254.4.101 include:unixare.de -all"



"unixare= .de" is just a typo, it should be "unixarea.de".


<= /p>

Hope this helps.



On Thu, M= ar 2, 2023 at 3:40=E2=80=AFPM Matthias Apitz <guru@unixarea.de> wrote:
El d=C3=ADa Mittwoch, M=C3=A4rz 01, 2023 a las 04= :45:52 -0800, possessor.assizer305@aceecat.org escribi=C3=B3:

> On Wed, Mar 01, 2023 at 01:02:51PM +0100, Matthias Apitz wrote:
> >
> > I figured it out; one can create a dir and a file in it with the<= br> > > following syntax:
> >
> > /* to be placed into the (created) directory /Users/apitzm/Librar= y/KeyBindings as file DefaultKeyBinding.dict */
>
> When I started using a Mac about 2 years ago I wrote a Perl script to = translate
> my XCompose file from my Linux computers. Maybe it can be useful.
>
> https://gist.github.com/nobro= wser/4f4342cb95c7e4c186cba01425123871

Ian, thanks for this. This is very useful and I will give it a try.

As I wrote, I crafted my own file DefaultKeyBinding.dict by hand and it
is working mostly:

{
"~q"=C2=A0 =3D ("insertText:", "@");
"~a"=C2=A0 =3D ("insertText:", "=C3=A1");
"~A"=C2=A0 =3D ("insertText:", "=C3=81");
"~e"=C2=A0 =3D ("insertText:", "=C3=A9");
"~E"=C2=A0 =3D ("insertText:", "=C3=89");
"~i"=C2=A0 =3D ("insertText:", "=C3=AD");
"~I"=C2=A0 =3D ("insertText:", "=C3=8D");
"~o"=C2=A0 =3D ("insertText:", "=C3=B3");
"~O"=C2=A0 =3D ("insertText:", "=C3=93");
"~u"=C2=A0 =3D ("insertText:", "=C3=BA");=C2= =A0 =C2=A0/* =C3=BA does not work; use =C2=B4u which also gives =C3=BA */ "~U"=C2=A0 =3D ("insertText:", "=C3=9A");
"~?"=C2=A0 =3D ("insertText:", "=C2=BF");
"~!"=C2=A0 =3D ("insertText:", "=C2=A1");
"~<"=C2=A0 =3D ("insertText:", "=C2=AB");<= br> "~>"=C2=A0 =3D ("insertText:", "=C2=BB");<= br>
"~m"=C2=A0 =3D ("insertText:", "=C3=B1");=C2= =A0 =C2=A0/* =C3=B1 not working , why? */
"~M"=C2=A0 =3D ("insertText:", "=C3=91");=C2= =A0 =C2=A0/* =C3=91 not working , why? */
}

As said, mostly. Do you have an idea why the above three lines with the
comments /* ... */ are not working? Btw: The Mac has a German keyboard,
if this matters. For the =C3=B1 and =C3=91 I use the keys option+m or optio= n+M,
which works, but is ugly.

Thanks

=C2=A0 =C2=A0 =C2=A0 =C2=A0 matthias

--
Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

--0000000000004d726205f5e77a15--