HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.emacs
From: stud01@cc4.kuleuven.ac.be (Barbe Albert)
Distribution: world
Date: Saturday, 15 Aug 1992 00:08:31 +02
Organization: K.U.Leuven - Academic Computing Center
Subject: Re: Getting the functionality of the XEDIT "all" command in emacs

In article 16H2IQINNC4I@DARKSTAR.UCSC.EDU, FRITZ@SCIPP.UCSC.EDU writes:
> Does anyone know how to get the functionality of the XEDIT "all"
> command inside emacs.  You can use this command to narrow the focus of
> what you are editing to any lines that match a general search
> function.  So if you were editing a program file and you did "all /else/"
> only lines that had an "else" in them would be displayed.  This is
> very useful when editing programs and TeX files.  And I would like to
> be able to do this within emacs.
> --
> Frederick Staats
> fritz@scipp.UCSC.EDU -- (408) 459-3575
> Santa Cruz Institute for Particle Physics
> University of California at Santa Cruz
Here is my all-function.
Of course it uses emacs patterns (regular expressions)
  and not XEDIT patterns .
--------------------------------Cut Here----------------------
;;
;; all.el v1.00   Bert Barbe   (stud01@cc4.kuleuven.ac.be)
;; use : type          M-x all
;;       then type the pattern ( or just enter to show all lines again)
;;
;; This function uses selective-display and hides lines by changing
;;  the end of the line in control-M
;;
;; comments are allways welcome !
(defun all ( patern )
  (interactive "sPattern: ")
  (setq selective-display t)
  (if (string-equal patern "")
      (unfold-all)
    (setq selective-display t)
    (let ((modp (buffer-modified-p)))
      (unwind-protect
	  (save-excursion
	    (subst-char-in-region (point-min) (point-max)
				  ?\n ?\^m  t)
	    (goto-char 0)
	    (or (char-equal ?\^m (char-after 1)) (insert-char ?\^m 1))
	    (while  (re-search-forward patern (point-max) t)
	      (save-excursion
		(if (search-backward "\^m" (point-min) t)
		    (progn
		      (delete-char 1 )
		      (insert-char ?\n 1))
		  (message "Something went wrong.Pity.")))
	    )
	  )
	
	(set-buffer-modified-p modp)))))
--------------------------------Cut Here----------------------
--
------------------------------------------------------------------------
Barbe Albert       stud01@cc4.kuleuven.ac.be   (AIX/370)
                   FHGAA98@cc1.kuleuven.ac.be  (VM/CMS)
KUL - University of Leuven (Belgium / Europe)
Newsgroups: comp.emacs
From: kencham@ulysses.cs.umn.edu (Deepak)
Subject: FAQ wanted !!!!!!!
Followup-To: comp.emacs
Keywords: FAQ, emacs
Organization: University of Minnesota
Date: Thu, 13 Aug 1992 14:48:35 GMT

Emach-ers Ho !

Could someone mail me the FAQ for this group ?

Thanks, in advance.

\deepak
-- 
***************************************************************
*  Deepak R. Kenchammana-Hosekote         *******     ******  *
*  Dept. of CSci, University of Minnesota  ***  *** *** ***   *
*  1:((612) 626-8396(o),(612) 339-8997(r)) ***   *****  ***   *
*  kencham@ulysses.cs.umn.edu             *****        *****  *
***************************************************************
Newsgroups: comp.emacs
Subject: Displaying 8-bit input 
From: goodhear@husc8.harvard.edu (Eric Goodheart)
Date: 21 Aug 92 15:46:11
Distribution: world
Organization: Harvard Arts and Sciences Computer Services, Cambridge, MA


My system administrators are considering recompiling Emacs 18.58 to
enable the displaying of 8-bit input.  They have, however, raised
several concerns which I take the opportunity to post in this forum.

