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

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()

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

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 operations in

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() function

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, make sure your

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

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 driver. It