From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] making permanent changes to /dev/kbmap
Date: Sun, 23 Jun 2024 13:17:54 +0200 [thread overview]
Message-ID: <FBA834B6347C094FBE156862079CA04C@felloff.net> (raw)
In-Reply-To: <mGJ6le13OT4dYZe2VIs_ObYSusYCq42n4Eh2ruO1tGcoZVw7k7cnw3GKQRRs8E6DLTL6roMk5zdzRw3myh3YfgAVWkZi6m7yT5STER6W0tA=@proton.me>
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
next prev parent reply other threads:[~2024-06-23 11:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-22 14:29 alex
2024-06-23 11:17 ` cinap_lenrek [this message]
2024-06-26 6:52 ` alex
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FBA834B6347C094FBE156862079CA04C@felloff.net \
--to=cinap_lenrek@felloff.net \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).