This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
cheekycharlie101's profile picture

how to change the craft os tag?

Started by cheekycharlie101, 29 August 2012 - 02:42 PM
cheekycharlie101 #1
Posted 29 August 2012 - 04:42 PM
ok could someone tell me how i could change the craft os tag? i tried playing around with a few things but im not very good at lua. anyways i discoverd that typing shell brought up the tag so i took a look at the shell api. but i dident find anything that i could use, if anyone knows how i could change it to say something custom please tell me. note i dont want to re write my own os so please dont suggest that
thanks -Cheeky
MysticT #2
Posted 29 August 2012 - 05:52 PM
You can either change it in the shell program (inside rom/programs), or make a startup file that clears the screen and writes the text you want, something like:

term.clear()
term.setCursorPos(1, 1)
print("Welcome the my computer!")
cheekycharlie101 #3
Posted 30 August 2012 - 11:02 PM
i typed rom/programs and it siad no such program :)/>/>
Grim Reaper #4
Posted 30 August 2012 - 11:32 PM
That's because that string isn't a title of a program. You'll have to run

cd rom/programs
To change directories.
cheekycharlie101 #5
Posted 31 August 2012 - 01:08 PM
That's because that string isn't a title of a program. You'll have to run

cd rom/programs
To change directories.
ok so i got into edit shell then what do i do? please could you give me a list of steps that you would do to change the craft os tag?
Exerro #6
Posted 31 August 2012 - 01:17 PM
when you open up the computer type edit startup
then type in term.clear()
term.setCursorPos(1,1)
print("Welcome to your computer")
then press ctrl-s
then reboot your pc by typing in reboot
cheekycharlie101 #7
Posted 31 August 2012 - 01:30 PM
when you open up the computer type edit startup
then type in term.clear()
term.setCursorPos(1,1)
print("Welcome to your computer")
then press ctrl-s
then reboot your pc by typing in reboot
i know that, but i want to change the craft os tag in the shell, could you help me with that? also i really need help with redstone outputs here if you could take a look id be very gratefull : http://www.computercraft.info/forums2/index.php?/topic/3722-need-help-with-redstone-outputs/
DanCarl97 #8
Posted 31 August 2012 - 02:27 PM
May we ask, why you want to change the shell? Is it on a server? Or do you just want the change on all computers? If you want the code shorter in startup, use an api. Load it into startup and use a function :)/>/>
cheekycharlie101 #9
Posted 01 September 2012 - 02:44 PM
May we ask, why you want to change the shell? Is it on a server? Or do you just want the change on all computers? If you want the code shorter in startup, use an api. Load it into startup and use a function :)/>/>
Yes its on a server, but like i want it to say "cheekys computer". now if you use the code line in the startup it will only put it on the startup screen. if you go to another screen it wont have it. so i would like to know how to change it accross the computer. note that the computer is labeld so if i edit the shell it will only change my computers and no one elses
DanCarl97 #10
Posted 04 September 2012 - 05:08 PM
Hmmmmmm, I don't know. I don't think that's possible unless you are the server admin, as it would change all the computers on the server I believe. What about simply creating a Floppy which you could connect to each computer and install your startup file? :D/>/>
Rsstn #11
Posted 05 September 2012 - 05:55 PM
When you say 'it will only put it on the startup screen. if you go to another screen it wont have it.', do you mean you want the 'cheeky's computer' to stay there, whatever programs you use on the computer?
Or do you mean, whatever computer you use on the server, it says 'cheek's computer' when the computer starts?