[EMAIL PROTECTED] (Kai Gro�johann) writes: > Yep. It seems this is the same problem that Tramp is also seeing. > > Try calling start-process to start a shell, then feed it some input > using process-send-string. Do you see the same thing? > > You could try ending the commands with \n, or with \r, or with \r\n. > Maybe one of them works better than the others. > > Not sure what other things to try. Hm. Oh, certainly "emacs -q > -no-site-file" is one of the things to try.
It's been a while. Due to reasons I have now downgraded Emacs to 21.3, and I am using Tramp 2.0.36. /bin/sh is now ash (NetBSD's Bourne shell). I still have a similar problem, however. But now the Tramp debug log looks like this: # Opening connection for `root' using `sudo'... # Waiting for prompts from remote shell # Waiting 60s for prompt from remote shell # Found remote shell prompt. $ unset correct unset correct\n[[Regexp `\(^[^#$%> ]*[#$%>] *\|^[^#$%> ]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 60 secs]] I have also tried running the following commands in sequence: (start-process "sh" "sh" "/bin/sh") (process-send-string "sh" "echo N\n") (process-send-string "sh" "echo R\r") (process-send-string "sh" "echo RN\r\n") Which results in this: $ echo N N $ echo R R $ echo RN RN $ $ Is this giving you any clues? -- Bj�rn Lindstr�m <[EMAIL PROTECTED]> http://bkhl.elektrubadur.se/ _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.nongnu.org/mailman/listinfo/tramp-devel
