⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0055-0059.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>

<HEAD>

<TITLE>Linux Complete Command Reference:User Commands:EarthWeb Inc.-</TITLE>

</HEAD>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!-- ISBN=0672311046 //-->

<!-- TITLE=Linux Complete Command Reference//-->

<!-- AUTHOR=Red Hat//-->

<!-- PUBLISHER=Macmillan Computer Publishing//-->

<!-- IMPRINT=Sams//-->

<!-- CHAPTER=01 //-->

<!-- PAGES=0001-0736 //-->

<!-- UNASSIGNED1 //-->

<!-- UNASSIGNED2 //-->



<P><CENTER>

<a href="0054-0054.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0060-0062.html">Next</A></CENTER></P>







<A NAME="PAGENUM-55"><P>Page 55</P></A>







<!-- CODE //-->

<PRE>

Dialog dialog

Command okay

Command cancel

TransientShell error

Dialog dialog

Command abort

Command retry

TransientShell qsave

Dialog dialog

Command yes

Command no

Command cancel

Paned parent

Form formy

MenuButton fileButton

SimpleMenu fileMenu

SmeBSB new

SmeBSB load

SmeBSB insert

SmeBSB save

SmeBSB saveAs

SmeBSB resize

SmeBSB rescale

SmeBSB filename

SmeBSB basename

SmeLine line

SmeBSB quit

MenuButton editButton

SimpleMenu editMenu

SmeBSB image

SmeBSB grid

SmeBSB dashed

SmeBSB axes

SmeBSB stippled

SmeBSB proportional

SmeBSB zoom

SmeLine line

SmeBSB cut

SmeBSB copy

SmeBSB paste

Label status

Pane pane

Bitmap bitmap

Form form

Command clear

Command set

Command invert

Toggle mark

Command unmark

Toggle copy

Toggle move

Command flipHoriz

Command up

Command flipVert

Command left

Command fold

Command right

Command rotateLeft

Command down

Command rotateRight

</PRE>

<!-- END CODE //-->



<A NAME="PAGENUM-56"><P>Page 56</P></A>







<!-- CODE //-->

<PRE>

Toggle point

Toggle curve

Toggle line

Toggle rectangle

Toggle filledRectangle

Toggle circle

Toggle filledCircle

Toggle floodFill

Toggle setHotSpot

Command clearHotSpot

Command undo

</PRE>

<!-- END CODE //-->





<P><B>

COLORS

</B></P>







<P>If you would like bitmap to be viewable in color, include the following in the

#ifdef COLOR section of the file you read with

xrdb:

</P>

<!-- CODE SNIP //-->

<PRE>

*customization: _color

</PRE>

<!-- END CODE SNIP //-->

<P>This will cause bitmap to pick up the colors in the app-defaults color customization file:

</P>

<!-- CODE SNIP //-->

<PRE>

&lt;XRoot&gt;/lib/X11/app-defaults/Bitmap-color

</PRE>

<!-- END CODE SNIP //-->

<P>where &lt;XRoot&gt; refers to the root of the X11 install tree.</P>



<P><B>

BITMAP WIDGET

</B></P>





<P>Bitmap widget is a standalone widget for editing raster images. It is not designed to edit large images, although it may

be used in that purpose as well. It can be freely incorporated with other applications and used as a standard editing tool.

The following are the resources provided by the bitmap widget:

</P>



<TABLE>



<TR><TD>

Header file

</TD><TD>

Bitmap.h

</TD></TR><TR><TD>

Class

</TD><TD>

bitmapWidgetClass

</TD></TR><TR><TD>

Class Name

</TD><TD>

Bitmap

</TD></TR><TR><TD>

Superclass

</TD><TD>

Bitmap

</TD></TR></TABLE>







<P>

All the Simple Widget resources plus&#133;

</P>



<TABLE>



<TR><TD>

Name

</TD><TD>

Class

</TD><TD>

Type

</TD><TD>

Default Value

</TD></TR><TR><TD>

foreground

