From 75866410b1071c55602d6f042f9d97798dfa4d48 Mon Sep 17 00:00:00 2001 From: zacheiss Date: Fri, 25 Aug 2000 23:36:16 +0000 Subject: [PATCH] Instructions for generating coupons for incoming students, and a copy of the postscript file for the coupons. --- reg_svr/coupons/INSTRUCTIONS | 35 ++ reg_svr/coupons/coupon.ps | 725 +++++++++++++++++++++++++++++++++++ 2 files changed, 760 insertions(+) create mode 100644 reg_svr/coupons/INSTRUCTIONS create mode 100644 reg_svr/coupons/coupon.ps diff --git a/reg_svr/coupons/INSTRUCTIONS b/reg_svr/coupons/INSTRUCTIONS new file mode 100644 index 00000000..e1b8c86e --- /dev/null +++ b/reg_svr/coupons/INSTRUCTIONS @@ -0,0 +1,35 @@ +$Id $ + +The executables are in /moira/bin/ on the moira server, with sources in +/mit/moiradev/src/reg_svr/. Most of the commands are run on the Moira +server. + +Step 1: Generate a list of all the MIT id numbers for the incoming +class you care about; It's important that you order them by the full +name of the student in question. Sample SQL: + +set head off +spool /var/tmp/mitids +SELECT clearid FROM users WHERE type='2004' AND status=0 +ORDER BY last, first, middle; + +Replace "2004" with the year of the entering class as necessary. + +Step 2: Feed the list of MIT id numbers to genwords, and save the output +to a file. Sample sh script: + +for i in `cat /var/tmp/mitids.lst`; do + /moira/bin/genwords -v $i >> /var/tmp/genwords.out +done + +Step 3: Append the output of genwords to the default coupon, which is +located in the Moira source tree under reg_svr/coupons/coupon.ps. +Sample command: + +cp /mit/moiradev/src/reg_svr/coupons/coupon.ps /var/tmp +cat genwords.out >> coupon.ps + +Step 4: Print the coupons: + +lpr -Pprintername coupon.ps + diff --git a/reg_svr/coupons/coupon.ps b/reg_svr/coupons/coupon.ps new file mode 100644 index 00000000..a3e8141f --- /dev/null +++ b/reg_svr/coupons/coupon.ps @@ -0,0 +1,725 @@ +%!PS-Adobe-3.0 +%%BoundingBox: 54 72 558 720 +%%Creator: Mozilla (NetScape) HTML->PS +%%DocumentData: Clean7Bit +%%Orientation: Portrait +%%Title: +%%EndComments +%%BeginProlog +[ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef + /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef + /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef + /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright + /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one + /two /three /four /five /six /seven /eight /nine /colon /semicolon + /less /equal /greater /question /at /A /B /C /D /E + /F /G /H /I /J /K /L /M /N /O + /P /Q /R /S /T /U /V /W /X /Y + /Z /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /a /b /c + /d /e /f /g /h /i /j /k /l /m + /n /o /p /q /r /s /t /u /v /w + /x /y /z /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef + /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef + /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef + /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef + /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright + /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior + /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf + /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla + /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde + /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex + /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring + /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis + /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave + /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def +/c { matrix currentmatrix currentpoint translate + 3 1 roll scale newpath 0 0 1 0 360 arc setmatrix } bind def +/F0 + /Times-Roman findfont + dup length dict begin + {1 index /FID ne {def} {pop pop} ifelse} forall + /Encoding isolatin1encoding def + currentdict end +definefont pop +/f0 { /F0 findfont exch scalefont setfont } bind def +/F1 + /Times-Bold findfont + dup length dict begin + {1 index /FID ne {def} {pop pop} ifelse} forall + /Encoding isolatin1encoding def + currentdict end +definefont pop +/f1 { /F1 findfont exch scalefont setfont } bind def +/F2 + /Times-Italic findfont + dup length dict begin + {1 index /FID ne {def} {pop pop} ifelse} forall + /Encoding isolatin1encoding def + currentdict end +definefont pop +/f2 { /F2 findfont exch scalefont setfont } bind def +/F3 + /Times-BoldItalic findfont + dup length dict begin + {1 index /FID ne {def} {pop pop} ifelse} forall + /Encoding isolatin1encoding def + currentdict end +definefont pop +/f3 { /F3 findfont exch scalefont setfont } bind def +/F4 + /Courier findfont + dup length dict begin + {1 index /FID ne {def} {pop pop} ifelse} forall + /Encoding isolatin1encoding def + currentdict end +definefont pop +/f4 { /F4 findfont exch scalefont setfont } bind def + +% Project Athena Owl Logo +% Copyright 1986 by the Massachusetts Institute of Technology +% +% Original developed by W. E. Sommerfeld, 1986. +% Owl eye shading, twig tuning by J. H. Saltzer +% +% Adjustments of size and position are provided at the end. +% +/circle { dup 3 index add 2 index moveto 0 360 arc } bind def + +/ellipse + { + matrix currentmatrix % Push current matrix + 5 1 roll % roll to bottom + 3 index 2 index add 3 index moveto % move to start + 4 2 roll translate scale % translate then scale + 0 0 1 0 360 arc % draw it + setmatrix % restore matrix + } def + +/owl1 { +% Do the filled sections first. . . +% right eye +newpath +120 120 6 circle +closepath 0 setgray fill +newpath +121 121 3 circle +closepath 1 setgray fill +% left eye +newpath +90 120 6 circle +closepath 0 setgray fill +91 121 3 circle +closepath 1 setgray fill +0 setgray + +% Containing Circle +75 75 102 circle %75 75 100 circle +% Left eye +90 120 10 circle +% Right eye +120 120 10 circle +% Berry on tree +37.5 111 3 circle % 37.5 111 2.5 circle +% Theta (outside) +140 60 10 circle +% Theta (inside) +140 60 .5 circle + +% High leaf + +35 140 15 10 ellipse + +% Low leaf + +15 109 10 15 ellipse + +% Twigs holding leaves and berry + +% berry +4 145 moveto +36 113 lineto + +% high leaf +9 140 moveto +51 140 lineto + +% low leaf +15 134 moveto +15 93 lineto + +% squarish outline lines +0 45 moveto +-10 65 -15 120 3 146 curveto +20 160 25 155 75 155 curveto +75 -5 moveto +100 -5 145 5 155 15 curveto +165 25 160 100 155 135 curveto + +% Main outline of owl + +stroke currentlinewidth dup 2 mul setlinewidth + +35 14 moveto +35 18 lineto +36 19 lineto +37 20 lineto +50 20 lineto +52 21 lineto +55 24 lineto +56 29 lineto +54 34 lineto +53 36 lineto +51 38 lineto +48 40 lineto +41 43 lineto +31 46 lineto +26 45 lineto +20 44 lineto +15 43 lineto +13 43 lineto +11 44 lineto +10 45 lineto +10 46 lineto +11 48 lineto +13 51 lineto +20 61 lineto +30 75 lineto +34 80 lineto +40 87 lineto +45 93 lineto +50 97 lineto +55 101 lineto +60 103 lineto +64 105 lineto +71 105 lineto +69 108 lineto +67 112 lineto +66 115 lineto +67 120 lineto +68 124 lineto +71 129 lineto +72 132 lineto +73 135 lineto +71 141 lineto +75 139 lineto +80 137 lineto +90 136 lineto +100 135 lineto +120 135 lineto +130 136 lineto +140 137 lineto +146 140 lineto +144 136 lineto +142 132 lineto +141 125 lineto +142 118 lineto +142 112 lineto +140 106 lineto +136 100 lineto +132 95 lineto +129 92 lineto +124 89 lineto +126 86 lineto +127 80 lineto +126 73 lineto +124 66 lineto +120 60 lineto +116 55 lineto +110 50 lineto +105 46 lineto +100 43 lineto +91 39 lineto +84 36 lineto +75 35 lineto +73 30 lineto +73 25 lineto +74 22 lineto +76 20 lineto +90 20 lineto +92 18 lineto +92 14 lineto +75 35 moveto +65 33 lineto +62 31 lineto +61 27 lineto +61 22 lineto +62 20 lineto +63 19 lineto +64 19 lineto +66 21 lineto +67 25 lineto +66 31 lineto +65 33 lineto + +20 44 moveto +20 27 lineto +22 25 lineto +38 25 lineto +40 27 lineto +40 43 lineto +% (end of main owl outline) + +stroke setlinewidth + +% everything else + +31 46 moveto +39 49 lineto +50 53 lineto +59 57 lineto +76 67 lineto +80 70 lineto +92 80 lineto +100 88 lineto +102 91 lineto +102 94 lineto + +71 105 moveto +75 103 lineto +80 101 lineto +87 100 lineto +92 99 lineto +99 96 lineto +102 94 lineto +110 90 lineto +124 89 lineto +% Damned stack limit! +} bind def /owl2 { +26 45 moveto +26 30 lineto + +35 45 moveto +35 30 lineto + +64 105 moveto +78 80 lineto + +33 79 moveto +60 66 lineto + +68 97 moveto +66 99 lineto +61 98 lineto +48 83 lineto + +72 90 moveto +68 94 lineto +65 93 lineto +63 92 lineto +53 82 lineto + +75 85 moveto +73 87 lineto +70 88 lineto +66 86 lineto +60 80 lineto + +77 80 moveto +75 83 lineto +73 83 lineto +67 79 lineto + +44 73 moveto +40 74 lineto +38 73 lineto +33 68 lineto + +51 70 moveto +46 71 lineto +42 69 lineto +32 61 lineto + +60 66 moveto +54 67 lineto +46 64 lineto +30 52 lineto + +105 92 moveto +105 100 lineto +106 104 lineto +108 107 lineto +110 109 lineto +115 112 lineto + +105 100 moveto +104 104 lineto +102 107 lineto +100 109 lineto +95 112 lineto + +130 90 moveto +150 80 lineto +130 70 lineto + +137 86 moveto +137 74 lineto + +130 30 moveto +130 45 lineto +150 45 lineto +150 30 lineto + +140 45 moveto +140 35 lineto +} bind def +/owl { 2 setlinewidth owl1 owl2 stroke } bind def + +/paint { +pop + +2.1 706.6 moveto +12 f1 +(CONFIDENTIAL) show +16.9 678 moveto +8 f0 +(Information) show +28.5 669.2 moveto +(Systems) show +7.8 651.6 moveto +(User Accounts) show +34.7 642.8 moveto +(Office) show +11.4 634 moveto +(Building N42) show +6.9 625.2 moveto +(211 Mass Ave.) show +8.3 607.6 moveto +(Account Help:) show +28.5 598.8 moveto +(x3-1325) show +12.3 581.2 moveto +(Athena Help:) show +28.5 572.4 moveto +(x3-4435) show +21.2 563.6 moveto +(Mac Help:) show +28.5 554.8 moveto +(x3-1101) show +4.7 546 moveto +(Windows Help:) show +28.5 537.2 moveto +(x3-1102) show +124.2 662.7 moveto +24 f1 +(Important Athena Registration) show +221.5 635.1 moveto +(Information) show +73.5 602.1 moveto +10 f0 +(Welcome to MIT! As a member of the MIT) show +73.5 591.1 moveto +(community, you have access to a vast array) show +73.5 580.1 moveto +(of computer-based facilities and tools to help) show +73.5 569.1 moveto +(you get your work done -- or just play. ) show +73.5 547.1 moveto +(But in order to take advantage of all these) show +73.5 536.1 moveto +(electronic resources, you first need to) show +73.5 523.4 moveto +(establish your identity in MIT's Kerberos) show +239.8 526.9 moveto +8 f0 +(TM) show +73.5 512.4 moveto +10 f0 +(security system. You do this by obtaining a) show +73.5 499.7 moveto +(user account on MIT's Athena) show +195.6 503.2 moveto +8 f0 +(\256) show +201.6 499.7 moveto +10 f0 +( system. ) show +73.5 477.7 moveto +(The information you need is provided below.) show +73.5 466.7 moveto +(Sign up now, and start using the electronic) show +73.5 455.7 moveto +(resources of MIT! ) show +.9 setgray newpath +260 620 moveto +242 0 rlineto +0 -170 rlineto +-242 0 rlineto +closepath fill +0 setgray +267.3 603.9 moveto +8 f0 +(You need a Kerberos identity/Athena account to gain access to: ) show +288.7 585.5 moveto +2.2 2.2 c fill +295.3 582.8 moveto +(The ) show +309.7 582.8 moveto +8 f1 +(Athena) show +334.5 582.8 moveto +8 f0 +( system itself, MIT's campus-wide UNIX) show +467.8 586.3 moveto +(\256) show +473.8 582.8 moveto +(-based) show +295.3 574 moveto +(academic computing facility. You can use Athena to) show +295.3 565.2 moveto +(communicate with other students and faculty on-line, explore) show +295.3 556.4 moveto +(the internet, do class work, put up your own web pages, and) show +295.3 547.6 moveto +(make use of Athena's many other features and applications.) show +288.7 532.4 moveto +2.2 2.2 c fill +295.3 529.7 moveto +8 f1 +(WebSIS) show +323.3 529.7 moveto +8 f0 +(, MIT's online student information system, including) show +295.3 520.9 moveto +(pre-registration and online access to your financial and) show +295.3 511.8 moveto +(academic records. ) show +355 511.8 moveto +8 f1 +(http://student.mit.edu/) show +288.7 496.6 moveto +2.2 2.2 c fill +295.3 493.9 moveto +8 f0 +(Various electronically-run campus ) show +407.9 493.9 moveto +8 f1 +("lotteries") show +444.3 493.9 moveto +8 f0 +( \(Housing,) show +295.3 485.1 moveto +(Phys. Ed.\)) show +288.7 470.2 moveto +2.2 2.2 c fill +295.3 467.5 moveto +(Educational and personal discounts for computer purchases.) show +67.9 441.5 moveto +432.6 0 rlineto 0 -1.4 rlineto -432.6 0 rlineto closepath fill +gsave 2.1 setlinewidth + 67.9 434.7 moveto +432.6 0 rlineto 0 -128.6 rlineto -432.6 0 rlineto closepath stroke +grestore +gsave 0.7 setlinewidth +.9 setgray 71.4 431.2 moveto +425.6 0 rlineto 0 -121.6 rlineto -425.6 0 rlineto closepath fill +0 setgray 71.4 431.2 moveto +425.6 0 rlineto 0 -121.6 rlineto -425.6 0 rlineto closepath stroke +grestore +131.9 413.6 moveto +8 f3 +(Confidential) show +213.4 412.8 moveto +10 f1 +(ATHENA ACCOUNT COUPON) show +377 413.6 moveto +8 f3 +(Non-Transferable) show +231.3 394.3 moveto +10 f1 +(Name:) show +217.7 371.4 moveto +(MIT ID#:) show +207.7 345.1 moveto +(Key Words:) show +132 322.8 moveto +8 f3 +(Limit One Account) show +gsave +-80 20 rmoveto currentpoint translate .35 .35 scale +owl +grestore +386.3 322.8 moveto +(No Cash Value) show +gsave +-40 20 rmoveto currentpoint translate .35 .35 scale +owl +grestore +67.9 290.2 moveto +8 f0 +(To obtain your Athena Account and all the rights and privileges pertaining thereto, follow these instructions: ) show +91.1 275.8 moveto +(1.) show +101.5 275.8 moveto +8 f2 +(Go to any Athena workstation.) show +199.5 275.8 moveto +8 f0 +( There are clusters of Athena machines) show +101.5 267 moveto +(all over campus, and more in individual offices \(a large public cluster) show +101.5 257.9 moveto +(is in the Student center -- W20-575\). Click on the ) show +262.1 257.9 moveto +8 f1 +(Register for an) show +101.5 248.8 moveto +(Account) show +129.9 248.8 moveto +8 f0 +( button on the login screen. ) show +101.5 231.2 moveto +8 f2 +(Or if you have access to a web browser:) show +230.3 231.2 moveto +8 f0 +( Go to the web page) show +101.5 222.1 moveto +8 f1 +(http://web.mit.edu/register/) show +195.4 222.1 moveto +8 f0 +(. ) show +91.1 204.5 moveto +(2.) show +101.5 204.5 moveto +(Follow the instructions as prompted, using the information from your) show +101.5 195.7 moveto +(Athena Account Coupon above to answer the prompts. ) show +101.5 178.1 moveto +(The coupon information applies ) show +205.9 178.1 moveto +8 f2 +(only to you) show +241.4 178.1 moveto +8 f0 +( and is valid for exactly) show +101.5 169.3 moveto +(one use. After you have registered for your account, nobody else can) show +101.5 160.5 moveto +(register for an account as you, even if they find this coupon. ) show +91.1 142.9 moveto +(3.) show +101.5 142.9 moveto +(That's it! Your Athena account will become activated overnight, so) show +101.5 133.8 moveto +(you should be able to use the Athena system ) show +245.7 133.8 moveto +8 f1 +(the following day) show +304.3 133.8 moveto +8 f0 +(. ) show +101.6 116.2 moveto +8 f2 +(Note:) show +119.3 116.2 moveto +8 f0 +( In order to use certain MIT web-based services \(e.g., WebSIS,) show +101.5 107.4 moveto +(or an electronic lottery\), you need to obtain digital certificates for) show +101.5 98.6 moveto +(your web browser once your Athena account has been activated. The) show +101.5 89.5 moveto +(process is explained at: ) show +177.9 89.5 moveto +8 f1 +(http://web.mit.edu/is/help/cert/) show +283.4 89.5 moveto +8 f0 +(. ) show +334.1 275.5 moveto +8 f1 +(A Note About Your Username) show +334.1 257.9 moveto +8 f0 +(When you are prompted for a username, pick a) show +334.1 249.1 moveto +(name you will feel comfortable using and sharing) show +334.1 240.3 moveto +(with others for as long as you are at MIT -- this) show +334.1 231.5 moveto +(name is used for your campus e-mail account too.) show +334.1 222.7 moveto +(Consider that your e-mail address will be known) show +334.1 213.9 moveto +(to your advisor, instructors, potential employers,) show +334.1 205.1 moveto +(friends and maybe even your family. Note: once) show +334.1 196.1 moveto +(you pick your Athena username, ) show +441 196.1 moveto +8 f3 +(you will not be) show +334.2 187.1 moveto +(able to change it, ever!) show +409.5 187.1 moveto +8 f0 +( ) show +334.1 156.2 moveto +8 f1 +(A Note About Passwords) show +334.1 138.6 moveto +8 f0 +(Unlike your username, you can change your) show +334.1 129.8 moveto +(password any time you like -- in fact, you should.) show +334.1 121 moveto +(But pick a password that can't be easily guessed.) show +334.1 112.2 moveto +(Don't use words in the dictionary or names. Do) show +334.1 103.4 moveto +(use combinations of capital and lowercase letters,) show +334.1 94.3 moveto +(numbers and punctuation. ) show +418.9 94.3 moveto +8 f1 +(Never write down) show +334.1 85.2 moveto +(your password or share it with ) show +440.8 85.2 moveto +8 f3 +(anyone) show +464.8 85.2 moveto +8 f1 +(!) show +} bind def + +/myform << /FormType 1 /BBox [ 0 72 504 720 ] /Matrix matrix /PaintProc { paint } >> def + +/dopage { +8 6 roll +/id exch def +/name exch def +54 0 translate +myform execform +12 f1 +502 706.6 moveto id stringwidth pop -1 mul 0 rmoveto currentpoint +id show +12 f0 +moveto name stringwidth pop ( -- ) stringwidth pop add -1 mul 0 rmoveto +name show +( -- ) show +268.2 394.5 moveto +10 f0 +name show +268.2 371.6 moveto +10 f0 +id show +268.2 350.7 moveto +8 f4 +6 -1 roll show +( ) show +5 -1 roll show +( ) show +4 -1 roll show +268.2 342.3 moveto +8 f4 +3 -1 roll show +( ) show +exch show +( ) show +show +showpage +} bind def + +(Garry Zacheiss) (996574941) (DIDDLE) (DIDDLE) (DEE) (WUBBA) (WUBBA) (WUBBA) dopage -- 2.45.1