Blessed Documentation Release 1.11.0
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Technical Standard
Technical Standard X/Open Curses, Issue 7 The Open Group ©November 2009, The Open Group All rights reserved. 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 or otherwise, without the prior permission of the copyright owners. Technical Standard X/Open Curses, Issue 7 ISBN: 1-931624-83-6 Document Number: C094 Published in the U.K. by The Open Group, November 2009. This standardhas been prepared by The Open Group Base Working Group. Feedback relating to the material contained within this standardmay be submitted by using the web site at http://austingroupbugs.net with the Project field set to "Xcurses Issue 7". ii Technical Standard 2009 Contents Chapter 1 Introduction........................................................................................... 1 1.1 This Document ........................................................................................ 1 1.1.1 Relationship to Previous Issues ......................................................... 1 1.1.2 Features Introduced in Issue 7 ........................................................... 2 1.1.3 Features Withdrawn in Issue 7........................................................... 2 1.1.4 Features Introduced in Issue 4 ........................................................... 2 1.2 Conformance............................................................................................ 3 1.2.1 Base Curses Conformance ................................................................. -
Chapter 18 Terminal I/O
Chapter 18 Terminal I/O Cheng-Hsin Hsu National Tsing Hua University Department of Computer Science Parts of the course materials are courtesy of Prof. Chun-Ying Huang CS5432 Advanced UNIX Programming 1 Outline • Introduction and overview • Special input characters • Getting and setting terminal attributes • Terminal option flags • stty command • Line control functions • Terminal identification • Terminal modes: Canonical, non-canonical mode, cbreak, and raw • Terminal window size • termcap, terminfo, and curses Terminal I/O 2 Introduction • The handling of terminal I/O is a messy area • The manual page for terminal I/O is usually one of the longest in the programmer’s manuals • We look at all the POSIX.1 terminal functions and some of the platform-specific additions in this chapter • Terminal I/O has two modes • Canonical mode input processing – Terminal input is processed as lines – For example, read functions return a single line • Non-canonical mode input processing – Input characters are not assembled into lines – For example, full screen editors like vi works in this mode Terminal I/O 3 Introduction (Cont’d) • Older BSD-style terminal drivers supported three modes for terminal input • (a) cooked mode – Input is collected into lines, and the special characters are processed • (b) raw mode – Input is not assembled into lines, and there is no processing of special characters • (c) cbreak mode – Input is not assembled into lines, but some of the special characters are processed • POSIX.1 defines 11 special input characters, e.g., Ctrl-D -
Man Pages Section 3: Curses Library Functions
man pages section 3: Curses Library Functions Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 816–0215–10 May 2002 Copyright 2002 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. Sun, Sun Microsystems, the Sun logo, docs.sun.com, AnswerBook, AnswerBook2, and Solaris are trademarks, registered trademarks, or service marks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. The OPEN LOOK and Sun™ Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun’s licensees who implement OPEN LOOK GUIs and otherwise comply with Sun’s written license agreements. -
Linux Backspace/Delete Mini-HOWTO Sebastiano Vigna [email protected]
Linux Backspace/Delete mini-HOWTO Sebastiano Vigna [email protected] Revision History Revision v1.6 19 Jan 2002 Included many comments from Alex Boldt and Chung-Rui Kao. Revision v1.5 3 May 2000 Updated for new distros and the tput trick. Revision v1.4 7 December 2000 Updated for Red Hat 7.0 and Helix Gnome conflicts. Revision v1.3 18 October 2000 Name change. Revision v1.2 15 October 2000 Updated. Added "What If Nothing Works" section. Revision v1.1 13 September 2000 Added tcsh fixes Revision v1.0 5 September 2000 First release Table of Contents Introduction ...........................................................................................................................3 How Keys Are Turned Into Actions ..................................................................................3 Why It Doesn’t (Always) Work ..........................................................................................4 X................................................................................................................................................4 What You Should Do When Writing Applications ........................................................5 What You Should Do On Your System.............................................................................5 What If Nothing Works .......................................................................................................9 More Hacking........................................................................................................................9 Conclusions..........................................................................................................................10 -
Univerzita Pardubice Fakulta Elektrotechniky a Informatiky Návrh
Univerzita Pardubice Fakulta elektrotechniky a informatiky Návrh konzolového frameworku pro UI a grafiku v C++ Jozef Marek Bakalářská práce 2018 Prohlášení autora Prohlašuji, že jsem tuto práci vypracoval samostatně. Veškeré literární prameny a informace, které jsem v práci využil, jsou uvedeny v seznamu použité literatury. Byl jsem seznámen s tím, že se na moji práci vztahují práva a povinnosti vyplývající ze zákona č. 121/2000 Sb., autorský zákon, zejména se skutečností, že Univerzita Pardubice má právo na uzavření licenční smlouvy o užití této práce jako školního díla podle § 60 odst. 1 autorského zákona, a s tím, že pokud dojde k užití této práce mnou nebo bude poskytnuta licence o užití jinému subjektu, je Univerzita Pardubice oprávněna ode mne požadovat přiměřený příspěvek na úhradu nákladů, které na vytvoření díla vynaložila, a to podle okolností až do jejich skutečné výše. Souhlasím s prezenčním zpřístupněním své práce v Univerzitní knihovně. V Pardubicích dne 10. 12. 2018 podpis autora Jozef Marek PODĚKOVÁNÍ Rád bych poděkoval Ing. Romanu Divišovi za cenné rady, věcné připomínky, trpělivost a vstřícnost při konzultacích a vypracování této práce. Dále děkuji mé rodině za trpělivost a oporu, které se mi dostávalo při tvorbě této práce. Nakonec bych chtěl poděkovat svým přátelům, a to zejména panu Ing. Liboru Šafkovi a Mgr. Veronice Glaserové za neuvěřitelnou podporu, která byla při psaní této práce zapotřebí. ANOTACE Práce se zabývá návrhem a implementací frameworku pro realizaci uživatelského rozhraní v textovém režimu (konzoli). V první části jsou představeny vybrané knihovny a frameworky s využitím pod různými operačními systémy. Dále je představeno Windows API a jeho využití v rámci textového (konzolového) režimu. -
NCURSES-Programming-HOWTO.Pdf
NCURSES Programming HOWTO Pradeep Padala <[email protected]> v1.9, 2005−06−20 Revision History Revision 1.9 2005−06−20 Revised by: ppadala The license has been changed to the MIT−style license used by NCURSES. Note that the programs are also re−licensed under this. Revision 1.8 2005−06−17 Revised by: ppadala Lots of updates. Added references and perl examples. Changes to examples. Many grammatical and stylistic changes to the content. Changes to NCURSES history. Revision 1.7.1 2002−06−25 Revised by: ppadala Added a README file for building and instructions for building from source. Revision 1.7 2002−06−25 Revised by: ppadala Added "Other formats" section and made a lot of fancy changes to the programs. Inlining of programs is gone. Revision 1.6.1 2002−02−24 Revised by: ppadala Removed the old Changelog section, cleaned the makefiles Revision 1.6 2002−02−16 Revised by: ppadala Corrected a lot of spelling mistakes, added ACS variables section Revision 1.5 2002−01−05 Revised by: ppadala Changed structure to present proper TOC Revision 1.3.1 2001−07−26 Revised by: ppadala Corrected maintainers paragraph, Corrected stable release number Revision 1.3 2001−07−24 Revised by: ppadala Added copyright notices to main document (LDP license) and programs (GPL), Corrected printw_example. Revision 1.2 2001−06−05 Revised by: ppadala Incorporated ravi's changes. Mainly to introduction, menu, form, justforfun sections Revision 1.1 2001−05−22 Revised by: ppadala Added "a word about window" section, Added scanw_example. This document is intended to be an "All in One" guide for programming with ncurses and its sister libraries. -
UNIX System V User's Reference Manual AT&T
ATs.T ~vst8m ., UNIX® System V User's Reference Manual AT.T UNIX® System V I" User's Reference Manual AT&T Prentice-Hall, Inc., Englewood Cliffs, NJ 07632 Library of Congress Catalog Card Number: 87-60148 Editorial/production supervision: Karen S. Fortgang Cover illustration: Jim Kinstry Manufacturing buyer: S. Gordon Osbourne © 1987,1986 by AT&T. All Rights Reserved. IMPORTANT NOTICE TO USERS While every effort has been to ensure the accuracy of all information in this document, AT&T assumes no liability to any party for any loss or damage caused by errors or omissions or statements of any kind in the UNIX@ Sys tem V User's Reference Manual ©AT&T, its upgrades, supplements, or spe cial editions, whether such errors are omissions or statements resulting from negligence, accident or any other cause. AT&T further assumes no liability arising out of the application or use of any product or system described herein; nor any liability for incidental or consequential damages arising from the use of this document. AT&T disclaims all warranties regarding the infor mation contained herein, whether expressed, implied or statutory, including implied warranties or merchantability or fitness for a particular purpose. AT&T reserves the right to make changes without further notice to any pro ducts herein to improve reliability, function or design. No part of this publication may be reproduced, transmitted or used in any form or by any means-graphic, electronic, mechanical or chemical, including photocopying, recording in any medium, taping, by any computer or informa tion storage and retrieval systems, etc. -
Name Description
TERMCAP(5) Linux Programmer’sManual TERMCAP(5) NAME termcap − terminal capability database DESCRIPTION The termcap database is an obsolete facility for describing the capabilities of character-cell terminals and printers. It is retained only for capability with old programs; newprograms should use the terminfo(5) database and associated libraries. /etc/termcap is an ASCII file (the database master) that lists the capabilities of manydifferent types of ter- minals. Programs can read termcap to find the particular escape codes needed to control the visual at- tributes of the terminal actually in use. (Other aspects of the terminal are handled by stty(1).) The termcap database is indexedonthe TERM environment variable. Termcap entries must be defined on a single logical line, with '\' used to suppress the newline. Fields are separated by ':'. The first field of each entry starts at the left-hand margin, and contains a list of names for the terminal, separated by '|'. The first subfield may (in BSD termcap entries from versions 4.3 and earlier) contain a short name consist- ing of twocharacters. This short name may consist of capital or small letters. In 4.4BSD, termcap entries this field is omitted. The second subfield (first, in the newer 4.4BSD format) contains the name used by the environment vari- able TERM.Itshould be spelled in lowercase letters. Selectable hardware capabilities should be marked by appending a hyphen and a suffix to this name. See belowfor an example. Usual suffixes are w (more than 80 characters wide), am (automatic margins), nam (no automatic margins), and rv (reverse video dis- play). -
Opencobol 1.1 Build Guide
OpenCOBOL 1.1 [06FEB2009] Build Guide for MinGW 09/10/2010 OpenCOBOL 1.1 [06FEB2009 Version] Build Guide For MinGW OpenCOBOL is copyrighted by: Keisuke Nishida Roger While Documentation prepared by: Gary Cutler [email protected] This document builds upon the instructions found in the “MinGW Open-Cobol Install” Documentation at http://sourceforge.net 1 OpenCOBOL 1.1 [06FEB2009] Build Guide for MinGW 09/10/2010 Contents Introduction .................................................................................................................................................. 2 Overview of the Process ............................................................................................................................... 3 Install MinGW 5.1.6 ...................................................................................................................................... 4 Install MSYS 1.0.11 ........................................................................................................................................ 5 Download and Build the GNU Multiple-Precision Arithmetic package (GMP) 5.0.1 .................................... 6 Download and Build the Public Domain Curses (PDCurses) Package 3.4 ..................................................... 8 Download and Build the Berkeley Database (BDB) Package 5.0.26 ............................................................. 9 Download the OpenCOBOL Source .............................................................................................................. -
Retro Desktops for Retro Computers
Retro desktops for retro computers From 8-bit to Atari, Amiga & friends François Revol [email protected] Little boxes from the 80s ● 8bit CPU (6502, z80…) ● Up to 64kB of RAM, sometimes more (banking) ● Text display (≤40 columns); �� ● Graphics (no standard, lots of restrictions) ● Sound: synth chip (YM, SID…) ● Cassette tape, floppy if you’re lucky; RS-232 ● Usually running Microsoft BASIC Contiki [BSD] ● Started as a multitasking OS for C64 ● Ported to many other 8bit (1.x; fork & archive), – then to sensor nodes (IoT) for 2.0 ● Protothreads (switch()-based coroutines) ● IPv4 & v6 (Cisco-certified!) ● “Graphical” User Interface (CTK) + VNC server ● Web browser, IRC… Contiki Contiki – about.c #include <string.h> #include "contiki.h" #include "ctk/ctk.h" #include "lib/petsciiconv.h" static struct ctk_window aboutdialog; static struct ctk_label aboutlabel1 = {CTK_LABEL(2, 0, 28, 1, "The Contiki Operating System")}; static struct ctk_label aboutlabel2 = {CTK_LABEL(3, 2, 28, 1, "A modern, Internet-enabled")}; static struct ctk_label aboutlabel3 = {CTK_LABEL(6, 3, 20, 1, "operating system and")}; static struct ctk_label aboutlabel4 = {CTK_LABEL(6, 4, 20, 1, "desktop environment.")}; static char abouturl_petscii[] = "http://www.sics.se/~adam/contiki/ "; static char abouturl_ascii[40]; static struct ctk_hyperlink abouturl = {CTK_HYPERLINK(0, 6, 32, "http://www.sics.se/~adam/contiki/", abouturl_ascii)}; static struct ctk_button aboutclose = {CTK_BUTTON(12, 8, 5, "Close")}; PROCESS(about_process, "About Contiki"); AUTOSTART_PROCESSES(&about_process); -
Keyboard-And-Console-HOWTO.Pdf
The Linux keyboard and console HOWTO The Linux keyboard and console HOWTO Table of Contents The Linux keyboard and console HOWTO......................................................................................................1 Andries Brouwer, aeb@cwi.nl.................................................................................................................1 1. Useful programs...................................................................................................................................1 2. Keyboard generalities..........................................................................................................................1 3. Console generalities.............................................................................................................................1 4. Resetting your terminal........................................................................................................................1 5. Delete and Backspace..........................................................................................................................1 6. The console character sets...................................................................................................................1 7. Console switching................................................................................................................................1 8. Ctrl−Alt−Del and other special key combinations..............................................................................2 9. How to get out -
Getting Started with Opencobol for <Windows> Dummies (Like
Getting Started with OpenCOBOL for <Windows> Dummies (like me) By Bill Klein [email protected] Revised: Monday, March 2, 2009 © Copyrighted William M. Klein, 2009 This document may be freely redistributed as long as all copies include information on how to obtain or view the unmodified document in its original PDF and/or HTML format and as long as no attempt is made to restrict any recipient from redistributing it on the same terms. Any part or the whole may be used for the creation of any other non-commercial document or information source, in any format or medium as long as information is provided on how to obtain or view the unmodified document in its original PDF and/or HTML format. It may not be sold or incorporated into commercial documents without the written permission of the copyright holder. Permission is granted for this document to be made available for file transfer from sites offering unrestricted file transfer on the Internet and from any COBOL related forums as long as the restrictions of the previous paragraph are met. This document is provided as is, without any warranty. Table of Contents Introduction................................................................................................................................ 3 General...................................................................................................................................... 5 Download and install “Cygwin” .................................................................................................. 9 After installing