TTY
QFileDialog doesn’t list tty* files in /dev/ on Linux
I’m wor开发者_JAVA技巧king on a Linux desktop application that needs to open a USB serial port, typically /dev/ttyUSB0 or /dev/ttyUSB1. I’m using QFileDialog to let the user select the file:[详细]
2023-04-12 01:26 分类:问答Which serial device is linked to console(Linux)?
I want to find out which serial device (/dev/ttyS0-X) is linked to console so I can skip them from opening to prevent concurrent problems. This should be realized within a generic C/C++ function, that[详细]
2023-04-05 21:35 分类:问答Why do I have to type ctrl-d twice? [duplicate]
This question already has answers here: Why do I have to press Ctrl+D twice to close stdi开发者_运维问答n?[详细]
2023-04-03 17:54 分类:问答TTY ,SWIG and PHP
Need some help here. I have a c++ library for communicating with an embedded module (ArchLinux) via tty. This library was compiled/converted into php using swig.[详细]
2023-04-01 08:53 分类:问答Open a database shell from ant task?
I\'ve been working on a Python/Django project and I just discovered the \'./manage.py dbshell\' command. It reads your configuration file for the database credentials and launches a database shell开发[详细]
2023-03-23 19:23 分类:问答How i can read tty file with timeout?
I have tty device in /dev , where I send AT commands. I wan开发者_JS百科t to read line by line and stop reading file after timeout.You can use the program stty to configure the tty device. To see the[详细]
2023-03-21 03:17 分类:问答writting to master pty, but cannot read in slave :(
trying to write primitive test. Program must startup tcp-server, receive connection and redirect received data to forked program. Here is the code:[详细]
2023-03-20 06:18 分类:问答pipe usage in virtual tty
i am using a simple pipe programing for writing and reading the tty which made from inserting the program code from the linux device driver book version 3 of o\'reilly. i inserted this 开发者_如何学运[详细]
2023-03-19 20:25 分类:问答How to track processed launch by a shell from outside the shell?
I launch a shell with exec(\"/bin/sh\") in a C program. How can I track the processed launched by the \"sh\" process ?[详细]
2023-03-18 15:47 分类:问答How can I detect that a command completed its output in a tty?
I\'m studying the code of Mobile Terminal which is a command line for iPhone. The projects emulates a VT100 terminal.[详细]
2023-03-18 03:55 分类:问答