XML4C Documentation

Total Page:16

File Type:pdf, Size:1020Kb

XML4C Documentation XML4C Documentation Copyright 2001 The Apache Software Foundation. All Rights Reserved. XML4C Documentation Table of Contents 1. XML for C++ Parser 6 XML4C Version 5.1.0 6 Applications of the XML4C Parser 6 Features 6 Platforms with Binaries 7 Other ports... 7 License Information 7 2. Releases 8 Releases Archive 8 Release Information of XML4C 5.1.0: February 12, 2003 8 3. Releases Archive 17 Release Information of earlier releases 17 XML4C Version 5.0.0: August 29, 2002 17 XML4C Version 4.0.1: April 16, 2002 29 XML4C Version 4.0.0: December 21, 2001 31 XML4C Version 3.5.2: November 8, 2001 41 XML4C Version 3.5.1: August 10, 2001 41 XML4C Version 3.5.0: June 27, 2001 42 XML4C Version 3.3.1: October 26, 2001 49 XML4C Version 3.3.0: October 4, 2000 49 XML4C Version 3.1.0: March 1, 2000 56 XML4C Version 3.0.1: December 15, 1999 57 XML4C Version 3.0.0: December 7, 1999 57 XML4C Version 2.3.4 March 6, 2000 58 XML4C Version 2.3.3 January 10, 2000 58 XML4C Version 2.3.2 October 25, 1999 58 XML4C Version 2.3.1 August 24, 1999 58 XML4C Version 2.3.0 July 20, 1999 58 XML4C Version 2.2.0 June 24, 1999 58 XML4C Version 2.1.0 May 21, 1999 58 XML4C Version 2.0.0 April 27, 1999 59 4. Installation 60 Windows NT/2000 60 UNIX 60 Cygwin 62 5. Build Instructions 63 Building on Windows and UNIX 63 Building on Other Platforms 63 Other Build Instructions 63 6. Building on Windows and UNIX 64 Building XML4C on Windows using Microsoft Visual C++ 64 Building XML4C 64 bit binary on Windows XP using Intel C++ Compiler 65 Building XML4C on Windows using Borland C++Builder 65 XML4C Documentation Building XML4C on Windows using Cygwin 65 Building XML4C on UNIX platforms 66 Building XML4C as a single-threaded library on Unix platforms 71 7. Building on Other Platforms 73 Building XML4C on iSeries (AS/400) 73 Building XML4C on Macintosh 78 8. Other Build Instructions 81 Building XML4C with ICU 81 Building XML4C using RPM on Linux 83 Building XML4C COM Wrapper on Windows 83 Building User Documentation 84 I wish to port XML4C to my favourite platform. Do you have any suggestions? 84 What should I define XMLCh to be? 84 Where can I look for more help? 85 9. FAQs 86 Distributing XML4C 86 Building / Running FAQs 88 Programming/Parsing FAQs 92 Other XML4C Questions 101 10. XML4C Samples 103 Introduction 103 Building the Samples 103 Running the Samples 103 11. Sample: SAXCount 105 SAXCount 105 12. Sample: SAXPrint 107 SAXPrint 107 13. Sample: DOMCount 110 DOMCount 110 14. Sample: DOMPrint 112 DOMPrint 112 15. Sample: MemParse 115 MemParse 115 16. Sample: Redirect 117 Redirect 117 17. Sample: PParse 118 PParse 118 18. Sample: StdInParse 120 StdInParse 120 19. Sample: EnumVal 122 EnumVal 122 20. Sample: CreateDOMDocument 124 XML4C Documentation CreateDOMDocument 124 21. Sample: SAX2Count 125 SAX2Count 125 22. Sample: SAX2Print 127 SAX2Print 127 23. Sample: SEnumVal 130 SEnumVal 130 24. API Documentation 133 API Docs for XML4C 133 25. Programming Guide 134 DOM Programming Guide 134 SAX Programming Guide 134 SAX2 Programming Guide 134 Other Features 135 26. SAX1 Programming Guide 136 Using the SAX API 136 SAXParser 137 27. SAX2 Programming Guide 144 Using the SAX2 API 144 SAX2XMLReader 145 28. DOM Programming Guide 152 Design Objectives 152 DOM Level 3 Support in XML4C 152 Using DOM API 152 XercesDOMParser 156 DOMBuilder 163 DOMWriter 173 Deprecated - Java-like DOM 178 29. DOM Level 3 Support 179 Disclaimer 179 Introduction 179 Implementation of DOM Level 3 Core 179 Implementation of DOM Level 3 Load and Save 179 Implementation of DOM Level 3 Abstract Schemas 180 30. Deprecated - Java-like DOM 181 Deprecated - Java-like DOM 181 Using this set of deprecated API 181 DOMParser 184 31. Schema 192 Introduction 192 Limitations 192 Interpretation of Areas that are Unclear or Implementation-Dependent 192 Usage 193 XML4C Documentation Associating Schema Grammar with instance document 193 32. Programming Guide 196 Version Macro 196 Schema Support 196 Progressive Parsing 196 Preparsing Grammar and Grammar Caching 197 Loadable Message Text 199 Pluggable Transcoders 199 Porting Guidelines 200 Using C++ Namespace 201 Specify locale for message loader 203 Use Specific Scanner 204 33. Migration 206 Migration Archive 206 Migrating from XML4C 5.0.0 to XML4C 5.1.0 206 34. Migration Archive 209 Migrating to earlier Releases 209 Migrating from XML4C 4.0.1 to 5.0.0 209 Migrating from XML4C 3.5.2 to 4.0.1 215 Migrating from XML4C 3.3.1 to 3.5.2 217 Migrating from XML4C 2.x to XML4C 3.3.1 217 35. Feedback Procedures 221 Questions or Comments 221 Acknowledgements 221 36. Bug Reporting 224 How to report bugs 224 Search first 224 Write good bug report 224 37. PDF Documentation 226 PDF Documentation 226 Appendix A: Links Reference 227 1 XML for C++ Parser XML4C Version 5.1.0 XML4C is a validating XML parser written in a portable subset of C++. XML4C makes it easy to give your application the ability to read and write XML [1] data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. XML4C is faithful to the XML 1.0 [2] recommendation and many associated standards (see Features below). The parser provides high performance, modularity, and scalability. Source code, samples and API documentation are provided with the parser. For portability, care has been taken to make minimal use of templates, no RTTI, and minimal use of #ifdefs. Applications of the XML4C Parser XML4C has rich generating and validating capabilities. The parser is used for: · Building XML-savvy Web servers · Building next generation of vertical applications that use XML as their data format · On-the-fly validation for creating XML editors · Ensuring the integrity of e-business data expressed in XML · Building truly internationalized XML applications Features · Conforms to · XML 1.0 (Second Edition) [3] , W3C Recommendation of October 6, 2000 · DOM Level 1 Specification [4] , W3C Recommendation of October 1, 1998 · DOM Level 2 Core Specification [5] , W3C Recommendation of November 13, 2000 · DOM Level 2 Traversal and Range Specification [6] , W3C Recommendation of November 13, 2000 · SAX 1.0 and SAX 2.0 [7] · Namespaces in XML [8] , W3C Recommendation of January 14, 1999 · XML Schema Part 1: Structure [9] , W3C Recommendation 2 May 2001 · XML Schema Part 2: Datatypes [10] , W3C Recommendation 2 May 2001 · Experimental Implementation of XML 1.1 [11] , W3C Candidate Recommendation of October 15, 2002 (Note: section 2.13 Normalization Checking has not been implemented) · Contains a partial implementation of the DOM Level 3.0 Core Specification [12] , W3C Working Draft of 09 April 2002 and DOM Level 3.0 Abstract Schemas and Load and Save Specification [13] , W3C Working Draft of 09 April 2002. This implementation is experimental. See DOM Level 3 Support for detail. - 6- Chapter 1 - XML for C++ Parser XML4C Documentation · Source code, samples, and documentation is provided · Programmatic generation and validation of XML · Pluggable catalogs, validators and encodings · High performance · Customizable error handling Platforms with Binaries Operating System Compiler 32-bit binary Windows NT 4.0 SP5 MSVC 6.0 SP3 Redhat Linux 7.2 g++ 3.1 AIX 5.1 xlC_r 5.0.2 Solaris 2.7 Forte C++ Version 6 Update 2 HP-UX 11.0 aCC A.03.13 with pthreads 64-bit binary Windows XP, IA64 Intel C++ Compiler v6, ecl Redhat Linux 7.2, IA64 Intel C++ Compiler v6, ecc AIX 5.1 xlC_r 5.0.2 Solaris 2.7 Forte C++ Version 6 Update 2 HP-UX 11.0 aCC A.03.13 with pthreads Other ports... · OS/390 · AS/400 · FreeBSD · SGI IRIX · Macintosh · OS/2 · PTX · UnixWare · and more! License Information The XML4C Version 5.1.0 is available in both source distribution and binary distribution. Both XML4C are made available under the Apache Software License [14] . - 7- 2 Releases Releases Archive For release information about XML4C 5.0.0 or earlier, please refer to Releases Archive. Release Information of XML4C 5.1.0: February 12, 2003 Date Contributor Description 2003-02-06 Khaled Noaman Schema Errata: 1. E1-2 2. E1-10 3. E1-15 4. E1-16 5. E1-20 6. E1-21 7. E1-22 8. E1-23 9. E1-27 2003-02-06 PeiYong Zhang Schema Errata: 1. E2-9 Base64. 2. E2-12 gMonth. 3. E2-16 maxExclusive. 4. E2-23 seconds part shall have at least one digit after the dot if it appears. 5. E2-24 Duration 'T': allow SchemaDateTimeException be propogated to client. 6. E2-25 language. 2003-02-06 Khaled Noaman Performance: Scanner Reorganization. Create XMLScannerResolver, WFXMLScanner, IGXMLScanner, DGXMLScanner, and SGXMLScanner. - 8- Chapter 2 - Releases XML4C Documentation 2003-02-06 Khaled Noaman Performance: 1. [Bug 13695] Performance problem with large text nodes and XMLFormatter.cpp. 2. Make getNextChar/peekNextChar inline. 3. Reduce instruction counts in XMLReader. 4. Do not call XMLString::stringLen in XMLString::indexOf. 5. Use existing QName in XMLElementDecl instead of creating a new one everytime. 6. Allow creating/setting of XMLAttr using a rawname (i.e. 'prefix:localpart'). 7. Enable/disable calculation of src offset. 8. No need to use temporary buffer to hold namespace value in SAX2XMLReaderImpl. 9. Eliminate unnecessary condition in compareNString. 10. Use global buffer to eliminate repetitive memory creation/deletion - 9- Chapter 2 - Releases XML4C Documentation 2003-02-06 Tinny Ng Performance: 1.
Recommended publications
  • ARM Code Development in Windows
    ARM Code Development in Windows By: Ali Nuhi This guide will describe how to develop code to be run on an embedded Linux system using an ARM processor (specifically the OMAP3530). Environment The Cygwin bash shell will be the environment used for code development. Download it from the below link. http://cygwin.com/install.html READ THE SITE. Download setup.exe and choose the packages you want to install. Some helpful packages to download are: -gcc4-core,g++ etc. (for c and c++ compiling of normal programs) -git core files and completion (version control system) -wget (utility to download files from the internet via HTTP and FTP) -VIM (text editor) -Xemacs (another text editor, better than vim) -nano (simple command line text editor) If you still use windows notepad for writing code please atleast upgrade to notepad++. Toolchain We will be compiling and creating files using CodeSourcery g++ lite toolchains. This is a modified version of GCC which will create files specifically for ARM target systems. Download this at: http://www.codesourcery.com/sgpp/lite/arm/portal/release1803 Download the Windows installer and execute. You can let it install as is unless you have some other install scheme on your computer. I highly recommend reading the getting started pdf that comes with CodeSourcery. Once it’s fully installed open up Cygwin and execute the below lines. $ export CYGPATH=cygpath $ export CYGPATH=c:/cygwin/bin/cygpath If you installed Cygwin to another directory then you must edit the second line. To use the compiler type the following and hit tab twice to see all of the possible options you have.
    [Show full text]
  • Cygwin User's Guide
    Cygwin User’s Guide Cygwin User’s Guide ii Copyright © Cygwin authors Permission is granted to make and distribute verbatim copies of this documentation provided the copyright notice and this per- mission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this documentation under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this documentation into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation. Cygwin User’s Guide iii Contents 1 Cygwin Overview 1 1.1 What is it? . .1 1.2 Quick Start Guide for those more experienced with Windows . .1 1.3 Quick Start Guide for those more experienced with UNIX . .1 1.4 Are the Cygwin tools free software? . .2 1.5 A brief history of the Cygwin project . .2 1.6 Highlights of Cygwin Functionality . .3 1.6.1 Introduction . .3 1.6.2 Permissions and Security . .3 1.6.3 File Access . .3 1.6.4 Text Mode vs. Binary Mode . .4 1.6.5 ANSI C Library . .4 1.6.6 Process Creation . .5 1.6.6.1 Problems with process creation . .5 1.6.7 Signals . .6 1.6.8 Sockets . .6 1.6.9 Select . .7 1.7 What’s new and what changed in Cygwin . .7 1.7.1 What’s new and what changed in 3.2 .
    [Show full text]
  • CS102: Introduction to Python the Goal of This Topic Is to Provide a Brief
    CS102: Introduction to Python The goal of this topic is to provide a brief introduction to Python to give you a feel for a language other than C. In many ways, Python is very different from C. It is generally considered to be a scripting language, although the distinction between scripting languages and other programming languages is not really clear-cut. Scripting languages tend to be interpreted rather than compiled; they tend not to require declarations of variables (the interpreter figures out types based on context); they tend to hide memory management from the programmer; they tend to support regular expressions; etc. In terms of usage, scripting languages tend to be useful for writing short programs quickly when you don't care too much about efficiency. Other languages that are typically considered to be scripting languages include Perl, Awk, and JavaScript. Python supports several styles of programming, including (but not limited to) procedural programming (like C and C++), object-oriented programming (like C++ and Java), and functional programming (like Lisp). Note that it is not a mistake to include C++ in two categories, just as it is not a mistake to include Python in all three of these categories. The first version of Python was released in the late 1980s. Python 2.0 was released in 2000, and various improvements have been made in the Python 2.x chain of releases since that time. Python 3.0 was released in 2008, and again, various improvements have been made in the Python 3.0 chain of releases. Unfortunately, the Python 3 interpreter is not backwards compatible with Python 2, and there seems to be debate as to which is the better version of Python to learn.
    [Show full text]
  • Installing & Using Cygwin/X
    Installing & Using Cygwin/X Arnon Erba Agricultural & Resource Economics Updated October 24, 2019 Contents 1 Installation 2 1.1 Downloading Cygwin...................................2 1.2 Installing Cygwin.....................................2 2 Usage 3 2.1 Launching the X Server.................................3 2.1.1 Method 1: From Start Menu (Recommended).................3 2.1.2 Method 2: From Cygwin Terminal.......................4 2.2 Opening a Terminal Window...............................4 2.3 Closing the X Server...................................5 3 Troubleshooting6 3.1 Can't read lock file....................................6 3.2 Stdin is not a terminal..................................6 1 Abstract Cygwin is an open-source POSIX-compatible environment for Windows that offers many useful GNU/Linux utilities including an X server. Cygwin's X server allows apps requiring the X Window System to run on Windows. When paired with a suitable SSH client, the Cygwin X server can be used to run graphical (GUI) applications on remote servers over SSH. Though Cygwin offers a large number of packages, only a few are required for Cygwin/X. 1 Installation 1.1 Downloading Cygwin Download the Cygwin installer from www.cygwin.com. The installer is named setup-x86 64.exe. Note: If desired, the original installer can be re-run to add additional packages after installation is complete. 1.2 Installing Cygwin 1. Run the downloaded .exe file and follow the prompts. The default options are recommended, such as: • Install from Internet • Root Directory: C:ncygwin64 • Install For: All Users 2. Choose a download site from the list when prompted. Sites that appear to be US-based may offer faster download times due to geographical proximity.
    [Show full text]
  • Cygwin User's Guide
    Cygwin User’s Guide i Cygwin User’s Guide Cygwin User’s Guide ii Copyright © 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc. Permission is granted to make and distribute verbatim copies of this documentation provided the copyright notice and this per- mission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this documentation under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this documentation into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation. Cygwin User’s Guide iii Contents 1 Cygwin Overview 1 1.1 What is it? . .1 1.2 Quick Start Guide for those more experienced with Windows . .1 1.3 Quick Start Guide for those more experienced with UNIX . .1 1.4 Are the Cygwin tools free software? . .2 1.5 A brief history of the Cygwin project . .2 1.6 Highlights of Cygwin Functionality . .3 1.6.1 Introduction . .3 1.6.2 Permissions and Security . .3 1.6.3 File Access . .3 1.6.4 Text Mode vs. Binary Mode . .4 1.6.5 ANSI C Library . .5 1.6.6 Process Creation . .5 1.6.6.1 Problems with process creation . .5 1.6.7 Signals . .6 1.6.8 Sockets . .6 1.6.9 Select .
    [Show full text]
  • Debug Malloc Library Version Version 5.6.5 December 2020
    Debug Malloc Library Version Version 5.6.5 December 2020 Gray Watson This manual is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License. Permission is granted to make and distribute verbatim copies of this manual provided this license notice and this permission notice are preserved on all copies. i Table of Contents Debug Malloc Library ......................... 1 1 Library License and Copying Information ... 2 2 Description of Features and How to Get Started .................................. 3 2.1 How to Install the Library ............................... 3 2.2 Getting Started with the Library ......................... 4 2.3 Basic Description of Terms and Functions ................. 6 2.3.1 General Memory Terms and Concepts ............ 6 2.3.2 Functionality Supported by All Malloc Libraries .. 7 2.4 General Features of the Library .......................... 8 2.5 How the Library Checks Your Program .................. 10 3 How to Program with the Library ......... 12 3.1 Macros Providing File and Line Information.............. 12 3.2 Getting Caller Address Information...................... 12 3.3 Checking of Function Arguments ........................ 13 3.4 Generating a Core File on Errors ........................ 13 3.5 Additional Non-standard Routines....................... 14 3.6 Description of the Internal Error Codes .................. 18 3.7 How to Disable the library .............................. 21 3.8 Using the Library with C++ ............................. 22 3.9 Using Dmalloc With a Debugger ........................ 22 3.9.1 Diagnosing General Problems with a Debugger... 23 3.9.2 Tracking Down Non-Freed Memory ............. 23 3.9.3 Diagnosing Fence-Post Overwritten Memory ..... 24 3.9.4 Translating Return Addresses into Code Locations ................................................ 25 3.10 Using the Library with a Thread Package ..............
    [Show full text]
  • Lab1: Downloading, Installing Magic VLSI Tool on Windows (Cygwin)
    Lab1: Downloading, Installing Magic VLSI Tool on Windows (Cygwin) The objective of this lab is to download, setup, and construct a simple CMOS Inverter in Magic (You will simulate your inverter in Lab 2). You also need to download and install the technology files (i.e. the files that tell Magic about what are the behaviors of the devices that you are using in your circuit!). See this document for details. Deliverables: A printed screen shot of your CMOS inverter in Class on Tuesday, January 29th. YOU MAY COOPERATE WITH YOUR CLASSMATES TO GET THIS LAB WORKING! Follow the instructions below to download and setup Magic: Development Distribution (Magic 8.1) Source Download here: File Revision Size Date magic-8.1.222.tgz 222 (3936) January 2, 2019 at 3:00am Cygwin: 1. Download here: 64-bit version Windows - setup-x86_64.exe 32-bit version Windows - setup-x86.exe 2. Run Setup and choose the appropriate options 3. When the Select Packages setup window appear choose the following packages for installation: 4. Click next and wait for the installation to finish Compile and Install Instructions for Magic 1. Download magic to the root directory of the Cygwin distribution, which by default is C:\cygwin: File Revision Size Date magic-8.1.222.tgz 222 (3936) January 2, 2019 at 3:00am 2. Bring up a Cygwin terminal on the Windows desktop. 3. Type cd / 4. This is where the file magic-8.1.222.tgz should be. 5. Type tar xfz magic-8.1.222.tgz 6. Type cd magic-8.1.222 7.
    [Show full text]
  • Comparative Studies of Six Programming Languages
    Comparative Studies of Six Programming Languages Zakaria Alomari Oualid El Halimi Kaushik Sivaprasad Chitrang Pandit Concordia University Concordia University Concordia University Concordia University Montreal, Canada Montreal, Canada Montreal, Canada Montreal, Canada [email protected] [email protected] [email protected] [email protected] Abstract Comparison of programming languages is a common topic of discussion among software engineers. Multiple programming languages are designed, specified, and implemented every year in order to keep up with the changing programming paradigms, hardware evolution, etc. In this paper we present a comparative study between six programming languages: C++, PHP, C#, Java, Python, VB ; These languages are compared under the characteristics of reusability, reliability, portability, availability of compilers and tools, readability, efficiency, familiarity and expressiveness. 1. Introduction: Programming languages are fascinating and interesting field of study. Computer scientists tend to create new programming language. Thousand different languages have been created in the last few years. Some languages enjoy wide popularity and others introduce new features. Each language has its advantages and drawbacks. The present work provides a comparison of various properties, paradigms, and features used by a couple of popular programming languages: C++, PHP, C#, Java, Python, VB. With these variety of languages and their widespread use, software designer and programmers should to be aware
    [Show full text]
  • In Using the GNU Compiler Collection (GCC)
    Using the GNU Compiler Collection For gcc version 6.1.0 (GCC) Richard M. Stallman and the GCC Developer Community Published by: GNU Press Website: http://www.gnupress.org a division of the General: [email protected] Free Software Foundation Orders: [email protected] 51 Franklin Street, Fifth Floor Tel 617-542-5942 Boston, MA 02110-1301 USA Fax 617-542-2652 Last printed October 2003 for GCC 3.3.1. Printed copies are available for $45 each. Copyright c 1988-2016 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being \Funding Free Software", the Front-Cover Texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the section entitled \GNU Free Documentation License". (a) The FSF's Front-Cover Text is: A GNU Manual (b) The FSF's Back-Cover Text is: You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development. i Short Contents Introduction ::::::::::::::::::::::::::::::::::::::::::::: 1 1 Programming Languages Supported by GCC ::::::::::::::: 3 2 Language Standards Supported by GCC :::::::::::::::::: 5 3 GCC Command Options ::::::::::::::::::::::::::::::: 9 4 C Implementation-Defined Behavior :::::::::::::::::::: 373 5 C++ Implementation-Defined Behavior ::::::::::::::::: 381 6 Extensions to
    [Show full text]
  • Learning the Vi and Vim Editors Other Resources from O’Reilly
    Learning the vi and Vim Editors Other resources from O’Reilly Related titles vi Editor Pocket Reference The Productive Programmer Unix in a Nutshell Unix Power Tools Classic Shell Scripting Mac OS X for Unix Geeks oreilly.com oreilly.com is more than a complete catalog of O’Reilly books. You’ll also find links to news, events, articles, weblogs, sample chapters, and code examples. oreillynet.com is the essential portal for developers interested in open and emerging technologies, including new platforms, pro- gramming languages, and operating systems. Conferences O’Reilly Media brings diverse innovators together to nurture the ideas that spark revolutionary industries. We specialize in documenting the latest tools and systems, translating the inno- vator’s knowledge into useful skills for those in the trenches. Visit conferences.oreilly.com for our upcoming events. Safari Bookshelf (safari.oreilly.com) is the premier online refer- ence library for programmers and IT professionals. Conduct searches across more than 1,000 books. Subscribers can zero in on answers to time-critical questions in a matter of seconds. Read the books on your Bookshelf from cover to cover or sim- ply flip to the page you need. Try it today for free. main.title Page iii Monday, May 19, 2008 11:21 AM SEVENTH EDITION Learning the vi and VimTomcat Editors™ The Definitive Guide Arnold Robbins, ElbertJason Brittain Hannah, and and Ian Linda F. Darwin Lamb Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo Learning the vi and Vim Editors, Seventh Edition by Arnold Robbins, Elbert Hannah, and Linda Lamb Copyright © 2008 Arnold Robbins, Elbert Hannah, and Linda Lamb.
    [Show full text]
  • Putty/Cygwin Tutorial
    PuTTY/Cygwin Tutorial By Ben Meister Written for CS 23, Winter 2007 This tutorial will show you how to set up and use PuTTY to connect to CS Department computers using SSH, and how to install and use the Cygwin X-Windows Server to run graphical applications over the PuTTY connection. Files You’ll Need: PuTTY (the SSH client) http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe Cygwin http://www.cygwin.com/setup.exe Part 1. PuTTY Start by downloading PuTTY (not PuTTYTel, but PuTTY, as seen above). You’ll want to save this file in an easily accessible location. I personally recommend the desktop, so that you’re just a double-click away. Now, let’s begin! Double-click the PuTTY icon, and the PuTTY Configuration window will appear: 1 In this first portion of the tutorial, we will run PuTTY as a simple SSH client, without the use of X forwarding for graphical applications (that comes in the second part of the turorial). For now, we’ll just connect with a text console. Leave the Port at 22, and make sure the First enter the host name Protocol is set to SSH. of the machine you wish to connect to… You’ll probably want to save the connection info so that you can connect quickly later. To do this, enter a name here… …and then click Save to save the session profile. When you start PuTTY in the future, you’ll see that your profile is saved. 2 Double-click a profile to connect to it.
    [Show full text]
  • Perl for Introductory Programming Courses
    Perl for Introductory Programming Courses Jason Moore, Mitchell A. Thornton Ronald W. Skeith Southern Methodist University University of Arkansas Dallas, Texas Fayetteville, Arkansas Abstract: While Perl stands for The Practical Extraction and Report Language, even a cursory examination reveals that it is far more extensive and had much more capability than a reporting language. The Perl programming language, developed by Larry Wall, is a flexible and a dynamic scripting language. Perl is referred to as a dynamic language because it uses an interpreter instead of a complier. Perl programming language information is available at www.perl.com and www.activestate.com. Perl runs on most platforms including Windows XP, Mac OS X, Linux, and UNIX allowing students to gain development experience using all of the major platforms. Perl comes bundled with Linux distributions and the version of Perl and other details of the installation can be determined from the command line by invoking the $perl –v and $perl -V commands in a Linux or UNIX environment. An excellent way to use Perl on a XP platform is to install the cygwin emulator which can be downloaded from www.cygwin.com. cygwin comes bundled with the latest version of Perl. cygwin operates as if it were a platform in a DOS window while using the XP operating system. Perl is updated and maintained by a development team referred to as the Perl Porters. A vast number of users contribute to CPAN, a public depository of software applications, documentation, binary distributions, and FAQ’s. CPAN, the Comprehensive Perl Archive Network, maintains a website that houses and distributes free Perl materials.
    [Show full text]