Rajesh Pantula
Rajesh Pantula

Reputation: 10241

Linux Terminal emulator with separate input area and output area?

I am looking for any terminal emulator (if any out there), which will have 2 separate areas for input commands and output area.

Terminal Emulator

 Output
    more output
    more output still...

    blah blahh
    blaahh blah
    words
=================================================
>input here

I tried to search in Google but found nothing useful, also I read somewhere this can be achieved using ncurses library, but I have no idea how this can be done. Also I feel, somebody must have done this before, if anyone has done this kind of thing, please share your solution with me, or anyone who knows how this can be done, then I would be grateful if you can provide me some pointers to achieve this.

Upvotes: 5

Views: 1664

Answers (1)

lewurm
lewurm

Reputation: 1113

You can simulate such behaviour with any terminal, by open two instances of it. At terminal #2, get the current PTS by:

$ tty
/dev/pts/10 # for example

then, on terminal #1 you type:

$ exec &> /dev/pts/10
$ echo you can see this message on terminal \#2
$ echo this is also true for standard error > /dev/stderr

Upvotes: 7

Related Questions