Mercurial > emacs
comparison lisp/rcompile.el @ 14169:83f275dcd93a
Update FSF's address.
author | Erik Naggum <erik@naggum.no> |
---|---|
date | Sun, 14 Jan 1996 07:34:30 +0000 |
parents | be4f869af091 |
children | 3b9f64eb097b |
comparison
equal
deleted
inserted
replaced
14168:3b925cc52931 | 14169:83f275dcd93a |
---|---|
1 ;;; rcompile.el --- run a compilation on a remote machine | 1 ;;; rcompile.el --- run a compilation on a remote machine |
2 | 2 |
3 ;;; Copyright (C) 1993, 1994 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1993, 1994 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: Albert <alon@milcse.rtsg.mot.com> | 5 ;; Author: Albert <alon@milcse.rtsg.mot.com> |
6 ;; Maintainer: FSF | 6 ;; Maintainer: FSF |
7 ;; Created: 1993 Oct 6 | 7 ;; Created: 1993 Oct 6 |
8 ;; Version: 1.1 | 8 ;; Version: 1.1 |
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
21 ;; GNU General Public License for more details. | 21 ;; GNU General Public License for more details. |
22 | 22 |
23 ;; You should have received a copy of the GNU General Public License | 23 ;; You should have received a copy of the GNU General Public License |
24 ;; along with GNU Emacs; see the file COPYING. If not, write to | 24 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
25 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 25 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
26 ;; Boston, MA 02111-1307, USA. | |
26 | 27 |
27 ;;; Commentary: | 28 ;;; Commentary: |
28 | 29 |
29 ;;; This package is for running a remote compilation and using emacs to parse | 30 ;; This package is for running a remote compilation and using emacs to parse |
30 ;;; the error messages. It works by rsh'ing the compilation to a remote host | 31 ;; the error messages. It works by rsh'ing the compilation to a remote host |
31 ;;; and parsing the output. If the file visited at the time remote-compile was | 32 ;; and parsing the output. If the file visited at the time remote-compile was |
32 ;;; called was loaded remotely (ange-ftp), the host and user name are obtained | 33 ;; called was loaded remotely (ange-ftp), the host and user name are obtained |
33 ;;; by the calling ange-ftp-ftp-name on the current directory. In this case the | 34 ;; by the calling ange-ftp-ftp-name on the current directory. In this case the |
34 ;;; next-error command will also ange-ftp the files over. This is achieved | 35 ;; next-error command will also ange-ftp the files over. This is achieved |
35 ;;; automatically because the compilation-parse-errors function uses | 36 ;; automatically because the compilation-parse-errors function uses |
36 ;;; default-directory to build it's file names. If however the file visited was | 37 ;; default-directory to build it's file names. If however the file visited was |
37 ;;; loaded locally, remote-compile prompts for a host and user and assumes the | 38 ;; loaded locally, remote-compile prompts for a host and user and assumes the |
38 ;;; files mounted locally (otherwise, how was the visited file loaded). | 39 ;; files mounted locally (otherwise, how was the visited file loaded). |
39 | 40 |
40 ;;; See the user defined variables section for more info. | 41 ;; See the user defined variables section for more info. |
41 | 42 |
42 ;;; I was contemplating redefining "compile" to "remote-compile" automatically | 43 ;; I was contemplating redefining "compile" to "remote-compile" automatically |
43 ;;; if the file visited was ange-ftp'ed but decided against it for now. If you | 44 ;; if the file visited was ange-ftp'ed but decided against it for now. If you |
44 ;;; feel this is a good idea, let me know and I'll consider it again. | 45 ;; feel this is a good idea, let me know and I'll consider it again. |
45 | 46 |
46 ;;; Installation: | 47 ;; Installation: |
47 | 48 |
48 ;;; To use rcompile, you also need to give yourself permission to connect to | 49 ;; To use rcompile, you also need to give yourself permission to connect to |
49 ;;; the remote host. You do this by putting lines like: | 50 ;; the remote host. You do this by putting lines like: |
50 | 51 |
51 ;;; monopoly alon | 52 ;; monopoly alon |
52 ;;; vme33 | 53 ;; vme33 |
53 ;;; | 54 ;; |
54 ;;; in a file named .rhosts in the home directory (of the remote machine). | 55 ;; in a file named .rhosts in the home directory (of the remote machine). |
55 ;;; Be careful what you put in this file. A line like: | 56 ;; Be careful what you put in this file. A line like: |
56 ;;; | 57 ;; |
57 ;;; + | 58 ;; + |
58 ;;; | 59 ;; |
59 ;;; Will allow anyone access to your account without a password. I suggest you | 60 ;; Will allow anyone access to your account without a password. I suggest you |
60 ;;; read the rhosts(5) manual page before you edit this file (if you are not | 61 ;; read the rhosts(5) manual page before you edit this file (if you are not |
61 ;;; familiar with it already) | 62 ;; familiar with it already) |
62 | 63 |
63 ;;; Code: | 64 ;;; Code: |
64 | 65 |
65 (provide 'rcompile) | 66 (provide 'rcompile) |
66 (require 'compile) | 67 (require 'compile) |