Lines 135-140
Link Here
|
135 |
{ |
135 |
{ |
136 |
if ( strcmp(argv[i],"-nw") == 0) |
136 |
if ( strcmp(argv[i],"-nw") == 0) |
137 |
{ no_window = 1; } |
137 |
{ no_window = 1; } |
|
|
138 |
if ( strcmp(argv[i],"-nc") == 0) |
139 |
{ no_window = 2; } |
138 |
if ( strcmp(argv[i],"-nwni") == 0) |
140 |
if ( strcmp(argv[i],"-nwni") == 0) |
139 |
{ no_window = 1; } |
141 |
{ no_window = 1; } |
140 |
else if ( strcmp(argv[i],"-display") == 0) |
142 |
else if ( strcmp(argv[i],"-display") == 0) |
Lines 218-223
Link Here
|
218 |
{ |
220 |
{ |
219 |
/* initialize scilab interp */ |
221 |
/* initialize scilab interp */ |
220 |
C2F(inisci)(&ini, &memory, &ierr); |
222 |
C2F(inisci)(&ini, &memory, &ierr); |
|
|
223 |
if (no_window==2) { |
224 |
inittk(); |
225 |
} |
221 |
if (ierr > 0) sci_exit(1) ; |
226 |
if (ierr > 0) sci_exit(1) ; |
222 |
/* execute the initial script and enter scilab */ |
227 |
/* execute the initial script and enter scilab */ |
223 |
C2F(scirun)(startup,strlen(startup)); |
228 |
C2F(scirun)(startup,strlen(startup)); |
Lines 303-310
Link Here
|
303 |
} options[] = { |
308 |
} options[] = { |
304 |
{ "-help", "print out this message" }, |
309 |
{ "-help", "print out this message" }, |
305 |
{ "-ns", "no startup mode " }, |
310 |
{ "-ns", "no startup mode " }, |
306 |
{ "-nw", "no window mode " }, |
311 |
{ "-nw", "text mode (no graphics)" }, |
307 |
{ "-nwni", "no window mode also" }, |
312 |
{ "-nwni", "text mode also" }, |
|
|
313 |
{ "-nc", "no gui command window" }, |
308 |
{ "-display displayname", "X server to contact" }, |
314 |
{ "-display displayname", "X server to contact" }, |
309 |
{ "-name string", "client instance, icon, and title strings" }, |
315 |
{ "-name string", "client instance, icon, and title strings" }, |
310 |
{ "-xrm resourcestring", "additional resource specifications" }, |
316 |
{ "-xrm resourcestring", "additional resource specifications" }, |