[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

690.0. "xterm -e option problem" by CVG::LEKAS (From the Workstation of Tony Lekas) Thu Apr 27 1989 02:50

Under ULTRIX I am trying to start an xterm with a program running in it
and I am having some problems.  The command follows:

xterm -geometry =80x6+0-0 -l -n vctool.GFX -d vctool:0 -e gfxProcess.csh -d 0.5 vctool&

If i leave out the -d 0.5 out all is well if I include it I get the error
can't open display.

xterm should not be looking for options after the -e.  Any options after -e
are for the command to be started.  gfxProcess.csh is an existing process
that happens to use -d.  If I type in -dt 0.5 instead of -d 0.5 it works.
(Although the program gets the wrong option.)

Should this be reported as an error?

	Tony

T.RTitleUserPersonal
Name
DateLines
690.1UNIX programs do their own argument parsing, and...DECWET::TARDIFFIt's all rock-and-roll to him.Fri Apr 28 1989 21:2814
    Re .0:
    
    Have you tried enclosing the stuff af-e i quotes?  Given the way
    most of the UNIX programs (and scripts) I've seen parse arguments,
    there's no way they'd ever be able to tell the difference between
    the -d that means display and the -d that's meant for gfxProcess.
    I'd try my suggestion out myself, but I'm nowhere near a workstation
    running X at the moment.
    
    BTW, hello Tony (if you're the Tony Lekas from RSX...)
    
    + Michael
    

690.2Line-induced typosDECWET::TARDIFFIt's all rock-and-roll to him.Fri Apr 28 1989 21:296
    Um...that's "the stuff after the -e in quotes"  This modem line
    is awfully noisy.
    
    + Michael