Hi,
while I was on holiday I made some changes to
/n/sources/contrib/maht/rc/httplib.rc
I added the ability to request a specific byte range via http-ranges : -r
offset count
and add the capability to include a referer header : -e referer
I also made reponses that were chunked de-chunked
(onl
I did some work on /n/sources/contrib/maht/imgfs
stripped out a load of stuff and brought import_ppm inside rather than an
external tool
imgfs
echo glenda > /n/imgfs/new
echo import ppm /n/sources/contrib/maht/imgfs/glenda.ppm >
/n/imgfs/images/glenda/ctrl
ls -l /n/imgfs/images/glenda/*
--rw-
Hi,
this one was an experiment
/n/sources/contrib/maht/actionfs.c
invoked with a regex like actionfs (file.mpg).([0-9]+).(ppm)
if you then
cat /n/actionfs/file.mpg.100.ppm
actionfs responds with the output from executing
/bin/action-read $fd file.mpg.100.ppm file.mpg 100 ppm
where $fd wil
My first stab at a TIL was in AVR assembler but it was more fun to write the
code than to find a way to use it.
I still don't have a use but at least I don't have to run it on the AVR anymore
to experiment
first an example run
cpu% /n/sources/contrib/maht/rc/til
abc¯def
123
emit
abc def
123
:
oops I forgot carriage returns get converted in email
imagine # is a ^m
pu% /n/sources/contrib/maht/rc/til
abc¯def#123#
emit
abc def
123
: emit4 emit emit emit emit
# 1 2 3 emit4
321
1 # swp 3 2 swp dup dup drop emit4 emit
3321
does this make sense / of interest to anyone :)
matt