Hi,

currently I am still doing old-school "printf()-debugging", knowing
that it's '(print arg)' rather than 'printf( fmt, val,...);". :)

Since my program reads a bigger textfile of shortwave broadcasters,
their frequencies, on-air times, etc...., reformats the whole thing
and (currently only to proof, everything is correct) prints it.

Since I need to now, where strings are starting and ending, I am using
'print' for that rather than 'pretty-print' or 'display'.

I am doing all this on UNIX/Linux.

To give myself a chance of reading the output I do this

racket shwrefmt.rkt | vim -

which reads everything, which goes to stdout into vim.

As long as I am using 'display', everything is fine.
When using 'print' the output mutates to smoke and vanishes in the pipe -
Vim starts with nothing to show.
'print'ing to the console works fine, though.

Giving at the REPL
> (current-output-port)
it says
#<output-port:stdout>

which looks like the good-old STDOUT of UNIX to me...

Where is the output gone? <<scratching my head>>

Thanks a lot for any help in advance!
Cheers,
Meino





-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to