Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* control-D doesn't work on xterm on the DEC alpha
@ 1993-07-15  0:26 Michael Vanier
  1993-07-15  1:04 ` Ron Natalie
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Michael Vanier @ 1993-07-15  0:26 UTC (permalink / raw)


I've been having trouble running xterm on a DEC alpha.  It seems that
the EOF character control-D doesn't work.  Is there a way around this?

Mike

--------------------------------------------------------------------------
Mike Vanier     mvanier@smaug.cns.caltech.edu
Department of Computation and Neural Systems, Caltech 216-76

"Here I am in the POSTERIOR OLFACTORY LOBULE but I don't see CARL SAGAN
 anywhere!!"
                        -- Zippy
--------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: control-D doesn't work on xterm on the DEC alpha
  1993-07-15  0:26 control-D doesn't work on xterm on the DEC alpha Michael Vanier
@ 1993-07-15  1:04 ` Ron Natalie
  1993-07-15  5:08 ` Henk Mos
  1993-07-16 14:57 ` Wilko Bulte
  2 siblings, 0 replies; 6+ messages in thread
From: Ron Natalie @ 1993-07-15  1:04 UTC (permalink / raw)


Say what?  Works fine for me.  What does stty tell you?  And check out
those keysyms (maybe someone was messing around with your D key).  All
bets are off if this is Open (snicker) VMS.

-Ron


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: control-D doesn't work on xterm on the DEC alpha
  1993-07-15  0:26 control-D doesn't work on xterm on the DEC alpha Michael Vanier
  1993-07-15  1:04 ` Ron Natalie
@ 1993-07-15  5:08 ` Henk Mos
  1993-07-16  8:15   ` Mike O'Connor
  1993-07-16 14:57 ` Wilko Bulte
  2 siblings, 1 reply; 6+ messages in thread
From: Henk Mos @ 1993-07-15  5:08 UTC (permalink / raw)


In <22287bINN65r@gap.caltech.edu> mvanier@smaug.cns.caltech.edu (Michael Vanier) writes:

>I've been having trouble running xterm on a DEC alpha.  It seems that
>the EOF character control-D doesn't work.  Is there a way around this?

I had the same problem with tcsh. control-D was mapped to WERASE *and* EOF.
Trying to change WEARSE with stty didn't work.
The mapping is correct if you have a look in termios.h (OSF_SOURCE defined).
I didn't like it either so I recompiled tcsh with a little modified termios.h
(WERASE mapped to control-W). No problems so far.

/Henk
-- 
----------------------------------------------------------------------
Henk J. Mos, Dept of Physics and Astrophysics, Utrecht University
The Netherlands.  Phone: 31-30-532239    Email: mos@fys.ruu.nl
----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: control-D doesn't work on xterm on the DEC alpha
  1993-07-15  5:08 ` Henk Mos
@ 1993-07-16  8:15   ` Mike O'Connor
  0 siblings, 0 replies; 6+ messages in thread
From: Mike O'Connor @ 1993-07-16  8:15 UTC (permalink / raw)


(comp.unix.shell added to Newsgroups: for obvious reasons)

In article <1993Jul15.050845.27840@fys.ruu.nl> mos@fys.ruu.nl (Henk
Mos) writes:

:I had the same problem with tcsh. control-D was mapped to WERASE *and* EOF.
:Trying to change WEARSE with stty didn't work.
:The mapping is correct if you have a look in termios.h (OSF_SOURCE defined).
:I didn't like it either so I recompiled tcsh with a little modified termios.h
:(WERASE mapped to control-W). No problems so far.

You may want to use tcsh's bindkey builtin to rebind your keys rather
than recompilation.

-- 
 Michael J. O'Connor           |  Internet:  mjo@fmsrL7.srL.ford.com
 Ford Motor Company, OPEO      |  UUCP:      ...!fmsrl7!opeo!mjo
 20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
 Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: control-D doesn't work on xterm on the DEC alpha
  1993-07-15  0:26 control-D doesn't work on xterm on the DEC alpha Michael Vanier
  1993-07-15  1:04 ` Ron Natalie
  1993-07-15  5:08 ` Henk Mos
@ 1993-07-16 14:57 ` Wilko Bulte
  1993-07-20  1:59   ` Rick Murphy
  2 siblings, 1 reply; 6+ messages in thread
From: Wilko Bulte @ 1993-07-16 14:57 UTC (permalink / raw)


mvanier@smaug.cns.caltech.edu (Michael Vanier) writes:

>I've been having trouble running xterm on a DEC alpha.  It seems that
>the EOF character control-D doesn't work.  Is there a way around this?

>Mike

I just tried it on our OSF/1 Flamingo and it exits the xterm just fine (??).

Just a guess: is it with every shell? I think there are shells that can
be configured to ignore ^D (csh??)

Wilko

--
 |   / o / /  _   Wilko Bulte               mail: wilko@idca.tds.philips.nl
 |/|/ / / /( (_)  |d|i|g|i|t|a|l| Equipment Corporation voice: +3155-432062
fax: +3155-432103 DTN: 829 2062 PO Box 245 - 7300 AE Apeldoorn - The Netherlands


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: control-D doesn't work on xterm on the DEC alpha
  1993-07-16 14:57 ` Wilko Bulte
@ 1993-07-20  1:59   ` Rick Murphy
  0 siblings, 0 replies; 6+ messages in thread
From: Rick Murphy @ 1993-07-20  1:59 UTC (permalink / raw)


One common reason ^D fails to log you out is when you decide to use csh command
editing with "set editmode=emacs" in your .cshrc... if you want ^D to log you
out (vs. delete characters) add the following to your ~/.bindings file:
bind-to-key EndOfFile "\^D"

There's a pretty good list of the available functions in `man cmdedit'.
	-Rick



-- 
Rick Murphy, WA1SPT/4			Washington Open Systems Resource Center
Domain:  murphy@cop.dec.com		This posting expresses MY opinions only;
Bang:    decwrl!burfle.enet!murphy	 I do not speak for Digital.
Ding:    301-918-5883.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1993-07-20  1:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-07-15  0:26 control-D doesn't work on xterm on the DEC alpha Michael Vanier
1993-07-15  1:04 ` Ron Natalie
1993-07-15  5:08 ` Henk Mos
1993-07-16  8:15   ` Mike O'Connor
1993-07-16 14:57 ` Wilko Bulte
1993-07-20  1:59   ` Rick Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox