What do you expect that function to do? And why not just roll your own...
For just a "shortcut" to term.out() :
function print (s)
For a more (C library) sprintf like behaviour:
function printf (fmt, ...)
If you are planning to use it/them in multiple scripts, put it in a Lua-file under "Scripts/" under a "catchy" name (e.g. "my_lib.lua").
Then you can "include" the definitions/declarations in your Lua script via:
-- ... your code using it goes here ...
Although, those "one-liners" would barely make it a "Library" :lol:
And I don't think these should be made "Orbiter-standard", as the current functionality is enough to do the things one has to do with a fairly small amount of extra work.
Second, these print functions are only useful in an terminal-environment; by using a member of term, it is obvious for any reader of the script where it goes...
Just studying Lua and wondering what happened to print(). I realize that I can use term.out() instead (which I will instead of recreating a print function), but that doesn't help me understand what is happening here.
Also, are the other Lua libraries generally available?