Simple Terminal Emulator - write one or include one?
Posted: Fri Feb 20, 2015 12:50 pm
hi all,
i am trying to write a desktop-environment- and distro-agnostic launcher for console-style application and scripts. since there is apparently no "standard terminal" emulator on linux, nor a command that launches the standard terminal (something like xdg-open), i need to include a simple terminal emulator. the question is, do i write one or do i take one from the handful that already exist, like xterm, roxterm, rxvt, ... ?
a typical workflow would look like this:
0. my launcher gets executed
1. this launcher runs the terminal through RunProgram
2. launching script/console program: a command (shell script) is either piped to the terminal or taken from the first argument and executed (like -e or -x in the xfce4-terminal)
3. terminal displays output of that launched program, and accepts standard user input
Any suggestions?
- is there already a simple terminal emulator written in PB that I could use?
- would you recommend one of the existing emulators over another? for example xterm over ... ?
thanks in advance
i am trying to write a desktop-environment- and distro-agnostic launcher for console-style application and scripts. since there is apparently no "standard terminal" emulator on linux, nor a command that launches the standard terminal (something like xdg-open), i need to include a simple terminal emulator. the question is, do i write one or do i take one from the handful that already exist, like xterm, roxterm, rxvt, ... ?
a typical workflow would look like this:
0. my launcher gets executed
1. this launcher runs the terminal through RunProgram
2. launching script/console program: a command (shell script) is either piped to the terminal or taken from the first argument and executed (like -e or -x in the xfce4-terminal)
3. terminal displays output of that launched program, and accepts standard user input
Any suggestions?
- is there already a simple terminal emulator written in PB that I could use?
- would you recommend one of the existing emulators over another? for example xterm over ... ?
thanks in advance