Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!sri-spam!mordor!lll-tis!lll-lcc!lll-winken!csustan!polyslo!csun!sdcrdcf!ism780c!mikep From: mikep@ism780c.UUCP (Michael A. Petonic) Newsgroups: comp.emacs Subject: Re: Reading usenet inside Emacs Message-ID: <8740@ism780c.UUCP> Date: 28 Jan 88 04:13:39 GMT References: <7651@alice.UUCP> <8801241916.AA23663@ucbvax.Berkeley.EDU> <203@rtg.cme-durer.ARPA> <208@stylus.cme-durer.ARPA> Reply-To: mikep@ism780c.UUCP (Michael A. Petonic) Organization: Interactive Systems Corp., Santa Monica CA Lines: 24 Keywords: news rnews seeking improvements In article <208@stylus.cme-durer.ARPA> klm@cme-durer.ARPA (Ken Manheimer) writes: >... and would like to see a more >worthwhile news reading facility in the editor that i could use; >otherwise i'll stick to rn for news reading. The method that I use which isn't quite what you asked is pretty helpful for me. I alias rn to be "EDITOR=/usr/local/emacs/etc/emacsclient /usr/bin/rn" and then I have server.elc automatically run from my .emacs. Then when I want to respond to news, I just hit ^Z when it says that it's waiting for emacs. Then I type "fe" which is an alias to put emacs in the foreground (assuming you have job control). And after a few seconds, the file pops up. It's pretty obvious that this method only works with job control. I've also used the technique combined with Berkeley "rcp" to edit files on other machines using the emacs on my host machine. In fact, if I connect to a machine using M-x telnet, then I can type "re " which will pull up the file in my own local emacs. "re" is a shellscript that rcp's the file to my host, then runs emacsclient on it, then rcp's the file back. I'm working on a different method and I'll probably get that done soon. If there's any interest, I'll post it. -MikeP