Unable to view pdf files

2019-10-11 Thread Blair, Charles E III
I have not been able to view pdf files, trying: (1) midori only offers applications for djvu, jpg, and dvi files. (2) ghostscript was listed as already installed, but gv file.pdf yields "command not found," and "man gv" and "man ghostcript" also don't work. Neither did re-installing. (3)

Re: my C arrays are too large

2019-09-13 Thread Blair, Charles E III
Thank you very much for your help. Moving the big array to a global variable made the problem go away. Before that, I tried ulimit -Ss 8192 After this, the segmentation error message was still there. --- My e-ma

Re: My C arrays are too large

2019-09-13 Thread Blair, Charles E III
My apologies for failing to reply on-list. I don't know how :( My machine is 64 bit, and I hope I installed the correct version of cygwin. This program: #include int main(){char *a[50][8192]; return 0;} compiles with gcc (no special options) but gives "Segmentation fault". --

My arrays in C are too large

2019-09-13 Thread Blair, Charles E III
I have been using on other machines a program that includes char *a[50][8192]; but this declaration, by itself, gives "segmentation" errors. [8192 is BUFSIZ on other machines, although it seems to be 1024 here. The program uses 50 different permutations on strings of size BUFSIZ.] -

printf, "unable to initialize PRN" message

2019-09-10 Thread Blair, Charles E III
I have just installed cygwin (64 bit) and gcc. The "hello world" program works, but #include int main(){printf( "%c\n" , 'X' );return 0;} leads to Unable to initialize device PRN Unable to initialize device PRN -- Problem reports: http://cygwin.com/problems.html FAQ: h