Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there some program like COM0COM in linux? [closed]

I use com0com for program testing in windows, are there any program like com0com in linux?

I know there is pts/ptmx, but what I want is a stand alone program to provide 2 virtual serial ports...

Then I can open 2 program, each attench one...

like image 726
linjunhalida Avatar asked Feb 01 '10 08:02

linjunhalida


People also ask

What is Null-modem emulator?

The Null-modem emulator is an open source kernel-mode virtual serial port driver for Windows, available freely under GPL license. The Null-modem emulator allows you to create an unlimited number of virtual COM port pairs and use any pair to connect one COM port based application to another.

What is VSP in Linux?

Virtual Serial Port Driver for LINUX (VSPDL) powers Virtual Serial Ports (VSPs) that emulate "real" serial ports under LINUX OS. The VSPDL is an "engine" that powers Virtual Serial Ports (VSPs ). To any LINUX application the VSP "looks and feels" just like a "normal" serial port.

Is com0com free?

com0com is a free utility to create virtual serial port pairs that can be used to capture the debug output of ReactOS and direct it to a terminal program. Useful terminal programs that are able to get this output include: Hyper Terminal. Teraterm.


1 Answers

I found a good method:

socat PTY,link=COM8 PTY,link=COM9

then 2 virtual serial port files are created: COM8, COM9

like image 74
linjunhalida Avatar answered Nov 06 '22 19:11

linjunhalida