Termcap and terminfo

John Strang, Tim O'Reilly and Linda Mui

While termcap and terminfo are no longer as important as they once were, due to the growth of the X terminal market and increased standardization among ASCII terminals, handling different terminal types can still be a headache for system administrators. The termcap and terminfo databases are UNIX's solution to the difficulty of supporting many terminals without writing special drivers for each terminal. Termcap (BSD) and terminfo (System V) describe the features of hundreds of terminals, together with a library of routines that allow programs to use those capabilities. This book documents hundreds of capabilities and syntax for termcap and terminfo, writing and debugging terminal descriptions, and terminal initialization. Contents include: Terminal independence: the need for termcap and terminfo. Reading termcap and terminfo entries. Capability syntax. Initializing the terminal environment. Writing termcap and terminfo entries. Converting between termcap and terminfo. Detailed descriptions of the capabilities. Screen dimensions and cursor movement. Initialization and reset. Special and equivalent terminals. Many useful appendices.

「Nielsen BookData」より

[目次]

  • Preface. What This Book Contains. Typographic Conventions. Acknowledgements Part 1: Tutorial. Chapter 1 Introduction The Coming of Termcap The Coming of Terminfo What Termcap and Terminfo Do and Don't Control. Chapter 2 Reading Termcap and Terminfo Entries Where the Database is Stored Reading a Simple Entry Complete Sample Termcap Entries Complete Sample Terminfo Entries. Chapter 3 More Termcap and Terminfo Syntax Terminal Naming Conventions Padding Encoding Run Time Arguments. Chapter 4 Termcap, Terminfo and the Shell Environment Variables Default Terminal Type Specification Setting TERM with tset Initializing the Terminal with tset Initializing the Terminal with tput Using Terminfo Capabilities in Shell Programs. Chapter 5 Writing Termcap and Terminfo Entries Strategies for Obtaining Terminal Descriptions Modifying an Entry Creating an Entry From Scratch Writing the Entry Testing the New Entry Installing a Finished Entry. Chapter 6 Converting Between Termcap and Terminfo Converting From Termcap to Terminfo: captoinfo Converting From Terminfo to Termcap: infocmp Some Problems When Translating Other Uses of infocmp Comparing Termcap Entries. Part 2: Capability Reference. Chapter 7 Introduction to the Capabilities Syntax Used in Part 2 How to Read the Reference. Chapter 8 Screen Dimensions and Cursor Movement Screen Dimensions Local Cursor Movement Parameterized Local Cursor Movement Absolute Cursor Movement Scrolling Miscellaneous Local Movements Status Lines. Chapter 9 Editing the Screen Adding to the Screen Deleting From the Screen Insert Mode. Chapter 10 Initialization and Reset Termcap Initialization and Reset Terminfo Initialization and Reset Program Initialization Setting and Using Tabs Margins. Chapter 11 Special Effects Standout Mode Underlining Miscellaneous Highlight Modes and Alternate Character Sets Bells Cursor Intensity. Chapter 12 Special Keys Special Function Keys Extended Function Key Definitions Programmable Function Keys Keypad Keys Other Special Keyboard Keys Extended Special Key Descriptions. Chapter 13 Padding and XON/XOFF Padding Capabilities XON/XOFF Flow Control. Chapter 14 Special Terminals Glitch Capabilities Hardcopy Terminals Terminals With Local Printers Line Graphics Meta Modes. Chapter 15 Equivalent Terminals Equivalent Terminal Disabling Capabilities. Chapter 16 Miscellaneous Miscellaneous Miscellaneous (obsolete) Part 3: Appendices. Appendix A Capabilities Used by vi Appendix B Accessing Termcap From a C Program The Termcap Library Test Program Appendix C Accessing Terminfo From C Program The Terminfo Routines Test Program Capability Variable Names Appendix D List of Capabilities Index

「Nielsen BookData」より

この本の情報

書名 Termcap and terminfo
著作者等 Mui, Linda
O'Reilly, Tim
Strang, John
シリーズ名 A nutshell handbook
出版元 O'Reilly & Associates
刊行年月 1988
版表示 3rd ed
ページ数 xv, 254 p
大きさ 22 cm
ISBN 0937175226
NCID BA10001615
※クリックでCiNii Booksを表示
言語 英語
出版国 アメリカ合衆国
この本を: 
このエントリーをはてなブックマークに追加

このページを印刷

外部サイトで検索

この本と繋がる本を検索

ウィキペディアから連想