tramp-devel
[Top][All Lists]
Advanced

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

Re: how to get bash_profile out of the way?


From: Rodrigo Amestica
Subject: Re: how to get bash_profile out of the way?
Date: Mon, 04 Jun 2012 11:50:56 -0400
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.7 (Harue) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 Emacs/23.3 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Hello Michael,

I tried to understand the problem in the output, but it did not result
clear to me. The output has 152 lines (included below.) First line
includes emacs and tramp versions.

I suppose that the problem is on 'reaching' the prompt.

many thanks,
 Rodrigo

;; GNU Emacs: 23.3.1 Tramp: 2.1.20 -*- mode: outline; -*-
10:55:01.468657 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///20b768b1eb4c88fad393c837abcec88f#$
10:55:01.470715 tramp-send-command (6) # test -x 
/home/isis/frodo/cvs/project/project2/COMP/HEAD/ 2>/dev/null; echo 
tramp_exit_status $?
10:55:01.488177 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///20b768b1eb4c88fad393c837abcec88f#$
10:55:01.509864 tramp-maybe-open-connection (3) # Opening connection for comp1 
using ssh...
10:55:01.510380 tramp-maybe-open-connection (6) # /bin/sh
10:55:01.517820 tramp-wait-for-regexp (6) # 
#$ 
10:55:01.518462 tramp-maybe-open-connection (3) # Sending command `exec ssh -q  
 -e none comp1'
10:55:01.518582 tramp-send-command (6) # exec ssh -q   -e none comp1
10:55:01.518855 tramp-process-actions (3) # Waiting for prompts from remote 
shell
10:55:02.118697 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:55:02.119523 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:55:02.119965 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try 
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal 
[0-9]+\).*\)\'" from remote shell
10:55:02.120480 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:55:02.120870 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%>
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
10:55:02.121287 tramp-process-one-action (5) # Looking for regexp "\(\(Are you 
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
10:55:02.121668 tramp-process-one-action (5) # Looking for regexp 
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels 
connectio\)n)\)\s-*\)\'" from remote shell
10:55:02.122055 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
10:55:02.122423 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from 
remote shell
10:55:02.122790 tramp-process-one-action (5) # Call `tramp-action-process-alive'
10:55:02.239481 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:55:02.242732 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:55:02.243532 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try 
again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal 
[0-9]+\).*\)\'" from remote shell
10:55:02.244850 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:55:02.245546 tramp-process-one-action (5) # Call `tramp-action-succeed'
10:55:02.245952 tramp-process-actions (6) # 
-*- mode: grep; default-directory: 
"/ssh:comp1:/home/isis/frodo/cvs/project/project2/COMP/HEAD/" -*-
Grep started at Mon Jun  4 10:55:01

grep -n -e hola build.log /dev/null
Last login: Mon Jun  4 10:54:42 2012 from trauko.cv.nrao.edu

Hi Master! Welcome to comp1 (COMP).

PROJECTSW_RELEASE=SW-10.1
LINUX_HOME=/project/SW-10.1/rtlinux
RTOS_HOME=/project/SW-10.1/rtos
SWROOT=/project/SW-10.1/SWSW
SW_CDB=/home/isis/frodo/cvs/project/project2/COMP/HEAD/CORR/config/Simulation
SW_LOG_STDOUT=3
INTROOT=/home/isis/frodo/introot/10.1/COMP/HEAD
INTLISTROOT=/home/isis/projectmgr/INTLIST-HEAD
MODULES=/home/isis/frodo/cvs/project/project2/COMP/HEAD
MANAGER_REFERENCE=
lp -d RICOH-Aficio-MP-C3001 -o sides=two-sided-long-edge
~

