Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Gopher

Members
  • Content Count

    2
  • Joined

  • Last visited

  • Days Won

    2

Gopher last won the day on June 10 2014

Gopher had the most liked content!

About Gopher

  • Rank
    Junior Member

Contact Methods

  • Minecraft
    gopheratl
  • GitHub
    gopheratl
  1. In my fiddling, I found myself wanting to replace the shell with my own. This is straight-forward enough to do; you can change the environment variable "SHELL" from "/bin/sh" to point to your own program by typing "set SHELL=<pathtoyourshell>" and then "exit" at the standard OpenOS SH prompt. I wanted to do this automatically, though, in an autorun script, and that proved a bit trickier. You can change the environment variable by calling os.setenv("SHELL","pathtoyourshell"), but even an autorun script has a shell already running behind it which will continue when the script ends. I tho
  2. I can confirm that at least since 1.2.3, the unbuffered config setting works exactly as advertised. The only case where updating files doesn't seem to have effect immediately is with libs, which are buffered not by the mod but by the package api. A reboot will reload all libs, or you can add this to the top of the program you're testing the lib with to force the api to reload each time: --discard the loaded version package.loaded["mylib"]=nil --require will now search for and reload it mylib=require("mylib") :edit: note that if loading the API sets up event listeners, like several of the bu
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.