Based on the research and development of the linux terminal emulation program
- Author
- WangXiaoJun
- Advisor
- FuYiDe , XiaHaiYuan
- School
- Nanjing University of Technology and Engineering
- Major
- Computer technology
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 50
- Citations
- 1
Abstract
Before linux system is not widely used in the domestic terminal Guoguang main character terminal and the windows of the Western text terminal . However, with the maturity of Linux technology , linux system in all walks of life have been widely used . Major industrial users for all aspects of safety and cost considerations , based linux system terminal equipment demand more and more . Guoguang strengthen linux system R \u0026 D investment in R \u0026 D , especially Linux terminal . Linux terminal works with thin client / server (Thin-Client/Server) computing model , the new terminal , browser , device management , RDP protocol , X protocol and other functions are all integrated together , to provide users with a a higher-end thin client terminal . Terminal emulation program as a practical technology in the era of dumb terminals , still many industrial users are using . Simply dumb terminal to the new terminal instead of the original business a lot of dumb terminal - based mode can not expand , and therefore must support terminal emulation functions in the linux terminal . How to achieve simulation on a linux system , linux terminal dumb terminal , is the focus of the article discusses .
Table of contents
Abstract 3-4
ABSTRACT 4-7
1. introduction 7-10
1.1 terminal technology development 7-8
1.2 emulator role 8
1.3 This thesis design features 8-9
1.4 Introduction This article 9-10
2. terminal emulation Overview 10-14
2.1 terminal concepts and classifications 10-11
2.2 terminal emulation working process and principles 11-12
2.3 terminal emulation must have features 12-14
3.LINUX Development Environment 14-22
3.1 traditional character terminal and new technology network terminal differentiation 14-15
3.1.1 legacy terminals technological base 14
3.1.2 new network terminal technology infrastructure 14-15
3.2 LINUX system features 15-16
3.3 compiler LINUX system 16-18
3.3.1 Embedded linux system cuts and compile 16-18
3.3.2 Embedded linux DOM disk production 18
3.4 LINUX under what graphics technology 18-22
3.4.1 FrameBufferr 18-20
3.4.2 Qt / Embedded 20
3.4.3 GTK 20
3.4.4 XLib 20-21
3.4.5 choose which kind of graphics technology 21-22
4. program overall design 22-36
4.1 LINUX under X_ (LIB) programming 22-26
4.1.1 X Architecture Description 22
4.1.2 X program basic structure 22-26
4.2 Emulator main frame 26-30
4.2.1 Module Relationship 26-28
4.2.2 process organization 28-30
4.3 blocking and nonblocking 30-35
4.3.1 X events obstruction 30-32
4.3.2 network or serial read and write blocking 32-35
4.4 Main Flow Description 35-36
5. various modules to achieve 36-76
5.1 keyboard module implementation 36-42
5.1.1 keyboard events 36-37
5.1.2 Keyboard Features 37-38
5.1.3 Keyboard data reception and pre-analysis process 38-40
5.1.4 Keyboard data processing 40-42
5.2 host data reception and processing 42-52
5.2.1 receiving network data 42-48
5.2.2 serial data received master 48-52
5.3 emulation processing 52-54
5.4 terminal display 54-61
5.5 Display Control 61-64
5.6 peripheral control 64-70
5.6.1 auxiliary port concept 64-65
5.6.2 How to activate the auxiliary port 65-66
5.6.3 auxiliary port worker thread creation and destruction 66-70
5.7 Parallel Print 70-76
6. Conclusions 76-77
Thanks 77-78
References 78-79