</TD><TD>

Foreground

</TD><TD>

Pixel

</TD><TD>

XtDefaultForeground

</TD></TR><TR><TD>

highlight

</TD><TD>

Highlight

</TD><TD>

Pixel

</TD><TD>

XtDefaultForeground

</TD></TR><TR><TD>

framing

</TD><TD>

Framing

</TD><TD>

Pixel

</TD><TD>

XtDefaultForeground

</TD></TR><TR><TD>

gridTolerance

</TD><TD>

GridTolerance

</TD><TD>

Dimension

</TD><TD>

8

</TD></TR><TR><TD>

size

</TD><TD>

Size

</TD><TD>

String

</TD><TD>

32x32

</TD></TR><TR><TD>

dashed

</TD><TD>

Dashed

</TD><TD>

Boolean

</TD><TD>

True

</TD></TR><TR><TD>

grid

</TD><TD>

Grid

</TD><TD>

Boolean

</TD><TD>

True

</TD></TR><TR><TD>

stippled

</TD><TD>

Stippled

</TD><TD>

Boolean

</TD><TD>

True

</TD></TR><TR><TD>

proportional

</TD><TD>

Proportional

</TD><TD>

Boolean

</TD><TD>

True

</TD></TR><TR><TD>

axes

</TD><TD>

Axes

</TD><TD>

Boolean

</TD><TD>

False

</TD></TR><TR><TD>

squareWidth

</TD><TD>

SquareWidth

</TD><TD>

Dimension

</TD><TD>

16

</TD></TR><TR><TD>

squareHeight

</TD><TD>

SquareHeight

</TD><TD>

Dimension

</TD><TD>

16

</TD></TR><TR><TD>

margin

</TD><TD>

Margin

</TD><TD>

Dimension

</TD><TD>

16

</TD></TR><TR><TD>

xHot

</TD><TD>

XHot

</TD><TD>

Position

</TD><TD>

NotSet (_1)

</TD></TR><TR><TD>

yHot

</TD><TD>

YHot

</TD><TD>

Position

</TD><TD>

NotSet (_1)

</TD></TR><TR><TD>

button1Function

</TD><TD>

Button1Function

</TD><TD>

DrawingFunction

</TD><TD>

Set

</TD></TR></TABLE>





<A NAME="PAGENUM-57"><P>Page 57</P></A>





<TABLE>



<TR><TD>

Name

</TD><TD>

Class

</TD><TD>

Type

</TD><TD>

Default Value

</TD></TR><TR><TD>

button2Function

</TD><TD>

Button2Function

</TD><TD>

DrawingFunction

</TD><TD>

Invert

</TD></TR><TR><TD>

button3Function

</TD><TD>

Button3Function

</TD><TD>

DrawingFunction

</TD><TD>

Clear

</TD></TR><TR><TD>

button4Function

</TD><TD>

Button4Function

</TD><TD>

DrawingFunction

</TD><TD>

Invert

</TD></TR><TR><TD>

button5Function

</TD><TD>

Button5Function

</TD><TD>

DrawingFunction

</TD><TD>

Invert

</TD></TR><TR><TD>

filename

</TD><TD>

Filename

</TD><TD>

String

</TD><TD>

None (&quot;&quot;)

</TD></TR><TR><TD>

basename

</TD><TD>

Basename

</TD><TD>

String

</TD><TD>

None (&quot;&quot;)



</TD></TR></TABLE>



<P><B>

AUTHOR

</B></P>





<P>Davor Matic (MIT X Consortium)</P>



<P>X Version 11 Release 6

</P>



<H3><A NAME="ch01_ 19">

bmptoppm

</A></H3>



<P>bmptoppm&#151;Convert a BMP file into a portable pixmap</P>



<P><B>

SYNOPSIS

</B></P>





<!-- CODE SNIP //-->

<PRE>

bmptoppm [bmpfile]

</PRE>

<!-- END CODE SNIP //-->



<P><B>

DESCRIPTION

</B></P>





