tramp-devel
[Top][All Lists]
Advanced

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

Re: plink to a CentOS box


From: Stewart Bryson
Subject: Re: plink to a CentOS box
Date: Tue, 14 Apr 2009 09:44:59 -0400

>Hi Stewart,
>
>The problem is your shell prompt on the CentOS machine:
>
>[alaldwps003.choicepoint.net]:

Although you are right that this is a problem, I'm not certain it's THE problem. Both the default value for 'tramp-shell-prompt-pattern' and your recommended modification actually match the screen output higher up. They both match the first '#' in the output portion:

################################################
#        WPS Data Warehouse
#          DEVELOPMENT Database
#
#            10.2.0 Linux
#
#  Oracle Home is /db/d/dw/v1/product/10.2.0 
#
#  Oracle Sid is set to DWD1 
#
################################################

Any suggestions?

Thanks.

On Tue, Apr 14, 2009 at 9:11 AM, Michael Albinus <address@hidden> wrote:
Stewart Bryson <address@hidden> writes:

> Thanks Michael.

Hi Stewart,

The problem is your shell prompt on the CentOS machine:

[alaldwps003.choicepoint.net]:

It does not match `tramp-shell-prompt-pattern'. Either you change the
prompt there, or you adapt `tramp-shell-prompt-pattern', for example
like this:

(setq tramp-shell-prompt-pattern "^[^]#$%>\n]*[]#$%>]:? *\\( \\[[0-9;]*[a-zA-Z] *\\)*")

Best regards, Michael.


reply via email to

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