file = io.popen("ls", "r")

filelist = file:read("*a")

file:close()

print2(filelist)
arch.lua
autoindent.lua
beachball.lua
Bitstream-Vera-Sans-Mono.ttf
breakpoint.lua
camwidget.lua
camwidget_play.lua
checkerboard.lua
colorwheel.lua
colorwheelwidget.lua
corotest.lua
cps-factorial-dribble.lua
cps-factorial.lua
cwsliders.lua
dome2.lua
dome3.lua
dome.lua
drawing.lua
editor.lua
edrenderchars.lua
errortest.lua
f3search.lua
fbotest2.lua
fbotest3.lua
fbotest.lua
findtest.lua
flightdome.lua
flight.lua
fmod.dll
fnkeys.lua
fntracedemo.lua
fonttexture.bin
forthexample.lua
gameoflife.lua
gameoflife.lua - command
gameoflife-todo.lua
geometry.lua
greets.lua
griddy.lua
grid.lua
indent.lua
initial
inspectclosure.lua
inspect.lua
keymap.lua
lisp-keymap.lua
lowspec.lua
mainshader.lua
mainshader-test.lua
mouseshader2.lua
mouseshader.lua
music.mp3
namespace.lua
opengl-prelude.lua
p4th
pcraft.lua
pentagon.lua
playtime.lua
playtune.lua
polylinedribble1.lua
polylinedribble2.lua
polyline.lua
polylineresults.lua
prod2.lua
prod.lua
queue.lua
reflect.lua
render2.lua
renderbuffer.lua
renderchars.lua
renderchars.scm
render_to_fbo.lua
replacefn.lua
roulette.lua
schedulerthing.lua
schedulingwidget.lua
scratch.lua
server2.lua
server3.lua
server.lua
shader2.lua
shader-draw.lua
shader-fluid.lua
shader.lua
shaderversionsupport.lua
shellcapture.lua
shiftenter.lua
skythings.lua
slider.lua
spirograph3d.lua
spirograph.lua
streamer.lua
stringtextest.lua
syntax2015.lua
synth2.lua
synth.lua
synthmain.lua
synthrender.lua
tasks.lua
taskstack.lua
template.lua
templatetest.lua
test.lua
textshader-font-choose.glsl
textshader-font-mix.glsl
textshader-font-orig.glsl
textshader-fragment.glsl
textshader-generatefont.lua
textshader.lua
textshader.lua - command
textshader-string.glsl
textshader-vertex.glsl
thoughts.lua
tiles.lua
timing.lua
toyball.lua
trace2-2.lua
trace2.lua
tracebackthing.lua
turtle.lua
turtletest.lua
turtlewidget.lua
turtlewot.lua
tweaks.lua
uiwidgets.lua
unpack2.lua
Untitled
update.lua
util.lua
varchanger.lua
varchangertest.lua
widgetgroup.lua
widgets2.lua
widgets.lua
zarray.lua
zstar.lua
zstartest.lua


 Volume in drive C is OS
 Volume Serial Number is 4A47-1820

 Directory of C:\Citadel\praxis\prods\cauldron

