Category Archives: Morrisville College Libraries

“Reaching the OPAC –Java Telnet”in Ariadne:the Web Version,Issue 8,March 1997

Originally written for “Reaching the OPAC –Java Telnet”in Ariadne:the Web Version,Issue 8,March 1997  http://www.ariadne.ac.uk/issue8/java-telnet/

The Problem and a Solution

Many remote users of our library catalog [1] have difficulty accessing it via telnet or dial-up for several reasons. It is available via telnet through a URL on our homepage [2]. Some problems using the OPAC include:

  1. Wrong terminal emulation
  2. Terminal emulation does not include special keys
  3. Lack of telnet software
  4. No technical support from their service providers

Possible solutions include providing all remote users with software, provide technical support for multiple packages, or ignore the problem. None of these solutions is feasible because of lack of staff and money. We couldn’t ignore the problem because we are a service oriented organization. After looking around for several months, I stumbled across Java Telnet.

Java Telnet is a Java based applet. It provides full terminal emulation for a telnet session within a web page. It is authored by Matthias L. Jugel and Marcus Meißner. It is available over the Internet for downloading at the Java Telnet homepage [3]. The Java Telnet package is freely available under the GNU Library General Public License [4], popularly know as “copyleft”. Java Telnet is available in compressed format and must be “unzipped”. The package contains three major parts:

  • telnet connection services.
  • Terminal emulation.
  • modules for configuration and local control over “look and feel”.

Using a Java based package offers many advantages among which include no need for a separate telnet program, cross-platform (at least potentially), can be used by different brands of browsers, and requires no set up by the user. It does require a Java capable browser and a microcomputer with the power to run that browser.

The applet was developed by two computer people in Germany. Matthias L. Jugel (a graduate of University of London, Birkbeck College) is employed by the German National Research Centre for Information Technology. Marcus Meißner is a Computer Science student at the University of Erlangen. He’s almost done with his diploma (MSc). Mr. Jugel “started to program the first version of the applet as a very simple thing to learn Java. When it became clear that it may be useful I asked Marcus to help me.” Both authors are involved in text-based virtual realities (called MUDs) and the applet would be a useful client to access the MUDS.

Installation and Setup

Installation and set up is simple compared to many software packages. The first step is to uncompress the software. The compressed package is available in a UNIX tgz file or as a Windows NT/95 zip file. Special care must be taken in using the uncompression program in that the directory structure must be maintained. The software must also be housed on the same machine that the telnet session will run on. This is do to security restrictions built into Java. It is possible to “redirect” a session to another telnet via a proxy server. Details on how to do that are in the package. The files use long file names so if your system should be one that allows long file names. Otherwise you will have to rename files and any of the html references will not work in the documentation and example files. After installing all of the files, make sure that they are readable by other users.

The next step involves editing the index.test.html document. The file is fully documented. Below is sample code from that page:

 

<APPLET CODE="appWrapper.class" WIDTH=600 HEIGHT=480> <PARAM
NAME=applet      VALUE="telnet">

<!-- applet initialization: address and port and emulation --> <PARAM
NAME=address     VALUE="www.first.gmd.de"> <PARAM NAME=port
VALUE="23"> <PARAM NAME=emulation   VALUE="vt320">

<!-- terminal emulation --> <PARAM NAME=VTscrollbar VALUE="true">
<PARAM NAME=VTresize    VALUE="font"> <PARAM NAME=VTfont
VALUE="Courier"> <PARAM NAME=VTfontsize  VALUE="13"> <PARAM
NAME=VTid        VALUE="vt220">

<!-- modules: #1 is a buttonbar --> <PARAM NAME=module#1
VALUE="ButtonBar"> <PARAM NAME=1#Button
VALUE="connect|\$connect()"> <PARAM NAME=2#Button
VALUE="disconnect|\$disconnect()"> <PARAM NAME=3#Button
VALUE="Detach/Delete Window|\$detach()"> <PARAM NAME=4#Button
VALUE="Send:|\@send@\r\n"> <PARAM NAME=5#Input
VALUE="send#10|who"> <!-- modules: #2 is a scripting module -->
<PARAM NAME=module#2    VALUE="Script"> <PARAM NAME=script
VALUE="login:|leo">

