3 .\" Copyright (C) Caldera International Inc. 2001-2002.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code and documentation must retain the above
10 .\" copyright notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. All advertising materials mentioning features or use of this software
15 .\" must display the following acknowledgement:
16 .\" This product includes software developed or owned by Caldera
17 .\" International, Inc.
18 .\" 4. Neither the name of Caldera International, Inc. nor the names of other
19 .\" contributors may be used to endorse or promote products derived from
20 .\" this software without specific prior written permission.
22 .\" USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA
23 .\" INTERNATIONAL, INC. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
24 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 .\" IN NO EVENT SHALL CALDERA INTERNATIONAL, INC. BE LIABLE FOR ANY DIRECT,
27 .\" INDIRECT INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
29 .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31 .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
32 .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 .\" POSSIBILITY OF SUCH DAMAGE.
35 .\" @(#)u1 8.1 (Berkeley) 6/8/93
44 From the user's point of view,
50 and presents few of the usual impediments
51 to getting the job done.
52 It is hard, however, for the beginner
53 to know where to start,
54 and how to make the best use
55 of the facilities available.
56 The purpose of this introduction
58 get used to the main ideas of
62 and start making effective use of it quickly.
64 You should have a couple of other documents with you
65 for easy reference as you read this one.
73 it's often easier to tell you to read about something
75 than to repeat its contents here.
76 The other useful document is
78 A Tutorial Introduction to the
83 which will tell you how to use the editor
85 programs, data, documents \(em
92 has become quite popular,
93 and there are several major variants
95 Of course details also change with time.
96 So although the basic structure of
98 and how to use it is common to all versions,
99 there will certainly be a few things
100 which are different on your system from
101 what is described here.
102 We have tried to minimize the problem,
105 this paper describes Version 7
108 This paper has five sections:
113 what to do about mistakes in typing,
115 Some of this is dependent on which
118 (phone numbers, for example)
119 and what terminal you use,
120 so this section must necessarily be supplemented
121 by local information.
124 Things you need every day to use
127 generally useful commands;
130 Document Preparation:
131 Preparing manu\%scripts is one of the most common uses
135 This section contains advice,
137 extensive instructions on any
138 of the formatting tools.
142 is an excellent system for developing programs.
143 This section talks about some of the tools,
144 but again is not a tutorial in any of the programming languages
145 provided by the system.
150 An annotated bibliography of
151 documents that new users should be aware of.
159 login name, which you can get from
160 whoever administers your system.
161 You also need to know the phone number,
162 unless your system uses permanently connected terminals.
166 is capable of dealing with a wide variety of terminals:
167 Terminet 300's; Execuport, TI and similar
169 video (CRT) terminals like the HP2640, etc.;
170 high-priced graphics terminals like the Tektronix 4014;
171 plotting terminals like those from GSI and DASI;
172 and even the venerable
173 Teletype in its various forms.
176 is strongly oriented towards devices with
179 If your terminal produces only upper case (e.g., model 33 Teletype, some video and portable terminals),
180 life will be so difficult that you should look for another
183 Be sure to set the switches appropriately on your device.
184 Switches that might need to be adjusted include the speed,
185 upper/lower case mode,
186 full duplex, even parity, and any others
187 that local wisdom advises.
188 Establish a connection using whatever
189 magic is needed for your terminal;
190 this may involve dialing a telephone call or merely flipping a switch.
196 If it types garbage, you may be at the wrong speed;
199 push the ``break'' or ``interrupt'' key a few times, slowly.
200 If that fails to produce a login message, consult a guru.
211 the system will not do anything until you type a
213 If a password is required,
214 you will be asked for it,
216 printing will be turned off while you type it.
220 The culmination of your login efforts is a
221 ``prompt character,''
222 a single character that indicates that
224 is ready to accept commands from you.
225 The prompt character is usually a
231 (You may also get a message of the day just before the
232 prompt character, or a notification that you have mail.)
236 Once you've seen the prompt character, you can type commands,
247 You should get back something like
249 Mon Jan 16 14:17:10 EST 1978
254 or nothing will happen.
255 If you think you're being ignored,
258 something should happen.
262 but don't forget it \(em
264 at the end of each line.
266 Another command you might try is
268 which tells you everyone who is currently logged in:
275 mb tty01 Jan 16 09:11
276 ski tty05 Jan 16 09:33
277 gam tty11 Jan 16 13:07
279 The time is when the user logged in;
280 ``ttyxx'' is the system's idea of what terminal
283 If you make a mistake typing the command name,
284 and refer to a non-existent command,
286 For example, if you type
294 Of course, if you inadvertently type the name of some other command,
296 with more or less mysterious results.
298 Strange Terminal Behavior
300 Sometimes you can get into a state
301 where your terminal acts strangely.
303 each letter may be typed twice,
306 may not cause a line feed
307 or a return to the left margin.
308 You can often fix this by logging out and logging back in.\(dg
310 \(dg In Berkeley Unix, the command "reset<control-j>"
311 will often reset a terminal apparently in a strange state because a fullscreen
314 Or you can read the description of the command
316 in section 1 of the manual.
317 To get intelligent treatment of
319 (which are much used in
321 if your terminal doesn't have tabs,
326 and the system will convert each tab into the right number
331 If you make a typing mistake, and see it before
334 there are two ways to recover.
337 erases the last character typed;
338 in fact successive uses of
340 erase characters back to
341 the beginning of the line (but not beyond).
342 So if you type badly, you can correct as you go:
349 \(dd Many installations set the erase character for display terminals to
350 the delete or backspace key. "stty all" tells you what it actually is.
355 erases all of the characters
357 on the current input line,
358 so if the line is irretrievably fouled up, type an
360 and start the line over.
362 What if you must enter a sharp or at-sign
364 If you precede either
370 it loses its erase meaning.
371 So to enter a sharp or at-sign in something, type
375 The system will always echo a newline at you after your at-sign,
376 even if preceded by a backslash.
378 the at-sign has been recorded.
380 To erase a backslash,
381 you have to type two sharps or two at-signs, as in
383 The backslash is used extensively in
385 to indicate that the following character is in some way special.
391 which means that you can type as fast as you want,
393 even when some command is typing at you.
394 If you type during output,
395 your input characters will appear intermixed with the output characters,
396 but they will be stored away
397 and interpreted in the correct order.
398 So you can type several commands one after another without
399 waiting for the first to finish or even begin.
403 You can stop most programs by
406 (perhaps called ``delete'' or ``rubout'' on your terminal).
407 The ``interrupt'' or ``break'' key found on most terminals
408 can also be used.\(dg
410 \(dg In Berkeley Unix, "control-c" is the usual way to stop programs. "stty all"
411 tells you the value of your "intr" key.
413 In a few programs, like the text editor,
415 stops whatever the program is doing but leaves you in that program.
416 Hanging up the phone will stop most programs.\(dd
418 \(dd In most modern shells, programs running in the background continue
419 running even if you hang up.
424 The easiest way to log out is to hang up the phone.
429 and let someone else use the terminal you were on.*
431 * "control-d" and "logout" are other alternatives.
433 It is usually not sufficient just to turn off the terminal.
437 do not use a time-out mechanism, so you'll be
438 there forever unless you hang up.
442 When you log in, you may sometimes get the message
447 provides a postal system so you can
449 other users of the system.
455 The headers of your mail will be printed, in the order of their receipt.
456 A message can be read with the
459 or specified directly by number.
460 Other commands are described in the manual.
463 do not process one message at a time,
464 but are otherwise similar.)
466 How do you send mail to someone else?
467 Suppose it is to go to ``joe'' (assuming ``joe'' is someone's login name).
468 The easiest way is this:
472 now type in the text of the letter
473 on as many lines as you like ...
474 After the last line of the letter
475 type the character ``.'',
476 alone on the last line,
482 For practice, send mail to yourself.
483 (This isn't as strange as it might sound \(em
484 mail to oneself is a handy reminder mechanism.)
486 There are other ways to send mail \(em
487 you can send a previously prepared letter,
488 and you can mail to a number of people all at once.
489 For more details, see
503 Writing to other users\(dg
505 \(dg Although "write" works on Berkeley
507 there is a much nicer way of communicating using display-terminals \(em
508 "talk" splits the screen into two sections, and both of you can type
509 simultaneously (see talk(1)).
513 out of the blue will come a message
516 Message from joe tty07...
518 accompanied by a startling beep.
519 It means that Joe wants to talk to you,
520 but unless you take explicit action you won't be able to talk back.
526 This establishes a two-way communication path.
527 Now whatever Joe types on his terminal will appear on yours
529 The path is slow, rather like talking to the moon.
530 (If you are in the middle of something, you have to
531 get to a state where you can type a command.
532 Normally, whatever program you are running has to terminate or be terminated.
533 If you're editing, you can escape temporarily from the editor \(em
534 read the editor tutorial.)
536 A protocol is needed to keep what you type from getting
537 garbled up with what Joe types.
538 Typically it's like this:
553 Joe now types his message
554 (as many lines as he likes).
555 When he's ready for a reply, he
561 Now Smith types a reply, also
565 This cycle repeats until
566 someone gets tired; he then
567 signals his intent to quit with
573 the conversation, each side must
574 type a ``control-d'' character alone
576 When the other person types his ``control-d'',
577 you will get the message
582 If you write to someone who isn't logged in,
583 or who doesn't want to be disturbed,
585 If the target is logged in but doesn't answer
586 after a decent interval,
587 simply type ``control-d''.
596 is typically kept on-line.
597 If you get stuck on something,
598 and can't find an expert to assist you,
599 you can print on your terminal some manual section that might help.
600 This is also useful for getting the most up-to-date
601 information on a command.
602 To print a manual section, type
603 ``man command-name''.
604 Thus to read up on the
619 Computer Aided Instruction
623 system may have available
626 which provides computer aided instruction on
627 the file system and basic commands,
629 document preparation,
630 and even C programming.
631 Try typing the command
637 exists on your system,
638 it will tell you what to do from there.