Monday: Things to do: a. If you are taking the course for credit you need to meet with paul and or carl to discuss your project. The project must exhibit your ability to use tools (Latex and Maple) from the course. It does not necessarily have to use both. However if you use only one then a higher level of mastery would be expected than if you use both. b. Joint projects are ok but they must represent the work of two people. The project will have to come with a brief explanation of how the work was done (i.e. who did what). c. You can have as much lab time as you want in the afternoon. d. You do not have to hand it in on Friday - the summer term actually runs through July so if you can't get it done on that schedule take your time to do it well. If you take that tack then work done planning and laying out materials for an in-service for your colleagues can be a part or all of the project. e. The academic year part of this program is an inservice program that you help prepare and execute for your colleagues. We have support to bring staff and the portable labpratory to six of theses. This workshop has worked so well that we are willing to plan one for next year for people from your schools and colleagues you recommend (including yourselves) if there is interest. The measure of that interest will be whether you participate in the AY program by helping plan and put on an inservice for your colleagues WITH OUR HELP. NOTE: The "inservice" can include students and staff That help includes: 1. We will bring a portable lab just like the one here which has all of the tools you have used. 2. We will work with you on the planning and timing 3. We will come and assist. 4. Attendance will not bother us - particularly if you open it to students. 5. We are willing to see if we could negotiate Maple site or lab licenses for participating schools. We have done that in the past for small colleges. Maple needs school adoptions so I would expect them to be willing to do something like that - I would definitely think that the Esienhower program would be willing to fund it. NOTES: TELNET and FTP TELNET: allows you to connect to accounts on other Internet machines. At UK we use it to connect to our office machines and move work from home to office. FTP: allows you to transfer files from one account to another. For instance from your account in the lab to your ms account. In the recent past ftp was the main way to get material from archive sites. Now Internet browsers contain "front ends" to ftp to the extent that direct use of ftp for the purpose of "downloading" open archive material is no longer so important. However for the purpose of private or limited access it is extremely important. An obvious question is whether ftp is really necessary if you have email. Why not just email the files from one location to another. There are many reasone; here are a few: 1. The file in question may be too big for the mailer. Many mail services limit the size of a file attachment to 50 or 100K whereis a simple document with included graphics can exceed that level. 2. If the file includes binary information it may "break" the mailer at the other end. A major problem of this type is Macintosh <-> windows transfers in which the macintosh machine automatically assumes that it is talking to another mac and compresses the file in binhex - a format not automatically supported buy most other systems. 3. ftp is generally much faster than mail transfer as it bypasses the mail system entirely. 4. ftp allows you to place the document being transferred in the correct directory at the other end. Many mail systems save attached documents to a temporary directory from which they must be transferred. 5. You may have an account on a machine but no mail service at that location. GETTING STARTED ON THE MS SYSTEM: TELNET AND FTP To practice the use of telnet and ftp to outside machines we will use your ms accounts. IF YOU WANT TO USE IT your ms account will remain active throughout the next year and can be extanded year-to-year after that. This may interest you if: 1. You would like to have a way to efficiently transfer work from home to school. Most schools do not permit external access to their systems which forces people to do things like move data on floppy disks. Thats fine for small amounts of data but if you have large documents or many documents its doesn't work so well. The time involved in an ftp transfer is generally much less than writing and reading floppy disks - and much more reliable. 2. You do not have a mail service through your Internet Service provider which you can access from home. Services such as UKONLINE which costs $12 per month give you access to the internet but do not provide a mail service and disk space at the base price. Services like AOL for $20 per month provide both Internet service and mail service. TOPICS: 1. Access to your ms. Accounts: telnet and login email 2. Quick intro to the vi editor: HANDOUT sheet with basic vi vommands: 3. Configure your elmrc The following instruction take you through the process of editing the configuration file for the mailer in your ms account. It is important that you know where this file is and what it does. This is something that probebly only needs to be done once. a. copy a generic elmrc from paul's account into your account. cd ~/elm cp ~paul/.elm/elmrc_generic ~/elm vi elmrc_generic search for "YOUR" withL ESC:/YOUR change the entry you find to your login ot name Do it again finding all occurences of "YOUR" Write the current file as "elmcr" with ESC:w!elmrc Quit vi with ESC:q! SUGGESTIONS: 1. Select a workshet or tex file you or your group have done which involves no external graphics. 2. In the texshell go to the directory that contains that file. 3. make a copy of that file with a name such as ftp_prac.tex or .mws, whichever is appropriate. (This is to be sure we don't ruin the original with a mistake). 4. ftp to your ms account and login. In the texshell do ftp t.mscf.uky.edu Note that the "ftp" part runs the ftp program on your local machine. If you make a mistake such as typing t.mscf.uky.edy you won't connect but will still be running ftp. In such a case you can start over by hitting a couple of "ENTER" commands and typing OPEN t.ms.uky.edu. Altrnatively you can type "bye" (the exit command for ftp) and start over. At the ftp prompt give the login for your ms account and your password as prompted. If you make a mistake in your login or password type a couple of ENTERS and then USER - then start over with your login and password. 5. When logged in type bin and return (This is something that guarantees that binary files will be handled carefully - always do this, even if your files are pure ascii). 6, Do a DIR (to see what is in the directory you land in - which is the top directory of the account. 7. put a copy of the ftp_prac file (include the appropriate extension) in the top directory of your ms account with put ftp_prac.tex (RETURN) sometimes you want to put the file in the other account under a new name. Do this with put ftp_prac.tex new_prac.tex or any other name you choose. 8. when you get a message saying that has been done do another DIR. Now you have placed a file in your ms account. 9. Leave this ftp session going and open ANOTHER texshell. 10. In the new texshell connect to your ms account via telnet with telnet t.mscf.uky.edu 11. login as prompted 12. You are now in a telnet session 13. list the files in the top directory with ls (DIR doesn't work). The file you transferred in should be there. NOTE THE NAME OF THE FILE INCLUDING UPPER CASE LETTERS. Your ms account is CASE SENSITIVE, but your windows machine is not. 14. Since this file is an ascii file we can look at it to see its really what we sent. The file browser in your ms account is called "less" less ftp_prac.tex The space bar goes down the file, "q" quits reading it. 15. Make another copy of the file on the ms account with the cp command cp ftp_prac.text ms_prac.tex. 16. Do ls to see that there is a new file there. 17. Do ls -l to get more information about the files such as size, date, and permissions. The permissions data is the text that of the form rwx-r--r- etc. This is the permissions information. The only part to be concerned with is the rightmost set - the permissions for "others". If that entry is "rwx" then others have the same access to your files as you do. Your new files should have permissionms -rw------ which means that you alone have permission to read and write to it. If it is "rw_" others can "read (which includes copy) the file and can write to it (which means that they can overwrite it). 18. Suppose we want to permit anyone else with an ms account to pick up a copy of the file ms_prac.tex. We need to change its permissioms permit this. To give others read permission to the file do chmod o+r ms_prac.tex 19. Do ls -l now to see the difference. 20. It happens frequently that you want to make a file available to a colleague who is to connect and pick it up soon - then you want to shut the door by removing the read permission. This is just chmod o-r ms-prac.tex Change the permissions on ms-prac to permit others to read it but leave the original file so that others do not have permission to read it. 21. Go back to your ftp window and pick up a the copy of ms_prac.tex with get ms_prac.tex 22. Sometimes you want to to change the name of the recieved file to something else get another copy with get ms_prac.tex my_copy.tex 23. Have someone else in the group ftp to their account. Lets assume your login name is jill and theirs is jack. Your account holds the file ms_prac.tex which others, in particular jack can retrieve. "jack" can do the following: ftp to t.mscf.uky.edu and login as jack with his/her password cd ~jill to move from jack's directory to jill's dir to see whats there get ms_prac.tex (to download a copy of the file into the machine from which "jack" calls.) Have "jack" download the file with a different name so that it will be evident that its the one that jack got. 24. Jack may not want the file on the machine he/she is at but may prefer to simply store a copy in his/her ms account to use later. to do this i) telnet to the jack ms account. (i.e. telnet to t.mscf.uy.edu and login as jack). ls ~jill to see if the file is there ls -l ~jill to see if jack can copy it cp ~jill/ms_ftp.tex . (copies it into the directory from which jack issued the command - thats what the "." says) cp ~jill/ms_ftp.tex ./mycopy.tex (copies it to the directory jack is in - his top directory - under the name mycopy.tex. NOTE: when jack copies a file that belongs to jill the copy still belongs to jill. This can cause problems if jack tries to edit that copy because jack may have only, not write, permission. The solution is for jack to make his own copy - under a different name. This applies only to things done in the ms account. Files brought to the home machine via ftp will not carry jill's permissions with them. 25. Have jill telnet to his/her ms account and email jack that there is a file to pick up. Be sure to tell jack that the permissions have been set properly so that jack can read the file. Notes on the email system, elm The Math Sciences mail system is designed to be used either on site or by remote connection. Most school systems do not permit external connections to their systems except via servers such as Netscape and (anonymous) ftp. The system is designed to work via a telnet window and does not have a GUI interface. Nor does it support attachments directly. One can receive an attached file with it but must save the attachment to a file handle it separately. The reason for this is security. Attachments are a major source of virus infection of computer systems. Several hundred people depenend om the Math Sciences system to do their work and to protect the integrity and security of their research, tests, correspondence, etc. A huge amnout of work goes into protecting the system from hackers and virus infection - and to keep it from being used to infect people's home machines. Part of the price of that security is a more primitive mailer. Reading your mail: To read your mail you telnet to t.mscf.uky.edu, and login to your ms account. To enter the mailer enter elm If you have configured the elmrc file as above then you should see a list of your mail messages arranged with the most recently received ones last. Each message will have a number and a letter. The number is its order in the list of messages you see. The leter "N" means NEW. The letter "O" designates a message that was previously read but not deleted or saved. There is a cursor pointing to the current message. To read the current message type ENTER. The message will be displayed in the "less" browser. Scroll down a page at a time with the spacebar. The "f" key will do the same thing, the "b" key will scroll back one screen. Search for a word, e.g. "latex" wiht