transition to kernel

This commit is contained in:
kepler155c
2018-01-20 07:19:32 -05:00
parent 40da3f1683
commit 663d8c3696
9 changed files with 3 additions and 19 deletions

View File

@@ -10,13 +10,10 @@ local Terminal = require('terminal')
local Util = require('util')
local colors = _G.colors
local multishell = _ENV.multishell
local os = _G.os
local term = _G.term
local turtle = _G.turtle
multishell.setTitle(multishell.getCurrent(), 'Crafter')
local config = {
computerFacing = 'north',
monitor = 'type/monitor',

View File

@@ -6,11 +6,8 @@ local UI = require('ui')
local Util = require('util')
local colors = _G.colors
local multishell = _ENV.multishell
local peripheral = _G.peripheral
multishell.setTitle(multishell.getCurrent(), 'Devices')
--[[ -- PeripheralsPage -- ]] --
local peripheralsPage = UI.Page {
grid = UI.ScrollingGrid {

View File

@@ -7,7 +7,6 @@ local Util = require('util')
local multishell = _ENV.multishell
local os = _G.os
multishell.setTitle(multishell.getCurrent(), 'Events')
UI:configure('Events', ...)
local page = UI.Page {

View File

@@ -7,10 +7,6 @@ local colors = _G.colors
local device = _G.device
local turtle = _G.turtle
local multishell = _ENV.multishell
multishell.setTitle(multishell.getCurrent(), 'Music')
if not turtle then
error('This program can only be run on a turtle')
end

View File

@@ -8,14 +8,12 @@ local Util = require('util')
local colors = _G.colors
local fs = _G.fs
local multishell = _ENV.multishell
local os = _G.os
local shell = _ENV.shell
local GROUPS_PATH = 'usr/groups'
local SCRIPTS_PATH = 'usr/etc/scripts'
multishell.setTitle(multishell.getCurrent(), 'Script')
UI:configure('script', ...)
local config = {

View File

@@ -16,7 +16,6 @@ local os = _G.os
local shell = _ENV.shell
local term = _G.term
multishell.setTitle(multishell.getCurrent(), 'Turtles')
UI.Button.defaults.focusIndicator = ' '
UI:configure('Turtles', ...)

View File

@@ -15,7 +15,6 @@ local Util = require('util')
local colors = _G.colors
local fs = _G.fs
local multishell = _ENV.multishell
local BUILDER_DIR = 'usr/builder'
@@ -748,8 +747,6 @@ if not Builder.itemAdapter then
error('A chest or ME interface must be below turtle')
end
multishell.setTitle(multishell.getCurrent(), 'Builder')
subDB:load()
UI.term:reset()

View File

@@ -20,7 +20,9 @@ local peripheral = _G.peripheral
local term = _G.term
local turtle = _G.turtle
multishell.setTitle(multishell.getCurrent(), 'Resource Manager')
if multishell then
multishell.setTitle(multishell.getCurrent(), 'Resource Manager')
end
local config = {
computerFacing = 'north', -- direction turtle is facing

View File

@@ -1 +0,0 @@
forced fstab overwrite