Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ongoing vi issues ....



On Wed, 15 Apr 2015, Paul Goyette wrote:

On Wed, 15 Apr 2015, David Brownlee wrote:

3. Now, I configure fvwm2 to "exec ssh -X $remote xterm"; this causes
   ssh to login to the remote (XEN) machine and start an Xterm whose
   output gets directed back through the -X forwarded $DISPLAY.

In this mode, there are some keystrokes that cause the connection to be
abruptly terminated.  The "Delete" key is 100% reliable in causing the
disconnect.

Does 'ssh -X $remote xterm' fail the same way when run on the command
line inside an xterm? The 'stty intr' default for ancient unix was
DEL. Its unlikely, but I wonder if somehow you are getting  that set
:) http://www.in-ulm.de/~mascheck/various/stty/


Yes, 'ssh -X ...' fails in the same way when run on the command line inside an xterm. When the remote session dies, the local xterm (from where the ssh command was executed) reports:

xterm:  warning, error event received:
X Error of failed request: BadAccess (attempt to access private resource denied)
 Major opcode of failed request:  104 (X_Bell)
 Serial number of failed request:  195
 Current serial number in output stream:  199

Also, it fails whether I use the 'Delete' key or the 'Backspace' key.

:)

stty in both the local and remote xterms report

	speed 38400 baud;
	lflags: echoe echoke echoctl pendin
	iflags: -ixany -imaxbel -brkint
	oflags: -oxtabs
	cflags: cs8 parenb

Also, selecting a range of text in the remote xterm aborts just as soon as the mouse is released (after mouse-down, drag-select). Similar error messages:

xterm:  warning, error event received:
X Error of failed request: BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Serial number of failed request:  259
  Current serial number in output stream:  260



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index