04/06/2016  01:28 AM    <DIR>          .
04/06/2016  01:28 AM    <DIR>          ..
09/03/2016  03:37 PM             3,203 arch.lua
09/03/2016  03:37 PM               220 autoindent.lua
09/03/2016  03:37 PM             2,701 beachball.lua
09/03/2016  03:37 PM            49,224 Bitstream-Vera-Sans-Mono.ttf
09/03/2016  03:37 PM               198 breakpoint.lua
09/03/2016  03:37 PM             1,291 camwidget.lua
09/03/2016  03:37 PM             4,527 camwidget_play.lua
09/03/2016  03:37 PM             1,823 checkerboard.lua
09/03/2016  03:37 PM             2,372 colorwheel.lua
09/03/2016  03:37 PM             3,460 colorwheelwidget.lua
09/03/2016  03:37 PM               274 corotest.lua
02/06/2016  10:48 PM             9,197 cps-factorial.lua
09/03/2016  03:37 PM             1,045 cwsliders.lua
09/03/2016  03:37 PM             3,490 dome.lua
09/03/2016  03:37 PM             3,763 dome2.lua
09/03/2016  03:37 PM             3,957 dome3.lua
09/03/2016  03:37 PM             3,746 drawing.lua
09/03/2016  03:37 PM             2,950 editor.lua
12/04/2016  09:06 PM             3,300 edrenderchars.lua
09/03/2016  03:37 PM               168 errortest.lua
09/03/2016  03:37 PM               500 f3search.lua
09/03/2016  03:37 PM             2,682 fbotest.lua
09/03/2016  03:37 PM             1,023 fbotest2.lua
09/03/2016  03:37 PM             2,086 fbotest3.lua
09/03/2016  03:37 PM               267 findtest.lua
09/03/2016  03:37 PM             8,763 flight.lua
09/03/2016  03:37 PM             1,471 flightdome.lua
09/03/2016  03:37 PM           162,816 fmod.dll
09/03/2016  03:37 PM             1,020 fnkeys.lua
09/03/2016  03:37 PM               212 fntracedemo.lua
04/05/2016  08:07 PM         4,194,304 fonttexture.bin
09/03/2016  03:37 PM               227 forthexample.lua
23/05/2016  02:01 AM               882 gameoflife-todo.lua
23/05/2016  02:01 AM             4,594 gameoflife.lua
23/05/2016  02:01 AM               898 gameoflife.lua - command
09/03/2016  03:37 PM             3,133 geometry.lua
09/03/2016  03:37 PM             1,064 greets.lua
09/03/2016  03:37 PM             4,772 grid.lua
09/03/2016  03:37 PM             2,308 griddy.lua
09/03/2016  03:37 PM               485 indent.lua
23/05/2016  02:01 AM               324 initial
09/03/2016  03:37 PM             6,210 inspect.lua
02/06/2016  10:48 PM               664 inspectclosure.lua
09/03/2016  03:37 PM            23,254 keymap.lua
09/03/2016  03:37 PM            23,254 lisp-keymap.lua
09/03/2016  03:37 PM             1,910 lowspec.lua
09/03/2016  03:37 PM               703 mainshader-test.lua
10/05/2016  07:22 PM             3,883 mainshader.lua
09/03/2016  03:37 PM             3,492 mouseshader.lua
09/03/2016  03:37 PM             1,074 mouseshader2.lua
09/03/2016  03:37 PM         1,956,582 music.mp3
09/03/2016  03:37 PM               148 namespace.lua
01/06/2016  11:59 PM               361 opengl-prelude.lua
17/03/2016  09:42 PM    <DIR>          p4th
15/04/2016  09:02 PM             2,708 pcraft.lua
09/03/2016  03:37 PM             4,884 pentagon.lua
09/03/2016  03:37 PM             1,199 playtime.lua
09/03/2016  03:37 PM               506 playtune.lua
04/06/2016  12:52 AM             3,900 polyline.lua
04/06/2016  12:52 AM               199 polyline.lua - command
04/06/2016  12:52 AM             3,168 polylinedribble1.lua
04/06/2016  12:52 AM               199 polylinedribble2.lua
04/06/2016  12:52 AM               748 polylineresults.lua
13/05/2016  01:18 AM         2,428,416 praxis.exe
01/06/2016  11:18 PM             3,923 prod.lua
09/03/2016  03:37 PM               837 prod2.lua
09/03/2016  03:37 PM             1,036 queue.lua
13/05/2016  02:01 AM               890 ReadMe.txt
09/03/2016  03:37 PM               907 reflect.lua
09/03/2016  03:37 PM               449 render2.lua
09/03/2016  03:37 PM               538 renderbuffer.lua
09/03/2016  03:37 PM             3,184 renderchars.lua
17/03/2016  09:42 PM             3,281 renderchars.scm
09/05/2016  08:19 PM             3,202 render_to_fbo.lua
09/03/2016  03:37 PM               200 replacefn.lua
09/03/2016  03:37 PM               912 roulette.lua
09/03/2016  03:37 PM             1,268 schedulerthing.lua
09/03/2016  03:37 PM               105 schedulingwidget.lua
09/03/2016  03:37 PM               427 scratch.lua
09/03/2016  03:37 PM             4,907 server.lua
09/03/2016  03:37 PM             2,716 server2.lua
09/03/2016  03:37 PM             2,007 server3.lua
09/03/2016  03:37 PM             1,341 shader-draw.lua
23/04/2016  01:08 PM             8,034 shader-fluid.lua
09/03/2016  03:37 PM             1,478 shader.lua
09/03/2016  03:37 PM             2,732 shader2.lua
08/05/2016  01:26 AM             1,304 shaderversionsupport.lua
04/06/2016  01:29 AM             8,055 shellcapture.lua
09/03/2016  03:37 PM             1,808 shiftenter.lua
09/03/2016  03:37 PM               494 skythings.lua
09/03/2016  03:37 PM             1,662 slider.lua
09/03/2016  03:37 PM             2,473 spirograph.lua
09/03/2016  03:37 PM             5,629 spirograph3d.lua
09/03/2016  03:37 PM             1,077 streamer.lua
20/04/2016  06:57 PM             1,851 stringtextest.lua
09/03/2016  03:37 PM            11,674 syntax2015.lua
09/03/2016  03:37 PM             7,958 synth.lua
15/04/2016  09:02 PM             8,358 synth2.lua
09/03/2016  03:37 PM             4,090 synthmain.lua
09/03/2016  03:37 PM               685 synthrender.lua
30/05/2016  10:26 PM               161 tasks.lua
09/03/2016  03:37 PM             1,642 taskstack.lua
03/06/2016  07:41 PM               136 template.lua
03/06/2016  07:41 PM               211 templatetest.lua
27/04/2016  02:18 AM               620 test.lua
18/04/2016  01:27 AM            23,973 textshader-font-choose.glsl
18/04/2016  08:00 PM            25,388 textshader-font-mix.glsl
21/04/2016  11:58 PM            19,814 textshader-font-orig.glsl
02/06/2016  12:55 AM             4,490 textshader-fragment.glsl
04/05/2016  08:07 PM             1,020 textshader-generatefont.lua
18/04/2016  08:00 PM             6,279 textshader-string.glsl
10/05/2016  06:21 PM               162 textshader-vertex.glsl
02/06/2016  12:26 AM             8,926 textshader.lua
23/05/2016  02:01 AM               886 textshader.lua - command
09/03/2016  03:37 PM               340 thoughts.lua
09/03/2016  03:37 PM             1,354 tiles.lua
09/03/2016  03:37 PM               285 timing.lua
09/03/2016  03:37 PM             3,140 toyball.lua
09/03/2016  03:37 PM             1,013 trace2-2.lua
09/03/2016  03:37 PM               544 trace2.lua
02/06/2016  10:48 PM             3,277 tracebackthing.lua
09/03/2016  03:37 PM             1,169 turtle.lua
09/03/2016  03:37 PM               249 turtletest.lua
09/03/2016  03:37 PM               320 turtlewidget.lua
09/03/2016  03:37 PM               148 turtlewot.lua
09/03/2016  03:37 PM               663 tweaks.lua
09/03/2016  03:37 PM             1,442 uiwidgets.lua
09/03/2016  03:37 PM               332 unpack2.lua
23/05/2016  02:01 AM               967 Untitled
09/05/2016  08:19 PM               961 update.lua
09/03/2016  03:37 PM             1,529 util.lua
09/03/2016  03:37 PM               445 varchanger.lua
09/03/2016  03:37 PM             1,916 varchangertest.lua
09/03/2016  03:37 PM             1,527 widgetgroup.lua
09/03/2016  03:37 PM             1,015 widgets.lua
09/03/2016  03:37 PM             3,110 widgets2.lua
02/06/2016  10:48 PM               543 zarray.lua
02/06/2016  12:57 AM             5,671 zstar.lua
02/06/2016  12:57 AM             1,073 zstartest.lua
             138 File(s)      9,190,435 bytes
               3 Dir(s)  97,857,011,712 bytes free


 Volume in drive C is OS
 Volume Serial Number is 4A47-1820

 Directory of C:\Citadel\praxis\prods\cauldron

