From owner-freebsd-doc@FreeBSD.ORG Wed Jul 23 14:50:23 2003 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC81F37B4C8 for ; Wed, 23 Jul 2003 14:50:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D0C943FB1 for ; Wed, 23 Jul 2003 14:50:21 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6NLoLUp097889 for ; Wed, 23 Jul 2003 14:50:21 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6NLoLCL097888; Wed, 23 Jul 2003 14:50:21 -0700 (PDT) Resent-Date: Wed, 23 Jul 2003 14:50:21 -0700 (PDT) Resent-Message-Id: <200307232150.h6NLoLCL097888@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lukas Ertl Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59AD537B401 for ; Wed, 23 Jul 2003 14:42:43 -0700 (PDT) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF4F443F93 for ; Wed, 23 Jul 2003 14:42:40 -0700 (PDT) (envelope-from le@univie.ac.at) Received: from korben.in.tern (adslle.cc.univie.ac.at [131.130.102.11]) by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id h6NLgL5P026964 for ; Wed, 23 Jul 2003 23:42:27 +0200 Received: from korben.in.tern (korben.in.tern [127.0.0.1]) by korben.in.tern (8.12.9/8.12.9) with ESMTP id h6NLgHWi035092 for ; Wed, 23 Jul 2003 23:42:18 +0200 (CEST) (envelope-from le@korben.in.tern) Received: (from le@localhost) by korben.in.tern (8.12.9/8.12.9/Submit) id h6NLgH7s035091; Wed, 23 Jul 2003 23:42:17 +0200 (CEST) (envelope-from le) Message-Id: <200307232142.h6NLgH7s035091@korben.in.tern> Date: Wed, 23 Jul 2003 23:42:17 +0200 (CEST) From: Lukas Ertl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/54789: [PATCH] brush up the "New Users" article X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lukas Ertl List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 21:50:24 -0000 >Number: 54789 >Category: docs >Synopsis: [PATCH] brush up the "New Users" article >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 23 14:50:21 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Lukas Ertl >Release: FreeBSD 5.1-CURRENT i386 >Organization: Vienna University Computer Center >Environment: System: FreeBSD korben 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Mon Jul 21 12:23:17 CEST 2003 le@korben:/usr/obj/usr/src/sys/KORBEN i386 >Description: The "New Users" article is a bit out of date. What I changed: *) change "FreeBSD" and "Unix" to "&os;" and "&unix;" *) tag usernames properly *) proper SGML formatting *) remove parts that seem to be out of date >How-To-Repeat: >Fix: --- newusers.diff begins here --- Index: en_US.ISO8859-1/articles/new-users/article.sgml =================================================================== RCS file: /usr/local/bsdcvs/doc/en_US.ISO8859-1/articles/new-users/article.sgml,v retrieving revision 1.36 diff -u -u -r1.36 article.sgml --- en_US.ISO8859-1/articles/new-users/article.sgml 13 Jul 2003 15:38:43 -0000 1.36 +++ en_US.ISO8859-1/articles/new-users/article.sgml 23 Jul 2003 21:34:15 -0000 @@ -12,7 +12,7 @@
- For People New to Both FreeBSD and &unix; + For People New to Both &os; and &unix; @@ -29,11 +29,11 @@ August 15, 1997 - Congratulations on installing FreeBSD! This introduction - is for people new to both FreeBSD and - Un*x—so it starts with basics. It assumes you are using - version 2.0.5 or later of FreeBSD as distributed by BSDi - or FreeBSD.org, your system (for now) has a single user + Congratulations on installing &os;! This introduction + is for people new to both &os; and + &unix;—so it starts with basics. It assumes you are + using version 2.0.5 or later of &os; as distributed from + FreeBSD.org, your system (for now) has a single user (you)—and you are probably pretty good with DOS/Windows or OS/2. @@ -42,23 +42,24 @@ Logging in and Getting Out - Log in (when you see login:) as a user you - created during installation or as root. - (Your FreeBSD installation will already have an account for - root; root can go anywhere and do anything, including deleting - essential files, so be careful!) The symbols &prompt.user; and - &prompt.root; in the following stand for the prompt (yours may - be different), with &prompt.user; indicating an ordinary user - and &prompt.root; indicating root. + Log in (when you see login:) as a user you + created during installation or as root. + (Your &os; installation will already have an account for + root; root can go + anywhere and do anything, including deleting essential files, so + be careful!) The symbols &prompt.user; and &prompt.root; in the + following stand for the prompt (yours may be different), with + &prompt.user; indicating an ordinary user and &prompt.root; + indicating root. - To log out (and get a new login: prompt) + To log out (and get a new login: prompt) type &prompt.root; exit - as often as necessary. Yes, press enter + as often as necessary. Yes, press Enter after commands, and remember that &unix; is case-sensitive—exit, not EXIT. @@ -84,7 +85,7 @@ You can also reboot with CtrlAltDelete. Give it a little time to do its work. This is equivalent to - /sbin/reboot in recent releases of FreeBSD + /sbin/reboot in recent releases of &os; and is much, much better than hitting the reset button. You do not want to have to reinstall this thing, do you? @@ -92,57 +93,60 @@ Adding A User with Root Privileges - If you did not create any users when you installed the system - and are thus logged in as root, you should probably create a - user now with + If you did not create any users when you installed the + system and are thus logged in as root, you + should probably create a user now with &prompt.root; adduser - The first time you use adduser, it might ask for some - defaults to save. You might want to make the default shell - &man.csh.1; instead of &man.sh.1;, if it suggests + The first time you use adduser, it might + ask for some defaults to save. You might want to make the + default shell &man.csh.1; instead of &man.sh.1;, if it suggests sh as the default. Otherwise just press enter to accept each default. These defaults are saved in /etc/adduser.conf, an editable file. Suppose you create a user jack with - full name Jack Benimble. Give jack a - password if security (even kids around who might pound on the - keyboard) is an issue. When it asks you if you want to invite - jack into other groups, type wheel + full name Jack Benimble. Give + jack a password if security (even kids + around who might pound on the keyboard) is an issue. When it + asks you if you want to invite jack into + other groups, type wheel: Login group is ``jack''. Invite jack into other groups: wheel This will make it possible to log in as - jack and use the &man.su.1; - command to become root. Then you will not get scolded any more for - logging in as root. + jack and use the &man.su.1; command to + become root. Then you will not get scolded + any more for logging in as root. You can quit adduser any time by typing CtrlC, and at the end you will have a chance to approve your new user or simply type n for no. You might want to create - a second new user (jill?) so that when you edit jack's login - files, you will have a hot spare in case something goes - wrong. + a second new user (jill?) so that when you + edit jack's login files, you will have a + hot spare in case something goes wrong. Once you have done this, use exit to get back to a login prompt and log in as jack. In general, it is a good idea to do as much work as possible as an ordinary user who does not have the power—and - risk—of root. + risk—of root. If you already created a user and you want the user to be - able to su to root, you can log in as root - and edit the file /etc/group, adding jack - to the first line (the group wheel). But - first you need to practice &man.vi.1;, the text editor—or - use the simpler text editor, &man.ee.1;, installed on recent - version of FreeBSD. + able to su to root, you + can log in as root and edit the file + /etc/group, adding + jack to the first line (the group + wheel). But first you need to practice + &man.vi.1;, the text editor—or use the simpler text + editor, &man.ee.1;, installed on recent version of + &os;. To delete a user, use the rmuser command. @@ -153,7 +157,7 @@ Logged in as an ordinary user, look around and try out some commands that will access the sources of help and information - within FreeBSD. + within &os;. Here are some commands and what they do: @@ -208,8 +212,9 @@ Lists hidden dot files with the others. - If you are root, the dot files show up - without the switch. + If you are root, the + dot files show up without the + switch. @@ -221,7 +226,7 @@ .. backs up one level; note the space after cd. cd /usr/local goes there. - cd ~ goes to the + cd (without any options) goes to the home directory of the person logged in—e.g., /usr/home/jack. Try cd /cdrom, and then @@ -298,7 +303,7 @@ The manual page for text. The - major source of documentation for Un*x systems. + major source of documentation for &unix; systems. man ls will tell you all the ways to use the ls command. Press Enter to move through text, @@ -371,10 +376,11 @@ Are some of these not working very well? Both &man.locate.1; and &man.whatis.1; depend on a database that is rebuilt weekly. If your machine is not - going to be left on over the weekend (and running FreeBSD), you + going to be left on over the weekend (and running &os;), you might want to run the commands for daily, weekly, and monthly - maintenance now and then. Run them as root and give each one - time to finish before you start the next one, for now. + maintenance now and then. Run them as root + and give each one time to finish before you start the next one, + for now. &prompt.root; periodic daily @@ -399,15 +405,15 @@ Running such commands is part of system administration—and as a single user of a Unix system, you are your own system administrator. Virtually everything you - need to be root to do is system administration. Such - responsibilities are not covered very well even in those big fat - books on Unix, which seem to devote a lot of space to pulling - down menus in windows managers. You might want to get one of - the two leading books on systems administration, either Evi - Nemeth et.al.'s UNIX System Administration - Handbook (Prentice-Hall, 1995, ISBN - 0-13-15051-7)—the second edition with the red cover; or - Æleen Frisch's Essential System + need to be root to do is system + administration. Such responsibilities are not covered very well + even in those big fat books on Unix, which seem to devote a lot + of space to pulling down menus in windows managers. You might + want to get one of the two leading books on systems + administration, either Evi Nemeth et.al.'s UNIX + System Administration Handbook (Prentice-Hall, 1995, + ISBN 0-13-15051-7)—the second edition with the red cover; + or Æleen Frisch's Essential System Administration (O'Reilly & Associates, 1993, ISBN 0-937175-80-3). I used Nemeth. @@ -417,14 +423,13 @@ To configure your system, you need to edit text files. Most of them will be in the /etc directory; and - you will need to su to root to be able to - change them. You can use the easy ee, but in - the long run the text editor vi is worth - learning. There is an excellent tutorial on vi in + you will need to su to + root to be able to change them. You can + use the easy ee, but in the long run the text + editor vi is worth learning. There is an + excellent tutorial on vi in /usr/src/contrib/nvi/docs/tutorial if you - have that installed; otherwise you can get it by FTP to - ftp.cdrom.com in the directory - FreeBSD/FreeBSD-current/src/contrib/nvi/docs/tutorial. + have the system sources installed. Before you edit a file, you should probably back it up. Suppose you want to edit /etc/rc.conf. You @@ -598,50 +603,50 @@ :w) when you need to. Now you can cd to - /etc, su to root, use - vi to edit the file - /etc/group, and add a user to wheel so the - user has root privileges. Just add a comma and the user's login - name to the end of the first line in the file, press - Esc, and use :wq to write - the file to disk and quit. Instantly effective. (You did not - put a space after the comma, did you?) + /etc, su to + root, use vi to edit the + file /etc/group, and add a user to + wheel so the user has + root privileges. Just add a comma and the + user's login name to the end of the first line in the file, + press Esc, and use :wq to + write the file to disk and quit. Instantly effective. (You did + not put a space after the comma, did you?) - Printing Files from DOS + Printing Files from Windows At this point you probably do not have the printer working, so here is a way to create a file from a manual page, move it to a - floppy, and then print it from DOS. Suppose you want to read + floppy, and then print it from Windows. Suppose you want to read carefully about changing permissions on files (pretty important). You can use man chmod to read about it. The command - &prompt.user; man chmod | col -b > chmod.txt + &prompt.user; man chmod | col -b > chmod.txt will remove formatting codes and send the manual page to the chmod.txt file instead of showing it on your screen. Now put a dos-formatted diskette in your floppy - drive a, su to root, and type + drive a, su to + root, and type - &prompt.root; /sbin/mount -t msdos /dev/fd0 /mnt + &prompt.root; /sbin/mount -t msdos /dev/fd0 /mnt to mount the floppy drive on /mnt. - Now (you no longer need to be root, and you can type - exit to get back to being user jack) you can - go to the directory where you created + Now you can go to the directory where you created chmod.txt and copy the file to the floppy with: - &prompt.user; cp chmod.txt /mnt + &prompt.root; cp chmod.txt /mnt and use ls /mnt to get a directory @@ -652,47 +657,48 @@ /sbin/dmesg by typing - &prompt.user; /sbin/dmesg > dmesg.txt + &prompt.user; /sbin/dmesg > dmesg.txt and copying dmesg.txt to the floppy. /sbin/dmesg is the boot log record, and it is - useful to understand it because it shows what FreeBSD found when + useful to understand it because it shows what &os; found when it booted up. If you ask questions on the &a.questions; or on a USENET - group—like FreeBSD is not finding my tape drive, + group—like &os; is not finding my tape drive, what do I do?—people will want to know what dmesg has to say. - You can now dismount the floppy drive (as root) to get the - disk out with + You can now unmount the floppy drive (as + root) to get the disk out with - &prompt.root; /sbin/umount /mnt + &prompt.root; /sbin/umount /mnt - and reboot to go to DOS. Copy these files to a DOS - directory, call them up with DOS EDIT, Windows Notepad or - Wordpad, or a word processor, make a minor change so the file - has to be saved, and print as you normally would from DOS or - Windows. Hope it works! manual pages come out best if printed - with the DOS print command. (Copying files - from FreeBSD to a mounted DOS partition is in some cases still a - little risky.) + and reboot to go to Windows. Copy these files to a Windows + directory, call them up with Notepad or Wordpad, or a word + processor, make a minor change so the file has to be saved, and + print as you normally would from Windows. Hope it works! + Manual pages come out best if printed with the DOS + print command. (Copying files from &os; + to a mounted DOS partition is in some cases still a little + risky.) - Getting the printer printing from FreeBSD involves creating + Getting the printer printing from &os; involves creating an appropriate entry in /etc/printcap and creating a matching spool directory in /var/spool/output. If your printer is on - lpt0 (what DOS calls - LPT1), you may only need to go to - /var/spool/output and (as root) create the - directory lpd by typing: mkdir + lpt0 (what Windows calls + LPT1), you may only need to go to + /var/spool/output and (as + root) create the directory + lpd by typing: mkdir lpd, if it does not already exist. Then the printer should respond if it is turned on when the system is booted, and lp or lpr should send a file to the printer. Whether or not the file actually prints depends on configuring it, which is covered in the FreeBSD + URL="../../books/handbook/index.html">&os; handbook. @@ -751,7 +757,8 @@ passwd - to change user's password (or root's password) + to change user's password (or + root password) @@ -769,7 +776,7 @@ with - &prompt.user; find /usr -name "filename" + &prompt.user; find /usr -name "filename" You can use * as a wildcard in @@ -780,12 +787,11 @@ file(s) on all mounted filesystems, including the CDROM and the DOS partition. - An excellent book that explains Unix commands and utilities + An excellent book that explains &unix; commands and utilities is Abrahams & Larson, Unix for the Impatient (2nd ed., Addison-Wesley, 1996). - There is also a lot of Unix information on the Internet. Try the - Unix Reference - Desk. + There is also a lot of &unix; information on the Internet. Try + searching with your favourite search engine. @@ -793,9 +799,9 @@ You should now have the tools you need to get around and edit files, so you can get everything up and running. There is - a great deal of information in the FreeBSD handbook (which is + a great deal of information in the &os; handbook (which is probably on your hard drive) and FreeBSD's web site. A + URL="http://www.freebsd.org">&os;'s web site. A wide variety of packages and ports are on the CDROM as well as the web site. The handbook tells you more about how to use them (get the package if it exists, with pkg_add @@ -803,117 +809,19 @@ where packagename is the filename of the package). The CDROM has lists of the packages and ports with brief descriptions in - cdrom/packages/index, - cdrom/packages/index.txt, and - cdrom/ports/index, with fuller descriptions + /cdrom/packages/index, + /cdrom/packages/index.txt, and + /cdrom/ports/index, with fuller descriptions in /cdrom/ports/*/*/pkg/DESCR, where the - *s represent subdirectories of kinds of + * represents subdirectories of kinds of programs and program names respectively. - If you find the handbook too sophisticated (what with - lndir and all) on installing ports from the - CDROM, here is what usually works: - - Find the port you want, say kermit. - There will be a directory for it on the CDROM. Copy the - subdirectory to /usr/local (a good place - for software you add that should be available to all users) - with: - - - &prompt.root; cp -R /cdrom/ports/comm/kermit /usr/local - + If you already have a working internet connection, you can + also add a package with pkg_add -r + packagename. This will + fetch the desired package from an FTP server and install + it. - This should result in a - /usr/local/kermit subdirectory that has all - the files that the kermit subdirectory on the - CDROM has. - - Next, create the directory - /usr/ports/distfiles if it does not already - exist using mkdir. Now check - /cdrom/ports/distfiles for a file with a - name that indicates it is the port you want. Copy that file to - /usr/ports/distfiles; in recent versions - you can skip this step, as FreeBSD will do it for you. In the - case of kermit, there is no distfile. - - Then cd to the subdirectory of - /usr/local/kermit that has the file - Makefile. Type - - - &prompt.root; make all install - - - During this process the port will FTP to get any compressed - files it needs that it did not find on the CDROM or in - /usr/ports/distfiles. If you do not have - your network running yet and there was no file for the port in - /cdrom/ports/distfiles, you will have to - get the distfile using another machine and copy it to - /usr/ports/distfiles from a floppy or your - DOS partition. Read Makefile (with - cat or more or - view) to find out where to go (the master - distribution site) to get the file and what its name is. Its - name will be truncated when downloaded to DOS, and after you get - it into /usr/ports/distfiles you will have to - rename it (with the mv command) to its - original name so it can be found. (Use binary file transfers!) - Then go back to /usr/local/kermit, find the - directory with Makefile, and type - make all install. - - The other thing that happens when installing ports or - packages is that some other program is needed. If the - installation stops with a message can't find - unzip or whatever, you might need to install the - package or port for unzip before you continue. - - Once it is installed type rehash to make - FreeBSD reread the files in the path so it knows what is there. - (If you get a lot of path not found - messages when you use whereis or which, you - might want to make additions to the list of directories in the - path statement in .cshrc in your home - directory. The path statement in Unix does the same kind of - work it does in DOS, except the current directory is not (by - default) in the path for security reasons; if the command you - want is in the directory you are in, you need to type - ./ before the command to make it work; no - space after the slash.) - - You might want to get the most recent version of Netscape - from their FTP site. - (Netscape requires the X Window System.) There is now a FreeBSD - version, so look around carefully. Just use gunzip - filename and tar - xvf filename on it, move - the binary to /usr/local/bin or some other - place binaries are kept, rehash, and then put - the following lines in .cshrc in each - user's home directory or (easier) in - /etc/csh.cshrc, the system-wide - csh start-up file: - - - setenv XKEYSYMDB /usr/X11R6/lib/X11/XKeysymDB -setenv XNLSPATH /usr/X11R6/lib/X11/nls - - - This assumes that the file XKeysymDB - and the directory nls are in - /usr/X11R6/lib/X11; if they are not, find - them and put them there. - - If you originally got Netscape as a port using the CDROM (or - FTP), do not replace /usr/local/bin/netscape - with the new netscape binary; this is just a shell script that - sets up the environment variables for you. Instead rename the - new binary to netscape.bin and replace the - old binary, which is - /usr/local/netscape/netscape. @@ -927,89 +835,88 @@ files: a series of commands to be run without your intervention. - Two shells come installed with FreeBSD: + Two shells come installed with &os;: csh and sh. csh is good for command-line work, but scripts should be written with sh (or bash). You can find out what shell you have by typing echo $SHELL. - The csh shell is okay, but - tcsh does everything csh - does and more. It allows you to recall commands with the arrow + The csh shell is okay, but you might want + to use bash, as many users might find it more + comfortable. It allows you to recall commands with the arrow keys and edit them. It has tab-key completion of filenames (csh uses the Esc key), and it lets you switch to the directory you were last in with cd -. It is also much easier to alter your - prompt with tcsh. It makes life a lot + prompt with bash. It makes life a lot easier. - Here are the three steps for installing a new shell: + Here are the two steps for installing a new shell: Install the shell as a port or a package, just as you would any other port or package. Use - rehash and which tcsh - (assuming you are installing tcsh) to make + rehash and which bash + (assuming you are installing bash) to make sure it got installed. - As root, edit /etc/shells, adding a - line in the file for the new shell, in this case - /usr/local/bin/tcsh, and save the file. - (Some ports may do this for you.) - - - Use the chsh command to change your - shell to tcsh permanently, or type - tcsh at the prompt to change your shell + shell to bash permanently, or type + bash at the prompt to change your shell without logging in again. - It can be dangerous to change root's shell to something - other than sh or csh on - early versions of FreeBSD and many other versions of Unix; you - may not have a working shell when the system puts you into - single user mode. The solution is to use su - -m to become root, which will give you the - tcsh as root, because the shell is part of - the environment. You can make this permanent by adding it to - your .tcshrc file as an alias with: - alias su su -m + It can be dangerous to change root's + shell to something other than sh or + csh on early versions of &os; and many + other versions of &unix;; you may not have a working shell when + the system puts you into single user mode. The solution is to + use su -m to become + root, which will give you the + bash as root, because + the shell is part of the environment. You can make this + permanent by adding it to your .profile + file as an alias with: + + alias su='su -m' - When tcsh starts up, it will read the - /etc/csh.cshrc and - /etc/csh.login files, as does - csh. It will also read the - .login file in your home directory and the - .cshrc file as well, unless you provide a - .tcshrc file. This you can do by simply - copying .cshrc to - .tcshrc. + When bash starts up, it reads a variety + of configuration files like /etc/profile, + .bash_profile, + .bash_login …, depending on if it is + invoked as a login shell or not. A safe way to make sure that + bash executes the commands you want whenever + it starts up is to put them into your + .profile and create a symbolic link from + .bashrc to .profile + like this: + + + &prompt.user; ln -s .profile .bashrc + - Now that you have installed tcsh, you can + Now that you have installed bash, you can adjust your prompt. You can find the details in the manual page - for tcsh, but here is a line to put in your - .tcshrc that will tell you how many + for bash, but here is a line to put in your + .profile that will tell you how many commands you have typed, what time it is, and what directory you - are in. It also produces a > if you are an - ordinary user and a # if you are root, but - tsch will do that in any case: - - set prompt = "%h %t %~ %# " - - This should go in the same place as the existing set prompt - line if there is one, or under "if($?prompt) then" if not. - Comment out the old line; you can always switch back to it if - you prefer it. Do not forget the spaces and quotes. You can get - the .tcshrc reread by typing - source .tcshrc. + are in. It also produces a $ if you are + an ordinary user and a # if you are + root: + + PS1='\! \A \w \$ '; export PS1 + + Just append this line to .profile Do + not forget the spaces and quotes. You can get the + .profile reread by typing source + .profile. You can get a listing of other environmental variables that have been set by typing env at the prompt. @@ -1017,21 +924,22 @@ terminal type, among possibly many others. A useful command if you log in from a remote location and can not run a program because the terminal is not capable is setenv TERM - vt100. + vt100 (for csh) or export + TERM=vt100 (for bash). Other - As root, you can dismount the CDROM with + As root, you can unmount the CDROM with /sbin/umount /cdrom, take it out of the drive, insert another one, and mount it with /sbin/mount_cd9660 /dev/cd0a /cdrom assuming - cd0a is the device name for your CDROM - drive. The most recent versions of FreeBSD let you mount the + cd0a is the device name for your CDROM + drive. The most recent versions of &os; let you mount the CDROM with just /sbin/mount /cdrom. - Using the live filesystem—the second of FreeBSD's + Using the live filesystem—the second of &os;'s CDROM disks—is useful if you have got limited space. What is on the live filesystem varies from release to release. You might try playing games from the CDROM. This involves using --- newusers.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: