I finally just now ddGoo'ed (web-researched) up my mll dream of:
pasting into the (NoGUI)
console of a VirtualBox guest (even M$Dos)
(&without getting flamed for posting a
dumb=UNddGoo'ed thread asking how!!!)
Code:
alias p='cat>p ; VBoxManage controlvm mll keyboardputfile p'
Run on VBox *
host*.
Where mll is MyVmGuest's name. Note that it creates a text file in $PWD named p
Use Ctrl-D (on Vbox host, when done entering stuff to paste to guest)
Of course, you can enhance 'p'. There's also kb put
string
(but I don't think[?] there's ANY bash way to ?capture?
everything upto \n,
like: p hostname;uname -n #paste=execute BOTH on guest, withOUT shell quoting/escaping)
@M.Vbox (aka @sundialsvcs): IF new to you, refer to (search) VB forum 80315
I guess this would also work for pasting into grub/uefi!!!
(I'm guessing NOone thought that was even possible!!!)
(Copy: I finally realized that: there's no way [other than record video/take snapshot=picture] to
Copy what video as already displayed, esp. if it already scrolled off, like a panic.)
(I run
mll, so can't use 'Guest additions')
Yes, I'm probably the world's only anti-GUI cli-only 'er (except for web browser)
New 6/21 crazy=non-post-worthy idea: (since I don't believe I could simply: apt install <any of 50-100,000 .deb packages> on slackware)
wget-based getting (only static) programs (for
any Linux=kernel)
p become sort of a library of static programs' binary URLs that I want to run on MLL, easily reloaded on a fresh boot of the ISO (yes, I could use the Vbox saveState or snapshots).
Code:
wget https://bitfab.org/dropbear-static-builds/dropbear-v2020.81-x86_64-static.tgz
#tar xzf ... ; mv/rm ... ; chmod 755 dropbear
echo 0::0:0::/:/bin/sh >/etc/passwd #cuz mll doesn't have!!!
(echo 0;echo 0)|passwd #force a short password of the digit 0 to the username digit 0!!!
https://www.linuxquestions.org/quest...9/#post6258552