sprintf(str, “C0666 %d %s\n”,CHANNELS*PIXELS*
LINES,
name);
write(sd, str, strlen(str));
n = read(sd, tmp_str, 20);
#ifdef DEBUG
printf(“read %d\n”, n);
#endif
for(i=0; i<LINES; i
++
) {
fread(line, PIXELS*CHANNELS, 1, piccy);
write(sd, line, PIXELS*CHANNELS);
}
write(sd, “”, 1); /* send the final null */
n = read(sd, tmp_str, 20);
#ifdef DEBUG
printf(“read %d\n”, n);
#endif
}
void rcpFrom(int sd, FILE *piccy, int frame)
{
char line[PIXELS*CHANNELS];
char str[80], tmp_str[30];
int i, n, chunk, length;
sprintf(str, “rcp -f %d”, frame);
write(sd, str, strlen(str)+1);
write(sd, “”, 1);
/* send a null */
n = read(sd, tmp_str, 30); /* get the file
info */
File Formats
Diskus Technical Guide
12-38
Appendix
9100-0217-02 - SEP 95
Summary of Contents for Diskus
Page 1: ...Diskus Digital Disk Recorder Manual ...
Page 477: ...NOTES Diskus Operations Index 9100 0217 02 SEP 95 Index xvii ...
Page 478: ...NOTES Index Diskus Operations xviii Index 9100 0217 02 SEP 95 ...
Page 479: ...NOTES Diskus Operations Index 9100 0217 02 SEP 95 Index xix ...
Page 480: ...NOTES Index Diskus Operations xx Index 9100 0217 02 SEP 95 ...