home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!spool.mu.edu!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: bane@vtx.ma.man.ac.uk (Michael!)
- Newsgroups: fj.mail-lists.x-window
- Subject: Re: a few dumb questions from a beginner
- Message-ID: <1993Jan2.041802.1892@sm.sony.co.jp>
- Date: 2 Jan 93 04:18:02 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: Magic Michael's Mushroom Factory.
- Lines: 72
- Approved: michael@sm.sony.co.jp
-
- Date: 1 Jan 93 17:37:48 GMT
- Message-Id: <7104@m1.cs.man.ac.uk>
- Newsgroups: comp.windows.x
- References: <1992Dec30.183600.15291@linus.mitre.org>
- Sender: xpert-request@expo.lcs.mit.edu
-
- In article <1992Dec30.183600.15291@linus.mitre.org>, jfjr@mbunix.mitre.org (Freedman) writes:
- |>
- |> Please excuse me if these questions are dumb (BTW I did RTFM but it
- |> was less than helpful. I am running X11R5 on Sun Sparcstations running
- |> SunOs 4.1.x. According to the X-Window Users Guide Iam supposed to be
- |> able to issue a command like so:
- |>
- |> xterm -e "do_something &
- |>
- |> This is supposed to fire up an xterm window in which to run said
- |> command and close up when its finished. It works on some other Suns I have
- |> access to but not the ones I care about. On those the window opens and
- |> a message appears "xterm: can't execvp do_something". I believe I have
- |> something configured wrong but I can't figure out what.
-
-
- It might depend on what u`re trying to do, what the default $PATH is and the shell
- that the xterm will execute. Also, why are you using "? Finally, have you an
- .xtermrc and what are its contents?
-
-
-
- |>
- |> second question - what can I do to emacs so that it recognizes the
- |> arrow keys in an xterm window? This, I believe is another
- |> configuration question.
-
-
- Placing the following in a file, say .Xresource, that I use xrdb -merge .Xresource,
- with then makes the arrows work okay for me:
-
- *VT100.translations: #override\
- <Key>Help: string("HELP? you must be kidding!")\n\
- Ctrl <Key>Delete: string(0x1f)\n\
- ~Meta <Key>Up: string(0x10)\n\
- Meta <Key>Up: string(0x1B)string("<")\n\
- ~Ctrl ~Meta <Key>Left: string(0x02)\n\
- ~Ctrl Meta <Key>Left: string(0x01)\n\
- Ctrl ~Meta <Key>Left: string(0x1b)string("b")\n\
- Ctrl Meta <Key>Left: string(0x1b)string("a")\n\
- ~Ctrl ~Meta <Key>Right: string(0x06)\n\
- ~Ctrl Meta <Key>Right: string(0x05)\n\
- Ctrl ~Meta <Key>Right: string(0x1b)string("f")\n\
- Ctrl Meta <Key>Right: string(0x1b)string("e")\n\
- ~Meta <Key>Down: string(0x0E)\n\
- Meta <Key>Down: string(0x1B)string(">")\n\
- <Key>R4: string(0x1B)string("=")\n\
- <Key>R5: string(0x1B)string(".")\n\
- <Key>KP_Multiply: string(0x1B)string("*")\n\
- <Key>KP_Add: string(0x1B)string(0x1B)\n\
- <Key>KP_Subtract: string("cd -\n")\n\
- <Key>R6: string(0x1B)string("#")\n\
- <Key>Break: string(0x1B)string(" ")\n\
- <Key>KP_Enter: string(0x0F)\n\
-
-
- (actually there's other things here too!)
-
- then I can enter:
- (neumann)WORK$ xterm -e emacs -nw
- and I get a new xterm window running emacs in which the arrow keys work
-
-
- E-mail me if you have any more problems.
-
- Michael
-