Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Editing Files in Single User Mode
@ 1996-04-24  4:00 Roger A. Quon
  1996-04-24  4:00 ` Paul J Lustgraaf
  0 siblings, 1 reply; 2+ messages in thread
From: Roger A. Quon @ 1996-04-24  4:00 UTC (permalink / raw)



Hi again

I've bothered you all with my newbie approach to my OS upgrade for
a DEC Alpha 3000/400. I trouble you all again.

I've made great headway on my installation problems with much help
from the net gurus. I'm in the last stages, and I need to edit
a file - steal_mem.c - so that I can get my X windows working.

Anyway, I've tried to edit this file using "vi" and "emacs" to
no avail. These editors don't easily permit file modification using
a cursor, if it can be done at all.

So, my question is, how do I modify this file, or "install" the patch
in single-user mode. Do I need to get the patch on CD-ROM, or can
simply modify the file since I know which lines to change.

All hints, suggestions and cheers are generously accepted.
Thanks again for all your help.

Roger
quon@eniac.seas.upenn.edu



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Editing Files in Single User Mode
  1996-04-24  4:00 Editing Files in Single User Mode Roger A. Quon
@ 1996-04-24  4:00 ` Paul J Lustgraaf
  0 siblings, 0 replies; 2+ messages in thread
From: Paul J Lustgraaf @ 1996-04-24  4:00 UTC (permalink / raw)


In article <4ljs7s$52b@netnews.upenn.edu>,
Roger A. Quon <quon@blue.seas.upenn.edu> wrote:
>
>I've bothered you all with my newbie approach to my OS upgrade for
>a DEC Alpha 3000/400. I trouble you all again.
>
>I've made great headway on my installation problems with much help
>from the net gurus. I'm in the last stages, and I need to edit
>a file - steal_mem.c - so that I can get my X windows working.
>
>Anyway, I've tried to edit this file using "vi" and "emacs" to
>no avail. These editors don't easily permit file modification using
>a cursor, if it can be done at all.
>
>So, my question is, how do I modify this file, or "install" the patch
>in single-user mode. Do I need to get the patch on CD-ROM, or can
>simply modify the file since I know which lines to change.

"ed" is your friend.  It works under all conditions.  If you don't
know ed, learn.

-- 
Paul Lustgraaf            "It's easier to apologize than to get permission."
Network Specialist                                     Grace Hopper
Iowa State University Computation Center                   grpjl@iastate.edu
Ames, IA  50011                                                 515-294-0324



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-04-24  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-24  4:00 Editing Files in Single User Mode Roger A. Quon
1996-04-24  4:00 ` Paul J Lustgraaf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox