From nobody Thu Mar 2 21:17:39 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 4PSP871kvtz3wGtq for ; Thu, 2 Mar 2023 21:17:43 +0000 (UTC) (envelope-from possessor.assizer305@aceecat.org) Received: from beesty.loosely.org (beesty.loosely.org [IPv6:2600:3c01:e000:4c0::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PSP8633FPz40qx for ; Thu, 2 Mar 2023 21:17:42 +0000 (UTC) (envelope-from possessor.assizer305@aceecat.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aceecat.org header.s=rsa header.b="D/E2S3RP"; spf=pass (mx1.freebsd.org: domain of possessor.assizer305@aceecat.org designates 2600:3c01:e000:4c0::2 as permitted sender) smtp.mailfrom=possessor.assizer305@aceecat.org; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aceecat.org ; s=rsa; h=Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JgSojU+xLyh6w2rRjfgiTX9u6j4TVDXQuX6gWpBJq+I=; b=D/E2S3RPl2AK+ZMfQRVoteXfnc L0YV+FpSnQbDeFANPM5Tc4hMBbxfXxQPV2yZ+U/FxSyEFl7azir8dDgbqTaWbeW1kEh3DLX7uXCA+ SAtxIAahecAgHjeMfFIdfi5lQt/V5O/0MLtMmzKU/ebkHcC5d+3MBx3NYgZ2tvP8Ck4BEXDMFLTTc shpXzRHRUtBk+UjbZfrdiP1UQ1b1rOAD8c7/5YOf0NupKHlJq3COJuaPU345hSq7Y8wU1wQfqrrpY 3zg/SI5ezP6eDPvH375gZkj3cH+s3nHcH7Urf/q3p93MhjaD1dfEGu8U2SkhFIs/XqIG+mgBnwwsl qC3l4zKg==; Received: from [::1] (helo=beesty) by beesty.loosely.org with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96-26-090f749dd) (envelope-from ) id 1pXqJ1-0001Oz-28 for questions@freebsd.org; Thu, 02 Mar 2023 13:17:39 -0800 Date: Thu, 2 Mar 2023 13:17:39 -0800 From: possessor.assizer305@aceecat.org To: questions@freebsd.org Subject: Re: Moving a FreeBSD/X11 keyboard config to Macbook Pro Message-ID: <20230302211739.chgkijbrxjfmrm5c@beesty.loosely.org> Mail-Followup-To: questions@freebsd.org References: <20230301074107.GB9@sh4-5.1blu.de> <20230302004552.wj7m3x4kkz7lruvl@beesty.loosely.org> <20230302074000.GA9@sh4-5.1blu.de> 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 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230302074000.GA9@sh4-5.1blu.de> Sender: itz@aceecat.org X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[aceecat.org:s=rsa]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_NO_DN(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:63949, ipnet:2600:3c01::/32, country:SG]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[aceecat.org:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[aceecat.org]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PSP8633FPz40qx X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Thu, Mar 02, 2023 at 08:40:00AM +0100, Matthias Apitz wrote: > { > "~q" = ("insertText:", "@"); > "~a" = ("insertText:", "á"); > "~A" = ("insertText:", "Á"); > "~e" = ("insertText:", "é"); > "~E" = ("insertText:", "É"); > "~i" = ("insertText:", "í"); > "~I" = ("insertText:", "Í"); > "~o" = ("insertText:", "ó"); > "~O" = ("insertText:", "Ó"); > "~u" = ("insertText:", "ú"); /* ú does not work; use ´u which also gives ú */ > "~U" = ("insertText:", "Ú"); > "~?" = ("insertText:", "¿"); > "~!" = ("insertText:", "¡"); > "~<" = ("insertText:", "«"); > "~>" = ("insertText:", "»"); > > "~m" = ("insertText:", "ñ"); /* ñ not working , why? */ > "~M" = ("insertText:", "Ñ"); /* Ñ 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 ñ and Ñ I use the keys option+m > or option+M, which works, but is ugly. My script generates unicode escapes in the position where you have literal non-ascii encodings. I think mine is the safest way, in fact the only really safe way. I haven't even tried to use UTF-8 there or anything like that. My old brain is too tired to debug this now, but as a guess your problem is one of encoding. -- Ian