Canellas <[email protected]> writes:

> Michael,

Hi Rodrigo,

sorry for the delay, I have been occupied otherwise.

> 14:45:41.202897 tramp-process-one-action (5) # Looking for regexp "\(\(Digite 
> o numero do ambiente e pressione enter\)\s-*\)\'" from remote shell

You have defined the regexp

  "\\(Digite o numero do ambiente e pressione enter:\\)\\s-*"

Tramp expects this to be at the end of the buffer (see the docstring
of `tramp-actions-before-shell'), and extends this to

  "\\(\\(Digite o numero do ambiente e pressione enter\\)\\s-*\\)\\'".

But in fact, there are non-printable characters as you have also said
the other message:

  Digite o numero do ambiente e pressione enter^M

You could expand the regexp for the trailing ^M. However, you want to
send the selection "3" only when the whole login message is visible. So
I recommend that you compose a regexp matching the last line of the
login message, simply like this:

  "19- MDBACT.+"

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to