in reply to Testing terminal programs within emacs (or other IDEs)

run your program from M-x shell ?

Replies are listed 'Best First'.
Re^2: Testing terminal programs within emacs (or other IDEs)
by LanX (Saint) on Nov 29, 2014 at 10:52 UTC
    Thanks, but what's the advantage over "M-x term" ?

    Both solutions lack the possibility to activate the error lines like compile-mode does and other features...

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)

      emacs related

      > Both solutions lack the possibility to activate the error lines like compile-mode does and other features...

      well this can be somehow solved by calling M-x compilation-minor-mode afetr the terminal has exited.

      Unfortunately I can't find a hook in term-mode to activate this minor-mode automatically after the terminal has exited.

      general question

      But this evolves too much around emacs now ... I think I should have asked the question differently emphasizing on filehandles and terminals to not only attract emacs folks:

      How do I run a perl application with TWO attached terminals, such that only STDERR goes to the second one?

      Cheers Rolf

      (addicted to the Perl Programming Language and ☆☆☆☆ :)