Errors in nano-x add_to_full3.sh script

Derek Johansen <[email protected]> Sat, 18 Mar 2017 22:17:56 -0600
Newsgroups org.kernel.vger.linux-8086
Message-ID <CAOv0vdk=ewzn3LtG=3--crdLErp2QUU7g4guCGKV1Lco_-kfmA@mail.gmail.com>
1) I get the following errors when I run sudo ./add_to_full3.sh nterm:

djohanse@djohanse-VirtualBox:~/elk2/elks/nano-X/src$ sudo
./add_to_full3.sh nterm
Adding nano-X demos to ELKS full3 image

Enter demo file in bin directory to copy to full3 image as script parameter

./add_to_full3.sh: 9: ./add_to_full3.sh: shopt: not found
./add_to_full3.sh: 17: [: !=: unexpected operator
umount: full3: not mounted
umount: /mnt/elks: not mounted
Filesystem     1K-blocks  Used Available Use% Mounted on
/dev/loop0          1424  1286       138  91% /mnt/elks
-e
Run nterm in full3 with
qemu.sh

2)  When I run .sudo ./qemu.sh to bring up ELKS, then try to run nterm,
about 50% of the time I get a "not enough memory" error.  The other
times I get an xterm which is very cool.

Thanks,
Derek