Re: Reading from serial devices...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Thanks for sending that code, and explanation.  By playing around with
things, and reading around, I found that --- as you had suggested ---
there was a way to do this from a command line.  I was already using
stty to set the baud rate for the tty, but it seems I can also get this
effect by adding [-]icanon to the call.  I have added this call just
before and after I need to read the incomplete line, as an off/on
switch, and am getting things working as I would hope.

	-- Matthew


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux