LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Mockern" <Mockern@yandex.ru>
To: linux-kernel@vger.kernel.org
Subject: problem: init_termios = tty_std_termios;
Date: Sun, 25 Mar 2007 12:59:06 +0400 (MSD)	[thread overview]
Message-ID: <460639DA.000001.20646@tide.yandex.ru> (raw)

Hi,

I just added 

"mydriver_tty_driver->init_termios = tty_std_termios"

to my init driver function.

Problem: But now I can't see data at user level application. It looks like flip_buffer needs to get termination character(or new line character) to push data to high level.

Which character should I add to flip_buffer to push data to high level? I tried to add '/n', it works, but after that user level gets '/n' as well. But I need something like a filter, to inform flip_buffer only, not user level application.

Thank you   

                 reply	other threads:[~2007-03-25  8:59 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=460639DA.000001.20646@tide.yandex.ru \
    --to=mockern@yandex.ru \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: problem: init_termios = tty_std_termios;' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).