I send a new version of my patch. Sendkey is now a variable and also there are the variables kb_*. The disadvantages are that sendkey is not loaded automatically, the number of variables and unavailability to see the help. Could someone propose how to fix it? At hte same time I discovered that grub and bash parse quotes and doublequotes differently. Example to set sendkey to "h e l l o". it doesn't work if you write: sendkey="h e l l o" You must write: "sendkey=h e l l o" I changed the way that grub parses the " and '. And now it does like bash. Also I wrote new module: activate. It's also pc-specific. It's analog of makeactive but with other syntax: active PARTITION. like: activate (hd0,2) Vladimir Serbinenko 2005-08-01 Vladimir Serbinenko Sendkey and activate modules(pc) and preboots * commands/boot.c: Added support for preboot functions * conf/i386.rmk (sendkey): new module (activate): Likewise * commands/i386/pc/activate.c: new file * include/grub/normal.h: new headers and types for preboots * commands/i386/pc/activate.c: new file * kern/misc.c (grub_split_cmdline): more bash-like quotes and doublequotes handle