emacs-rcp  

Failure on HP-UX

Brian M Fahs
Tue, 19 Jun 2001 09:32:39 -0700

Please note that the Waiting in wait-for-output was added by me when I was
trying to debug the problem.

Here is the debug output that you asked for:

# Opening connection at hpadl791 using sm...
# Waiting 60s for shell or passwd prompt from hpadl791
Secure connection to hpadl791 refused; reverting to insecure method.
Using rsh.  WARNING: Connection will not be encrypted.
Password: # Sending password...
# Sent password, waiting 60s for remote shell prompt

Please wait...checking for disk quotas
(c)Copyright 1983-2001 Hewlett-Packard Co.,  All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2001 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.

  
                           RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.
  
  
                           Hewlett-Packard Company
                           3000 Hanover Street
                           Palo Alto, CA 94304 U.S.A.
  
Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
                                        #######  #####     #
 #    #  #####     ##    #####   #      #    #  #     #   ##
 #    #  #    #   #  #   #    #  #          #   #     #  # #
 ######  #    #  #    #  #    #  #         #     ######    #
 #    #  #####   ######  #    #  #        #           #    #
 #    #  #       #    #  #    #  #        #     #     #    #
 #    #  #       #    #  #####   ######   #      #####   #####


*  Welcome to hpadl791 - an IA64 Lion box running HP-UX 11i 1.5 IC30B. *
*        # Initializing remote shell
$ exec /bin/sh
# Waiting 30s for remote `/bin/sh' to come up...
exec /bin/sh
hpadl791:~ 1>
# Setting up remote shell environment
stty -inlcr -echo kill '^U'
hpadl791:~ 2>
hpadl791:~ 3>
# Determining coding system
foo
bar
hpadl791:~ 4>
# Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1'
hpadl791:~ 5>
# Waiting 30s for `set +o vi +o emacs'
hpadl791:~ 6>
# Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
hpadl791:~ 7>
# Waiting 30s for `unset CDPATH'
hpadl791:~ 8>
# Setting shell prompt
$ PS1='
/////
'; PS2=''; PS3=''
# Waiting in wait-for-output.
$ echo hello
# Waiting for remote `/bin/sh' to come up...
# Waiting in wait-for-output.
hello
# Waiting for remote `/bin/sh' to come up...done
$ echo ~root
# Waiting in wait-for-output.
/
# Remote `/bin/sh' groks tilde expansion, good
# Finding command to check if file exists
$ ls -d / 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
//
tramp_exit_status 0
$ ls -d /\ this\ file\ does\ not\ exist\  2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
tramp_exit_status 2
# Finding a suitable `ls' command
# Checking remote `/bin/ls' command for `-n' option
$ test -x /bin/ls 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
tramp_exit_status 0
# Testing remote command `/bin/ls' for -n...
$ /bin/ls -lnd / >/dev/null 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
tramp_exit_status 0
# Testing remote command `/bin/ls' for -n...okay
# Using remote command `/bin/ls' for getting directory listings
$ tramp_set_exit_status () {
return $1
}
# Waiting in wait-for-output.
$ ls -d /bin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
/bin/
tramp_exit_status 0
$ ( test -d /bin 2>/dev/null; echo tramp_exit_status $? )
# Waiting in wait-for-output.
tramp_exit_status 0
$ ls -d /usr/bin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
/usr/bin/
tramp_exit_status 0
$ ( test -d /usr/bin 2>/dev/null; echo tramp_exit_status $? )
# Waiting in wait-for-output.
tramp_exit_status 0
$ ls -d /usr/sbin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
/usr/sbin/
tramp_exit_status 0
$ ( test -d /usr/sbin 2>/dev/null; echo tramp_exit_status $? )
# Waiting in wait-for-output.
tramp_exit_status 0
$ ls -d /usr/local/bin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
/usr/local/bin/
tramp_exit_status 0
$ ( test -d /usr/local/bin 2>/dev/null; echo tramp_exit_status $? )
# Waiting in wait-for-output.
tramp_exit_status 0
$ ls -d /usr/ccs/bin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
/usr/ccs/bin/
tramp_exit_status 0
$ ( test -d /usr/ccs/bin 2>/dev/null; echo tramp_exit_status $? )
# Waiting in wait-for-output.
tramp_exit_status 0
$ ls -d /local/bin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
tramp_exit_status 2
$ ls -d /local/freeware/bin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
tramp_exit_status 2
$ ls -d /local/gnu/bin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
tramp_exit_status 2
$ ls -d /usr/freeware/bin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
tramp_exit_status 2
$ ls -d /usr/pkg/bin 2>/dev/null; echo tramp_exit_status $? 
# Waiting in wait-for-output.
tramp_exit_status 2
$ PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin; export PATH
# Waiting in wait-for-output.
$ LC_TIME=C; export LC_TIME; echo huhu
# Waiting in wait-for-output.
huhu
$ mesg n; echo huhu
# Waiting in wait-for-output.
huhu
$ biff n ; echo huhu
# Waiting in wait-for-output.
/bin/sh: biff:  not found.
huhu
$ unalias ls; echo huhu
# Waiting in wait-for-output.
/bin/sh: unalias: A specified flag is not valid for this command.
huhu
$ test / -nt /
# Waiting in wait-for-output.
$ tramp_test_nt () {
test -n "`find $1 -prune -newer $2 -print`"
}
# Waiting in wait-for-output.
$ while read d; do if test -x $d/perl5 -a -f $d/perl5; then echo tramp_executable 
$d/perl5; break; fi; done <<'EOF'
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ EOF
# Waiting in wait-for-output.
$ while read d; do if test -x $d/perl -a -f $d/perl; then echo tramp_executable 
$d/perl; break; fi; done <<'EOF'
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ EOF
# Waiting in wait-for-output.
tramp_executable /usr/local/bin/perl
# Sending the Perl `file-attributes' implementation.
$ tramp_file_attributes () {
/usr/local/bin/perl -e '$f = $ARGV[0];
@s = lstat($f);
if (($s[2] & 0170000) == 0120000) { $l = readlink($f); $l = "\"$l\""; }
elsif (($s[2] & 0170000) == 040000) { $l = "t"; }
else { $l = "nil" };
printf("(%s %u %u %u (%u %u) (%u %u) (%u %u) %u %u t (%u . %u) (%u %u))\n",
$l, $s[3], $s[4], $s[5], $s[8] >> 16 & 0xffff, $s[8] & 0xffff,
$s[9] >> 16 & 0xffff, $s[9] & 0xffff, $s[10] >> 16 & 0xffff, $s[10] & 0xffff,
$s[7], $s[2], $s[1] >> 16 & 0xffff, $s[1] & 0xffff, $s[0] >> 16 & 0xffff, $s[0] & 
0xffff);' $1 2>/dev/null
}
# Waiting in wait-for-output.
# Sending the Perl `mime-encode' implementation.
$ while read d; do if test -x $d/mimencode -a -f $d/mimencode; then echo 
tramp_executable $d/mimencode; break; fi; done <<'EOF'
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ EOF
# Waiting in wait-for-output.
tramp_executable /usr/local/bin/mimencode
$ tramp_mimencode () {
mimencode -b $1
}
# Waiting for output.
# Waiting in wait-for-output.
# Sending the Perl `mime-decode' implementation.
$ while read d; do if test -x $d/mimencode -a -f $d/mimencode; then echo 
tramp_executable $d/mimencode; break; fi; done <<'EOF'
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ EOF
# Waiting in wait-for-output.
tramp_executable /usr/local/bin/mimencode
$ tramp_mimedecode () {
mimencode -u -b $1
}
# Waiting for output.
# Waiting in wait-for-output.
$ while read d; do if test -x $d/ln -a -f $d/ln; then echo tramp_executable $d/ln; 
break; fi; done <<'EOF'
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ EOF
# Waiting in wait-for-output.
tramp_executable /bin/ln
$ cd ~; pwd
# Waiting in wait-for-output.