Automatic switching method between Xwindows display mode and console display mode
A display mode and automatic switching technology, applied in the direction of program startup/switching, multi-program device, etc., can solve the problems of occupying system resources, too many, and unable to guarantee functions, etc., to reduce complexity and avoid occupying system resources.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] The present invention provides a kind of automatic switching method of Xwindows display mode and console display mode, at first the method of the present invention is explained in Fig. 1, and this figure is the operation flowchart of the present invention, at first obtains the state of all virtual terminals in the core (step 110), obtain and save the current virtual terminal number (step 120), then obtain and save the callable display mode (step 130), switch to the target display mode (step 140), and finally wait for the target display mode to start (step 150) .
[0019] In the above process of obtaining the status of all virtual terminals in the core, first obtain the file descriptor (File Description) of the current virtual terminal (Virtual Terminal), and then the system calls the ioctl function (fd, VT_GETSTATE, &vs) to obtain the kernel (Kernel) Status of the virtual terminal.
[0020] Firstly, the present invention will be described in detail by taking the automa...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com