<P>bmptoppm reads a Microsoft Windows or OS/2 BMP file as input and produces a portable pixmap as output.

</P>



<P><B>

SEE ALSO

</B></P>





<P>ppmtobmp(1), ppm(5)

</P>



<P><B>

AUTHOR

</B></P>



<P>Copyright &quot; 1992 by David W. Sanderson

26 October 1992</P>





<H3><A NAME="ch01_ 20">

brushtopbm

</A></H3>





<P>brushtopbm&#151;Convert a doodle brush file into a portable bitmap



<P><B>

SYNOPSIS

</B></P>





<!-- CODE SNIP //-->

<PRE>

brushtopbm    [brushfile]

</PRE>

<!-- END CODE SNIP //-->



<P><B>

DESCRIPTION 

</B></P>





<P>brushtopbm reads a Xerox doodle brush file as input and produces a portable bitmap as output.

Note that there is currently no pbmtobrush tool.</P>





<B>

SEE ALSO

</B>



<P>pbm(5)

</P>



<P><B>

AUTHOR

</B></P>







<P>Copyright &quot; 1988 by Jef Poskanzer

</P>



<P>28 August 1988

</P>





<A NAME="PAGENUM-58"><P>Page 58</P></A>





<H3><A NAME="ch01_ 21">

cal

</A></H3>





<P>cal&#151;Displays a calendar

</P>



<B>

SYNOPSIS

</B>



<!-- CODE SNIP //-->

<PRE>

cal [_jy] [month [year]]

</PRE>

<!-- END CODE SNIP //-->



<P><B>

DESCRIPTION

</B></P>







<P>cal displays a simple calendar. If arguments are not specified, the current month is displayed. The options are as follows:

</P>



<TABLE>



<TR><TD>

_j

</TD><TD>

Display Julian dates (days one-based, numbered from January 1)

</TD></TR><TR><TD>

_y

</TD><TD>

Display a calendar for the current year

</TD></TR></TABLE>





<P>A single parameter specifies the year (1_9999) to be displayed; note the year must be fully specified:

</P>





<!-- CODE SNIP //-->

<PRE>

cal 89

</PRE>

<!-- END CODE SNIP //-->





<P>will not display a calendar for 1989. Two parameters denote the month (1_12) and year. If no parameters are specified,

the current month's calendar is displayed.

</P>



<P>A year starts on Jan 1.</P>



<P>The Gregorian Reformation is assumed to have occurred in 1752 on the 3rd of September. By this time, most countries

had recognized the reformation (although a few did not recognize it until the early 1900s.) Ten days following that date

were eliminated by the reformation, so the calendar for that month is a bit unusual.

</P>





<P><B>

HISTORY

</B></P>



<P>A cal command appeared in version 6 AT&amp;T UNIX</P>

<P>6 June 1993

</P>



<H3><A NAME="ch01_ 22">

cat

</A></H3>



<P>cat&#151;Concatenate files and print on the standard output

</P>



<P><B>

SYNOPSIS

</B></P>



<!-- CODE //-->

<PRE>

