On Sat, Mar 16, 2019 at 06:08:45PM -0700, Forrest Curo wrote:
> Sending to a port from a terminal & piping to 'od -c' produces lines like:
> 0000000 i 1 0 1 3 3 0 0 . 5 \n i
> [The 'i' above is the beginning of the next score line which continues
> Sending the same line from tcl to 'od -c' produces:
> 0000000 i 1 0 1 3 3 0 0 . 5 \r \n
> The tcl line is one character ( '\r' ) longer.
> In the tcl routine, after I set a socket name ie 'ch'
> and run:
> fconfigure $ch -buffering line -translation lf
> tcl sends the shell-terminal format and
> ought to work, then.
Sounds like the return char is screwing things up, then.
Strange -- I'd have thought that csound would be happy with that.
(I assume p4 was "33" in the above!)
Don't know tcl (last played with it 25(?) years ago!) but I hope
> I didn't know about 'od', thanks much!!!
Welcome! It's a useful tool in many situations...
-- Pete --
Csound mailing list
[log in to unmask]
Send bugs reports to
Discussions of bugs and features can be posted here