1 /*
2 gc_computers.c - Functions for the Computers section
3
4 Geek Code Generator v1.7.3 - Generates your geek code
5 Copyright (C) 1999-2003 Chris Gushue <chris@blackplasma.net>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21
22 #include <stdio.h>
23 #include "geekcode.h"
24
get_computers(void)25 int get_computers(void)
26 {
27 int selection = 99;
28
29 do
30 {
31 clearscreen();
32 printf("Computers Page %i of %i\n", PAGES-(PAGES-6), PAGES);
33 printf("===============================================================================\n");
34 printf("1 C++++ I'll be the first in line to get the new cybernetic interface installed\n");
35 printf(" into my skull.\n");
36 printf("2 C+++ You mean there is life outside of Internet? You're shittin' me!\n");
37 printf(" I haven't dragged myself to class in weeks.\n");
38 printf("3 C++ Computers are a large part of my existence. When I get up in the\n");
39 printf(" morning the first thing I do is log myself in. I play games or mud on\n");
40 printf(" weekends, but still manage to stay off academic probation.\n");
41 printf("4 C+ Computers are fun and I enjoy using them. I play a mean game of Doom\n");
42 printf(" and can use a word processor without resorting to the manual too often.\n");
43 printf(" I know that a 3.5\" disk is not a hard disk. I also know that when it\n");
44 printf(" says 'press any key to continue', I don't have to look for a key\n");
45 printf(" labeled ANY\n");
46 printf("5 C Computers are a tool, nothing more. I use it when it serves my purpose.\n");
47 printf("6 C- Anything more complicated than my calculator and I'm screwed.\n");
48 printf("7 C-- Where's the ON switch?\n");
49 printf("8 C--- If you even mention computers, I will rip your head off!\n");
50 printf("\n");
51 printf("\n");
52 printf("\n");
53 printf("\n");
54 printf("\n");
55 printf("Enter your Computers code number here [0 to quit]: ");
56 scanf("%d", &selection);
57 clear_kb();
58 } while (selection < 0 || selection > 8);
59
60 if (selection == 0)
61 exit(1);
62 else
63 return selection;
64 }
65
get_unix_type(void)66 int get_unix_type(void)
67 {
68 int selection = 99;
69
70 do
71 {
72 clearscreen();
73 printf("UNIX Type Page %ia of %i\n", PAGES-(PAGES-7), PAGES);
74 printf("===============================================================================\n");
75 printf(" 1 B - BSD (use unless your BSDish system is mentioned below)\n");
76 printf(" 2 L - GNU/Linux\n");
77 printf(" 3 U - Ultrix\n");
78 printf(" 4 A - AIX\n");
79 printf(" 5 V - SysV\n");
80 printf(" 6 H - HPUX\n");
81 printf(" 7 I - IRIX\n");
82 printf(" 8 O - OSF/1 (aka Digital Unix)\n");
83 printf(" 9 S - Sun OS/Solaris\n");
84 printf("10 C - SCO Unix\n");
85 printf("11 X - NeXT\n");
86 printf("12 * - Some other one not listed\n");
87 printf("\n");
88 printf("\n");
89 printf("\n");
90 printf("\n");
91 printf("\n");
92 printf("\n");
93 printf("\n");
94 printf("\n");
95 printf("\n");
96 printf("Enter your UNIX Type code number here [0 to quit]: ");
97 scanf("%d", &selection);
98 clear_kb();
99 } while (selection < 0 || selection > 12);
100
101 if (selection == 0)
102 exit(1);
103 else
104 return selection;
105 }
106
get_unix(int x)107 int get_unix(int x)
108 {
109 /* Auto UNIX Type display added in v1.2 */
110 int selection = 99;
111 char *unix_type;
112
113 switch (x)
114 {
115 case 1: unix_type="B"; break;
116 case 2: unix_type="L"; break;
117 case 3: unix_type="U"; break;
118 case 4: unix_type="A"; break;
119 case 5: unix_type="V"; break;
120 case 6: unix_type="H"; break;
121 case 7: unix_type="I"; break;
122 case 8: unix_type="O"; break;
123 case 9: unix_type="S"; break;
124 case 10: unix_type="C"; break;
125 case 11: unix_type="X"; break;
126 case 12: unix_type="*"; break;
127 default: unix_type=""; break;
128 }
129
130 do
131 {
132 clearscreen();
133 printf("UNIX Page %ib of %i\n", PAGES-(PAGES-7), PAGES);
134 printf("===============================================================================\n");
135 printf("1 U%s++++ I am the sysadmin. If you try and crack my machine don't be surprised\n", unix_type);
136 printf(" if the municipal works department gets an \"accidental\" computer\n");
137 printf(" generated order to start a new landfill on your front lawn or your\n");
138 printf(" quota is reduced to 4Kb.\n");
139 printf("2 U%s+++ I don't need to crack /etc/passwd because I just modified su so that\n", unix_type);
140 printf(" it doesn't prompt me. The admin staff doesn't even know I'm here. If\n");
141 printf(" you don't understand what I just said, this category does NOT apply\n");
142 printf(" to you!\n");
143 printf("3 U%s++ I've got the entire admin ticked at me because I am always using all\n", unix_type);
144 printf(" of the CPU time and trying to run programs that I don't have access\n");
145 printf(" to. I'm going to try cracking /etc/passwd next week, just don't tell\n");
146 printf(" anyone.\n");
147 printf("4 U%s+ I not only have a Unix account, but slam VMS any chance I get.\n", unix_type);
148 printf("5 U%s I have a Unix account to do my stuff in.\n", unix_type);
149 printf("6 U%s- I have a VMS account.\n", unix_type);
150 printf("7 U%s-- I've seen Unix and didn't like it. DEC rules!\n", unix_type);
151 printf("8 U%s--- Unix geeks are actually nerds in disguise.\n", unix_type);
152 printf("\n");
153 printf("\n");
154 printf("\n");
155 printf("\n");
156 printf("Enter your UNIX code number here [0 to quit]: ");
157 scanf("%d", &selection);
158 clear_kb();
159 } while (selection < 0 || selection > 8);
160
161 if (selection == 0)
162 exit(1);
163 else
164 return selection;
165 }
166
get_perl(void)167 int get_perl(void)
168 {
169 int selection = 99;
170
171 do
172 {
173 clearscreen();
174 printf("Perl Page %i of %i\n", PAGES-(PAGES-8), PAGES);
175 printf("===============================================================================\n");
176 printf(" 1 P+++++ I am Larry Wall, Tom Christiansen, or Randal Schwartz.\n");
177 printf(" 2 P++++ I don't write Perl, I speak it. Perl has superseded all other\n");
178 printf(" programming languages. I firmly believe that all programs can be\n");
179 printf(" reduced to a Perl one-liner. I use Perl to achieve U+++ status.\n");
180 printf(" 3 P+++ Perl is a very powerful programming tool. Not only do I no longer\n");
181 printf(" write shell scripts, I also no longer use awk or sed. I use Perl for\n");
182 printf(" all programs of less than a thousand lines.\n");
183 printf(" 4 P++ Perl is a powerful programming tool. I don't write shell scripts\n");
184 printf(" anymore because I write them in Perl.\n");
185 printf(" 5 P+ I know of Perl. I like Perl. I just haven't learned much Perl, but it\n");
186 printf(" is on my agenda.\n");
187 printf(" 6 P I know Perl exists, but that's all.\n");
188 printf(" 7 P- What's Perl got that awk and sed don't have?\n");
189 printf(" 8 P-- Perl users are sick, twisted programmers who are just showing off.\n");
190 printf(" 9 P--- Perl combines the power of sh, the clarity of sed, and the\n");
191 printf(" performance of awk, with the simplicity of C. It should be banned.\n");
192 printf("10 P! Our paranoid admin won't let us install Perl!\n");
193 printf(" Says it's a 'hacking tool'.\n");
194 printf("\n");
195 printf("\n");
196 printf("\n");
197 printf("Enter your Perl code number here [0 to quit]: ");
198 scanf("%d", &selection);
199 clear_kb();
200 } while (selection < 0 || selection > 10);
201
202 if (selection == 0)
203 exit(1);
204 else
205 return selection;
206 }
207
get_linux(void)208 int get_linux(void)
209 {
210 int selection = 99;
211
212 do
213 {
214 clearscreen();
215 printf("GNU/Linux Page %i of %i\n", PAGES-(PAGES-9), PAGES);
216 printf("===============================================================================\n");
217 printf("1 L+++++ I am Linus, grovel before me.\n");
218 printf("2 L++++ I am a Linux wizard. I munch C code for breakfast and have enough room\n");
219 printf(" left over for kernel debugging. I have so many patches installed that\n");
220 printf(" I lost track about ten versions ago. Linux newbies consider me a god\n");
221 printf("3 L+++ I use Linux exclusively on my system. I monitor comp.os.linux.* and\n");
222 printf(" even answer questions sometimes.\n");
223 printf("4 L++ I use Linux ALMOST exclusively on my system. I've given up trying to\n");
224 printf(" achieve Linux god status, but welcome the OS as a replacement for DOS\n");
225 printf(" I only boot to DOS to play games.\n");
226 printf("5 L+ I've managed to get Linux installed and even used it a few times. It\n");
227 printf(" seems like it is just another OS.\n");
228 printf("6 L I know what Linux is, but that's about all.\n");
229 printf("7 L- I have no desire to use Linux and frankly don't give a rat's patootie\n");
230 printf(" about it. There are other, better, operating systems out there. Like\n");
231 printf(" Mac, DOS, or Amiga-OS. Or, better yet even, would be another free Unix\n");
232 printf(" OS like FreeBSD.\n");
233 printf("8 L-- Unix sucks. Because Linux = Unix, Linux sucks. I worship Bill Gates.\n");
234 printf("9 L--- I am Bill Gates.\n");
235 printf("\n");
236 printf("\n");
237 printf("\n");
238 printf("Enter your GNU/Linux code number here [0 to quit]: ");
239 scanf("%d", &selection);
240 clear_kb();
241 } while (selection < 0 || selection > 9);
242
243 if (selection == 0)
244 exit(1);
245 else
246 return selection;
247 }
248
get_emacs(void)249 int get_emacs(void)
250 {
251 int selection = 99;
252
253 do
254 {
255 clearscreen();
256 printf("Emacs Page %i of %i\n", PAGES-(PAGES-10), PAGES);
257 printf("===============================================================================\n");
258 printf("1 E+++ Emacs is my login shell! M-x doctor is my psychologist! I use Emacs to\n");
259 printf(" control my TV and toaster oven! All you vi people don't know what you\n");
260 printf(" are missing! I read alt.religion.emacs, alt.sex.emacs and comp.os.emacs\n");
261 printf("2 E++ I know and use elisp regularly!\n");
262 printf("3 E+ Emacs is great! I read my mail and news with it!\n");
263 printf("4 E Yeah, I know what Emacs is, and use it as my regular editor.\n");
264 printf("5 E- Emacs is too big and bloated for my tastes.\n");
265 printf("6 E-- Emacs is just a fancy word processor.\n");
266 printf("7 E--- Emacs sucks! vi forever!\n");
267 printf("8 E---- Emacs sucks! pico forever!\n");
268 printf("\n");
269 printf("\n");
270 printf("\n");
271 printf("\n");
272 printf("\n");
273 printf("\n");
274 printf("\n");
275 printf("\n");
276 printf("\n");
277 printf("\n");
278 printf("\n");
279 printf("Enter your Emacs code number here [0 to quit]: ");
280 scanf("%d", &selection);
281 clear_kb();
282 } while (selection < 0 || selection > 8);
283
284 if (selection == 0)
285 exit(1);
286 else
287 return selection;
288 }
289
get_www(void)290 int get_www(void)
291 {
292 int selection = 99;
293
294 do
295 {
296 clearscreen();
297 printf("World Wide Web Page %i of %i\n", PAGES-(PAGES-11), PAGES);
298 printf("===============================================================================\n");
299 printf("1 W+++ I am a WebMaster. Don't even think about trying to view my page without\n");
300 printf(" the latest version of Netscape. When I'm not on my normal net connection\n");
301 printf(" I surf the web using my Newton and a cellular modem.\n");
302 printf("2 W++ I have a homepage. I surf daily. My homepage is advertised in my .sig\n");
303 printf("3 W+ I have the latest version of Netscape, and wander the web only when\n");
304 printf(" there is something specific I'm looking for.\n");
305 printf("4 W I have a browser and a connection. Occasionally I'll use them.\n");
306 printf("5 W- The web is really a pain. Life was so much easier when you could\n");
307 printf(" transfer information by simple ASCII. Now everyone won't even consider\n");
308 printf(" your ideas unless you spiff them up with bandwidth-consuming pictures\n");
309 printf(" and pointless information links.\n");
310 printf("6 W-- A pox on the web! It wastes time and bandwidth and just gives the\n");
311 printf(" uneducated morons a reason to clutter the Internet.\n");
312 printf("\n");
313 printf("\n");
314 printf("\n");
315 printf("\n");
316 printf("\n");
317 printf("\n");
318 printf("\n");
319 printf("\n");
320 printf("Enter your World Wide Web code number here [0 to quit]: ");
321 scanf("%d", &selection);
322 clear_kb();
323 } while (selection < 0 || selection > 6);
324
325 if (selection == 0)
326 exit(1);
327 else
328 return selection;
329 }
330
get_usenet(void)331 int get_usenet(void)
332 {
333 int selection = 99;
334
335 do
336 {
337 clearscreen();
338 printf("USENET News Page %i of %i\n", PAGES-(PAGES-12), PAGES);
339 printf("===============================================================================\n");
340 printf(" 1 N++++ I am Tim Pierce.\n");
341 printf(" 2 N+++ I read so many newsgroups that the next batch of news comes in before\n");
342 printf(" I finish reading the last batch, and I have to read for about 2 hours\n");
343 printf(" straight before I'm caught up on the morning's news. Then there's the\n");
344 printf(" afternoon...\n");
345 printf(" 3 N++ I read all the news in a select handful of groups.\n");
346 printf(" 4 N+ I read news recreationally when I have some time to kill.\n");
347 printf(" 5 N Usenet News? Sure, I read that once.\n");
348 printf(" 6 N- News is a waste of my time and I avoid it completely.\n");
349 printf(" 7 N-- News sucks! 'Nuff said.\n");
350 printf(" 8 N--- I work for Time magazine.\n");
351 printf(" 9 N---- I am a Scientologist.\n");
352 printf("10 N* All I do is read news.\n");
353 printf("\n");
354 printf("\n");
355 printf("\n");
356 printf("\n");
357 printf("\n");
358 printf("\n");
359 printf("\n");
360 printf("\n");
361 printf("Enter your USENET News code number here [0 to quit]: ");
362 scanf("%d", &selection);
363 clear_kb();
364 } while (selection < 0 || selection > 10);
365
366 if (selection == 0)
367 exit(1);
368 else
369 return selection;
370 }
371
get_oracle(void)372 int get_oracle(void)
373 {
374 int selection = 99;
375
376 do
377 {
378 clearscreen();
379 printf("USENET Oracle Page %i of %i\n", PAGES-(PAGES-13), PAGES);
380 printf("===============================================================================\n");
381 printf("1 o+++++ I am Steve Kinzler.\n");
382 printf("2 o++++ I am an active Priest.\n");
383 printf("3 o+++ I was a Priest, but have retired.\n");
384 printf("4 o++ I have made the Best of Oracularities.\n");
385 printf("5 o+ I have been incarnated at least once.\n");
386 printf("6 o I've submitted a question, but it has never been incarnated.\n");
387 printf("7 o- I sent my question to the wrong group and I got flamed.\n");
388 printf("8 o-- Who needs answers from a bunch of geeks anyhow?\n");
389 printf("\n");
390 printf("\n");
391 printf("\n");
392 printf("\n");
393 printf("\n");
394 printf("\n");
395 printf("\n");
396 printf("\n");
397 printf("\n");
398 printf("\n");
399 printf("\n");
400 printf("\n");
401 printf("\n");
402 printf("Enter your USENET Oracle code number here [0 to quit]: ");
403 scanf("%d", &selection);
404 clear_kb();
405 } while (selection < 0 || selection > 8);
406
407 if (selection == 0)
408 exit(1);
409 else
410 return selection;
411 }
412
get_kibo(void)413 int get_kibo(void)
414 {
415 int selection = 99;
416
417 do
418 {
419 clearscreen();
420 printf("Kibo Page %i of %i\n", PAGES-(PAGES-14), PAGES);
421 printf("===============================================================================\n");
422 printf(" 1 K++++++ I am Kibo.\n");
423 printf(" 2 K+++++ I've had sex with Kibo.\n");
424 printf(" 3 K++++ I've met Kibo.\n");
425 printf(" 4 K+++ I've gotten mail from Kibo.\n");
426 printf(" 5 K++ I've read Kibo.\n");
427 printf(" 6 K+ I like Kibo.\n");
428 printf(" 7 K I know who Kibo is.\n");
429 printf(" 8 K- I don't know who Kibo is.\n");
430 printf(" 9 K-- I dislike Kibo.\n");
431 printf("10 K--- I am currently hunting Kibo down with the intent of ripping his\n");
432 printf(" still-beating heart of out his chest and showing it to him as\n");
433 printf(" he dies.\n");
434 printf("11 K---- I am Xibo.\n");
435 printf("\n");
436 printf("\n");
437 printf("\n");
438 printf("\n");
439 printf("\n");
440 printf("\n");
441 printf("\n");
442 printf("\n");
443 printf("Enter your Kibo code number here [0 to quit]: ");
444 scanf("%d", &selection);
445 clear_kb();
446 } while (selection < 0 || selection > 11);
447
448 if (selection == 0)
449 exit(1);
450 else
451 return selection;
452 }
453
get_windows(void)454 int get_windows(void)
455 {
456 int selection = 99;
457
458 do
459 {
460 clearscreen();
461 printf("Microsoft Windows Page %i of %i\n", PAGES-(PAGES-15), PAGES);
462 printf("===============================================================================\n");
463 printf("1 w+++++ I am Bill Gates.\n");
464 printf("2 w++++ I have Windows, Windows 95, Windows NT, and Windows MT Advanced Server\n");
465 printf(" all running on my SMP RISC machine. I haven't seen daylight in months.\n");
466 printf("3 w+++ I am a MS Windows programming god. I wrote a VxD driver to allow\n");
467 printf(" MS Windows and DOS to share the use of my waffle iron. P.S. Unix sux.\n");
468 printf("4 w++ I write MS Windows programs in C and think about using C++ someday.\n");
469 printf(" I've written at least one DLL.\n");
470 printf("5 w+ I have installed my own custom sounds, wallpaper, and screen savers so\n");
471 printf(" my PC walks and talks like a fun house. Oh yeah, I have a hundred\n");
472 printf(" TrueType(tm) fonts that I've installed but never used. I never lose at\n");
473 printf(" Minesweeper or Solitaire.\n");
474 printf("6 w OK, so I use MS Windows, I don't have to like it.\n");
475 printf("7 w- I'm still trying to install MS Windows and have at least one\n");
476 printf(" peripheral that never works right.\n");
477 printf("8 w-- MS Windows is a joke operating system. Hell, it's not even an\n");
478 printf(" operating system. NT is Not Tough enough for me either. 95 is how many\n");
479 printf(" times it will crash an hour.\n");
480 printf("9 w--- Windows has set back the computing industry by at least 10 years. Bill\n");
481 printf(" Gates should be drawn, quartered, hung, shot, poisoned, disembowelled,\n");
482 printf(" and then REALLY hurt.\n");
483 printf("\n");
484 printf("Enter your Microsoft Windows code number here [0 to quit]: ");
485 scanf("%d", &selection);
486 clear_kb();
487 } while (selection < 0 || selection > 9);
488
489 if (selection == 0)
490 exit(1);
491 else
492 return selection;
493 }
494
get_os2(void)495 int get_os2(void)
496 {
497 int selection = 99;
498
499 do
500 {
501 clearscreen();
502 printf("OS/2 Page %i of %i\n", PAGES-(PAGES-16), PAGES);
503 printf("===============================================================================\n");
504 printf("1 O+++ I live, eat and breathe OS/2. All of my hard drives are HPFS.\n");
505 printf(" I am the Anti-Gates.\n");
506 printf("2 O++ I use OS/2 for all my computing needs. I use some DOS and Windows\n");
507 printf(" programs, but run them under OS/2. If the program won't run under Os/2,\n");
508 printf(" then obviously I don't need it.\n");
509 printf("3 O+ I keep a DOS partition on my hard drive 'just in case'. I'm afraid to\n");
510 printf(" try HPFS.\n");
511 printf("4 O I finally managed to get OS/2 installed but wasn't terribly impressed.\n");
512 printf("5 O- Tried it, didn't like it.\n");
513 printf("6 O-- I can't even get the thing to install!\n");
514 printf("7 O--- Windows RULES! Long live Bill Gates. (See w++++)\n");
515 printf("8 O---- I am Bill Gates of Borg. Os/2 is irrelevant.\n");
516 printf("\n");
517 printf("\n");
518 printf("\n");
519 printf("\n");
520 printf("\n");
521 printf("\n");
522 printf("\n");
523 printf("\n");
524 printf("\n");
525 printf("Enter your OS/2 code number here [0 to quit]: ");
526 scanf("%d", &selection);
527 clear_kb();
528 } while (selection < 0 || selection > 8);
529
530 if (selection == 0)
531 exit(1);
532 else
533 return selection;
534 }
535
get_mac(void)536 int get_mac(void)
537 {
538 int selection = 99;
539
540 do
541 {
542 clearscreen();
543 printf("Macintosh Page %i of %i\n", PAGES-(PAGES-17), PAGES);
544 printf("===============================================================================\n");
545 printf("1 M++ I am a Mac guru. Anything those DOS putzes and Unix nerds can do, I can\n");
546 printf(" do better, and if not, I'll write the damn software to do it.\n");
547 printf("2 M+ A Mac has it's uses and I use it quite often.\n");
548 printf("3 M I use a Mac, but I'm pretty indifferent about it.\n");
549 printf("4 M- Macs suck. All real geeks have a character prompt.\n");
550 printf("5 M-- Macs do more than suck. They make a user stupid by allowing them to use\n");
551 printf(" the system without knowing what they are doing. Mac weenies have lower\n");
552 printf(" IQs than the fuzz in my navel.\n");
553 printf("\n");
554 printf("\n");
555 printf("\n");
556 printf("\n");
557 printf("\n");
558 printf("\n");
559 printf("\n");
560 printf("\n");
561 printf("\n");
562 printf("\n");
563 printf("\n");
564 printf("\n");
565 printf("\n");
566 printf("Enter your Macintosh code number here [0 to quit]: ");
567 scanf("%d", &selection);
568 clear_kb();
569 } while (selection < 0 || selection > 5);
570
571 if (selection == 0)
572 exit(1);
573 else
574 return selection;
575 }
576
get_vms(void)577 int get_vms(void)
578 {
579 int selection = 99;
580
581 do
582 {
583 clearscreen();
584 printf("VMS Page %i of %i\n", PAGES-(PAGES-18), PAGES);
585 printf("===============================================================================\n");
586 printf("1 V+++ I am a VMS sysadmin. I wield far more power than those Unix admins,\n");
587 printf(" because Unix can be found on any dweeb's desktop. Power through\n");
588 printf(" obscurity is my motto.\n");
589 printf("2 V++ Unix is a passing fad compared to the real power in the universe,\n");
590 printf(" my VMS system.\n");
591 printf("3 V+ I tend to like VMS better than Unix.\n");
592 printf("4 V I've used VMS.\n");
593 printf("5 V- Unix is much better than VMS for my computing needs.\n");
594 printf("6 V-- I would rather smash my head repeatedly into a brick wall than suffer\n");
595 printf(" the agony of working with VMS. It's reminiscent of a dead and decaying\n");
596 printf(" pile of moose droppings. Unix rules the universe.\n");
597 printf("\n");
598 printf("\n");
599 printf("\n");
600 printf("\n");
601 printf("\n");
602 printf("\n");
603 printf("\n");
604 printf("\n");
605 printf("\n");
606 printf("\n");
607 printf("Enter your VMS code number here [0 to quit]: ");
608 scanf("%d", &selection);
609 clear_kb();
610 } while (selection < 0 || selection > 6);
611
612 if (selection == 0)
613 exit(1);
614 else
615 return selection;
616 }
617
618