libera/#devuan-dev/ Saturday, 2024-10-12

fsmithredHow can I add ascii control characters to syslinux boot menu?12:22
rrqyou mean into the conf file(s) ? that'd depend on which editor you use (?)12:32
fsmithredI want a bell to ring on certain boot menu entries just like they do in the minimal-live isos that I make.12:45
fsmithredThere's a ^G at the end of the line and it rings a bell. When I add a ^G to mine, it just shows up as ^G.12:46
fsmithredmine = my menu12:46
fsmithredI did no create the minimal-live menu, I just keep copying it.12:46
rrqyes I think a ctrl-G character rings the bell, and it shows up as the two characters ^ and G12:47
rrqin vi  you'd use ctrl-V to insert a ctrl-G; in emacs it's ctrl-Q12:48
fsmithredOK, I've got the bell working in the syslinux menu. I can't figure out where it goes in the grub menu. I tried a few different spots in the menuentries and got nothing.17:18
golinuxProgress!17:24
* onefang starts to wonder just how early in the boot process fsmithred wants the screen reader to start? Beeping in the boot loader now?20:15
onefangI've started considering having sysv-init at least START with my script.  As it scans for audio devices it can have espeak say "Welcome to EARS volume zero.  This is audio device HDMI9." through each device as it finds them.20:17
onefangOther init systems I have not played with yet.20:18
onefangThen later, the user can get a chance to tell the system "Just use audio device Mobo3, that sounded best to me."  Having heard that message through Mobo3, with the name "Mobo3" being said in the message.20:20
onefangTheoretically possible to stuff these things into the initramfs.  lol20:21
onefangAt tho moment EARS volume 0 is running from /etc/boot.d, which rc.local scans through.  That happens at the end of the init process though.20:24
fsmithredonefang, the minimal-live already beeps on some of the boot menu entries. I just wanted to reproduce that.20:28
fsmithredI can do it by copy/paste, but I still have no idea how to add it if I don't already have one to copy.20:29
onefang"Welcome to EARS volume zero point zero.  This is audio device Mobo number nine.  Press the Any key if you want to hear me speak through this device."20:29
onefang"Too late.  Trying the next audio device."20:30
onefangOr select by number.20:31
onefangIs this the sort of thing you are after?20:31
fsmithredthat would work. That's how the installer works.20:31
onefangGives me something to do today.   B-)20:32
fsmithredI had mine speaking Italian a little while ago.20:32
onefangMate, strictly spiccing 'Strine 'ear.20:32
onefang(Ask rrq for a translation when he wakes up.)20:33
onefangAs for getting syslinux to speak, well I do intend to port a couple of features from rEFInd, speaking wasn't planned.20:35
onefangThose are - Scan all storage looking for anything it can boot and present the list.  Add to the list the option of getting to the BIOS setup screen, coz my super desktop refuses to do that with the key it says it should work on, so I have to bounce through rEFInd.20:38
* onefang wanders back to bed.20:47
rrqfsmithred: grub doesn't do <BEL> character, but rather an audio tune (series of frequency and time)23:13
rrq"insmod play ; play 960 440 1 0 4 440 1"23:17
rrqnot sure what it means... I think it's for the pc speaker though23:18
rrqI'm pretty sure there used to be documentation for it somewhere23:20
rrqhttps://www.gnu.org/software/grub/manual/grub/html_node/play.html23:20
rrq"Command: play file | tempo [pitch1 duration1] [pitch2 duration2] …"23:21
rrqhmm .. "normal A" for 1/16s, then quiet for 4/16s, then another "normal A" for 1/16s ... (maybe)23:26
rrq(1/16 = 60/960)23:28
fsmithredrrq, it makes a tone when the boot menu appears23:45
fsmithrednot sure if I have 'insmod play' but I did uncomment the line in /etc/default/grub.23:45
rrqyes, with that "insmod...." in the conf; it is executed when the conf is read23:46
fsmithredanyone who can't see will just have to know the menu23:46
fsmithredfirst three items are good: full desktop, console only, other language (not sure how much of that works)23:47
fsmithredone other thing I noticed that might be a problem with the desktop is that it does not tell you when you are hovering over the menus in the top panel.23:48
fsmithredmaybe there are keystrokes for that23:48
fsmithredI think grub plays abnormal A, normal A (480 440)23:50
fsmithredwait, I think 480 is C23:51
fsmithred120*423:51
rrqthere's the "pure scale" and the "natural scale" though I think they only differed ad F (or maybe E as well)23:52
rrqI did read about this some 40 years ago23:52
fsmithredtempered scale puts even spaces between the tones23:52
fsmithrednatural (harmonic) scale is not even. Go up a couple octaves and you sound out of tune.23:53
fsmithredmy tuning fork says 128 is C23:53
rrqwell, if 440 is A then 220 is A and 110 is A ... so 128 might ell be C23:55
rrqw23:56
fsmithredyeah, it's engraved in the metal. I believe it.23:57
rrq:) .. would be 1 octave down from middle C23:57
rrqsomething to tune your alto recorder by I guess23:58
fsmithredlol23:58

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!