cat [_benstuvAET] [&#151;number] [&#151;number-nonblank] [&#151;squeeze-blank]



[&#151;show-nonprinting] [&#151;show-ends] [&#151;show-tabs] [&#151;show-all]



[&#151;help] [&#151;version] [file...]

</PRE>

<!-- END CODE //-->



<P><B>

DESCRIPTION

</B></P>



<P>This manual page documents the GNU version of

cat. cat writes the contents of each given file, or the standard input

if none are given or when a file named _ is given, to the standard output.

</P>



<P><B>

OPTIONS

</B></P>



<TABLE>



<TR><TD>

_b, &#151;number-nonblank

</TD><TD>

Number all nonblank output lines, starting with 1.

</TD></TR><TR><TD>

_e

</TD><TD>

Equivalent to _vE.

</TD></TR><TR><TD>

_n, &#151;number

</TD><TD>

Number all output lines, starting with 1.

</TD></TR><TR><TD>

_s, &#151;squeeze-blank

</TD><TD>

Replace multiple adjacent blank lines with a single blank line.

</TD></TR><TR><TD>

_t

</TD><TD>

Equivalent to _vT.

</TD></TR><TR><TD>

_u

</TD><TD>

Ignored; for UNIX compatibility.

</TD></TR></TABLE>





<A NAME="PAGENUM-59"><P>Page 59</P></A>





<TABLE>



<TR><TD>

_v, &#151;show-nonprinting

</TD><TD>

Display control characters except for

LFD and TAB using ^ notation and precede characters

that have the high bit set with M-.

</TD></TR><TR><TD>

_A, &#151;show-all

</TD><TD>

Equivalent to _vET.

</TD></TR><TR><TD>

_E, &#151;show-ends

</TD><TD>

Display a $ after the end of each line.

</TD></TR><TR><TD>

_T, &#151;show-tabs

</TD><TD>

Display tab characters as ^I.

</TD></TR><TR><TD>

&#151;help

</TD><TD>

Print a usage message and exit with a nonzero status.

</TD></TR><TR><TD>

&#151;version

</TD><TD>

Print version information on standard output then exit.

</TD></TR></TABLE>



<P>GNU Text Utilities

</P>







<H3><A NAME="ch01_ 23">

chattr

</A></H3>



<P>chattr&#151;Change file attributes on a Linux second extended file system

</P>



<P><B>

SYNOPSIS

</B></P>







<!-- CODE SNIP //-->

<PRE>

chattr [ _RV ][-v version ] [ mode ] files...

</PRE>

<!-- END CODE SNIP //-->



<P><B>

DESCRIPTION

</B></P>



<P>chattr changes the files attributes on an second extended file system. The format of a symbolic mode is

+-=[Sacdisu].

</P>



<P>The operator + causes the selected attributes to be added to the existing attributes of the files;

- causes them to be removed; and = causes them to be the only attributes that the files have. The letters

Sacdisu select the new attributes for the files: synchronous updates

(S), append only (a), compressed (c), immutable(i), nodump

(d), securedeletion (s), and undeletable (u).

</P>







<P><B>

OPTIONS

</B></P>



<TABLE>



<TR><TD>

-R

</TD><TD>

Recursively change attributes of directories and their contents.

</TD></TR><TR><TD>

-V

</TD><TD>

Verbosely describe changed attributes.

</TD></TR><TR><TD>

-v version

</TD><TD>

Set the file's version.



</TD></TR></TABLE>





<P><B>

ATTRIBUTES

</B></P>





<P>A file with the a attribute set can only be open in append mode for writing.</P>

<P>A file with the c attribute set is automatically compressed on the disk by the kernel. A read from this file

returns uncompressed data. A write to this file compresses data before storing them on the disk.</P>

<P>A file with the d attribute set is not candidate for backup when the

dump(8) program is run.</P>

<P>A file with the i attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no

data can be written to the file. Only the superuser can set or clear this attribute.</P>

<P>When a file with the s attribute set is deleted, its blocks are zeroed and written back to the disk.</P>

<P>When a file with the u attribute set is modified, the changes are written synchronously on the disk; this is equivalent to

the syn' mount option applied to a subset of the files.</P>

<P>When a file with the u attribute set is deleted, its contents is saved. This allows the user to ask for its undeletion.

</P>





<P><B>

AUTHOR

</B></P>







<P>chattr has been written by Remy Card,

&lt;card@masi.ibp.fr&gt;, the developer and maintainer of the

ext2 fs.

</P>



<P><B>

BUGS AND LIMITATIONS

</B></P>



<P>As of ext2 fs 0.5a, the c and u attributes are not honored by the kernel code.</P>

<P>These attributes will be implemented in a future

ext2 fs version.</P>









<P><CENTER>

<a href="0054-0054.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0060-0062.html">Next</A></CENTER></P>







</td>
</tr>
</table>

<!-- begin footer information -->







</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -