?? script.1
字號:
.\" SCCSID: @(#)script.1 8.1 9/11/90.TH script 1.SH Namescript \- generate script of your terminal session.SH Syntax.B script[\fB\-a\fR] [\|\fIfile\fR\|].SH Description.NXR "script command".NXR "typescript file" "creating".NXR "terminal" "capturing session in a file"The.PN scriptcommand calls a forked shell and then makes a typescript of everything printed on your terminal.The typescript is written to .I file,or appended to.I fileif the.B \-aoption is given.If no file name is given, the typescriptis saved in the file.I typescript .Later, it can be sent to the line printer with.PN lpr ..PPWhen .PN scriptis run, it will execute your .cshrc file and will also put you under control of a new pty. The .PN script program ends when the forked shell exits..PPThis program is useful when using a crt and you want a hard-copyrecord of the dialog. An example of how .PN scriptcan be used is a student handingin a program that was developed on a crt when hard-copyterminals are in short supply..SH Options.IP \-a 5Appends output to the output .I file..SH RestrictionsBecause the .PN scriptcommand uses a second pair of pseudo ttys, some commands will fail when run under .PN script. For example, the .PN whoamicommand may not always return a username. .PPAlso, the .PN vieditor can be affected by.PN script .The .PN vicommands j, k, h, and l that are used to move the cursor, do not always function properly. If the screen becomes garbled when using these commands, use <ctrl> L to refresh the screen..SH See Alsopty(4)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -