WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Boot to Vim, Vim as Pid 1  (Read 1093 times)

Offline mocore

  • Sr. Member
  • ****
  • Posts: 493
  • ~.~
Boot to Vim, Vim as Pid 1
« on: March 04, 2023, 08:28:05 AM »

just happened to find this link  https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.txt

not shore if it should be in "Off-Topic - The Funnies" forum tbh  :P



Offline gadget42

  • Hero Member
  • *****
  • Posts: 640
Re: Boot to Vim, Vim as Pid 1
« Reply #1 on: March 05, 2023, 01:58:38 AM »
wonderful website and there is even a Gopher!
https://raymii.org/s/
gopher://raymii.org:70
https://raymii.org/s/static/About.html

that "vim as pid1" is also available in html:
https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html

also see the all-tags-page with 489 posts as of 20230305:
https://raymii.org/s/tags/all.html

and this link is specifically for @PDP-8(u=18480)[smileyface]:
https://raymii.org/s/articles/Running_TSS_8_on_the_DEC_PiDP-8_i_and_SIMH.html
(mostly due to the included pic of a nice pdp8):
https://raymii.org/s/inc/img/pidp-8-i.jpg

also of probable interest:
https://raymii.org/s/blog/Broken_Corrupted_Raspberry_Pi_SD_Card.html
https://raymii.org/s/blog/Spinrite_6.0_on_UEFI_and_NVMe_ssd_drives.html

Huge Kudos and HatTip to @mocore for taking the time to post this! awesome!
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline mocore

  • Sr. Member
  • ****
  • Posts: 493
  • ~.~
Re: Boot to Vim, Vim as Pid 1
« Reply #2 on: December 01, 2023, 12:36:57 PM »
 https link in op above *now* appear to fail
 ftr http works
 http://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.txt
...
just ftr the method used is described in this quote
Quote from: raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.txt
Compile vim statically, set it as `init=` at
boot and you're done.

We are going to use small (9MB) distro named [Tiny Core, Core edition][4] and
customize that to boot right into our static build of Vim.
...
Quote
- **Update 22-04-2023:** I've figured out [how to boot to Vi bare metal][9], no operating system required!

 ... i wander if the method used is jart/cosmopolitan !?
« Last Edit: December 01, 2023, 12:41:47 PM by mocore »

Offline gadget42

  • Hero Member
  • *****
  • Posts: 640
Re: Boot to Vim, Vim as Pid 1
« Reply #3 on: December 02, 2023, 08:02:57 AM »
as of 20231202-1000am-cdt-usa https://raymii.org/s/ and https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.txt are working in fly-over-country-usa.

20231202-1005am-cdt-usa-modified: removed attachment after observing @mocore already attached.
« Last Edit: December 02, 2023, 08:05:02 AM by gadget42 »
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580