<!-- make sure, non-java-capable browser get a message: --> <B>
Your Browser seems to have no
<A HREF="http://java.sun.com/">Java
</A> support.
Please get a new browser or enable Java to see this applet! </B>
</APPLET>

The first part of the applet coding loads a “wrapper” which controls the other parts of the software. The size of the Java window is controlled here. That is the only part you should change. You will find it necessary to change the size of the window depending on how you set parameters in the modules section of the applet. Applet initialization controls where you telnet to. You must change <PARAM NAME=address VALUE=”www.first.gmd.de“> to reflect your IP address. It can use alpahbetical or numerical addressing. It is also possbile to set the port as well. This section also sets the terminal emulation. Do not change this. Terminal emulation controls the appearance of the window and the “look and feel” by setting font and font size, terminal ID, and scrolling within the window. Play with these to get what you want. Do not change the terminal ID without reading the documentation. The next section of coding sets up the button bar. The various functions are fully explained in the documentation. Using buttons allows the user to connect or disconnect from a telnet session, send commands, detach the tenet window to a separate window, and so on. The last module controls scripting. This is one of the most useful features of this software. The login can be scripted as well as specific commands. Check the documentation for details. After making the necessary changes, save your document and test it using your browser.

Using SUNY Morrisville’s Java Telnet

Our library OPAC Java Telnet is available for public use [5]. As you can see from the screen shot below, I have taken great pains to design the complete “environment”. Tables have been used to provide control over formatting and to list the key emulation for special keys used by our OPAC. Our library system uses DRA/MultiLis which makes use of the VT keyboard.

Welcome page of the Java OPAC

Figure 1: Welcome page of the Java OPAC

I made several modifications to the coding. The window size is reduced by using a smaller font size. the catalog is actually on another computer from the server. The login used puts the user into an account that send him/her to our library catalog computer while doing the remote login. After the catalog appears in the window the user must “activate” the Java window by clicking his/her mouse in it. The next step is then to use the arrow keys to select “Begin the search” and press the return key. You will then be at the main menu, as you can see from the screen shot below. This is where the special keys begin to be used. I found from trial and error that is very beneficial to have them “listed” next to the window.

Menu options for the Java OPAC

Figure 2: Menu options for the Java OPAC

The applet has proven to be very easy to use and while still experimental, will continue to be available on our web site.

Conclusions

The Java Telnet applet is easy to install and to set up. It is one of the few useful Java applications I have found. I have developed a web page listing other useful Java applets and Javascript resources [6]. While it doesn’t support TN3270, I believe every library that does not have Z39.50 implemented should make this applet available for users of their OPAC.

Update, July 1997

The JavaTelnet applet has been updated to correct various problems and to improve itsperformance. The display is now much better.

The JavaTelnet functions without any major problems with Netscape Communicator 4.01 on Windows 95 platform. I have not yet tried MacOS. The applet also functions well (actually better) witn Internet Explorer 3.01 and 4.0.

The applet can now be launched from a button. Got to the URL below for an example:
http://snymorac.snymor.edu/pages/library/telnet/newtest.htmlx

Respond to this article

References

  1. SUNY Morrisville College of Agriculture and Technology Library Online Catalog
    telnet://nopacmor@139.127.2.3:23/
  2. SUNY Morrisville College of Agriculture and Technology Library homepage
    http://www.morrisville.edu/pages/library/
  3. Java Telnet Homepage
    http://www.first.gmd.de/persons/leo/j ava/Telnet/
  4. GNU Library General Public License, This license governs the usage and copying of software under this license designed by the Free Software Foundation. Java Telnet may be copied or used by anyone as long as they comply with this license.
    http://www.fsf.org/copyleft/lgpl.html
  5. The JAVA Telnet for SUNY Morrisville Library Catalog
    http://snymorac.snymor.edu/pages/library/telnet/netopac.htmlx
  6. Java and Java-script enhanced Library Resources. This page contains links to Java and Javscript software appropriate for use on a library webpage. It also contains actual applications.
    http://www.snymor.edu/pages/library/java.htmlx

Author Details