HEAD address@hidden > 
10:55:02.247774 tramp-maybe-open-connection (3) # Found remote shell prompt on 
`comp1'
10:55:02.248167 tramp-open-shell (5) # Opening remote shell `/bin/sh'...
10:55:02.248619 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' 
PS1=\#\$\  PS2='' PS3='' /bin/sh
10:55:02.298782 tramp-wait-for-regexp (6) # 
#$ 
10:55:02.299644 tramp-send-command (6) # PS1=\#\$\ 
10:55:02.318630 tramp-wait-for-regexp (6) # 
#$ 
10:55:02.319276 tramp-send-command (6) # PS2=''
10:55:02.338667 tramp-wait-for-regexp (6) # 
#$ 
10:55:02.339449 tramp-send-command (6) # PS3=''
10:55:02.358671 tramp-wait-for-regexp (6) # 
#$ 
10:55:02.359456 tramp-send-command (6) # PROMPT_COMMAND=''
10:55:02.378667 tramp-wait-for-regexp (6) # 
#$ 
10:55:02.379424 tramp-open-shell (5) # Opening remote shell `/bin/sh'...done
10:55:02.379859 tramp-open-connection-setup-interactive-shell (5) # Setting up 
remote shell environment
10:55:02.380317 tramp-send-command (6) # stty -inlcr -echo kill '^U' erase '^H'
10:55:02.398329 tramp-wait-for-regexp (6) # 
#$ 
10:55:02.398954 tramp-send-command (6) # echo foo
10:55:02.418693 tramp-wait-for-regexp (6) # 
foo
#$ 
10:55:02.419329 tramp-open-connection-setup-interactive-shell (5) # Setting 
shell prompt
10:55:02.419891 tramp-send-command (6) # 
PS1=///20b768b1eb4c88fad393c837abcec88f\#\$
10:55:02.438453 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.439255 tramp-send-command (6) # PS2=''
10:55:02.458720 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.459670 tramp-send-command (6) # PS3=''
10:55:02.478712 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.479656 tramp-send-command (6) # PROMPT_COMMAND=''
10:55:02.496212 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.497134 tramp-open-connection-setup-interactive-shell (5) # Determining 
coding system
10:55:02.497635 tramp-send-command (6) # echo foo ; echo bar
10:55:02.511147 tramp-wait-for-regexp (6) # 
foo
bar
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.511895 tramp-open-connection-setup-interactive-shell (5) # Setting 
coding system to `utf-8-unix' and `utf-8-unix'
10:55:02.512272 tramp-send-command (6) # set +o vi +o emacs
10:55:02.528721 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.529632 tramp-open-connection-setup-interactive-shell (5) # Checking 
system information
10:55:02.530203 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo 
tramp_exit_status $?
10:55:02.548482 tramp-wait-for-regexp (6) # 
"Linux 2.6.29.4-rtos-3.7.1-X5650-NTC-net"
tramp_exit_status 0
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.549286 tramp-open-connection-setup-interactive-shell (5) # Checking 
remote host type for `send-process-string' bug
10:55:02.549663 tramp-set-remote-path (5) # Setting $PATH environment variable
10:55:02.550102 tramp-send-command (6) # echo \"$PATH\" 2>/dev/null; echo 
tramp_exit_status $?
10:55:02.569079 tramp-wait-for-regexp (6) # 
"/home/isis/frodo/local.emacs/bin:/home/isis/frodo/local/bin:/home/isis/frodo/introot/10.1/COMP/HEAD/bin:/home/isis/projectmgr/INTLIST-HEAD/ICD/bin:/home/isis/projectmgr/INTLIST-HEAD/CONTROL/bin:/project/SW-10.1/SWSW/bin:/usr/java/default/bin:/project/SW-10.1/ant/bin:/project/SW-10.1/JacORB/bin:/project/SW-10.1/Python/bin:/project/SW-10.1/Python/omni/bin:/project/SW-10.1/tcltk/bin:/usr/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/project/SW-10.1/casa/bin"
tramp_exit_status 0
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.587839 tramp-send-command (6) # 
PATH=/home/isis/frodo/local/bin:/home/isis/frodo/introot/10.1/COMP/HEAD/bin:/home/isis/projectmgr/INTLIST-HEAD/ICD/bin:/home/isis/projectmgr/INTLIST-HEAD/CONTROL/bin:/project/SW-10.1/SWSW/bin:/usr/java/default/bin:/project/SW-10.1/ant/bin:/project/SW-10.1/JacORB/bin:/project/SW-10.1/Python/bin:/project/SW-10.1/Python/omni/bin:/project/SW-10.1/tcltk/bin:/usr/bin:/usr/kerberos/bin:/bin:/usr/X11R6/bin:/project/SW-10.1/casa/bin;
 export PATH
10:55:02.607941 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.608331 tramp-send-command (6) # mesg n; biff n
10:55:02.628772 tramp-wait-for-regexp (6) # 
sh: biff: command not found
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.629700 tramp-send-command (6) # echo \"`tty`\" 2>/dev/null; echo 
tramp_exit_status $?
10:55:02.648469 tramp-wait-for-regexp (6) # 
"/dev/pts/12"
tramp_exit_status 0
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.649262 tramp-open-connection-setup-interactive-shell (5) # Setting 
default environment
10:55:02.649662 tramp-send-command (6) # HISTFILE=$HOME/.tramp_history; export 
HISTFILE
10:55:02.667248 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.668102 tramp-send-command (6) # HISTSIZE=1; export HISTSIZE
10:55:02.687866 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.688752 tramp-send-command (6) # LC_ALL=C; export LC_ALL
10:55:02.708746 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.709734 tramp-send-command (6) # TERM=dumb; export TERM
10:55:02.728729 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.729714 tramp-send-command (6) # EMACS=t; export EMACS
10:55:02.748714 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.749702 tramp-send-command (6) # INSIDE_EMACS='23.3.1,tramp:2.1.20'; 
export INSIDE_EMACS
10:55:02.768456 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.769323 tramp-send-command (6) # unset correct autocorrect MAILPATH 
MAILCHECK MAIL HISTORY CDPATH
10:55:02.788707 tramp-wait-for-regexp (6) # 
///20b768b1eb4c88fad393c837abcec88f#$
10:55:02.790095 tramp-maybe-open-connection (3) # Opening connection for comp1 
using ssh...done
10:55:02.790540 tramp-send-command (6) # cd 
/home/isis/frodo/cvs/project/project2/COMP/HEAD/; exec /bin/sh -c grep\ -n\ -e\ 
hola\ build.log\ /dev/null




reply via email to

[Prev in Thread] Current Thread [Next in Thread]