LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Need help using xterm or gnome-terminal with -e option?? (https://www.linuxquestions.org/questions/programming-9/need-help-using-xterm-or-gnome-terminal-with-e-option-81094/)

Rickj42 08-11-2003 06:20 PM

Need help using xterm or gnome-terminal with -e option??
 
I'm new to this board, so far it looks pretty cool and impressive.

Here is my little problem: I need to run a legacy console program from within the GUI I am working on. I am having a problem using the -e option.

As I understand the xterm and gnome-terminal documentation, from the command I should be able to do a "xterm -e myprog" to open a terminal window inwhich myprog will execute.

The problem is that the newly created terminal does not emulate VT102 properly. Specifically the function keys, cursor keys, and character graphics are incorrect.

If the terminal is opened from the desktop and the command myprog is typed in, then everything works fine.

Does anybody kow why the VTxxx emulation doesn't work in the first case and works fine in the latter?

I have tried everything I can thing of but to no avail. I would appreciate any help or ideas you may have . Thanks.

david_ross 08-12-2003 12:45 PM

I there is a switch that turns on vt102 emulation try:
man xterm
then search for "vt102"


All times are GMT -5. The time now is 01:39 AM.