Page: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 |
Home |
Home |
Home |
- f authfile | This option specifies the name of the authority file to use. By default, xauth will use the file specified by the XAUTHORITY environment variable or .Xauthority in the user's home directory. |
- q | This option indicates that xauth should operate quietly and not print unsolicited status messages. This is the default if an xauth command is given on the command line or if the standard output is not directed to a terminal. |
- v | This option indicates that xauth should operate verbosely and print status messages indicating the results of various operations (e.g., how many records have been read in or written out). This is the default if xauth is reading commands from its standard input and its standard output is directed to a terminal. |
- i | This option indicates that xauth should ignore any authority file locks. Normally, xauth will refuse to read or edit any authority files that have been locked by other programs (usually xdm or another xauth). |
- b | This option indicates that xauth should attempt to break any authority file locks before proceeding. Use this option only to clean up stale locks. |
Home |
Home |
Home |
check( ) | This action causes the widget to check for new mail and display the flag appropriately. |
unset( ) | This action causes the widget to lower the flag until new mail comes in. |
set( ) | This action causes the widget to raise the flag until the user resets it. |
Home |
- stipple | This option indicates that the background of the calculator should be drawn using a stipple of the foreground and background colors. On monochrome displays improves the appearance. |
- rpn | This option indicates that reverse notation should be used. In this mode the calculator will look and behave like an HP-1OC. Without this flag, it will emulate a TI-30. |
1/x | Replaces the number in the display with its reciprocal. The corresponding action procedure is reciprocal( ). |
x^2 | Squares the number in the display. The corresponding action procedure is square( ). |
SQRT | Takes the square root of the number in the display. The corresponding action procedure is squareRoot( ). |
CE/C | When pressed once, clears the number in the display without clearing the state of the machine. Allows you to re-enter a number if you make a mistake. Pressing it twice clears the state, also. The corresponding action procedure for TI mode is clear( ). |
AC | Clears the display, the state, and the memory. Pressing it with the third pointer button turns off the calculator, in that it exits the program. The action procedure to clear the state is off( ); to quit, quit( ). |
INV | Invert function. See the individual function keys for details. The corresponding action procedure is nverse( ). |
sin | Computes the sine of the number in the display, as interpreted by the current DRG mode (see DRG, below). If inverted, it computes the arcsine. The corresponding action procedure is sine( ). |
cos | Computes the cosine, or arccosine when inverted. The corresponding action procedure is cosine( ). |
tan | Computes the tangent, or arctangent when inverted. The corresponding action procedure is tangent( ). |
DRG | Changes the DRG mode, as indicated by 'DEG', 'RAD', or 'GRAD' at the bottom of the calculator "liquid crystal" display. When in 'DEG' mode, numbers in the display are taken as being degrees. In 'RAD' mode, numbers are in radians, and in 'GRAD' mode, numbers are in grads. When inverted, the DRG key has a feature of converting degrees to radians to grads and vice-versa. Example: put the calculator into 'DEG' mode, and enter "45 INVDRG". The display should now show something along the lines of ".785398", which is 45 degrees converted to radians. The corresponding action procedure is degree( ). |
e | The constant 'e'. (2.7182818...). The corresponding action procedure is e( ). |
EE | Used for entering exponential numbers. For example, to get "-2.3E-4" you'd enter "2 .3 + /- EE 4 + /-". The corresponding action procedure is scientific( ). |
log | Calculates the log (base 10) of the number in the display. When inverted, it raises "10.0" to the number in the display. For example, entering "3 INV log" should result in "1000". The corresponding action procedure is logarithm( ). |
ln | Calculates the log (base e) of the number in the display. When inverted, it raises "e" to the number in the display. For example, entering "e ln" should result in "1". The corresponding action procedure is naturalLog( ). |
y^x | Raises the number on the left to the power of the number on the right. For example "2 y^x 3 = " results in "8", which is 2^3. For a further example, "(1+ 2+ 3) y^x (1+ 2) = " equals "6 y^x 3" which equals "216". The corresponding action procedure is power( ). |
PI | The constant 'pi'. (3.1415927....) The corresponding action procedure is pi( ). |
x! | Computes the factorial of the number in the display. The number in the display must be an integer in the range 0-500, though, depending on your math library, it might overflow long before that. The corresponding action procedure is factorial( ). |
( | Left parenthesis. The corresponding action procedure for TI calculators is leftParen( ). |
) | Right parenthesis. The corresponding action procedure for TI calculators is rightParen( ). |
/ | Division. The corresponding action procedure is divide( ). |
* | Multiplication. The corresponding action procedure is multiply( ). |
- | Subtraction. The corresponding action procedure is subtract( ). |
+ | Addition. The corresponding action procedure is add( ). |
= | Perform calculation. The TI-specific action procedure is equal( ). |
STO | Copies the number in the display to the memory location. The corresponding action procedure is store( ). |
RCL | Copies the number from the memory location to the display. The corresponding action procedure is recall( ). |
SUM | Adds the number in the display to the number in the memory location. The corresponding action procedure is sum( ). |
EXC | Swaps the number in the display with the number in the memory location. The corresponding action procedure for the TI calculator is exchange( ). |
+ /- | Negate; change sign. The corresponding action procedure is negate( ). |
. | Decimal point. The action procedure is decimal( ). |
Calculator Key Usage (RPN mode): The number keys, CHS (change sign), +, -, *, /, and ENTR keys all do exactly what you would expect them to do. Many of the remaining keys are the same as in TI mode. The differences are detailed below. The action procedure for the ENTR key is enter( ). | |
<- | This is a backspace key that can be used if you make a mistake while entering a number. It will erase digits from the display. (See BUGS). Inverse backspace will clear the X register. The corresponding action procedure is back( ). |
ON | Clears the display, the state, and the memory. Pressing it with the third pointer button turns off the calculator, in that it exits the program. To clear state, the action procedure is off; to quit, quit( ). |
INV | Inverts the meaning of the function keys. This would be the f key on an HP calculator, but xcalc does not display multiple legends on each key. See the individual function keys for details. |
10^x | Raises "10.0" to the number in the top of the stack. When inverted, it calculates the log (base 10) of the number in the display. The corresponding action procedure is tenpower( ). |
e^x | Raises "e" to the number in the top of the stack. When inverted, it calculates the log (base e) of the number in the display. The action procedure is epower( ). |
STO | Copies the number in the top of the stack to a memory location. There are 10 memory locations. The desired memory is specified by following this key with a digit key. |
RCL | Pushes the number from the specified memory location onto the stack. |
SUM | Adds the number on top of the stack to the number in the specified memory location. |
x:y | Exchanges the numbers in the top two stack positions, the X and Y registers. The corresponding action procedure is XexchangeY( ). |
R v | Rolls the stack downward. When inverted, it rolls the stack upward. The corresponding action procedure is roll( ). |
blank | These keys were used for programming functions on the HP-1OC. Their functionality has not been duplicated in xcalc. |
Home |
TI Key | HP Key | Keyboard Accelerator | TI Function | HP Function |
SQRT | SQRT | r | squareRoot( ) | squareRoot( ) |
AC | ON | space | clear( ) | clear( ) |
AC | <- | Delete | clear( ) | back( ) |
AC | <- | Backspace | clear( ) | back( ) |
AC | <- | Control-H | clear( ) | back( ) |
AC | Clear | clear( ) | ||
AC | ON | q | quit( ) | quit( ) |
AC | ON | Conlrol-C | quit( ) | quil( ) |
INV | i | i | inverse( ) | inverse( ) |
sin | s | s | sine( ) | sine( ) |
cos | c | c | cosine( ) | cosine( ) |
tan | t | t | tangent( ) | tangent( ) |
DRG | DRG | d | degree( ) | degree( ) |
e | e | e( ) | ||
ln | ln | l | naturalLog( ) | naturalLog( ) |
y^x | y^x | ^ | power( ) | power( ) |
PI | PI | p | pi( ) | pi( ) |
x! | x! | ! | factorial( ) | factorial( ) |
( | ( | leftParen( ) | ||
) | ) | rightParen( ) | ||
/ | / | / | divide( ) | divide( ) |
* | * | * | multiply( ) | multiply( ) |
- | - | - | subtract( ) | subtract( ) |
+ | + | + | add( ) | add( ) |
= | = | equal( ) | ||
0..9 | 0..9 | 0..9 | digit( ) | digit( ) |
. | . | . | decimal( ) | decimal( ) |
+ /- | CHS | n | negate( ) | negate( ) |
x:y | x | XexchangeY( ) | ||
ENTR | Return | enter( ) | ||
ENTR | Linefeed | enter( ) |
XCalc.ti.Command.background: | gray50 |
XCalc.ti.Command.foreground: | white |
For each of buttons 20, 25, 30, 35, and 40, specify: |
XCalc.ti.button20.background: | black |
XCalc.ti.button20.foreground: | white |
For each of buttons 22, 23, 24, 27, 28, 29, 32, 33, 34, 37, 38, and 39: |
XCalc.ti.button22.background: | white |
XCalc.ti.button22.foreground: | black |
Home |
APPLICATION RESOURCES
stipple (Class Stipple) Indicates that the background should be stippled. The default is "on" for monochrome displays, and "off" for color displays.
cursor (Class Cursor) The name of the symbol used to represent the pointer. The default is "hand2".
*cuslomizalion: | -color |
Home |
XCalendar | - class of the application |
xcalendar | - top level pane |
controls | - control panel |
quitButton | - quit button |
helpButton | - help button |
date | - date label |
calendar | - calendar pane |
daynumbers | - day numbers frame |
1-49 | - day number buttons |
daynames | - day names frame |
MON,TUE,WED,THU,FRI,SAT,SUN | - day name buttons |
helpWindow | - help window |
bcontrols | - month buttons frame |
prev | - previous month button |
succ | - succeeding month button |
cdate | - current date widget |
dayEditor | - editor popup |
editorFrame | - editor frame |
editorTitle | - editor title |
editor | - editor |
daybuttons | - day buttons frame |
prevday | - previous day button |
succday | - succeeding day button |
editorControls | - control panel |
doneButton | - done button |
saveButton | - save button |
clearEntry | - clear entry button |
reverseVideoMark | - if True the entries are highlighted in reverse video; default True for black and white, and False for color displays; |
setMarkBackground | - if True and reverseVideoMark is False the entries are highlighted by setting background to markBackground; |
markBackground | - background color for highlighting entries; |
setMarkForeground | - analogous to setMarkBackground; |
markForeground | - foreground color for highlighting entries; |
setMarkBackground and setMarkForeground can take any combination of values. |
january,february,..,december | - these resources can be used for changing names of months; |
firstDay | - an integer between 1-7, indicating the day to start a week with, default: 7 (Sunday); |
markOnStartup | - if True mark the entries upon startup, default: False; |
helpFile | - full pathname of the xcalendar.hlp file, default: /usr/lib/X11/xcalendar.hlp; |
textBufferSize | - maximum size of the text buffer in the day editor, default: 2048; |
Home |
! |
XCalendar*showGrip: | False |
XCalendar*calendar*internalBorderWidth: | 0 |
XCalendar*input: | True |
XCalendar*resize: | False |
XCalendar*resizable: | True |
XCalendar.title: | XCalendar v.3.0 |
XCalendar.dayEditor.title: | Day Editor |
XCalendar.helpWindow.title: | XCalendar Help |
XCalendar*Font: | 813 |
XCalendar*helpFile: | /usr/local/X11R5/lib/X11/xcalendar/xcalendar.hlp |
XCalendar*firstDay: | 7 |
!bitmaps |
XCalendar*prev*bitmap: | /usr/local/X11R5/lib/X11/xcalendar/larrow.xbm |
XCalendar*succ*bitmap: | /usr/local/X11R5/lib/X11/xcalendar/rarrow.xbm |
XCalendar*prevday*bitmap: | /usr/local/X11R5/lib/X11/xcalendar/larrow.xbm |
XCalendar*sucoday*bitmap: | /usr/local/X11R5/lib/X11/xcalendar/rarrow.xbm |
XCalendar*helpButton*bitmap: | /usr/local/X11R5/lib/X11/xcalendar/qmark.xbm |
XCalendar*quitButton*bitmap: | /usr/local/X11R5/lib/X11/xcalendar/quit.xbm |
! colors |
! Note: | These may cause problems using the -rv option on monochrome displays |
XCalendar*Background: | lightgray |
XCalendar*markBackground: | Steel Blue |
XCalendar*daynames*Background: | lightgray |
XCalendar*daynames.SUN*Foreground: | Red |
XCalendar*daynames.SAT*Foreground: | Black |
XCalendar*daynumbers*Foreground: | Black |
XCalendar*daynumbers.1*Foreground: | Red |
XCalendar*daynumbers.8*Foreground: | Red |
XCalendar*daynumbers.15*Foreground: | Red |
XCalendar*daynumbers.22*Foreground: | Red |
XCalendar*daynumbers.29*Foreground: | Red |
XCalendar*daynumbers.36*Foreground: | Red |
XCalendar*helpButton*Background: | slategray |
XCalendar*helpButton*Foreground: | White |
XCalendar*quitButton*Background: | slategray |
XCalendar*quitButton*Foreground: | White |
XCalendar*editorTitle*Background: | lightgray |
XCalendar*editorTitle*Foreground: | Black |
XCalendar*editorControls*Background: | lightgray |
XCalendar*editorControls*Command.Background: | slategray |
XCalendar*editorControls*Command.Foreground: | White |
XCalendar*setMarkBackground: | True |
XCalendar*markOnStartup: | True |
XCalendar.BorderWidth: | 2 |
XCalendar*calendar.borderWidth: | 1 |
XCalendar*borderWidth: | 0 |
XCalendar*date*borderWidth: | 0 |
XCalendar*date*vertDistance: | 5 |
XCalendar*date*font: | 813bold |
XCalendar*daynames*font: | 813bold |
XCalendar*dayEditor*editorTitle*font: | 813bold |
XCalendar*helpWindow*editorTitle*font: | 813bold |
XCalendar*helpButton*vertDistance: | 12 |
XCalendar*quitButton*vertDistance: | 12 |
XCalendar*editorTitle*vertDistance: | 5 |
XCalendar*editorControls*doneButton*label: | Done |
XCalendar*editorControls*saveButton*label: | Save |
XCalendar*editorControls*clearEntry*label: | Clear Entry |
XCalendar*dayEditor*geometry: | 300l50 |
XCalendar*helpWindow*geometry: | 600350 |
XCalendar*doneButton*Label: | done |
XCalendar*editorTitle*Label: | Help |
XCalendar*helpButton*Label: | help |
XCalendar*quitButton*Label: | quit |
XCalendar*saveButton*Label: | save |
XCalendar*bcontrols*borderWidth: | 0 |
XCalendar*prev*highlightThickness: | 0 |
XCalendar*succ*highlightThickness: | 0 |
XCalendar*prevday*highlightThickness: | 0 |
XCalendar*succday*highlightThickness: | 0 |
XCalendar*daybuttons*borderWidth: | 0 |
XCalendar*Scrollbar.borderWidth: | 1 |
XCalendar*editor.scrollVertical: | whenNeeded |
Home |
quit | When this button is pressed, xclipboard exits. |
delete | When this button is pressed, the current buffer is deleted and the next one displayed. |
new | Creates a new buffer with no contents. Useful in constructing a new CLIPBOARD selection by hand. |
save | Displays a File Save dialog box. Pressing the Accept button saves the currently displayed buffer to the file specified in the text field. |
next | Displays the next buffer in the list. |
previous | Displays the previous buffer. |
- w | This option indicates that lines of text that are too long to be displayed on one line in the clipboard should wrap around to the following lines. |
- nw | This option indicates that long lines of text should not wrap around. This is the default behavior. |
TransientShell failDialogShell Dialog failDialog Label label
Command continue
*VT100.Translations: # override
< Btn3Up>: | select-end(CLIPBOARD) n |
< Btn2Up>: | insert-selection(PRIMARY,CLIPBOARD) n |
< Btn2Down>: | ignore ( ) |
Home |
XClock xclock Clock clock
Home |
Home |
Home |
Contents | Previous Chapter | Chapter 1 Cont. | Next Chapter |