The patch being considered is the following:

  The most comprehensive patches for 8-bit output are by Howard Gayle
  (originally for Emacs 18.55.  These patches allow displaying any arbitrary
  string for a given 8-bit character (except TAB and C-j).  Also supported
  is defining the sorting order and the uppercase and lowercase
  translations.  It is reported that the 8-bit character support in Emacs 19
  is largely based on these patches.  Thomas Bellman
  <Bellman@lysator.liu.se> has updated these patches for Emacs 18.57.

The question is:

 > It's okay with me to recompile emacs with that diff.  However, of the
 > two diffs that you mentioned, the one that looked better (namely
 > Howard Gayle's) doesn't seem to have been updated for Emacs 18.58.  It
 > may or may not be difficult to do so; I don't know how much the
 > relevant code has changed between 57 and 58.  Could you check and see
 > if somebody has updated it?  I'm willing to try to do it myself, but
 > I'd rather see first if somebody has done the work, and I'm not going
 > to try too hard if there are any problems.  AND COULD YOU CHECK TO
 > MAKE SURE THAT THAT PATCH DOES ALLOW YOU TO SET IT SO THAT, BY
 > DEFAULT, EMACS BEHAVES IN THE SAME WAY THAT IT WOULD WITHOUT THE PATCH
 > INSTALLED?

Our most important concern is highlighted in caps.  Does anyone out
there have answers for us?  Also, how would my sysadmin's final
question be answered for the other patches available for displaying
8-bit input, namely the ones stated in FAQ 149:

 > There is a patch called the `8-bit ctl-arrow patch' that allows Emacs to
 > display characters with codes from 128 to 255.  {The original appears to   +
 > have been by Kenneth Cline <cline@proof.ergo.cs.cmu.edu>.} Partially based +
 > on Johan Widen's earlier work, Johan Vromans <jv@mh.nl> has updated this   +
 > patch for Emacs 18.58 along with some other 8-bit improvements.  


Please respond by e-mail.

Eric
From: morten@oase.kemi.aau.dk (Morten Kjeldgaard)
Newsgroups: comp.emacs
Subject: Re: Emacs on the SGI Indigo
Date: 18 Aug 92 08:40:17 GMT
Organization: Aarhus University, Denmark

In <SIMON.92Aug13111112@liasg1.epfl.ch> simon@lia.di.epfl.ch (Simon Leinen) writes:

>Sure, GNU Emacs 18.58 contains support for IRIX 4.0 and compiles out
>of the box (as they say).  Use the "s-irix4-0.h" and "m-iris4d.h"
>files in src/config.h.  The only problem is that stripping the binary
>causes it to core dump - I include (without permission) a patch for
>this from a friendly person at SGI.

I too, have successfully installed GNU emacs on the Indigo; I haven't
encountered the above problem, because I never stripped the binary. I have
another problem, however, that I think there is a simple solution to which I
haven't found: When starting emacs from the console, there is no problem,
the X server pops up a window. When starting from a remote terminal,
however, one has to remember the -nw switch. This everybody *ALWAYS*
forgets. On an ESV system we have, emacs figures out for itself to do the
appropriate thing. How does one set this up??

/Morten
--
Morten Kjeldgaard  ~ morten@oase.kemi.aau.dk ~ mok@kemi.aau.dk
Biostructural Chemistry, Department of Chemistry, Aarhus University
Langelandsgade 140, DK-8000 Aarhus C, Denmark
Phone: +45 86 12 46 33 ~ +45 86 20 27 11 x6752 ~ Fax: +45 86 19 61 99
From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy))
Subject: Re: Question: How to use Emacs to access root-owned files
In-reply-to: bob@MorningStar.Com's message of Wed, 12 Aug 1992 16:01:49 GMT
Newsgroups: comp.emacs
Organization: Department of Physics, UC Irvine, CA 92717-4575, USA
Distribution: comp
	<BOB.92Aug12120143@volitans.MorningStar.Com>
Date: 13 Aug 92 00:52:43 GMT

In article <BOB.92Aug12120143@volitans.MorningStar.Com> bob@MorningStar.Com (Bob Sutterfield) writes:

?
?   In article <BETSYS.92Aug10171110@ra.cs.umb.edu> betsys@cs.umb.edu (Elizabeth Schwartz) writes:
?
?      I need a bit of code that prompts me for the root passwd and then
?      lets me read and write as root. (obviously, it mustn't know the
?      passwd!)
?
?   Get ftp.cis.ohio-state.edu:pub/gnu/emacs/elisp-archive/packages/ange-ftp.tar.Z.
?
?   I say ^X^F/user@hostname:/path/to/file, and ange-ftp prompts me for
?   that user's password on that host.  If "user" is "root", you'll be
?   editing a file as root on that host.  If "hostname" is "localhost",
?   you'll have an Emacs buffer that's root on the same machine as the
?   Emacs is running on.  When you ^X^S (or whatever), ange-ftp does
?   whatever's necessary to write the file back appropriately via FTP.

If your system is secure enough you can do even better -- make an
appropriate entry in your .netrc file 
machine localhost login root password <rootpassword>
or put this in a file which ange-ftp knows about and which is
read-write-protected and mayne hidden in some subdirectory. 
Then ange-ftp lets you dired as root to your heart's delight. 
If you are concerned about doing "bad things" as root you may try to
log in as bin, or something like this. 

I don't know how we lived before Andy Norman made ange-ftp available
...
--
Hardy 
-----
Meinhard E. Mayer,  Department of Physics, UC Irvine 
e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET

Newsgroups: comp.emacs
From: st10t@Rosie.UH.EDU
Subject: Indentation
Reply-To: st10t@Rosie.UH.EDU
Organization: University of Houston
Date: Tue, 18 Aug 1992 04:01:00 GMT

I have recently become addicted to the wonderful features of Emacs
but I was wondering if there was anyway to add indentation rules
to a particular major-mode. More specifically I would like fortran-major-
mode to understand the where -> end where construct.

Any help would be appreciated
Avijit Ghosh
Newsgroups: comp.emacs
From: ejh@khonshu.colorado.edu (Edward J. Hartnett)
Subject: now I got gnus.whatever.tar.Z, what do I do?
Summary: I unpacked it, but now what?
Organization: Cooperative Institute for Research in the Environmental Sciences
Date: Wed, 19 Aug 1992 17:43:24 GMT

Hi other faithful GNU emacs believers!

I just ftp'd over a copy of gnus-3.14.1.tar.Z and uncompressed and
untared it, but now what? I ended up with a bunch of .el files, should
I use the byte compiler on them? There is a Makefile on there, should
I run make? There is a FAQ.GNUS which contains only the following:
		Answers to Frequentry Asked Questions
			      about GNUS

		       umerin@mse.kyutech.ac.jp

Q.1 
A.1

This is not overly helpful to me! Can anyone send me the gnus faq? Or
tell me where to get one? Is there a manual insert for this stuff?

This is the first time I ever tried to get and install one of these
emacs extensions. Once I get it all in my emacs/lisp directory, how do
I invoke it? Do I use the load-library command? 

Lot's of questions, I know. I hope I can get some answers. I've
already read the emacs faqs and manual.

		Thanks!
			Ed Hartnett

PS Maybe some of this info should be included in the FAQs?

-- 
Edward Hartnett			ejh@khonshu.colorado.edu

Newsgroups: comp.emacs
From: boon@fys.ruu.nl (Sjirk Boon)
Subject: porting TeX-mode to DEMACS
Keywords: DEMACS, TeX
Organization: Physics Department, University of Utrecht,  The Netherlands
Date: Thu, 13 Aug 1992 09:59:10 GMT

	I'm planning to write my thesis using DEMACS on a 386 laptop. I
have two questions:

* does a mouse-mode exist for DEMACS ? I'm using a microsoft bus-mouse.

* is it possible to port tex-mode (or better AUC-TEX) to DEMACS ? There
  is a problem because 'start-process' is not implemented in DEMACS, you
  have to replace it with 'call-process' in order to run TeX from a
  DEMACS-buffer. I'm not a LISP-wizard, so I can't do it myself. 

B.T.W. all other lisp-files ( e.g. that don't contain 'start-processes')
work great in DEMACS ! 

	Many thanks in advance,
-- 
Sjirk Boon                                               E-mail: boon@fys.ruu.nl
Dept. Medical & Physiological Physics - Room 327         Tel:    (31-30) 532275
Buys Ballot Laboratorium
Princetonplein 5, 3584 CC Utrecht, The Netherlands
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.emacs
Subject: Re: How do I send file~ to the wastebasket directory?
Date: 21 Aug 1992 05:19:46 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: gandalf.think.com
Keywords: file~

In article <1992Aug20.192848.4860@fzi.de> schreiber@fzi.de writes:
>Is there a way to tell emacs, to create all ~-files in a special 
>directory "wastebasket", which I can delete from time to time?

You can redefine the function make-backup-file-name.  In fact, the
documentation specifically encourages this, saying: "This is a separate
function so you can redefine it for customization."
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: comp.emacs
From: pap@tempel.az05.bull.com (Pierre Perret)
Subject: Re: MicroEMACS
Keywords: down and dirty microEMACS.
Reply-To: pap@myths.az05.bull.com
Organization: Bull HN Information Systems Inc., Phoenix Product Division
Date: Thu, 20 Aug 92 22:40:08 GMT

The authoritative place to get MicroEMACS information (and, in particular,
the user manual) is the author's home BBS:

The Programmer's Room
(317) 742-5533

-- 
- Pierre Perret -    Phone: (602) 862-5448   FAX: (602) 862-6105
                  Internet: P.Perret@az05.bull.com
                Compu$erve: 73757,2337     BIX: pierre_perret
From: bashford@scripps.edu (Don &)
Newsgroups: comp.emacs
Subject: Re: Using EMACS in VI mode
Date: 19 Aug 92 19:23:18 GMT
Organization: The Scripps Research Institute, La Jolla, CA, USA

>>>>> In article <4778@balrog.ctron.com>, geremia@legolas (Peter P. Geremia) writes:

PPG> 	I have heard a rumor that emacs can be used in a mode where
PPG> all keystrokes resemble vi.....  Plus you would have all the advanced
PPG> features of Emacs...  If anyone knows how to do this please let me know...

It's true.  There are several vi emulation packages around.  vip.el and
vi-mode.el come with the GNU emacs 18.58 distribution.  vip is the one I
used.  You should be able to start it just by M-x vip.  It has a few
irritating differences from standard vi, but most of them can be customized
away in a .vip file.  There should be a vip node in your on-line
documentation that tells how to use and customize vip.

PPG> Oh,,, And please do harass me about using emacs as vi... I know it sounds
PPG> dumb!!!

Naah.  I did this for a couple of years, but now I've migrated fully to
emacs.

Don Bashford
bashford@scripps.edu
Newsgroups: comp.emacs
From: mat@unh.edu (Mike Thomas)
Subject: Emacs on the SGI Indigo
Organization: /home/mat/.organization
Date: Thu, 13 Aug 1992 01:53:57 GMT

I have been using emacs for a LONG time, and I just got my new
SGI Indigo, and I can't get emacs to compile on it, has anyone
been able to compile it for Iris 4.0.5 ??

Mike Thomas
--
_______________________________________________________________

 Michael A. Thomas              Systems Programmer
 InterOperabilty Lab            Internet: mat@unh.edu
 University of New Hampshire    SERB Room 332 Durham NH 03824

  "imsg = (struct IntuiMessage *)GetMsg(Window->UserPort);"
Newsgroups: comp.emacs
From: steibel@venus.cs.umbc.edu (David M. Steibel)
Subject: Re: porting TeX-mode to DEMACS
Keywords: DEMACS, TeX
Organization: University of Maryland Baltimore Campus
Date: Thu, 13 Aug 1992 15:07:56 GMT

boon@fys.ruu.nl (Sjirk Boon) writes:

> * does a mouse-mode exist for DEMACS ? I'm using a microsoft bus-mouse.
>
> * is it possible to port tex-mode (or better AUC-TEX) to DEMACS ? There
>   is a problem because 'start-process' is not implemented in DEMACS, you
>   have to replace it with 'call-process' in order to run TeX from a
>   DEMACS-buffer. I'm not a LISP-wizard, so I can't do it myself. 

I think both these questions were mentioned in the Demacs FAQ which I
posted last night.

--
David M. Steibel;  Author of the Demacs FAQ;  Internet: steibel@cs.umbc.edu

The greatness of a nation and its moral progress can be measured by the way 
in which its animals are treated. - Mahatma Gandhi.


Newsgroups: comp.emacs
From: bob@MorningStar.Com (Bob Sutterfield)
Subject: Re: Question: How to use Emacs to access root-owned files
Organization: Morning Star Technologies
Distribution: comp
Date: Wed, 12 Aug 1992 16:01:49 GMT

In article <BETSYS.92Aug10171110@ra.cs.umb.edu> betsys@cs.umb.edu (Elizabeth Schwartz) writes:

   I need a bit of code that prompts me for the root passwd and then
   lets me read and write as root. (obviously, it mustn't know the
   passwd!)

Get ftp.cis.ohio-state.edu:pub/gnu/emacs/elisp-archive/packages/ange-ftp.tar.Z.

I say ^X^F/user@hostname:/path/to/file, and ange-ftp prompts me for
that user's password on that host.  If "user" is "root", you'll be
editing a file as root on that host.  If "hostname" is "localhost",
you'll have an Emacs buffer that's root on the same machine as the
Emacs is running on.  When you ^X^S (or whatever), ange-ftp does
whatever's necessary to write the file back appropriately via FTP.
From: bontchev@fbihh.informatik.uni-hamburg.de (Vesselin Bontchev)
Newsgroups: comp.virus
Subject: Re: Strange MBR (PC)
Date: 18 Aug 92 12:39:36 GMT

phil@cs.utexas.edu (Philip Smolen) writes:

> I noticed a machine with a strange MBR at work recently.  The first 16
> bytes look like this:
> EA 05 00 C0 07 E9 99 00 02 6F 79 00 F0 E4 00 80

> Has anyone seen anything like this?  Does anyone know what could have
> caused this?

Yup. The first few bytes are typical for a Stoned-infected boot
sector. Either a variant of Stoned failed to infect this particular
disk properly, or (less probably) some "clever" program tried to
vaccinate your hard disk. It is, indeed, immune against Stoned
infections now, but unfortunately, it has also become non-bootable.

Regards,
Vesselin
- -- 
Vesselin Vladimirov Bontchev           Virus Test Center, University of Hamburg
Tel.:+49-40-54715-224, Fax: +49-40-54715-226       Fachbereich Informatik - AGN
** PGP public key available by finger. **     Vogt-Koelln-Strasse 30, rm. 107 C
e-mail: bontchev@fbihh.informatik.uni-hamburg.de     D-2000 Hamburg 54, Germany
From: bontchev@fbihh.informatik.uni-hamburg.de (Vesselin Bontchev)
Newsgroups: comp.virus
Subject: Re: 4096 (frodo) false alarm? (PC)
Date: 19 Aug 92 06:30:03 GMT

nyh@gauss.technion.ac.il (Nadav Har'El) writes:

> I tryed using a disk optimizer like Aryeh Goretsky suggested, but it
> didn't help.  Does anyone know of a program to clear every unused
> portion of the disk (i.e.  parts of sectors after eof, and totally

Try the Norton Utilities package from Symantec. The program WipeInfo
from version 6.0 of the package has an option to "wipe the slack space
of the disk" (as opposed to wiping the non-allocated disk space, which
is also supported). It does exactly what you want.

Regards,
Vesselin
- -- 
Vesselin Vladimirov Bontchev           Virus Test Center, University of Hamburg
Tel.:+49-40-54715-224, Fax: +49-40-54715-226       Fachbereich Informatik - AGN
** PGP public key available by finger. **     Vogt-Koelln-Strasse 30, rm. 107 C
e-mail: bontchev@fbihh.informatik.uni-hamburg.de     D-2000 Hamburg 54, Germany
From: bontchev@fbihh.informatik.uni-hamburg.de (Vesselin Bontchev)
Newsgroups: comp.virus
Subject: Re: I Need an unattended scanner (PC)
Date: 18 Aug 92 10:31:44 GMT

cass8806@elan.glassboro.edu (KYLE CASSIDY) writes:

> 	I'm using V-shield93 right now, and i'm wondering if i should use 
> this in conjunction with a more sophisticated scan program, but i'd like one 
> that i can set to scan the disk when i'm not around (like at 3 in the 
> morning) i'm running windows and i leave the machine on 24 hours. are there 
> programs that do this?

What you actually need is not a special scanner - any off-line scanner
like SCAN or F-Prot will do the job. What you need is a scheduler for
Windows - a program that starts another program at a prescribed time.
I don't know about such program (I am not using Windows myself), but
it should exist - several such programs exist for DOS. I advise you to
check at Simtel20 or ask in one of the Windows-related newsgroups.

Regards,
Vesselin
- -- 
Vesselin Vladimirov Bontchev           Virus Test Center, University of Hamburg
Tel.:+49-40-54715-224, Fax: +49-40-54715-226       Fachbereich Informatik - AGN
** PGP public key available by finger. **     Vogt-Koelln-Strasse 30, rm. 107 C
e-mail: bontchev@fbihh.informatik.uni-hamburg.de     D-2000 Hamburg 54, Germany
From: nyh@gauss.technion.ac.il (Nadav Har'El)
Newsgroups: comp.virus
Subject: Re: 4096 (frodo) false alarm? (PC)
Date: 17 Aug 92 05:56:25 GMT

frisk@complex.is (Fridrik Skulason) writes:
> nyh@gauss.technion.ac.il (Nadav Har'El) writes:
> 
> >is the way they return since I got the computer.  Also, I used f-prot
> >after using scan ant it came to the same conclusions - frodo in
> >memory, but when rebooting from a clean diskette, there was no frodo
> >in memory but no files infected as well.
> 
> I see two possibilities.
> 
>    Try running a scanner and scan all files, not just executables - you
>    might have an "infected" data file - or a file that has been renamed.
> 
>    DOS reads data from the disk in whole sectors, and there is a possibility
>    that you have a file that was infected once, it was cleaned, but a virus
>    fragment might be in the "dead" area between the file and the end of
>    the sector, and the scanners might be finding this in some disk buffer.

Thanks for the answer.

I scanned also data files, with the same results. You and Aryeh
Goretsky from McAfee both suggested that a virus leftover must be in
an unused portion of the disk. I scanned my disk with some antivirus
program which supports scanning the whole disk, not just files (I
forgot which program, I think it was tbscan or htscan). It reported 2
4096 infections on an unused portion of the disk, which supports your
suspicion.

I tryed using a disk optimizer like Aryeh Goretsky suggested, but it
didn't help.  Does anyone know of a program to clear every unused
portion of the disk (i.e.  parts of sectors after eof, and totally
unused sectors)? Of course I can backup the whole hard disk, format
it, and restore the files back, but that would be a very long job.

Such a program might be an interest to other people too, since I don't
suppose I am the only one suffering from this phenomena. Writing such
a program should be trivial for people with knowledge how to directly
access disk sectors, like disk optimizer writers, which,
unfortunately, I'm not one of.

- -- 
Nadav Har'El                         | ######  ########     # | <-- Sorry if
Email: nyh@gauss.technion.ac.il      |      #       #       # |    you can't
Department of Mathematics, Technion  |      #       #       # |    read Hebrew.
Israel Institute of Technology       | ########     #  ###### |    Nadav. ;)
From: frisk@complex.is (Fridrik Skulason)
Newsgroups: comp.virus
Subject: Re: 4096 (frodo) false alarm? (PC)
Date: 12 Aug 92 00:49:17 GMT

nyh@gauss.technion.ac.il (Nadav Har'El) writes:

>is the way they return since I got the computer.  Also, I used f-prot
>after using scan ant it came to the same conclusions - frodo in
>memory, but when rebooting from a clean diskette, there was no frodo
>in memory but no files infected as well.

I see two possibilities.

   Try running a scanner and scan all files, not just executables - you
   might have an "infected" data file - or a file that has been renamed.

   DOS reads data from the disk in whole sectors, and there is a possibility
   that you have a file that was infected once, it was cleaned, but a virus
   fragment might be in the "dead" area between the file and the end of
   the sector, and the scanners might be finding this in some disk buffer.

- -frisk