Re: cat, cp operations for tty driver (like for char one)

2007-02-16 Thread Mockern
Thank you very much >On Fri, 16 Feb 2007, Mockern wrote: > >> Thanx for your respond. >> >> Does it mean I have to change nothing in my tty driver >> (based on serial_core.c) to use: cat and cp? No "nonstandard " special >> functions to implement? >> > >Change nothing. It you are making your own

Re: cat, cp operations for tty driver (like for char one)

2007-02-16 Thread linux-os \(Dick Johnson\)
On Fri, 16 Feb 2007, Mockern wrote: > Thanx for your respond. > > Does it mean I have to change nothing in my tty driver > (based on serial_core.c) to use: cat and cp? No "nonstandard " special > functions to implement? > Change nothing. It you are making your own, make sure your iocl() functio

Re: cat, cp operations for tty driver (like for char one)

2007-02-16 Thread Mockern
Thanx for your respond. Does it mean I have to change nothing in my tty driver (based on serial_core.c) to use: cat and cp? No "nonstandard " special functions to implement? > >On Thu, 15 Feb 2007, Mockern wrote: > >> I have a question about linux tty driver >> >> how to support cp, cat oper

Re: cat, cp operations for tty driver (like for char one)

2007-02-15 Thread linux-os \(Dick Johnson\)
On Thu, 15 Feb 2007, Mockern wrote: > I have a question about linux tty driver > > how to support cp, cat operations in tty driver (like tiny_tty)? > (e.g. echo "hello tty" > /dev/ttyS3, cat < ttyS10 etc) > > There a lot of examples with char drivers, but I could not find it for tty > Linux driv