WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 ... 8 9 [10]
91
Raspberry Pi / Re: split a string
« Last post by jnovacek on May 20, 2016, 01:25:13 PM »
in other distributions it works, it does not work on Raspberry PI (Tiny Core Linux 7.0),
I get the message "syntax error: unexpected redirection"
92
Raspberry Pi / Re: split a string
« Last post by bmarkus on May 20, 2016, 01:14:27 PM »
This question has nothing to do with RPi nor TC. Please use generic support forums and Google. First hit in Google search is

http://stackoverflow.com/questions/918886/how-do-i-split-a-string-on-a-delimiter-in-bash

Once again. Use this forum for TC specific questions only.

THANKS!
93
Raspberry Pi / split a string
« Last post by jnovacek on May 20, 2016, 12:40:25 PM »
how to split a string in bash?
IFS=', ' read -r -a array <<< "$string"
does not work

thanks
95
TCE Talk / Re: Fifth Browser Questions
« Last post by thane on May 20, 2016, 08:43:56 AM »
Thanks for the replies!

I have no experience compiling programs in TC (or Linux generally). However I have written/compiled Java, COBOL, and C programs on AIX, which may be in-the-ballpark similar. I'll look into it.

Thane
96
That's what I've stated and wrote before. cdrom and scsi drivers.
BTW, the latest is this: http://tinycorelinux.net/7.x/armv7/releases/RPi2/src/kernel/4.1.20-piCore_v7+_modules.tar.xz
And how to build the extension, look in the wiki, or corebook: http://tinycorelinux.net/book.html.
97
sg.ko, sr_mod.ko and cdrom.ko kernel modules are not part of the base but built. For 7.x armv7 you can find them in this file:

http://tinycorelinux.net/7.x/armv7/releases/RPi2/src/kernel/4.1.13-piCore_v7+_modules.tar.xz
 
98
Raspberry Pi / Re: Lightweight Web Server on my RPI2
« Last post by gavinmc42 on May 19, 2016, 04:45:39 PM »
Missing index.html?
That is the default for busybox-httpd

call below code a file ledon.cgi, stick it in www/cgi-bin/
button on the HTML5 page calls the ledon.cgi file, now you have web control of GPIO.

#!/bin/sh
#echo "Content-type: text/html"
#echo ""
#echo "LED 22 is on"
echo 1 > /sys/class/gpio/gpio22/value
echo "HTTP/1.1 303 Found"
echo "Location: /index.html"

.cgi files are just scripts, could be a shell file calling micropython, lua, luajit etc
Anything that can run by calling it.

The trick to CGI is the echo "HTTP1.1 xxx" codes, 204, 303 etc

99
Remasters / Remixes - Unofficial / Re: Linux-Libre kernel
« Last post by gerald_clark on May 19, 2016, 04:40:07 PM »
Why?  All I see is a bunch of unsubstantiated claims.
100
Remasters / Remixes - Unofficial / Linux-Libre kernel
« Last post by mr.h on May 19, 2016, 04:24:43 PM »
Hello All,
             Does anyone know of any projects/remasters of Tinycore using the Linux-Libre kernel with a mind to creating a 'free' (as in the Free Software Federation) version of Tinycore? Any info at all would be much appreciated.

Muchas Gracias!
Pages: 1 ... 8 9 [10]