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.8 required=5.0 tests=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 CEB9925BA5 for ; Sun, 23 Jun 2024 13:20:00 +0200 (CEST) Received: from duke.felloff.net ([216.126.196.34]) by 9front; Sun Jun 23 07:18:15 -0400 2024 Message-ID: Date: Sun, 23 Jun 2024 13:17:54 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: advanced deep-learning realtime event-aware generator Subject: Re: [9front] making permanent changes to /dev/kbmap Reply-To: 9front@9front.org Precedence: bulk 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* ... Probably better approach is adding that to /cfg/$sysname/termrc or... Which only runs at boot before the login. 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: Then set kbmap=reform in your plan9.ini. see /sys/src/9/boot/bootrc: if(! ~$#kbmap 0){ if(test -f /sys/lib/kbmap/$kbmap){ echo 'setting kbmap to' $kbmap cat /sys/lib/kbmap/$kbmap >/dev/kbmap } } That way, the keyboard will behave even before the file-system is mounted. -- cinap