04/06/2016  01:28 AM    <DIR>          .
04/06/2016  01:28 AM    <DIR>          ..
09/03/2016  03:37 PM             3,203 arch.lua
09/03/2016  03:37 PM               220 autoindent.lua
09/03/2016  03:37 PM             2,701 beachball.lua
09/03/2016  03:37 PM            49,224 Bitstream-Vera-Sans-Mono.ttf
09/03/2016  03:37 PM               198 breakpoint.lua
09/03/2016  03:37 PM             1,291 camwidget.lua
09/03/2016  03:37 PM             4,527 camwidget_play.lua
09/03/2016  03:37 PM             1,823 checkerboard.lua
09/03/2016  03:37 PM             2,372 colorwheel.lua
09/03/2016  03:37 PM             3,460 colorwheelwidget.lua
09/03/2016  03:37 PM               274 corotest.lua
02/06/2016  10:48 PM             9,197 cps-factorial.lua
09/03/2016  03:37 PM             1,045 cwsliders.lua
09/03/2016  03:37 PM             3,490 dome.lua
09/03/2016  03:37 PM             3,763 dome2.lua
09/03/2016  03:37 PM             3,957 dome3.lua
09/03/2016  03:37 PM             3,746 drawing.lua
09/03/2016  03:37 PM             2,950 editor.lua
12/04/2016  09:06 PM             3,300 edrenderchars.lua
09/03/2016  03:37 PM               168 errortest.lua
09/03/2016  03:37 PM               500 f3search.lua
09/03/2016  03:37 PM             2,682 fbotest.lua
09/03/2016  03:37 PM             1,023 fbotest2.lua
09/03/2016  03:37 PM             2,086 fbotest3.lua
09/03/2016  03:37 PM               267 findtest.lua
09/03/2016  03:37 PM             8,763 flight.lua
09/03/2016  03:37 PM             1,471 flightdome.lua
09/03/2016  03:37 PM           162,816 fmod.dll
09/03/2016  03:37 PM             1,020 fnkeys.lua
09/03/2016  03:37 PM               212 fntracedemo.lua
04/05/2016  08:07 PM         4,194,304 fonttexture.bin
09/03/2016  03:37 PM               227 forthexample.lua
23/05/2016  02:01 AM               882 gameoflife-todo.lua
23/05/2016  02:01 AM             4,594 gameoflife.lua
23/05/2016  02:01 AM               898 gameoflife.lua - command
09/03/2016  03:37 PM             3,133 geometry.lua
09/03/2016  03:37 PM             1,064 greets.lua
09/03/2016  03:37 PM             4,772 grid.lua
09/03/2016  03:37 PM             2,308 griddy.lua
09/03/2016  03:37 PM               485 indent.lua
23/05/2016  02:01 AM               324 initial
09/03/2016  03:37 PM             6,210 inspect.lua
02/06/2016  10:48 PM               664 inspectclosure.lua
09/03/2016  03:37 PM            23,254 keymap.lua
09/03/2016  03:37 PM            23,254 lisp-keymap.lua
09/03/2016  03:37 PM             1,910 lowspec.lua
09/03/2016  03:37 PM               703 mainshader-test.lua
10/05/2016  07:22 PM             3,883 mainshader.lua
09/03/2016  03:37 PM             3,492 mouseshader.lua
09/03/2016  03:37 PM             1,074 mouseshader2.lua
09/03/2016  03:37 PM         1,956,582 music.mp3
09/03/2016  03:37 PM               148 namespace.lua
01/06/2016  11:59 PM               361 opengl-prelude.lua
17/03/2016  09:42 PM    <DIR>          p4th
15/04/2016  09:02 PM             2,708 pcraft.lua
09/03/2016  03:37 PM             4,884 pentagon.lua
09/03/2016  03:37 PM             1,199 playtime.lua
09/03/2016  03:37 PM               506 playtune.lua
04/06/2016  12:52 AM             3,900 polyline.lua
04/06/2016  12:52 AM               199 polyline.lua - command
04/06/2016  12:52 AM             3,168 polylinedribble1.lua
04/06/2016  12:52 AM               199 polylinedribble2.lua
04/06/2016  12:52 AM               748 polylineresults.lua
13/05/2016  01:18 AM         2,428,416 praxis.exe
01/06/2016  11:18 PM             3,923 prod.lua
09/03/2016  03:37 PM               837 prod2.lua
09/03/2016  03:37 PM             1,036 queue.lua
13/05/2016  02:01 AM               890 ReadMe.txt
09/03/2016  03:37 PM               907 reflect.lua
09/03/2016  03:37 PM               449 render2.lua
09/03/2016  03:37 PM               538 renderbuffer.lua
09/03/2016  03:37 PM             3,184 renderchars.lua
17/03/2016  09:42 PM             3,281 renderchars.scm
09/05/2016  08:19 PM             3,202 render_to_fbo.lua
09/03/2016  03:37 PM               200 replacefn.lua
09/03/2016  03:37 PM               912 roulette.lua
09/03/2016  03:37 PM             1,268 schedulerthing.lua
09/03/2016  03:37 PM               105 schedulingwidget.lua
09/03/2016  03:37 PM               427 scratch.lua
09/03/2016  03:37 PM             4,907 server.lua
09/03/2016  03:37 PM             2,716 server2.lua
09/03/2016  03:37 PM             2,007 server3.lua
09/03/2016  03:37 PM             1,341 shader-draw.lua
23/04/2016  01:08 PM             8,034 shader-fluid.lua
09/03/2016  03:37 PM             1,478 shader.lua
09/03/2016  03:37 PM             2,732 shader2.lua
08/05/2016  01:26 AM             1,304 shaderversionsupport.lua
04/06/2016  01:28 AM               100 shellcapture.lua
09/03/2016  03:37 PM             1,808 shiftenter.lua
09/03/2016  03:37 PM               494 skythings.lua
09/03/2016  03:37 PM             1,662 slider.lua
09/03/2016  03:37 PM             2,473 spirograph.lua
09/03/2016  03:37 PM             5,629 spirograph3d.lua
09/03/2016  03:37 PM             1,077 streamer.lua
20/04/2016  06:57 PM             1,851 stringtextest.lua
09/03/2016  03:37 PM            11,674 syntax2015.lua
09/03/2016  03:37 PM             7,958 synth.lua
15/04/2016  09:02 PM             8,358 synth2.lua
09/03/2016  03:37 PM             4,090 synthmain.lua
09/03/2016  03:37 PM               685 synthrender.lua
30/05/2016  10:26 PM               161 tasks.lua
09/03/2016  03:37 PM             1,642 taskstack.lua
03/06/2016  07:41 PM               136 template.lua
03/06/2016  07:41 PM               211 templatetest.lua
27/04/2016  02:18 AM               620 test.lua
18/04/2016  01:27 AM            23,973 textshader-font-choose.glsl
18/04/2016  08:00 PM            25,388 textshader-font-mix.glsl
21/04/2016  11:58 PM            19,814 textshader-font-orig.glsl
02/06/2016  12:55 AM             4,490 textshader-fragment.glsl
04/05/2016  08:07 PM             1,020 textshader-generatefont.lua
18/04/2016  08:00 PM             6,279 textshader-string.glsl
10/05/2016  06:21 PM               162 textshader-vertex.glsl
02/06/2016  12:26 AM             8,926 textshader.lua
23/05/2016  02:01 AM               886 textshader.lua - command
09/03/2016  03:37 PM               340 thoughts.lua
09/03/2016  03:37 PM             1,354 tiles.lua
09/03/2016  03:37 PM               285 timing.lua
09/03/2016  03:37 PM             3,140 toyball.lua
09/03/2016  03:37 PM             1,013 trace2-2.lua
09/03/2016  03:37 PM               544 trace2.lua
02/06/2016  10:48 PM             3,277 tracebackthing.lua
09/03/2016  03:37 PM             1,169 turtle.lua
09/03/2016  03:37 PM               249 turtletest.lua
09/03/2016  03:37 PM               320 turtlewidget.lua
09/03/2016  03:37 PM               148 turtlewot.lua
09/03/2016  03:37 PM               663 tweaks.lua
09/03/2016  03:37 PM             1,442 uiwidgets.lua
09/03/2016  03:37 PM               332 unpack2.lua
23/05/2016  02:01 AM               967 Untitled
09/05/2016  08:19 PM               961 update.lua
09/03/2016  03:37 PM             1,529 util.lua
09/03/2016  03:37 PM               445 varchanger.lua
09/03/2016  03:37 PM             1,916 varchangertest.lua
09/03/2016  03:37 PM             1,527 widgetgroup.lua
09/03/2016  03:37 PM             1,015 widgets.lua
09/03/2016  03:37 PM             3,110 widgets2.lua
02/06/2016  10:48 PM               543 zarray.lua
02/06/2016  12:57 AM             5,671 zstar.lua
02/06/2016  12:57 AM             1,073 zstartest.lua
             138 File(s)      9,182,480 bytes
               3 Dir(s)  97,857,282,048 bytes free






do
  closeBuffer()
  switchToBuffer("initial")
end

