From owner-freebsd-current Thu Jan 28 11:12:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26780 for freebsd-current-outgoing; Thu, 28 Jan 1999 11:12:57 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from friley-184-92.res.iastate.edu (friley-184-92.res.iastate.edu [129.186.184.92]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26768 for ; Thu, 28 Jan 1999 11:12:55 -0800 (PST) (envelope-from mystify@friley-184-92.res.iastate.edu) Received: from friley-184-92.res.iastate.edu (localhost.res.iastate.edu [127.0.0.1]) by friley-184-92.res.iastate.edu (8.9.2/8.9.1) with ESMTP id NAA05304; Thu, 28 Jan 1999 13:10:19 -0600 (CST) (envelope-from mystify@friley-184-92.res.iastate.edu) Message-Id: <199901281910.NAA05304@friley-184-92.res.iastate.edu> To: "Daniel C. Sobral" cc: freebsd-current@FreeBSD.ORG Subject: Re: Reading a text file with BTX In-reply-to: Message from "Daniel C. Sobral" of "Fri, 29 Jan 1999 03:46:29 +0900." <36B0B085.114163@newsguy.com> Date: Thu, 28 Jan 1999 13:10:19 -0600 From: Patrick Hartling Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Daniel C. Sobral" wrote: } Patrick Hartling wrote: } > } > Is there a way to view the contents of a text file (specifically, } > /boot/loader.rc) with BTX? Now that there are all these nifty new modules, } > my kernel is a lot smaller and my /boot/loader.rc is a lot longer. The way } > I have my /boot/loader.rc setup is such that it unloads everythin } > automatically loaded if I drop to the BTX prompt instead of autobooting. } > This is fairly convenient except when I want to boot an alternate kernel but } > still load all the same modules that I use in my default kernel. If there } > isn't such a feature, it would be really nice if there were a 'cat' command } > or something along those lines so that I could read the contents of } > /boot/loader.rc and get everything properly reloaded by hand. Could it be } > added or could I just make my own somehow? Thanks a bunch. } } You might be refering to the loader prompt, not the btx prompt. If } you type something as soon as the first "|" is shown, that's btx. If } you wait a little, or enter /boot/loader, then you get loader. } Specifically, if it has processed loader.rc, then you are inside } loader, not btx. Ah, I see. Sorry for using the wrong name, but you did figure out what I meant which is good. :) } Showing contents of a file happens to be possible too, as soon as } bin/9753 gets in. Jordan promised cat and more for us, but since he } is too busy with his update targets, I decided to get "more" in. :-) Cool beans, that's what I was curious about. Thanks for the info. -Patrick Patrick L. Hartling | Research Assistant, ICEMT mystify@friley-184-92.res.iastate.edu | Carver Lab - 0095E Black Engineering http://www.public.iastate.edu/~oz/ | http://www.icemt.iastate.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message