From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d930fbf179e9ed7a X-Google-Attributes: gidfee84,public From: grpjl@iastate.edu (Paul J Lustgraaf) Subject: Re: Editing Files in Single User Mode Date: 1996/04/24 Message-ID: <4llltp$gus@news.iastate.edu>#1/1 X-Deja-AN: 151203741 sender: grpjl@iastate.edu references: <4ljs7s$52b@netnews.upenn.edu> organization: Iowa State University, Ames, Iowa USA newsgroups: comp.unix.osf.osf1 In article <4ljs7s$52b@netnews.upenn.edu>, Roger A. Quon 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