LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-11-2003, 06:20 PM   #1
Rickj42
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
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.
 
Old 08-12-2003, 12:45 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'xterm': unknow terminal type longnam Slackware 2 08-27-2005 09:37 PM
Help with xterm -display option squinn Linux - General 1 08-15-2005 06:11 PM
Xterm Terminal excidy Linux - Software 4 04-03-2005 10:01 PM
Xterm Terminal Emulation DoubleOTeC Linux - Software 5 01-28-2005 08:35 PM
Need help using xterm/gnome-terminal with -e option?? Rickj42 Linux - Software 0 08-11-2003 10:31 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration