kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* tty driver
@ 2012-04-30 18:17 Sri Ram Vemulpali
  2012-04-30 23:30 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Sri Ram Vemulpali @ 2012-04-30 18:17 UTC (permalink / raw)
  To: kernelnewbies

Hello All,

I am working on paging feature on tty, pty outputting. Is there anyway
I can do paging output at tty drivers by way of setting some options
using ioctl or ....
Please let me know, to give you some idea

if you type

ls -l | more on command prompt you see the output in paging fashion.
This is the kind of feature I want it on tty fds. Please let me know
if anyone has any better idea. thanks.


-- 
Regards,
Sri.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* tty driver
  2012-04-30 18:17 tty driver Sri Ram Vemulpali
@ 2012-04-30 23:30 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2012-04-30 23:30 UTC (permalink / raw)
  To: kernelnewbies

On Mon, 30 Apr 2012 14:17:30 -0400
Sri Ram Vemulpali <sri.ram.gmu06@gmail.com> wrote:

> Hello All,
> 
> I am working on paging feature on tty, pty outputting. Is there anyway
> I can do paging output at tty drivers by way of setting some options
> using ioctl or ....

Things like page dimensions and escape code management are userspace
handled in Linux. If you must fake it via a tty then I'd suggest you
write a pty/tty using app, if not then pipe it through more.

For the former case a simple expect script should do it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-30 23:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30 18:17 tty driver Sri Ram Vemulpali
2012-04-30 23:30 ` Alan Cox

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