1. xemacs
  2. eterm

Commits

ben  committed ef00f2b

lets try again

  • Participants
  • Parent commits b64fe00
  • Branches default

Comments (0)

Files changed (1)

File term.el

View file
 	    (format term-termcap-format "TERMCAP="
 		    term-term-name term-height term-width))
 	   (format "EMACS=%s (term:%s)" emacs-version term-protocol-version)
-	   (format "LINES=%d" term-height)
-	   (format "COLUMNS=%d" term-width))
-	  process-environment)))
-    (apply 'start-process name buffer
-	   "/bin/sh" "-c"
-	   (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\
+ 	   (format "LINES=%d" term-height)
+ 	   (format "COLUMNS=%d" term-width))
+ 	  process-environment)))
+    (if (eq system-type 'windows-nt)
+	(apply 'start-process name buffer
+	       command switches)
+      (apply 'start-process name buffer
+	     "/bin/sh" "-c"
+	     (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\
 if [ $1 = .. ]; then shift; fi; exec \"$@\""
-		   term-height term-width)
-	   ".."
-	   command switches)))
-
+		     term-height term-width)
+	     ".."
+	     command switches))))
+ 
 ;;; This should be in emacs, but it isn't.
 (defun term-mem (item list &optional elt=)
   "Test to see if ITEM is equal to an item in LIST.