* How to make tty buffer size longer?????
@ 2005-05-12 1:56 김주동
2005-05-12 6:53 ` Andrew Lunn
0 siblings, 1 reply; 4+ messages in thread
From: 김주동 @ 2005-05-12 1:56 UTC (permalink / raw)
To: ecos-devel
Hi everyone.
I am working on eCos-1.3.1 and MPC860.
When I try to paste a big data(bigger than 256byte) to console,
only 256byte is accepted.
I need to make the buffer bigger.
Can anyone help me?
I am going to accept any adevice.
Yous, Judong.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to make tty buffer size longer?????
2005-05-12 1:56 How to make tty buffer size longer????? 김주동
@ 2005-05-12 6:53 ` Andrew Lunn
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2005-05-12 6:53 UTC (permalink / raw)
To: jdkim; +Cc: ecos-devel
On Thu, May 12, 2005 at 10:56:05AM +0900, ?????? wrote:
> Hi everyone.
>
> I am working on eCos-1.3.1 and MPC860.
> When I try to paste a big data(bigger than 256byte) to console,
> only 256byte is accepted.
> I need to make the buffer bigger.
>
> Can anyone help me?
>
> I am going to accept any adevice.
Have you tried setbuf()
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to make tty buffer size longer?????
2005-05-16 1:29 김주동
@ 2005-05-16 8:23 ` Nick Garnett
0 siblings, 0 replies; 4+ messages in thread
From: Nick Garnett @ 2005-05-16 8:23 UTC (permalink / raw)
To: 김주동; +Cc: ecos-devel
=?ks_c_5601-1987?B?sejB1rW/?= <jdkim@snssol.co.kr> writes:
> Hi. everyone.
>
> Thank you for your answer.
> But, can you tell me more detail?
> I tryed setbuf().
> But it maked a bit bigger size of buffer( 256 -> 260 ).
> I need 1kbyte(1024byte).
There are two sets of buffers you can control. The first are the ring
buffers in the device driver, whose size you can set in the
configtool. The second are the buffers in the C library streams, which
you can either set in the configtool, or at runtime using setvbuf().
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to make tty buffer size longer?????
@ 2005-05-16 1:29 김주동
2005-05-16 8:23 ` Nick Garnett
0 siblings, 1 reply; 4+ messages in thread
From: 김주동 @ 2005-05-16 1:29 UTC (permalink / raw)
To: ecos-devel
Hi. everyone.
Thank you for your answer.
But, can you tell me more detail?
I tryed setbuf().
But it maked a bit bigger size of buffer( 256 -> 260 ).
I need 1kbyte(1024byte).
Please give me more advices.
Thank you in advance.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-16 8:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-12 1:56 How to make tty buffer size longer????? 김주동
2005-05-12 6:53 ` Andrew Lunn
2005-05-16 1:29 김주동
2005-05-16 8:23 ` Nick Garnett
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 read-only IMAP folder(s) and NNTP newsgroup(s).