Wilfred Drew (Call me “Bill”)
Systems Librarian, SUNY College of Agriculture and Technology
Email: DREWWE@MORRISVILLE.EDU
Web page: http://www.snymor.edu/~drewwe/
Address: SUNY College of Agriculture and Technology, P.O. Box 902, Morrisville, NY 13408-0902

AOL IM Chat – Talk to a Librarian – SUNY Morrisville

This presentation was given at a SUNYLA conference, this service started in 1998.

Aleph500: How we made it our own – Morrisville College

This is a presentation I did in 2003 for the SUNY Librarians Association Annual Conference.

 

The Wireless Student and the Library: the Morrisville Experience

The Wireless Student & the Library: the Morrisville Experience

Was in “The Wireless Student &the Library.” School Library Journal,Summer 2002 Net Connect,Vol. 48 Issue 8,p16. Library Journal,Summer 2002 Net Connect,Vol. 127 Issue 12,p16.

This version varies in small part from the original print publication.

Bill Drew tells how wireless laptop users have changed one college library

The evolution of ThinkPad University at the State University of New York (SUNY) Morrisville has had a tremendous impact on how we plan and design our library. At its most basic, the program has made it possible for us to take instruction and services to our students, as opposed to requiring them to come to the library.

Begun in the fall of 1998, the ThinkPad University program is a partnership with IBM that integrates computers into the teaching and learning environment. In 1998, 130 IBM ThinkPad laptops were issued to students, faculty, and staff in the pilot program. Today, over 75 percent of the students participate in the program; along with faculty and staff.

The goal of the IBM ThinkPad University is to increase communication and collaborations between and among students and faculty; incorporate customizable applications, such as the school’s intranet and internet; and to utilize business partners—education consultants—with first-had experience integrating technology into the academic program.” In partnership with Raytheon, SUNY Morrisville is providing its laptop users with wireless mobile technology in residence halls, all academic buildings, including the library, as well as the quad, and the dining halls.

Who we are

The SUNY College of Agriculture and Technology at Morrisville is a residential college offering two- and four-year degrees in more than 70 academic programs. The college is located in a rural area in the geographic center of the state. Founded in 1908, the residential college has around 3000 full time students and more than 100 full-time faculty. Two years ago the college undertook a mission review and as a result our new shared vision is “to be an academically challenging, business-oriented, technology-focused entrepreneurial learning community.” For the past two years, the college has been named “America’s #1 most-wired two-year college” by Yahoo! Internet Life magazine.

The laptop program

For any of the college’s academic program to become a “laptop program” the faculty members must clearly demonstrate how the laptop would improve the curriculum and improve the learning of the students involved. Currently over 27 different curriculums are part of the program. All participants in the laptop program receive an IBM laptop and Raytheon wireless card. The cost of the laptop can be funded by financial aid funds.

The student laptop for Fall 2001 was a ThinkPad A22m with a 800 MHz Pentium III Processor, 192 MB of Memory, 20 GB Hard Drive, 56K Internal Modem, 4MB ATI Rage Video Card, 24X CD-ROM, 12.1″ LCD Display and a 3 1/2″ Floppy Drive. This laptop is much more powerful than the first, a ThinkPad 390e with a 300 MHz processor and 64 MB of memory. Students and faculty use the laptops along side traditional technologies. ##WHAT DO YOU mean by traditional technologies???### Students in architecture and horticulture do CAD on their laptops. Students use folders on the network to access course documents and to show their work. They also access various study aids using electronic images and multimedia files.
Continue reading

My last day tomorrow!

I just sent out this e-mail to my friends at Morrisville College:

Tomorrow is my last day at Morrisville. I have worked here since
December 16, 1985. That is for approximately 22 years 6 months and 15
days as of July 31. I have made many life long friends here and will
miss all of you. Morrisville College has come to mean a great deal to
me and my family. My son is a student here and my daughter wants to
come here as a freshman after she graduates from high school next
June. Saying good bye is never easy so I will say, “So Long for Now.”

I can be reached at bill.drew@gmail.com until I get my new e-mail set
up at Tompkins-Cortland Community College. I will keep in touch.

Wilfred (Bill) Drew
Soon to be:
Assistant Professor
Systems Librarian and Technical Services Librarian
Tompkins-Cortland Community College
Dryden, NY