Return to file2.sm1 CVS log | Up to [local] / OpenXM / src / kan96xx / plugin |
File: [local] / OpenXM / src / kan96xx / plugin / file2.sm1 (download)
Revision 1.4, Thu Dec 16 08:42:14 2004 UTC (19 years, 6 months ago) by takayama
Calling gnuplot by using mkfifo, popen, ... to enable mouse actions. Ref: gpReadMouseTest.c in gnuplot.info But, there still remains bug to open the fifo file. In order to try the new implementation, try /gnuplot.callingMethod 1 def in gnuplot.sm1 |
% $OpenXM: OpenXM/src/kan96xx/plugin/file2.sm1,v 1.4 2004/12/16 08:42:14 takayama Exp $ [(plugin-file2) [ $[(fp2clearReadBuf) file-fp2] extension c$ $[(fp2dumpBuffer) file-fp2] extension c$ $[(fp2fdopen) fd-num] extension file-fp2$ $[(fp2fflush) file-fp2] extension result$ $[(fp2fclose) file-fp2] extension result. fp2close is used for pclose, too.$ $[(fp2fgetc) file-fp2] extension c$ $[(fp2fileno) file-fp2] extension fd$ %new $[(fp2fopen) name mode] extension file-fp2$ %new -> done. $[(fp2fputc) c file-fp2] extension c$ $[(fp2mkfifo) name] extension status$ %new -> done $[(fp2openForRead) name] extension fd-num$ $[(fp2openForWrite) name] extension fd-num$ $[(fp2popen) name mode] extension file-fp2$ %new $[(fp2pushfile) name] extension array-of-int$ $[(fp2select) file-fp2 t] extension status$ %new -> done. 1? ]] putUsages