Copyright © 2003 by Naba Barkakati. All rights reserved.
Published by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8700. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4447, E-mail: email@example.com.
Limit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts in preparing this book, they make no representations or warranties with respect to the accuracy or completeness of the contents of this book and specifically disclaim any implied warranties of merchantability or fitness for a particular purpose. No warranty may be created or extended by sales representatives or written sales materials. The advice and strategies contained herein may not be suitable for your situation. You should consult with a professional where appropriate. Neither the publisher nor author shall be liable for any loss of profit or any other commercial damages, including but not limited to special, incidental, consequential, or other damages.
For general information on our other products and services or to obtain technical support please contact our Customer Care Department within the United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Trademarks: Wiley and the Wiley Publishing logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.
Library of Congress Control Number: 2003105672
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
is a trademark of Wiley Publishing, Inc.
Debra Williams Cauley
Foxxe Editorial Services
Kathryn A. Malm
Graphics and Production Specialists
Quality Control Technicians
John Tyler Connoley
Media Development Specialist
Media Development Coordinator
Sossity R. Smith
About the Author
Naba Barkakati is an electrical engineer and a successful computer-book author who has experience in a wide variety of systems, ranging from MS-DOS and Windows to UNIX and the X Window System. He bought his first personal computer-an IBM PC-AT-in 1984 after graduating with a Ph.D. in electrical engineering from the University of Maryland.. While pursuing a full-time career in engineering, Naba dreamed of writing software for the emerging PC software market. As luck would have it, instead of building a software empire like Microsoft, he ended up writing successful computer books. Currently, Naba is a senior level technologist at the Center for Technology and Engineering in the U.S. General Accounting Office.
Over the past 14 years, Naba has written over 25 computer books on a number of topics ranging from Windows programming with C++ to Linux. He has authored several best-selling titles such as The Waite Group's Turbo C++ Bible, Object-Oriented Programming in C++, X Window System Programming, Visual C++ Developer's Guide, and Borland C++ 4 Developer's Guide. His books have been translated into many languages, including Spanish, French, Polish, Greek, Italian, Chinese, Japanese, and Korean. Naba's most recent book is Red Hat Linux All-in-One Desk Reference For Dummies, also published by Wiley Publishing, Inc.
Naba lives in North Potomac, Maryland, with his wife Leha, and their children, Ivy, Emily, and Ashley.
This book is dedicated to my wife, Leha, and daughters, Ivy, Emily, and Ashley.
CD-ROM Installation Instructions
Insert the CD-ROMs into your CD-ROM drive. The setup program on the CD-ROMs should start automatically, displaying a dialog with the options that you can install. Select the options that you want to install and the drive and subdirectory into which you want to install the software.
For more information about installing the CD-ROMs, please refer to Appendix H.