Tim Carroll has found and fixed a bug where "unset PS1 PS2 PS3" didn't
work in all shells.  rcp.el now uses "PS1=''; PS2=''; PS3=''" instead.

Does it work?

ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/emacs/rcp.el

Since it is so short: patch attached.

kai
-- 
I like BOTH kinds of music.

--- rcp.el      1999/09/10 23:00:20     1.140
+++ rcp.el      1999/09/12 19:11:28     1.142
@@ -4,7 +4,7 @@
 
 ;; Author: [EMAIL PROTECTED]
 ;; Keywords: comm, processes
-;; Version: $Id: rcp.el,v 1.140 1999/09/10 23:00:20 grossjoh Exp $
+;; Version: $Id: rcp.el,v 1.142 1999/09/12 19:11:28 grossjoh Exp $
 
 ;; rcp.el is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -2015,7 +2015,7 @@
   "Set up an interactive shell such that it is ready to be used
 as if it was non-interactive."
   (process-send-string nil "exec /bin/sh\n")
-  (process-send-string nil "unset PS1 PS2 PS3\n")
+  (process-send-string nil "PS1=''; PS2=''; PS3=''\n")
   (accept-process-output p 1)
   (rcp-send-command method user host "stty -onlcr -echo")
   (rcp-send-command method user host "echo hello")

Reply via email to