Jump to content




[Any version I guess] A way to make custom shells (includes idea how to do it)


  • This topic is locked This topic is locked
4 replies to this topic

#1 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 16 June 2013 - 02:07 AM

Hi all, I've played a lot with shells recently and I've noticed one thing: There is no way to launch shell without launching shell! It bugs me a lot since we end up with shellception eating resources. So, this is my suggestion: create a way to make local shells. It is how I imagine it:
  • in bios.lua: check if file "shell" exists
  • If yes - launch this file, if not - launch original shell
And profits:
  • A way to protect from running "startup" on disk drives
  • Proper OSes
  • And more that I can't think of.
I hope you will like it :)

#2 Goof

  • Members
  • 751 posts

Posted 16 June 2013 - 03:01 AM

why do you want to make local shells? you can just modify the current shell, creating a script on startup?
i dont see anything good in this suggest :(

#3 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 16 June 2013 - 03:12 AM

View Postjesusthekiller, on 16 June 2013 - 02:07 AM, said:

  • A way to protect from running "startup" on disk drives
  • Proper OSes
  • And more that I can't think of


#4 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 16 June 2013 - 03:51 AM

I like the Idea :)/>

I had something like this a week ago and tried to do it.
With something like this on the top of the standard shell
if fs.exist("shell") then
shell.exit()
shell.run("shell")
else
--The other shell crap
end

:]

#5 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 16 June 2013 - 04:03 AM

Um, no.

Check out NeverCast's Top Level Coroutine Override topic.

Locked.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users