From nobody Tue Nov 26 10:39:12 2024 X-Original-To: freebsd-hackers@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 4XyJwQ1h0gz5fGfX for ; Tue, 26 Nov 2024 10:39:18 +0000 (UTC) (envelope-from dominique.c.michel@gmail.com) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XyJwP0d6lz4r2l for ; Tue, 26 Nov 2024 10:39:17 +0000 (UTC) (envelope-from dominique.c.michel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=kzoVMo+m; spf=pass (mx1.freebsd.org: domain of dominique.c.michel@gmail.com designates 2a00:1450:4864:20::42a as permitted sender) smtp.mailfrom=dominique.c.michel@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-382296631f1so4350829f8f.3 for ; Tue, 26 Nov 2024 02:39:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732617555; x=1733222355; darn=freebsd.org; h=content-transfer-encoding:mime-version:message-id:subject:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=VtF3HRg51tqcPfOAHF5zwHQy3hdDYUzt0mbDF0fNq7g=; b=kzoVMo+m+9tUhoKXnPLvGUeda66ccWiMeibi6WZ8u31E7sPqDZvyvlD4sgkGgZT3fQ TC9bRDIBJQ0o8HgFTd/a8x4BY4lrNl+wmf+9XSdQ2hXugKR/1LexBuzh9fwMZKxK1lvV 7PE63Al7DMikYlgbko3C9EblxOxxH0kS98Pj6WoAlqKR5rhvKlByMvu87SK8VQVvR4f7 pxtFTCdcpLhGS+Wn9BpFERdfk//gqan2EGg8hzY/t81B70M5P+Ws+smhmjBKGLnPNSVc qmPE4KJvtl5dI2LRH7vdmC7QfcZnqPnV2t6RoxOuyfPlaNlHZZOva1FXCttf+2J5czj+ dHXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732617555; x=1733222355; h=content-transfer-encoding:mime-version:message-id:subject:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VtF3HRg51tqcPfOAHF5zwHQy3hdDYUzt0mbDF0fNq7g=; b=RHWKiiRL5TDuO4EPiwVy+2vxA25wamtc6PdmLFYPIigEeT3lTeNca81EKGoysnJd8M k84aNNHio3DQdwXp2B/Ygz+wsYJEs6mMQaX9GaNcFzOrzJA3hm8ow8h7bqG6ERNVSuPj JiXqMQXAMOR9m8H+GAh1ntH1zuGfiOr1yLaFgKyb0mbBWDDWurR6TDvbPFhIuVDEmGlC WVZoI+6vvIQG5oJvQ5mALaGt/1Pre6vMy1lblH79n/VkvMQKJqKwY+LGV3cz8mdHzEP5 IyhgplSRslstmQLmBpfDVC/LiCpbUs0Y0xP7ru/RSjz2ofjactAYASUVZmRoYazdqJx7 rmGQ== X-Gm-Message-State: AOJu0Yz140zoVBk0sDVtmx5BCu7/vZMwRTo7cGPMnfY/7qxJe6goA698 p30gjBG69T5aF9ff2tk66FLEX7ab8CtkVZMASrgspjogZ38iNvNXZ53GO0vf X-Gm-Gg: ASbGnctDuObsSX9/yO++Dd5wGYWiyBR5vrFxLrUbCN5krZPmZFVqg5Z8N00RjVV9gug r6yId8zm3a033tcosULHHhH7cyu2Cxg0yxtXtjmSRt3/1bMNgiUdBkVYfK2j3hqpErLkiadX9im JA2KktL0c33Q0Vq/H+nsoWEO8F35Oq6+dBQ0PQViNJZdxBA9F7eeJeRn875UVU3C3K6NhVMkGIC t1WBKWU43hTLhA7+baDqABi2mI9AfaQ8sbDZSP6F4cYadRX9klVs4H+ X-Google-Smtp-Source: AGHT+IHYi/deTi5GSDnH5rcgYomQddAMzv0x99J5w8KiZIIqojt5h/NVdli54ha/OmNRlFSvN6G7Lw== X-Received: by 2002:a05:6000:154e:b0:382:359f:534d with SMTP id ffacd0b85a97d-38260b695efmr12050767f8f.23.1732617555282; Tue, 26 Nov 2024 02:39:15 -0800 (PST) Received: from tuxette ([85.218.110.102]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4349f9eca01sm67840115e9.29.2024.11.26.02.39.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2024 02:39:15 -0800 (PST) Date: Tue, 26 Nov 2024 11:39:12 +0100 From: Dominique Michel To: freebsd-hackers@FreeBSD.org Subject: First time with freebsd and weird keyboard issue Message-ID: <20241126113912.60714f63@tuxette> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-pc-linux-gnu) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.84 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.34)[-0.345]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TAGGED_FROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42a:from] X-Rspamd-Queue-Id: 4XyJwP0d6lz4r2l X-Spamd-Bar: -- Hi, I am the main fvwm-crystal maintainer and I am working on adding freebsd support to it. To do that, I installed the last freebsd version and I saw a double issue with the keyboard. First: In /etc/rc.conf keymap=3D"ch-fr.acc.kbd" In order to understand how to reproduce these issues, I do 2 test user accounts with different shells, sh and bash. With both of them, after login, the keyboard is working fine with the ttys. Then I followed chapter 25 of the handbook and put in ~/.login_conf: me:\ :charset=3DUTF-8:\ :lang=3Dfr_ch.UTF-8: and ran cap_mkdb ~/.login_conf After logout and login, the keyboard stopped to work well in both accounts. I get the correct language map (keys like q and z are at the right place), composed keys like [ and { are fine, but the same keys as simple keys =C3=A0 and =C3=A8 (the accented keys) doesn't work anymore, the= y are dead. If I comment these lines in .login_conf and remove the file generated by cap_mkdb, the keyboard is working fine again. As a freebsd newbie, maybe I missed something, but I think that issue should be reported to you anyway. # # # Launching fvwm-crystal with fvwm3 (or fvwm2) via startx, I get an even weirder keyboard issue, see https://forums.freebsd.org/threads/wrong-keyboard-map-in-x.95778/ Best, Dominique