ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Oleg K. Artemjev" <olli@rbauto.ru>
To: community@altlinux.ru
Subject: [Comm] съем логов с АТС с ком порта.
Date: Tue, 29 Apr 2003 15:09:03 +0400
Message-ID: <20030429150903.20a58881.olli@rbauto.ru> (raw)

Есть рекомендованная (найденная где-то в сети =) ) строка для съема
логов с АТС LG Starex VSPi:

stty 1200 clocal -parenb -parodd cs8 -cstopb -icanon < /dev/ttyS0

В данный момент съем происоходит с потерей символов. Телефонист дал 
наводящую - надо мол использовать сигналы квитирования (видимо 
старт-стоп == xon/xoff?)

Вопросы: 

правильно ли, что с вышеуказанной строкой настройки таковы (невнятный ман, IMO):

clocal	=	контрольные сигналы модема отключены.
-parenb	=	нет бита четности, бит четности не ожидается.
-parodd	=	'parity' установлено в состояние 'нечетность'.

короче (по всей строке) 1200, 8n1

что нужно добавить чтобы использовать сигналы кивитирования? Я полагаю, что
это ixon ixoff - верно?

Все это на данный момент делается из скрипта перезапускаемого init через inittab:

#!/bin/sh
echo $$ > /var/run/LGStarexVSP.ttyS0.cat.pid
stty 1200 clocal -parenb -parodd cs8 -cstopb -icanon < /dev/ttyS0
cat /dev/ttyS0 >> /var/log/LG-Starex-VSP.ttyS0.office.output1\&2

может можно придумать что получше? ?-)

-- 
Bye.Olli.			http://olli.digger.org.ru



             reply	other threads:[~2003-04-29 11:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29 11:09 Oleg K. Artemjev [this message]
2003-04-30 10:53 ` Oleg K. Artemjev
2003-05-08  6:57   ` [Comm] где линух ест буквы на ком порту? ?-) Oleg K. Artemjev
2003-05-08 11:18     ` Ilya Palagin

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=20030429150903.20a58881.olli@rbauto.ru \
    --to=olli@rbauto.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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