ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alexandr Ogurtsov <iscander.alt@gmail.com>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] Pseudo nulmodem device for Linux
Date: Fri, 08 Aug 2008 12:45:58 +0300
Message-ID: <489C15D6.7050501@gmail.com> (raw)

Уважаемые коллеги, возможно кто то уже сталкивался.
Интересует есть ли в Linux аналог pseudo nulmodem device типа того что
организуется в BSD  средствами nmdm модуля. Цель - отладка программного
обеспечения общающегося между клиент серверной частью посредством
последовательного порта.  Или же при отсутвии драйвера как возможно
эмулировать для процессов наличие виртуальных последовательных портов
связаных между собой?
Позволю себе процетировать BSD man чтоб прояснить ситуацию чего
собственно хочется:
BSD mandoс:
NAME
nmdm
 - nullmodem terminal driver

SYNOPSIS
device nmdm 
DESCRIPTION
The driver provides support for a device-pair termed a null modem pair A
null modem pair is a pair of character devices. Each device provides to
a process an interface identical to that described in tty(4). However,
whereas most other devices which provide the interface described in
tty(4) have a hardware device of some sort behind them, the device has,
instead, another process manipulating it through the other half of the
pair. That is, anything written on the first device is given to the
second device as input and anything written on the second device is
presented as input on the first device. 
FILES
/dev/nmdm N [AB ]
    nullmodem device nodes. Where the A node has a matching B node.


                 reply	other threads:[~2008-08-08  9:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=489C15D6.7050501@gmail.com \
    --to=iscander.alt@gmail.com \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git