From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 68D5522D9E for ; Wed, 26 Jun 2024 08:53:33 +0200 (CEST) Received: from mail-43167.protonmail.ch ([185.70.43.167]) by 9front; Wed Jun 26 02:52:38 -0400 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1719384756; x=1719643956; bh=yuGbLkgBzV5hGXcl3080shznfmlAuSUDp5X8G/uWxTo=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=XpUYH151NQIg3R4oJ1O/V8HTp3hSmizngkUBjPI7T5JT2qsdZfZBvOPguz0W3RANg WlqQUkBgiZJhUP6sneN3UCyvn5SlkemjhSExGZskUma3IRS6/zd7Tg7jkvuyb1eHxq fOYVMNQYIrHYjBwJKMb9OtXsT4HEKh2hATXs7JZtA+IuKPNAtuGzPXYb7/5N8y5+J5 UC9F6ZTn9Mh1pN0mjXo4loe7LOtl9U1M2cH2ubyt+xsknf1zal/c9jiiU32ei29Qhn YKpT0sBN077N5ANJTjFhRNOgkvgja6STCFwNWS4Oql4vWmjA5s5SWbIM7nCOLsJsm1 ZkHAB9THnioCQ== Date: Wed, 26 Jun 2024 06:52:32 +0000 To: 9front@9front.org From: alex Message-ID: In-Reply-To: References: Feedback-ID: 112555570:user:proton X-Pm-Message-ID: df5020c624857b46f0d674feeb5810cc65677d8c MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: extended database browser proxy dependency database Subject: Re: [9front] making permanent changes to /dev/kbmap Reply-To: 9front@9front.org Precedence: bulk Hello cinap,=20 thank you very much!=20 I'm not sure if I implemented your last suggestion correctly, but it works: Since I didn't know how to customize /sys/src/9/boot/bootfs.proto, I added = a kbmap to /sys/lib/kbmap/, specified it in plan9.ini and rebuilt the kerne= l. This worked wonderfully, thanks again!=20 Best regards,=20 Alex cinap_lenrek@felloff.net schrieb am Sonntag, 23.= Juni 2024 um 13:17: > Adding it to $home/lib/profile is one way, > but remember that this is run also on rcpu > logins. Of course, you can make sure to only > apply it when ~ $service terminal and > ~ $terminal reform ... >=20 > Probably better approach is adding that to > /cfg/$sysname/termrc or... Which only runs > at boot before the login. >=20 > Or make a "reform" keyboard map file and add it to > /sys/src/9/boot/bootfs.proto, > including it into the kernel's bootfs.paq > file system: >=20 > Then set kbmap=3Dreform in your plan9.ini. >=20 > see /sys/src/9/boot/bootrc: >=20 > if(! ~$#kbmap 0){ > if(test -f /sys/lib/kbmap/$kbmap){ > echo 'setting kbmap to' $kbmap > cat /sys/lib/kbmap/$kbmap >/dev/kbmap >=20 > } > } >=20 > That way, the keyboard will behave even before > the file-system is mounted. >=20 > -- > cinap