/fseek -w seems to work fine for me. Try this alias:
alias testfseek {
write -c blah.txt $+(#channel1,$lf,#channel2,$lf,#channel3,$lf,#channel4)
.fopen a blah.txt
.fseek -w a *2*
echo 4 -a $fread(a)
.fseek -w a *4*
echo 4 -a $fread(a)
.fseek a 0
.fseek -w a *3*
echo 4 -a $fread(a)
.fclose a
}I typed /testfseek and it worked as expected: it echoed
#channel2
#channel4
#channel3As my example alias implies, /fseek -w cannot seek backwards. For example, if you /fseek'ed to *4* you cannot /fseek to *3* directly. To do that, you'd have to reset the pointer to the beginning of the file (or to another point that you know it is before *3*) with
/fseek <name> 0.