first commit

This commit is contained in:
STP
2019-11-26 21:36:24 +01:00
commit d9ad30ccf3
2899 changed files with 168823 additions and 0 deletions

View File

@ -0,0 +1,228 @@
! The App-defaults file for Bitmap.
*TransientShell.allowShellResize: True
*shapeStyle: oval
*cursor: left_ptr
*pane.orientation: horizontal
*Form*top: ChainTop
*Form*bottom: ChainTop
*Form*left: ChainLeft
*Form*right: ChainLeft
*MenuButton.leftBitmap: menu12
*form*width: 120
*form*height: 15
*baseTranslations:#override\
Ctrl<Key>c: do-quit()\n\
<Key>q: do-quit()\n\
Ctrl<Key>n: do-new()\n\
Ctrl<Key>f: do-load()\n\
Ctrl<Key>i: do-insert()\n\
Ctrl<Key>s: do-save()\n\
Ctrl<Key>w: do-save-as()\n\
Ctrl<Key>r: do-resize()\n\
Ctrl<Key>x: do-rescale()\n\
Ctrl<Key>e: do-filename()\n\
Ctrl<Key>b: do-basename()\n\
Meta<Key>i: switch-image()\n\
Meta<Key>g: switch-grid()\n\
Meta<Key>d: switch-dashed()\n\
Meta<Key>a: switch-axes()\n\
Meta<Key>s: switch-stippled()\n\
Meta<Key>p: switch-proportional()\n\
Meta<Key>z: switch-zoom()\n\
Meta<Key>c: do-cut()\n\
Meta<Key>w: do-copy()\n\
Meta<Key>y: do-paste()
*Toggle.translations: <EnterWindow>: highlight(WhenUnset)\n\
<LeaveWindow>: unhighlight()\n\
<Btn1Down>,<Btn1Up>: set() notify()
*MenuButton.translations:<EnterWindow>: highlight()\n\
<LeaveWindow>: reset()\n\
Any<BtnDown>: reset() fix-menu() PopupMenu()
*Dialog*baseTranslations:#override\
<Key>Return: set-dialog-button(okay, yes, retry)\n\
Ctrl<Key>g: set-dialog-button(cancel, abort)
*image*baseTranslations:#override\
<Btn1Down>,<Btn1Up>: switch-image()
*image*width: 0
*image*height: 0
*image*Label.internalWidth: 0
*image*Label.internalHeight: 0
*image*normalImage.foreground: white
*image*normalImage.background: black
*image*invertedImage.foreground: black
*image*invertedImage.background: white
*bitmap.cursor: tcross
*bitmap.dashes: Dashes
*bitmap.stipple: Stipple
*bitmap.stippled: on
*TransientShell.width: 300
*input*icon: Term
*qsave*icon: Term
*error*icon: Excl
*Dialog.yes.label: Yes
*Dialog.no.label: No
*Dialog.okay.label: OK
*Dialog.abort.label: Abort
*Dialog.cancel.label: Cancel
*Dialog.retry.label: Retry
*MenuButton.width: 58
*SimpleMenu.width: 0
*SimpleMenu.height: 0
*SimpleMenu.cursor: hand2
*SimpleMenu.line.height: 0
*fileButton.label: File
*fileButton.menuName: fileMenu
*editButton.label: Edit
*editButton.fromHoriz: fileButton
*editButton.menuName: editMenu
*formy.status*top: ChainTop
*formy.status*bottom: ChainTop
*formy.status*left: ChainLeft
*formy.status*right: ChainRight
*status.fromHoriz: editButton
*status.borderWidth: 0
*SmeBSB.HorizontalMargins: 32
*fileMenu.new.label: New (Ctrl-N)...
*fileMenu.load.label: Load (Ctrl-F)...
*fileMenu.insert.label: Insert (Ctrl-I)...
*fileMenu.save.label: Save (Ctrl-S)
*fileMenu.saveAs.label: Save As (Ctrl-W)...
*fileMenu.resize.label: Resize (Ctrl-R)...
*fileMenu.rescale.label: Rescale (Ctrl-X)...
*fileMenu.filename.label: Filename (Ctrl-E)...
*fileMenu.basename.label: Basename (Ctrl-B)...
*fileMenu.quit.label: Quit (Ctrl-C, Q)
*editMenu.image.label: Image (Meta-I)
*editMenu.grid.label: Grid (Meta-G)
*editMenu.dashed.label: Dashed (Meta-D)
*editMenu.axes.label: Axes (Meta-A)
*editMenu.stippled.label: Stippled (Meta-S)
*editMenu.proportional.label: Proportional (Meta-P)
*editMenu.zoom.label: Zoom (Meta-Z)
*editMenu.cut.label: Cut (Meta-C)
*editMenu.copy.label: Copy (Meta-W)
*editMenu.paste.label: Paste (Meta-Y, Ctrl-mb)
*form.clear.label: Clear
*form.set.fromVert: clear
*form.set.label: Set
*form.invert.fromVert: set
*form.invert.label: Invert
*form.mark.vertDistance: 10
*form.mark.fromVert: invert
*form.mark.label: Mark
*form.unmark.fromVert: mark
*form.unmark.label: Unmark
*form.copy.vertDistance: 10
*form.copy.fromVert: unmark
*form.copy.radioGroup: mark
*form.copy.label: Copy
*form.move.fromVert: copy
*form.move.radioGroup: copy
*form.move.label: Move
*form.flipHoriz.vertDistance: 10
*form.flipHoriz.width: 36
*form.flipHoriz.height: 36
*form.flipHoriz.fromVert: move
*form.flipHoriz.bitmap: FlipHoriz
*form.up.vertDistance: 10
*form.up.width: 36
*form.up.height: 36
*form.up.fromVert: move
*form.up.fromHoriz: flipHoriz
*form.up.bitmap: Up
*form.flipVert.vertDistance: 10
*form.flipVert.width: 36
*form.flipVert.height: 36
*form.flipVert.fromVert: move
*form.flipVert.fromHoriz: up
*form.flipVert.bitmap: FlipVert
*form.left.width: 36
*form.left.height: 36
*form.left.fromVert: flipHoriz
*form.left.bitmap: Left
*form.fold.width: 36
*form.fold.height: 36
*form.fold.fromVert: up
*form.fold.fromHoriz: left
*form.fold.bitmap: Fold
*form.right.width: 36
*form.right.height: 36
*form.right.fromVert: flipVert
*form.right.fromHoriz: fold
*form.right.bitmap: Right
*form.rotateLeft.width: 36
*form.rotateLeft.height: 36
*form.rotateLeft.fromVert: left
*form.rotateLeft.bitmap: RotateLeft
*form.down.width: 36
*form.down.height: 36
*form.down.fromVert: fold
*form.down.fromHoriz: rotateLeft
*form.down.bitmap: Down
*form.rotateRight.width: 36
*form.rotateRight.height: 36
*form.rotateRight.fromVert: right
*form.rotateRight.fromHoriz: down
*form.rotateRight.bitmap: RotateRight
*form.point.vertDistance: 10
*form.point.fromVert: rotateLeft
*form.point.radioGroup: move
*form.point.label: Point
*form.curve.fromVert: point
*form.curve.radioGroup: point
*form.curve.label: Curve
*form.line.fromVert: curve
*form.line.radioGroup: curve
*form.line.label: Line
*form.rectangle.fromVert: line
*form.rectangle.radioGroup: line
*form.rectangle.label: Rectangle
*form.filledRectangle.fromVert: rectangle
*form.filledRectangle.radioGroup: rectangle
*form.filledRectangle.label: Filled Rectangle
*form.circle.fromVert: filledRectangle
*form.circle.radioGroup: filledRectangle
*form.circle.label: Circle
*form.filledCircle.fromVert: circle
*form.filledCircle.radioGroup: circle
*form.filledCircle.label: Filled Circle
*form.floodFill.fromVert: filledCircle
*form.floodFill.radioGroup: filledCircle
*form.floodFill.label: Flood Fill
*form.setHotSpot.vertDistance: 10
*form.setHotSpot.fromVert: floodFill
*form.setHotSpot.radioGroup: floodFill
*form.setHotSpot.label: Set Hot Spot
*form.clearHotSpot.fromVert: setHotSpot
*form.clearHotSpot.label: Clear Hot Spot
*form.undo.vertDistance: 10
*form.undo.fromVert: clearHotSpot
*form.undo.label: Undo

View File

@ -0,0 +1,18 @@
! The App-defaults file for Bitmap on a color screen.
#include "Bitmap"
*background: medium blue
*foreground: cyan
*borderColor: plum
*frame: deep sky blue
*highlight: magenta
*Command.background: purple
*Toggle.background: purple
*MenuButton.background: purple
*Command.foreground: white
*Toggle.foreground: white
*MenuButton.foreground: white
*status.foreground: green
*Dialog.icon.foreground: pale green
*bitmap.stippled: off

View File

@ -0,0 +1,231 @@
!
!
! The App-defaults file for Bitmap for use on file systems
! that are not case sensitive.
*TransientShell.allowShellResize: True
*shapeStyle: oval
*cursor: left_ptr
*pane.orientation: horizontal
*Form*top: ChainTop
*Form*bottom: ChainTop
*Form*left: ChainLeft
*Form*right: ChainLeft
*MenuButton.leftBitmap: menu12
*form*width: 120
*form*height: 15
*baseTranslations:#override\
Ctrl<Key>c: do-quit()\n\
<Key>q: do-quit()\n\
Ctrl<Key>n: do-new()\n\
Ctrl<Key>f: do-load()\n\
Ctrl<Key>i: do-insert()\n\
Ctrl<Key>s: do-save()\n\
Ctrl<Key>w: do-save-as()\n\
Ctrl<Key>r: do-resize()\n\
Ctrl<Key>x: do-rescale()\n\
Ctrl<Key>e: do-filename()\n\
Ctrl<Key>b: do-basename()\n\
Meta<Key>i: switch-image()\n\
Meta<Key>g: switch-grid()\n\
Meta<Key>d: switch-dashed()\n\
Meta<Key>a: switch-axes()\n\
Meta<Key>s: switch-stippled()\n\
Meta<Key>p: switch-proportional()\n\
Meta<Key>z: switch-zoom()\n\
Meta<Key>c: do-cut()\n\
Meta<Key>w: do-copy()\n\
Meta<Key>y: do-paste()
*Toggle.translations: <EnterWindow>: highlight(WhenUnset)\n\
<LeaveWindow>: unhighlight()\n\
<Btn1Down>,<Btn1Up>: set() notify()
*MenuButton.translations:<EnterWindow>: highlight()\n\
<LeaveWindow>: reset()\n\
Any<BtnDown>: reset() fix-menu() PopupMenu()
*Dialog*baseTranslations:#override\
<Key>Return: set-dialog-button(okay, yes, retry)\n\
Ctrl<Key>g: set-dialog-button(cancel, abort)
*image*baseTranslations:#override\
<Btn1Down>,<Btn1Up>: switch-image()
*image*width: 0
*image*height: 0
*image*Label.internalWidth: 0
*image*Label.internalHeight: 0
*image*normalImage.foreground: white
*image*normalImage.background: black
*image*invertedImage.foreground: black
*image*invertedImage.background: white
*bitmap.cursor: tcross
*bitmap.dashes: Dashes
*bitmap.stipple: Stippler
*bitmap.stippled: on
*TransientShell.width: 300
*input*icon: Term
*qsave*icon: Term
*error*icon: Excl
*Dialog.yes.label: Yes
*Dialog.no.label: No
*Dialog.okay.label: OK
*Dialog.abort.label: Abort
*Dialog.cancel.label: Cancel
*Dialog.retry.label: Retry
*MenuButton.width: 58
*SimpleMenu.width: 0
*SimpleMenu.height: 0
*SimpleMenu.cursor: hand2
*SimpleMenu.line.height: 0
*fileButton.label: File
*fileButton.menuName: fileMenu
*editButton.label: Edit
*editButton.fromHoriz: fileButton
*editButton.menuName: editMenu
*formy.status*top: ChainTop
*formy.status*bottom: ChainTop
*formy.status*left: ChainLeft
*formy.status*right: ChainRight
*status.fromHoriz: editButton
*status.borderWidth: 0
*SmeBSB.HorizontalMargins: 32
*fileMenu.new.label: New (Ctrl-N)...
*fileMenu.load.label: Load (Ctrl-F)...
*fileMenu.insert.label: Insert (Ctrl-I)...
*fileMenu.save.label: Save (Ctrl-S)
*fileMenu.saveAs.label: Save As (Ctrl-W)...
*fileMenu.resize.label: Resize (Ctrl-R)...
*fileMenu.rescale.label: Rescale (Ctrl-X)...
*fileMenu.filename.label: Filename (Ctrl-E)...
*fileMenu.basename.label: Basename (Ctrl-B)...
*fileMenu.quit.label: Quit (Ctrl-C, Q)
*editMenu.image.label: Image (Meta-I)
*editMenu.grid.label: Grid (Meta-G)
*editMenu.dashed.label: Dashed (Meta-D)
*editMenu.axes.label: Axes (Meta-A)
*editMenu.stippled.label: Stippled (Meta-S)
*editMenu.proportional.label: Proportional (Meta-P)
*editMenu.zoom.label: Zoom (Meta-Z)
*editMenu.cut.label: Cut (Meta-C)
*editMenu.copy.label: Copy (Meta-W)
*editMenu.paste.label: Paste (Meta-Y, Ctrl-mb)
*form.clear.label: Clear
*form.set.fromVert: clear
*form.set.label: Set
*form.invert.fromVert: set
*form.invert.label: Invert
*form.mark.vertDistance: 10
*form.mark.fromVert: invert
*form.mark.label: Mark
*form.unmark.fromVert: mark
*form.unmark.label: Unmark
*form.copy.vertDistance: 10
*form.copy.fromVert: unmark
*form.copy.radioGroup: mark
*form.copy.label: Copy
*form.move.fromVert: copy
*form.move.radioGroup: copy
*form.move.label: Move
*form.flipHoriz.vertDistance: 10
*form.flipHoriz.width: 36
*form.flipHoriz.height: 36
*form.flipHoriz.fromVert: move
*form.flipHoriz.bitmap: FlipHoriz
*form.up.vertDistance: 10
*form.up.width: 36
*form.up.height: 36
*form.up.fromVert: move
*form.up.fromHoriz: flipHoriz
*form.up.bitmap: Up
*form.flipVert.vertDistance: 10
*form.flipVert.width: 36
*form.flipVert.height: 36
*form.flipVert.fromVert: move
*form.flipVert.fromHoriz: up
*form.flipVert.bitmap: FlipVert
*form.left.width: 36
*form.left.height: 36
*form.left.fromVert: flipHoriz
*form.left.bitmap: Left
*form.fold.width: 36
*form.fold.height: 36
*form.fold.fromVert: up
*form.fold.fromHoriz: left
*form.fold.bitmap: Fold
*form.right.width: 36
*form.right.height: 36
*form.right.fromVert: flipVert
*form.right.fromHoriz: fold
*form.right.bitmap: Right
*form.rotateLeft.width: 36
*form.rotateLeft.height: 36
*form.rotateLeft.fromVert: left
*form.rotateLeft.bitmap: RotateLeft
*form.down.width: 36
*form.down.height: 36
*form.down.fromVert: fold
*form.down.fromHoriz: rotateLeft
*form.down.bitmap: Down
*form.rotateRight.width: 36
*form.rotateRight.height: 36
*form.rotateRight.fromVert: right
*form.rotateRight.fromHoriz: down
*form.rotateRight.bitmap: RotateRight
*form.point.vertDistance: 10
*form.point.fromVert: rotateLeft
*form.point.radioGroup: move
*form.point.label: Point
*form.curve.fromVert: point
*form.curve.radioGroup: point
*form.curve.label: Curve
*form.line.fromVert: curve
*form.line.radioGroup: curve
*form.line.label: Line
*form.rectangle.fromVert: line
*form.rectangle.radioGroup: line
*form.rectangle.label: Rectangle
*form.filledRectangle.fromVert: rectangle
*form.filledRectangle.radioGroup: rectangle
*form.filledRectangle.label: Filled Rectangle
*form.circle.fromVert: filledRectangle
*form.circle.radioGroup: filledRectangle
*form.circle.label: Circle
*form.filledCircle.fromVert: circle
*form.filledCircle.radioGroup: circle
*form.filledCircle.label: Filled Circle
*form.floodFill.fromVert: filledCircle
*form.floodFill.radioGroup: filledCircle
*form.floodFill.label: Flood Fill
*form.setHotSpot.vertDistance: 10
*form.setHotSpot.fromVert: floodFill
*form.setHotSpot.radioGroup: floodFill
*form.setHotSpot.label: Set Hot Spot
*form.clearHotSpot.fromVert: setHotSpot
*form.clearHotSpot.label: Clear Hot Spot
*form.undo.vertDistance: 10
*form.undo.fromVert: clearHotSpot
*form.undo.label: Undo

View File

@ -0,0 +1,5 @@
Clock*Background: grey
Clock*BorderColor: light blue
Clock*hour: yellow
Clock*jewel: yellow
Clock*minute: yellow

View File

@ -0,0 +1,285 @@
! The App-defaults file for Editres.
Editres.Geometry: 500x568
*ShapeStyle: Oval
*Tree*ShapeStyle: Rectangle
! The rest of this file are either button names, or important for
! functionality, modifying these values may cause strange program
! behavior.
*flash.BorderWidth: 0
! Menu Button Names
*Box.commands.Label: Commands
*Box.treeCommands.Label: Tree
*porthole.tree.width: 500
*porthole.tree.height: 480
! Universal Menu Entry Names
*xt.sendTree.Label: Get Tree
*xt.quit.Label: Quit
*xt.selectAll.Label: Select All
*xt.unselectAll.Label: Unselect All
*xt.invertAll.Label: Invert All
*xt.selectChildren.Label: Select Children
*xt.selectParent.Label: Select Parent
*xt.selectDescendants.Label: Select Descendants
*xt.selectAncestors.Label: Select Ancestors
! Xt Menu Entry Names
*xt.refreshTree.Label: Refresh Current Widget Tree
*xt.dumpTreeToFile.Label: Dump Widget Tree to a File
*xt.getResourceList.Label: Show Resource Box
*xt.setValues.Label: Set Resource
*xt.showClientWidget.Label: Select Widget in Client
*xt.showWidgetNames.Label: Show Widget Names
*xt.showClassNames.Label: Show Class Names
*xt.showWidgetIDs.Label: Show Widget IDs
*xt.showWidgetWindows.Label: Show Widget Windows
*xt.flashActiveWidgets.Label: Flash Active Widgets
! InterViews Menu Entry Names
*iv*refreshTree.Label: Refresh Current Style Tree
*iv*dumpTreeToFile.Label: Dump Style Tree to a File
*iv*getResourceList.Label: Show Attribute Box
*iv*setValues.Label: Set Attribute
*iv*showClientWidget.Label: Select Style in Client
*iv*showWidgetNames.Label: Show Style Names
*iv*showClassNames.Label: Show Class Names
*iv*showWidgetIDs.Label: Show Style IDs
*iv*showWidgetWindows.Label: Show Style Windows
*iv*flashActiveWidgets.Label: Flash Active Styles
! Universal Toolkit Messages
*label0: Action `%s' must have the Editres Protocol.
*label1: Action %s's argument must be either `cancel' or `okay'.
*label2: Action `%s' must have exactly one argument.
*label3: Unknown parameter to action `%s' must be one of:\n
*label4: It appears that this client does not understand\nthe Editres Protocol.
*label5: Can't grab the mouse.\n
*label6: Click the mouse pointer on any toolkit client.
*label8: Message sent to client%s.
*label9: Incorrectly formatted message from client.
*label10: Unable to own the Resource Editor Command Selection
*label11: Unknown Error code %d
*label13: Welcome to the X Resource Editor version 1.1
*label15: That window does not appear to be\nin the currently displayed client.
*label16: Editres Internal Error: Unable to FindNode.\n
*label18: There are no active nodes.
*label20: ApplyResource: found no matches.
*label21: Error: SVActiveEntry Action must have exactly one argument.
*label22: Error: SVActiveEntry Action's first Argument must be either 'Resource' or 'Value'.
*label24: Unable to open the file `%s' for writing.
*label25: Error while trying to save Context\nAborting file dialog popup.
*label26: Error while trying to find Context\nAborting...
*label28: Loop in tree: node %s's parent (%s) has not been created yet\n
*label30: There are no active nodes.
*label31: Internal Error: Unknown select type.
*label32: Internal Error: Unknown label type.
*label33: Internal Error: Unknown activate type.
*label34: Only one Resource Box can be active at a time.
*label35: Unable to unpack protocol request.
*label36: This version of editres uses protocol version %s,\nbut the client speaks version %s.
! Xt Messages
*xt*label7: Unable to own the Resource Selection
*xt*label12: Widget Tree for client %s(%s).
*xt*label14: Click on any widget in the client.\nEditres will select that widget in the tree display.
*xt*label17: No widget Tree is avaliable.
*xt*label19: This function requires exactly one (1) widget to be selected.
*xt*label23: There are no currently active widgets.
*xt*label27: There is no widget tree to display.
*xt*label29: XSaveContext failed on widget %s.
! InterViews Messages
*iv*label7: Unable to own the Attribute Selection
*iv*label12: Style Tree for client %s(%s).
*iv*label14: Click on any style in the client.\nEditres will select that style in the tree display.
*iv*label17: No style Tree is avaliable.
*iv*label19: This function requires exactly one (1) style to be selected.
*iv*label23: There are no currently active styles.
*iv*label27: There is no style tree to display.
*iv*label29: XSaveContext failed on style %s.
*MenuButton.leftBitmap: menu10
! For the Top Area
*hPane.orientation: horizontal
*hPane.preferredPaneSize: 100
*hPane.Panner.width: 100
*hPane.Panner.height: 100
*hPane.Panner.preferredPaneSize: 100
*Paned.Panner.showGrip: False
*Paned.box.showGrip: False
*Paned.hPane.showGrip: True
! For the Filename popup dialog.
*fileDialog*value:
*fileDialog*allowShellResize: True
*fileDialog*Text.baseTranslations: #override \n\
<Key>Return: PopdownFileDialog(okay)
! Universal Resources for the Resource Box.
*mainViewport*resourceLabel.font: \
-*-new century schoolbook-bold-r-*-*-14-*-*-*-*-*-*-*
*allowShellResize: True
*resourceLabel.allowResize: True
*List.verticalList: True
*namesAndClasses*BorderWidth: 0
*star.Label: *
*dot.Label: .
*namesLabel.font: \
-*-new century schoolbook-bold-r-*-*-14-*-*-*-*-*-*-*
*constraintLabel.font: \
-*-new century schoolbook-bold-r-*-*-14-*-*-*-*-*-*-*
*valueLabel.BorderWidth: 0
*valueForm*preferredPaneSize: 40
*valueForm*min: 28
*valueText*editType: edit
*valueText.Scroll: WhenNeeded
*valueText.width: 297
*setValuesPopup*resourceText.width: 297
*setFile.Label: Set Save File
*save.Label: Save
*apply.Label: Apply
*saveAndApply.Label: Save and Apply
*commandBox.show.Label: Show
*commandBox.min: 28
! InterViews Resources for the Resource Box.
*iv*single.Label: Any Style
*iv*any.Label: Any Style Chain
*iv*namesLabel.Label: Normal Attributes: mb2 gets a value
*iv*constraintLabel.Label: Constraint Attributes
*iv*valueLabel.Label: Enter Attribute Value:
*iv*commandBox.cancel.Label: Popdown Attribute Box
! Xt Resources for the Resource Box.
*xt*single.Label: ?
*xt*any.Label: *
*xt*namesLabel.Label: Normal Resources: mb2 gets a value
*xt*constraintLabel.Label: Constraint Resources
*xt*valueLabel.Label: Enter Resource Value:
*xt*commandBox.cancel.Label: Popdown Resource Box
! This gives us an exactly one of many toggle, if toggle is
! not set in each group the application will probabally core dump.
*namesAndClasses*Toggle.baseTranslations: #override \n\
<Btn1Down>,<Btn1Up>: set() notify()
*commandBox.skipAdjust: True
! Get resource values action binding.
*List.baseTranslations: #override \n\
<Btn2Down>,<Btn2Up>: Set() EnableGetVal() Notify()
! Keyboard Actions for Tree and children of the Tree.
*Tree.baseTranslations: #override \n\
:<Key>space: Select(nothing) \n\
:<Key>w: Select(widget) \n\
:<Key>s: Select(all) \n\
:<Key>i: Select(invert) \n\
:<Key>c: Select(children) \n\
:<Key>d: Select(descendants) \n\
:<Key>p: Select(parent) \n\
:<Key>a: Select(ancestors) \n\
:<Key>N: Relabel(name) \n\
:<Key>C: Relabel(class) \n\
:<Key>I: Relabel(id) \n\
:<Key>W: Relabel(window)
*Tree.Toggle.baseTranslations: #override \n\
:<Key>space: Select(nothing) \n\
:<Key>w: Select(widget) \n\
:<Key>s: Select(all) \n\
:<Key>i: Select(invert) \n\
:<Key>c: Select(children) \n\
:<Key>d: Select(descendants) \n\
:<Key>p: Select(parent) \n\
:<Key>a: Select(ancestors) \n\
:<Key>N: Relabel(name) \n\
:<Key>C: Relabel(class) \n\
:<Key>I: Relabel(id) \n\
:<Key>W: Relabel(window) \n\
<Btn2Down>,<Btn2Up>: Select(nothing) toggle() notify() \n\
<Btn3Down>,<Btn3Up>: Relabel(toggle)
! For the SetValues popup
*setValuesPopup.form.?.resizable: True
*setValuesPopup.form.?.left: ChainLeft
*setValuesPopup.form.?.right: ChainLeft
*setValuesPopup.form.label.Label: Use <Tab> to Change Fields.
*setValuesPopup.form.Label.BorderWidth: 0
*xt*setValuesPopup.form.resourceLabel.Label: Resource Name:
*xt*setValuesPopup.form.resourceLabel.width: 114
*xt*setValuesPopup.form.resourceLabel.justify: right
*xt*setValuesPopup.form.valueLabel.Label: Resource Value:
*xt*setValuesPopup.form.valueLabel.width: 114
*xt*setValuesPopup.form.setValues.Label: Apply
*xt*setValuesPopup.form.cancel.Label: Cancel
*setValuesPopup.form.Text.?.EditType: Edit
*setValuesPopup.form.Text.resize: Width
*setValuesPopup.form.resourceText.baseTranslations: #override \
<Key>Return: no-op(RingBell) \n\
Ctrl<Key>q,<Key>Tab: insert-char() \n\
<Btn1Down>: select-start() SVActiveEntry(Resource) \n\
<Key>Tab: SVActiveEntry(Value)
*setValuesPopup.form.valueText.baseTranslations: #override \
<Key>Return: no-op(RingBell) \n\
Ctrl<Key>q,<Key>Tab: insert-char() \n\
<Btn1Down>: select-start() SVActiveEntry(Value)\n\
<Key>Tab: SVActiveEntry(Resource)
*Text.translations: #override \
m<Key>I: no-op(r)\n\
c<Key>S: no-op(r)\n\
c<Key>R: no-op(r)\n\
<Key>Escape: no-op()
*fileDialog.?.Text.width: 280
! New resource settings
*normalViewport.min: 19
*normalViewport.allowVert: True
*constraintViewport.min: 19
*constraintViewport.allowVert: True
*mainViewport.allowHoriz: True
*mainViewport.pane.namesAndClasses.defaultDistance: 0
*mainViewport.useBottom: True
*mainViewport.pane.Label.min: 22
*mainViewport.pane.Label.max: 22
*mainViewport.pane.Form.showGrip: False
*mainViewport.pane.Label.showGrip: False
*mainViewport.pane.Form.min: 66
*mainViewport.pane.Form.max: 66
*tree*TransientShell.translations: #override \
<Map>: get-values(1, $w, width) \
set-values(1, maxWidth, $w)

View File

@ -0,0 +1,89 @@
! Here are some suggested resources if you are using a color workstation.
! They look pretty good on my display, your mileage may vary.
#include "Editres"
*flashColor: Yellow
*Background: RoyalBlue4
!*Foreground: Azure
!*BorderColor: LightCyan1
*cursorColor: Azure
*Tree.Background: Grey
*Tree.Foreground: White
*Tree.Toggle.Foreground: Gold
*Tree.Toggle.BorderWidth: 0
*MenuButton.Foreground: Gold
*MenuButton.BorderWidth: 0
*SmeBSB.Foreground: Gold
*Porthole.Background: Grey
*porthole.panner*Foreground: red
*porthole.panner*Background: Grey
*porthole.panner*BorderColor: Grey
*porthole.panner*ShadowColor: Black
*porthole.panner*BackgroundStipple: None
*resourceBox*namesAndClasses.Background: Grey
*resourceBox*namesAndClasses*Toggle.Background: RoyalBlue4
*resourceBox*namesAndClasses*Toggle.Foreground: White
*resourceBox*valueForm.Background: Grey
*resourceBox*valueLabel.Background: Grey
*resourceBox*valueLabel.Foreground: White
*resourceBox*Command.Foreground: Gold
*displayList: foreground rgb:20/35/73;lines 1,-1,-1,-1,-1,1;foreground rgb:30/4e/ab;lines -1,0,0,0,0,-1
*Foreground: Azure3
*borderColor: rgb:1d/30/69
*internalBorderColor: rgb:1d/30/69
*SmeLine.lineWidth: 1
*SmeLine.foreground: rgb:1d/30/69
*SimpleMenu.VerticalMargins: 2
*SimpleMenu.HorizontalMargins: 2
*SimpleMenu.?.HorizontalMargins:8
*MenuButton.displayList:
*MenuButton.borderWidth: 1
*MenuButton.borderColor: RoyalBlue4
*MenuButton.shapeStyle: rectangle
*MenuButton.leftBitmap: None
*MenuButton.translations: \
<Enter>: set-values(1, background, "rgb:29/44/94", borderColor, "rgb:1d/30/69", displayList, "foreground rgb:20/35/73;lines 1,-1,-1,-1,-1,1;foreground rgb:30/4e/ab;lines -1,0,0,0,0,-1")\n\
<Leave>: set-values(1, background, RoyalBlue4, borderColor, RoyalBlue4, displayList, "")\n\
Any<BtnDown>: set-values(1, background, "rgb:23/3a/7d", displayList, "foreground rgb:30/4e/ab;lines 1,-1,-1,-1,-1,1;foreground rgb:20/35/73;lines -1,0,0,0,0,-1") PopupMenu()
*List.displayList:
*List.background: rgb:23/3a/7d
*Tree.displayList:
*Label.displayList:
*Paned.?.displayList: foreground rgb:20/35/73;lines 1,-1,-1,-1,-1,1;foreground rgb:30/4e/ab;lines -1,0,0,0,0,-1
*Grip.foreground: rgb:30/4e/ab
*Toggle.displayList:\
foreground rgb:30/4e/ab;\
lines 1,-1,-1,-1,-1,1;\
lines -2,1,1,1,1,-2;\
foreground rgb:20/35/73;\
lines -1,0,0,0,0,-1;\
lines 2,-2,-2,-2,-2,2
*Text.background: rgb:29/44/94
*Text.?.background: rgb:29/44/94
*Text.displayList: foreground rgb:30/4e/ab;lines 1,-1,-1,-1,-1,1;foreground rgb:20/35/73;lines -1,0,0,0,0,-1
*Scrollbar.foreground: rgb:2e/4c/a5
*Scrollbar.background: rgb:23/3a/7d
*Scrollbar.thumb: black
*Command.shapeStyle: rectangle
*Command.background: rgb:29/44/94

View File

@ -0,0 +1,50 @@
! $XTermId: KOI8RXTerm.ad,v 1.4 2010/03/04 01:17:49 tom Exp $
! -----------------------------------------------------------------------------
! this file is part of xterm
!
! Copyright 2007,2010 by Thomas E. Dickey
!
! All Rights Reserved
!
! Permission is hereby granted, free of charge, to any person obtaining a
! copy of this software and associated documentation files (the
! "Software"), to deal in the Software without restriction, including
! without limitation the rights to use, copy, modify, merge, publish,
! distribute, sublicense, and/or sell copies of the Software, and to
! permit persons to whom the Software is furnished to do so, subject to
! the following conditions:
!
! The above copyright notice and this permission notice shall be included
! in all copies or substantial portions of the Software.
!
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
! IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
! CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
! TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
! SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
!
! Except as contained in this notice, the name(s) of the above copyright
! holders shall not be used in advertising or otherwise to promote the
! sale, use or other dealings in this Software without prior written
! authorization.
! -----------------------------------------------------------------------------
! This is based on the UXTerm app-defaults file.
! -----------------------------------------------------------------------------
! Use
! xterm -class KOI8RXTerm
! to set resources for KOI8-R mode with corresponding fonts.
#include "XTerm"
*fontMenu.Label: KOI8-R Fonts
*VT100*allowC1Printable: true
! Use Cyrillic instead of Latin fonts.
*VT100.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-koi8-r
*VT100.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-koi8-r
*VT100.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-koi8-r
*VT100.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-koi8-r
*VT100.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-koi8-r
*VT100.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-koi8-r

View File

@ -0,0 +1,175 @@
! $KOI8RXTermId: XTerm-col.ad,v 1.22 2009/08/15 15:56:29 tom Exp $
! -----------------------------------------------------------------------------
! this file is part of xterm
!
! Copyright 2002-2006,2009 by Thomas E. Dickey
!
! All Rights Reserved
!
! Permission is hereby granted, free of charge, to any person obtaining a
! copy of this software and associated documentation files (the
! "Software"), to deal in the Software without restriction, including
! without limitation the rights to use, copy, modify, merge, publish,
! distribute, sublicense, and/or sell copies of the Software, and to
! permit persons to whom the Software is furnished to do so, subject to
! the following conditions:
!
! The above copyright notice and this permission notice shall be included
! in all copies or substantial portions of the Software.
!
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
! IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
! CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
! TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
! SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
!
! Except as contained in this notice, the name(s) of the above copyright
! holders shall not be used in advertising or otherwise to promote the
! sale, use or other dealings in this Software without prior written
! authorization.
! -----------------------------------------------------------------------------
#include "KOI8RXTerm"
*VT100*colorMode: on
*VT100*boldColors: on
*VT100*dynamicColors: on
! Set the default text foreground and background colors.
*VT100*foreground: gray90
*VT100*background: black
! - OR -
! Uncomment this for black text on a "white" background.
!*VT100*foreground: black
!*VT100*background: gray90
! - OR -
! leave the foreground/background colors alone (at the mercy of your desktop
! designer).
! Color the popup/pulldown menu border to match the text widget foreground.
!*SimpleMenu*borderColor: gray15
! Uncomment this to use color for underline attribute
!*VT100*colorULMode: on
*VT100*colorUL: yellow
!*VT100*italicULMode: on
! Uncomment this to disable underlining, e.g., if colorULMode is set.
!*VT100*underLine: off
! Uncomment this to use color for the bold attribute
!*VT100*colorBDMode: on
*VT100*colorBD: white
! Uncomment this to use the bold/underline colors in preference to other colors
!*VT100*colorAttrMode: on
! These are the 8 ANSI colors and their bright equivalents. Depending on
! other resource settings, xterm may use the bright colors when displaying
! bold text (see the boldColors resource).
*VT100*color0: black
*VT100*color1: red3
*VT100*color2: green3
*VT100*color3: yellow3
*VT100*color4: blue2
*VT100*color5: magenta3
*VT100*color6: cyan3
*VT100*color7: gray90
*VT100*color8: gray50
*VT100*color9: red
*VT100*color10: green
*VT100*color11: yellow
*VT100*color12: rgb:5c/5c/ff
*VT100*color13: magenta
*VT100*color14: cyan
*VT100*color15: white
! Disclaimer: there are no standard colors used in terminal emulation.
!
! The choice for color4 and color12 is a tradeoff between contrast, depending
! on whether they are used for text or backgrounds. Note that either color4 or
! color12 would be used for text, while only color4 would be used for a
! background. These are treated specially, since the luminosity of blue is
! only about half that of red/green, and is typically not accounted for in the
! RGB scheme.
!
! Blue text on a black background should be readable.
! Blue backgrounds should not be "too" bright.
!
! Originally color4/color12 were set to the names blue3/blue
!*VT100*color4: blue3
!*VT100*color12: blue
!
! They are from rgb.txt respectively:
! 0 0 205 blue3
! 0 0 255 blue
! However, blue3 is not readable on a black background.
!
! Another choice was from the Debian settings:
!*VT100*color4: DodgerBlue1
!*VT100*color12: SteelBlue1
!
! From rgb.txt:
! 30 144 255 DodgerBlue1
! 99 184 255 SteelBlue1
!
! Some users object to this choice because the background (color4) is brighter
! than they are accustomed. Others point out that the different weights for
! the red/green components make it appear to be not really blue. Finally, it
! provides poor contrast against color13 and color14.
!
! The current choice uses equal weights for red/green (effectively adding a
! gray to the result). It is brighter than the original choice, and provides
! more contrast between color12 and color13, color14 than SteelBlue1 did.
! Contrast of color4 against black is slightly improved over the original.
!
! Some refinement is certainly possible (you are welcome to try) -TD
#if PLANES > 8
! Color the popup menus and the menubar to match:
*SimpleMenu*background: AntiqueWhite
*SimpleMenu*foreground: gray15
! Color the menubar to match:
*Form.menubar.background: AntiqueWhite
*Form.menubar*background: AntiqueWhite
*Form.menubar.foreground: gray15
*Form.menubar*foreground: gray15
*Form.background: AntiqueWhite
*form.background: AntiqueWhite
*mainMenu*background: AntiqueWhite
*mainMenu*foreground: gray15
*vtMenu*background: AntiqueWhite
*vtMenu*foreground: gray15
*fontMenu*background: AntiqueWhite
*fontMenu*foreground: gray15
*tekMenu*background: AntiqueWhite
*tekMenu*foreground: gray15
! The following two sections take advantage of new features in version 7
! of the Athena widget library; see Xaw(7x).
! This section is commented out because Xaw has no way to dynamically size
! the gradient. The dimension parameter may need to be adjusted depending
! on the font used in the menu.
!*SimpleMenu*backgroundPixmap: gradient:vertical?dimension=350&start=gray90&end=gray60
!*SimpleMenu*foreground: gray15
*VT100.scrollbar.thumb: vlines2
*VT100.scrollbar.width: 14
*VT100.scrollbar.background: gray60
*VT100.scrollbar.foreground: rgb:a/5/5
*VT100.scrollbar.borderWidth: 0
*VT100.scrollbar.displayList:\
foreground gray90;\
lines 1,-1,-1,-1,-1,1;\
foreground gray60;\
lines -1,0,0,0,0,-1
#endif

View File

@ -0,0 +1,77 @@
! $XTermId: UXTerm.ad,v 1.13 2010/03/04 01:17:07 tom Exp $
! -----------------------------------------------------------------------------
! this file is part of xterm
!
! Copyright 2000-2006,2010 by Thomas E. Dickey
!
! All Rights Reserved
!
! Permission is hereby granted, free of charge, to any person obtaining a
! copy of this software and associated documentation files (the
! "Software"), to deal in the Software without restriction, including
! without limitation the rights to use, copy, modify, merge, publish,
! distribute, sublicense, and/or sell copies of the Software, and to
! permit persons to whom the Software is furnished to do so, subject to
! the following conditions:
!
! The above copyright notice and this permission notice shall be included
! in all copies or substantial portions of the Software.
!
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
! IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
! CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
! TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
! SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
!
! Except as contained in this notice, the name(s) of the above copyright
! holders shall not be used in advertising or otherwise to promote the
! sale, use or other dealings in this Software without prior written
! authorization.
! -----------------------------------------------------------------------------
! Use
! xterm -class UXTerm
! to set resources for UTF-8 mode with corresponding fonts.
! See the uxterm script for an example.
#include "XTerm"
*fontMenu.Label: Unicode Fonts
*VT100.utf8: 1
*utf8Title: true
! This includes "XTerm-color" which includes "XTerm", which defines fonts.
! Why set them here?
!
! Here is a simple description. A technically precise one would be very long.
! When xterm starts up, it uses the
!
! *VT100.font
!
! resource, and if it is told to switch to wide-character (UTF-8) mode, it
! checks if the given font is "wide", and if not looks for the
!
! *VT100.utf8Fonts.font
!
! to obtain a wide font. A "wide" font has more than 256 glyphs. Typical
! wide fonts have 10,000 glyphs. If the original "*VT100.font" is not wide,
! and xterm can load the *VT100.utf8Fonts.font, it will use that.
!
! Making the wide fonts associated with *VT100.font in this file allows uxterm
! to skip that step. It will use the fonts that the XTerm file gives for the
! *VT100.uft8Fonts.font pattern.
*VT100.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
*VT100.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
*VT100.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
*VT100.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
*VT100.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
*VT100.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
! Here is an alternate set of fonts with better support for bold:
!*VT100.font2: -efont-biwidth-medium-r-normal--10-100-75-75-p-50-iso10646-1
!*VT100.font: -efont-biwidth-medium-r-normal--10-100-75-75-p-50-iso10646-1
!*VT100.font3: -efont-biwidth-medium-r-normal--12-120-75-75-p-60-iso10646-1
!*VT100.font4: -efont-biwidth-medium-r-normal--14-140-75-75-p-70-iso10646-1
!*VT100.font5: -efont-biwidth-medium-r-normal--16-160-75-75-p-80-iso10646-1
!*VT100.font6: -efont-biwidth-medium-r-normal--24-240-75-75-p-120-iso10646-1

View File

@ -0,0 +1,175 @@
! $UXTermId: XTerm-col.ad,v 1.22 2009/08/15 15:56:29 tom Exp $
! -----------------------------------------------------------------------------
! this file is part of xterm
!
! Copyright 2002-2006,2009 by Thomas E. Dickey
!
! All Rights Reserved
!
! Permission is hereby granted, free of charge, to any person obtaining a
! copy of this software and associated documentation files (the
! "Software"), to deal in the Software without restriction, including
! without limitation the rights to use, copy, modify, merge, publish,
! distribute, sublicense, and/or sell copies of the Software, and to
! permit persons to whom the Software is furnished to do so, subject to
! the following conditions:
!
! The above copyright notice and this permission notice shall be included
! in all copies or substantial portions of the Software.
!
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
! IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
! CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
! TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
! SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
!
! Except as contained in this notice, the name(s) of the above copyright
! holders shall not be used in advertising or otherwise to promote the
! sale, use or other dealings in this Software without prior written
! authorization.
! -----------------------------------------------------------------------------
#include "UXTerm"
*VT100*colorMode: on
*VT100*boldColors: on
*VT100*dynamicColors: on
! Set the default text foreground and background colors.
*VT100*foreground: gray90
*VT100*background: black
! - OR -
! Uncomment this for black text on a "white" background.
!*VT100*foreground: black
!*VT100*background: gray90
! - OR -
! leave the foreground/background colors alone (at the mercy of your desktop
! designer).
! Color the popup/pulldown menu border to match the text widget foreground.
!*SimpleMenu*borderColor: gray15
! Uncomment this to use color for underline attribute
!*VT100*colorULMode: on
*VT100*colorUL: yellow
!*VT100*italicULMode: on
! Uncomment this to disable underlining, e.g., if colorULMode is set.
!*VT100*underLine: off
! Uncomment this to use color for the bold attribute
!*VT100*colorBDMode: on
*VT100*colorBD: white
! Uncomment this to use the bold/underline colors in preference to other colors
!*VT100*colorAttrMode: on
! These are the 8 ANSI colors and their bright equivalents. Depending on
! other resource settings, xterm may use the bright colors when displaying
! bold text (see the boldColors resource).
*VT100*color0: black
*VT100*color1: red3
*VT100*color2: green3
*VT100*color3: yellow3
*VT100*color4: blue2
*VT100*color5: magenta3
*VT100*color6: cyan3
*VT100*color7: gray90
*VT100*color8: gray50
*VT100*color9: red
*VT100*color10: green
*VT100*color11: yellow
*VT100*color12: rgb:5c/5c/ff
*VT100*color13: magenta
*VT100*color14: cyan
*VT100*color15: white
! Disclaimer: there are no standard colors used in terminal emulation.
!
! The choice for color4 and color12 is a tradeoff between contrast, depending
! on whether they are used for text or backgrounds. Note that either color4 or
! color12 would be used for text, while only color4 would be used for a
! background. These are treated specially, since the luminosity of blue is
! only about half that of red/green, and is typically not accounted for in the
! RGB scheme.
!
! Blue text on a black background should be readable.
! Blue backgrounds should not be "too" bright.
!
! Originally color4/color12 were set to the names blue3/blue
!*VT100*color4: blue3
!*VT100*color12: blue
!
! They are from rgb.txt respectively:
! 0 0 205 blue3
! 0 0 255 blue
! However, blue3 is not readable on a black background.
!
! Another choice was from the Debian settings:
!*VT100*color4: DodgerBlue1
!*VT100*color12: SteelBlue1
!
! From rgb.txt:
! 30 144 255 DodgerBlue1
! 99 184 255 SteelBlue1
!
! Some users object to this choice because the background (color4) is brighter
! than they are accustomed. Others point out that the different weights for
! the red/green components make it appear to be not really blue. Finally, it
! provides poor contrast against color13 and color14.
!
! The current choice uses equal weights for red/green (effectively adding a
! gray to the result). It is brighter than the original choice, and provides
! more contrast between color12 and color13, color14 than SteelBlue1 did.
! Contrast of color4 against black is slightly improved over the original.
!
! Some refinement is certainly possible (you are welcome to try) -TD
#if PLANES > 8
! Color the popup menus and the menubar to match:
*SimpleMenu*background: AntiqueWhite
*SimpleMenu*foreground: gray15
! Color the menubar to match:
*Form.menubar.background: AntiqueWhite
*Form.menubar*background: AntiqueWhite
*Form.menubar.foreground: gray15
*Form.menubar*foreground: gray15
*Form.background: AntiqueWhite
*form.background: AntiqueWhite
*mainMenu*background: AntiqueWhite
*mainMenu*foreground: gray15
*vtMenu*background: AntiqueWhite
*vtMenu*foreground: gray15
*fontMenu*background: AntiqueWhite
*fontMenu*foreground: gray15
*tekMenu*background: AntiqueWhite
*tekMenu*foreground: gray15
! The following two sections take advantage of new features in version 7
! of the Athena widget library; see Xaw(7x).
! This section is commented out because Xaw has no way to dynamically size
! the gradient. The dimension parameter may need to be adjusted depending
! on the font used in the menu.
!*SimpleMenu*backgroundPixmap: gradient:vertical?dimension=350&start=gray90&end=gray60
!*SimpleMenu*foreground: gray15
*VT100.scrollbar.thumb: vlines2
*VT100.scrollbar.width: 14
*VT100.scrollbar.background: gray60
*VT100.scrollbar.foreground: rgb:a/5/5
*VT100.scrollbar.borderWidth: 0
*VT100.scrollbar.displayList:\
foreground gray90;\
lines 1,-1,-1,-1,-1,1;\
foreground gray60;\
lines -1,0,0,0,0,-1
#endif

View File

@ -0,0 +1,95 @@
*Panner*backgroundStipple: grid2
*allowShellResize: true
*buttonbox*ShapeStyle: oval
*Form*Panner.Thickness: -1
*Form.defaultDistance: 0
*Form.BorderWidth: 0
*Porthole.BorderWidth: 0
*Porthole.top: ChainTop
*Porthole.left: ChainLeft
*Porthole.bottom: ChainBottom
*Porthole.right: ChainRight
*Porthole.resizable: on
*Panner.top: ChainTop
*Panner.left: ChainLeft
*Panner.bottom: ChainTop
*Panner.right: ChainLeft
*Panner.resizable: on
*Tree*ShapeStyle: rectangle
*Tree*Toggle*BorderWidth: 0
*Porthole*Box.BorderWidth: 0
*Porthole*Box.HSpace: 0
*Porthole*Box.VSpace: 0
*Paned*allowResize: true
*Tree*List*Font: -adobe-helvetica-medium-r-normal--*-80-*-*-*-*-iso*-*
*SimpleMenu*BackingStore: NotUseful
*Font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso*-*
*buttonbox.MenuButton.leftBitmap: menu12
*SimpleMenu*menuLabel.vertSpace: 100
*SimpleMenu*SmeLine*Height: 12
*quit.Label: Quit
*buttonbox.quit.baseTranslations: #override \
<Btn1Down>,<Btn1Up>: Quit() unset()
*Toggle.baseTranslations: #augment \n\
<Btn2Down>,<Btn2Up>: set() notify() Resources(toggle) \n\
<Key>q: Quit() \n\
<Key>space: Select(nothing) \n\
<Key>p: Select(parent) \n\
<Key>a: Select(ancestors) \n\
<Key>c: Select(children) \n\
<Key>d: Select(descendants) \n\
Ctrl<Key>r: Resources(on) \n\
Ctrl<Key>n: Resources(off) \n\
*List.baseTranslations: #augment \n\
<Key>q: Quit() \n\
<Key>space: Select(nothing) \n\
<Key>p: Select(parent) \n\
<Key>a: Select(ancestors) \n\
<Key>c: Select(children) \n\
<Key>d: Select(descendants) \n\
Ctrl<Key>r: Resources(on) \n\
Ctrl<Key>n: Resources(off) \n\
*Porthole.baseTranslations: #override \n\
<Btn1Down>,<Btn1Up>: Select(nothing) \n\
<Key>q: Quit() \n\
Ctrl<Key>h: SetOrientation(west) \n\
Ctrl<Key>v: SetOrientation(north) \n\
Ctrl<Key>r: Resources(on) \n\
Ctrl<Key>n: Resources(off) \n\
Shift<Key>c: SetLabelType(class) \n\
Shift<Key>v: SetLabelType(variable) \n\
<Key>space: Select(nothing) \n\
<Key>i: Select(invert) \n\
<Key>p: Select(parent) \n\
<Key>a: Select(ancestors) \n\
<Key>c: Select(children) \n\
<Key>d: Select(descendants) \n\
<Key>r: Select(resources) \n\
<Key>s: Select(shown) \n\
*buttonbox.view.Label: View
*buttonbox.view.viewMenu.layoutHorizontal.Label: Layout Horizontal
*buttonbox.view.viewMenu.layoutVertical.Label: Layout Vertical
*buttonbox.view.viewMenu.namesVariable.Label: Show Variable Names
*buttonbox.view.viewMenu.namesClass.Label: Show Class Names
*buttonbox.view.viewMenu.viewResources.Label: Show Resource Boxes
*buttonbox.view.viewMenu.viewNoResources.Label: Hide Resource Boxes
*buttonbox.select.Label: Select
*buttonbox.select.selectMenu.unselect.Label: Unselect All
*buttonbox.select.selectMenu.selectAll.Label: Select All
*buttonbox.select.selectMenu.selectInvert.Label: Invert All
*buttonbox.select.selectMenu.selectParent.Label: Select Parent
*buttonbox.select.selectMenu.selectAncestors.Label: Select Ancestors
*buttonbox.select.selectMenu.selectChildren.Label: Select Children
*buttonbox.select.selectMenu.selectDescendants.Label: Select Descendants
*buttonbox.select.selectMenu.selectHasResources.Label: Select Has Resources
*buttonbox.select.selectMenu.selectShownResources.Label: Select Shown Resource Boxes

View File

@ -0,0 +1,24 @@
#include "Viewres"
*background: gray95
*foreground: gray30
*borderColor: gray80
*showGrip: False
*Font: XtDefaultFont
*buttonbox*ShapeStyle: rectangle
*internalBorderWidth: 0
*buttonbox.backgroundPixmap: gradient:vertical?dimension=4&start=gray95&end=gray90
*buttonbox.displayList: foreground gray70;line 0,-1,-1,-1;foreground gray95;line 0,0,-1,0
*treeform.porthole.tree.backgroundPixmap:gradient:vertical?dimension=4&start=gray85&end=gray90
*Tree*List.BorderWidth: 0
*Tree.foreground: gray75
*Tree.lineWidth: 7
*List.backgroundPixmap: gradient:vertical?dimension=4&start=gray95&end=gray90
*List.displayList: foreground gray50;line 0,-1,-1,-1;foreground white;line 0,0,-1,0
*Porthole*Box.BorderWidth: 1
*Panner.BorderWidth: 1
*Panner.background: gray70
*Panner.foreground: gray80
*Panner.shadowColor: gray50
*Panner*backgroundStipple: hlines2
*SimpleMenu.backgroundPixmap: gradient:vertical?dimension=4&start=gray92&end=gray98

View File

@ -0,0 +1,528 @@
! XCalc application class resource file
XCalc.Title: Calculator
XCalc.IconName: Calc
XCalc.IconPixmap: calculator
XCalc*Cursor: hand2
XCalc*Font: 8x13
XCalc*ShapeStyle: rectangle
XCalc*Command.horizDistance: 2
XCalc*Command.vertDistance: 2
XCalc*Command.width: 40
XCalc*Command.height: 26
XCalc*Command.internalWidth: 1
XCalc*bevel.background: black
XCalc*bevel.horizDistance: 4
XCalc*bevel.vertDistance: 2
XCalc*bevel.screen.horizDistance: 6
XCalc*bevel.screen.vertDistance: 2
XCalc*bevel.screen.defaultDistance: 0
XCalc*bevel.screen.Label.horizDistance: 4
XCalc*bevel.screen.Label.vertDistance: 2
XCalc*bevel.screen.Label.internalHeight: 1
XCalc*bevel.screen.Label.internalWidth: 1
XCalc*bevel.screen.LCD.label: 88888888888
XCalc*bevel.screen.LCD.fromHoriz: M
XCalc*bevel.screen.LCD.horizDistance: 4
XCalc*bevel.screen.LCD.vertDistance: 2
XCalc*bevel.screen.INV.fromVert: LCD
XCalc*bevel.screen.INV.vertDistance: 4
XCalc*bevel.screen.DEG.fromHoriz: INV
XCalc*bevel.screen.DEG.fromVert: LCD
XCalc*bevel.screen.DEG.horizDistance: 1
XCalc*bevel.screen.RAD.fromHoriz: DEG
XCalc*bevel.screen.RAD.fromVert: LCD
XCalc*bevel.screen.GRAD.fromHoriz: RAD
XCalc*bevel.screen.GRAD.fromVert: LCD
XCalc*bevel.screen.P.label: ()
XCalc*bevel.screen.P.fromHoriz: GRAD
XCalc*bevel.screen.P.fromVert: LCD
XCalc*bevel.screen.P.horizDistance: 2
!XCalc*ti.Geometry: 171x252
XCalc*ti.bevel.screen.LCD.width: 186
XCalc*ti.bevel.screen.LCD.translations: #replace\n\
Ctrl<Key>c:quit()\n\
Ctrl<Key>h:clear()\n\
None<Key>0:digit(0)\n\
None<Key>1:digit(1)\n\
None<Key>2:digit(2)\n\
None<Key>3:digit(3)\n\
None<Key>4:digit(4)\n\
None<Key>5:digit(5)\n\
None<Key>6:digit(6)\n\
None<Key>7:digit(7)\n\
None<Key>8:digit(8)\n\
None<Key>9:digit(9)\n\
<Key>KP_0:digit(0)\n\
<Key>KP_1:digit(1)\n\
<Key>KP_2:digit(2)\n\
<Key>KP_3:digit(3)\n\
<Key>KP_4:digit(4)\n\
<Key>KP_5:digit(5)\n\
<Key>KP_6:digit(6)\n\
<Key>KP_7:digit(7)\n\
<Key>KP_8:digit(8)\n\
<Key>KP_9:digit(9)\n\
<Key>KP_Enter:equal()\n\
<Key>KP_Equal:equal()\n\
<Key>KP_Multiply:multiply()\n\
<Key>KP_Add:add()\n\
<Key>KP_Subtract:subtract()\n\
<Key>KP_Decimal:decimal()\n\
<Key>KP_Separator:decimal()\n\
<Key>KP_Divide:divide()\n\
<Key>KP_Tab:equal()\n\
<Key>Clear:clear()\n\
:<Key>.:decimal()\n\
:<Key>+:add()\n\
:<Key>-:subtract()\n\
:<Key>*:multiply()\n\
:<Key>/:divide()\n\
:<Key>(:leftParen()\n\
:<Key>):rightParen()\n\
:<Key>!:factorial()\n\
<Key>e:e()\n\
:<Key>^:power()\n\
<Key>p:pi()\n\
<Key>i:inverse()\n\
<Key>s:sine()\n\
<Key>c:cosine()\n\
<Key>t:tangent()\n\
<Key>d:degree()\n\
<Key>l:naturalLog()\n\
:<Key>=:equal()\n\
<Key>n:negate()\n\
<Key>r:squareRoot()\n\
<Key>space:clear()\n\
<Key>q:quit()\n\
<Key>Delete:clear()\n\
<Key>BackSpace:clear()\n\
<Btn1Down>,<Btn1Up>:toggle()selection()\n
XCalc*ti.button1.label: 1/x
XCalc*ti.button1.translations: #override<Btn1Down>,<Btn1Up>:reciprocal()unset()
XCalc*ti.button2.label: x\262
XCalc*ti.button2.translations: #override<Btn1Down>,<Btn1Up>:square()unset()
XCalc*ti.button3.font: -adobe-symbol-*-*-*-*-*-120-*-*-*-*-*-*
XCalc*ti.button3.label: \326\140
XCalc*ti.button3.translations: #override<Btn1Down>,<Btn1Up>:squareRoot()unset()
XCalc*ti.button4.label: CE/C
XCalc*ti.button4.translations: #override<Btn1Down>,<Btn1Up>:clear()unset()
XCalc*ti.button5.label: AC
XCalc*ti.button5.translations: #override<Btn1Down>,<Btn1Up>:off()unset()\n\
<Btn3Down>,<Btn3Up>:quit()
XCalc*ti.button6.label: INV
XCalc*ti.button6.translations: #override<Btn1Down>,<Btn1Up>:inverse()unset()
XCalc*ti.button7.label: sin
XCalc*ti.button7.translations: #override<Btn1Down>,<Btn1Up>:sine()unset()
XCalc*ti.button8.label: cos
XCalc*ti.button8.translations: #override<Btn1Down>,<Btn1Up>:cosine()unset()
XCalc*ti.button9.label: tan
XCalc*ti.button9.translations: #override<Btn1Down>,<Btn1Up>:tangent()unset()
XCalc*ti.button10.label: DRG
XCalc*ti.button10.translations: #override<Btn1Down>,<Btn1Up>:degree()unset()
XCalc*ti.button11.label: e
XCalc*ti.button11.translations: #override<Btn1Down>,<Btn1Up>:e()unset()
XCalc*ti.button12.label: EE
XCalc*ti.button12.translations: #override<Btn1Down>,<Btn1Up>:scientific()unset()
XCalc*ti.button13.label: log
XCalc*ti.button13.translations: #override<Btn1Down>,<Btn1Up>:logarithm()unset()
XCalc*ti.button14.label: ln
XCalc*ti.button14.translations: #override<Btn1Down>,<Btn1Up>:naturalLog()unset()
XCalc*ti.button15.label: y^x
XCalc*ti.button15.translations: #override<Btn1Down>,<Btn1Up>:power()unset()
XCalc*ti.button16.font: -adobe-symbol-*-*-*-*-*-120-*-*-*-*-*-*
XCalc*ti.button16.label: \160
XCalc*ti.button16.translations: #override<Btn1Down>,<Btn1Up>:pi()unset()
XCalc*ti.button17.label: x!
XCalc*ti.button17.translations: #override<Btn1Down>,<Btn1Up>:factorial()unset()
XCalc*ti.button18.label: (
XCalc*ti.button18.translations: #override<Btn1Down>,<Btn1Up>:leftParen()unset()
XCalc*ti.button19.label: )
XCalc*ti.button19.translations: #override<Btn1Down>,<Btn1Up>:rightParen()unset()
XCalc*ti.button20.font: -adobe-symbol-*-*-*-*-*-120-*-*-*-*-*-*
XCalc*ti.button20.label: \270
XCalc*ti.button20.translations: #override<Btn1Down>,<Btn1Up>:divide()unset()
XCalc*ti.button21.label: STO
XCalc*ti.button21.translations: #override<Btn1Down>,<Btn1Up>:store()unset()
XCalc*ti.button22.label: 7
XCalc*ti.button22.translations: #override<Btn1Down>,<Btn1Up>:digit(7)unset()
XCalc*ti.button23.label: 8
XCalc*ti.button23.translations: #override<Btn1Down>,<Btn1Up>:digit(8)unset()
XCalc*ti.button24.label: 9
XCalc*ti.button24.translations: #override<Btn1Down>,<Btn1Up>:digit(9)unset()
XCalc*ti.button25.label: *
XCalc*ti.button25.translations: #override<Btn1Down>,<Btn1Up>:multiply()unset()
XCalc*ti.button26.label: RCL
XCalc*ti.button26.translations: #override<Btn1Down>,<Btn1Up>:recall()unset()
XCalc*ti.button27.label: 4
XCalc*ti.button27.translations: #override<Btn1Down>,<Btn1Up>:digit(4)unset()
XCalc*ti.button28.label: 5
XCalc*ti.button28.translations: #override<Btn1Down>,<Btn1Up>:digit(5)unset()
XCalc*ti.button29.label: 6
XCalc*ti.button29.translations: #override<Btn1Down>,<Btn1Up>:digit(6)unset()
XCalc*ti.button30.label: -
XCalc*ti.button30.translations: #override<Btn1Down>,<Btn1Up>:subtract()unset()
XCalc*ti.button31.label: SUM
XCalc*ti.button31.translations: #override<Btn1Down>,<Btn1Up>:sum()unset()
XCalc*ti.button32.label: 1
XCalc*ti.button32.translations: #override<Btn1Down>,<Btn1Up>:digit(1)unset()
XCalc*ti.button33.label: 2
XCalc*ti.button33.translations: #override<Btn1Down>,<Btn1Up>:digit(2)unset()
XCalc*ti.button34.label: 3
XCalc*ti.button34.translations: #override<Btn1Down>,<Btn1Up>:digit(3)unset()
XCalc*ti.button35.label: +
XCalc*ti.button35.translations: #override<Btn1Down>,<Btn1Up>:add()unset()
XCalc*ti.button36.label: EXC
XCalc*ti.button36.translations: #override<Btn1Down>,<Btn1Up>:exchange()unset()
XCalc*ti.button37.label: 0
XCalc*ti.button37.translations: #override<Btn1Down>,<Btn1Up>:digit(0)unset()
XCalc*ti.button38.label: .
XCalc*ti.button38.translations: #override<Btn1Down>,<Btn1Up>:decimal()unset()
XCalc*ti.button39.label: +/-
XCalc*ti.button39.translations: #override<Btn1Down>,<Btn1Up>:negate()unset()
XCalc*ti.button40.label: =
XCalc*ti.button40.translations: #override<Btn1Down>,<Btn1Up>:equal()unset()
XCalc*ti.button1.horizDistance: 4
XCalc*ti.button1.vertDistance: 12
XCalc*ti.button1.fromVert: bevel
XCalc*ti.button2.fromHoriz: button1
XCalc*ti.button2.fromVert: bevel
XCalc*ti.button2.vertDistance: 12
XCalc*ti.button3.fromHoriz: button2
XCalc*ti.button3.fromVert: bevel
XCalc*ti.button3.vertDistance: 12
XCalc*ti.button4.fromHoriz: button3
XCalc*ti.button4.fromVert: bevel
XCalc*ti.button4.vertDistance: 12
XCalc*ti.button5.fromHoriz: button4
XCalc*ti.button5.fromVert: bevel
XCalc*ti.button5.vertDistance: 12
XCalc*ti.button6.horizDistance: 4
XCalc*ti.button6.fromVert: button1
XCalc*ti.button7.fromHoriz: button6
XCalc*ti.button7.fromVert: button2
XCalc*ti.button8.fromHoriz: button7
XCalc*ti.button8.fromVert: button3
XCalc*ti.button9.fromHoriz: button8
XCalc*ti.button9.fromVert: button4
XCalc*ti.button10.fromHoriz: button9
XCalc*ti.button10.fromVert: button5
XCalc*ti.button11.horizDistance: 4
XCalc*ti.button11.fromVert: button6
XCalc*ti.button12.fromHoriz: button11
XCalc*ti.button12.fromVert: button7
XCalc*ti.button13.fromHoriz: button12
XCalc*ti.button13.fromVert: button8
XCalc*ti.button14.fromHoriz: button13
XCalc*ti.button14.fromVert: button9
XCalc*ti.button15.fromHoriz: button14
XCalc*ti.button15.fromVert: button10
XCalc*ti.button16.horizDistance: 4
XCalc*ti.button16.fromVert: button11
XCalc*ti.button17.fromHoriz: button16
XCalc*ti.button17.fromVert: button12
XCalc*ti.button18.fromHoriz: button17
XCalc*ti.button18.fromVert: button13
XCalc*ti.button19.fromHoriz: button18
XCalc*ti.button19.fromVert: button14
XCalc*ti.button20.fromHoriz: button19
XCalc*ti.button20.fromVert: button15
XCalc*ti.button21.horizDistance: 4
XCalc*ti.button21.fromVert: button16
XCalc*ti.button22.fromHoriz: button21
XCalc*ti.button22.fromVert: button17
XCalc*ti.button23.fromHoriz: button22
XCalc*ti.button23.fromVert: button18
XCalc*ti.button24.fromHoriz: button23
XCalc*ti.button24.fromVert: button19
XCalc*ti.button25.fromHoriz: button24
XCalc*ti.button25.fromVert: button20
XCalc*ti.button26.horizDistance: 4
XCalc*ti.button26.fromVert: button21
XCalc*ti.button27.fromHoriz: button26
XCalc*ti.button27.fromVert: button22
XCalc*ti.button28.fromHoriz: button27
XCalc*ti.button28.fromVert: button23
XCalc*ti.button29.fromHoriz: button28
XCalc*ti.button29.fromVert: button24
XCalc*ti.button30.fromHoriz: button29
XCalc*ti.button30.fromVert: button25
XCalc*ti.button31.horizDistance: 4
XCalc*ti.button31.fromVert: button26
XCalc*ti.button32.fromHoriz: button31
XCalc*ti.button32.fromVert: button27
XCalc*ti.button33.fromHoriz: button32
XCalc*ti.button33.fromVert: button28
XCalc*ti.button34.fromHoriz: button33
XCalc*ti.button34.fromVert: button29
XCalc*ti.button35.fromHoriz: button34
XCalc*ti.button35.fromVert: button30
XCalc*ti.button36.horizDistance: 4
XCalc*ti.button36.fromVert: button31
XCalc*ti.button37.fromHoriz: button36
XCalc*ti.button37.fromVert: button32
XCalc*ti.button38.fromHoriz: button37
XCalc*ti.button38.fromVert: button33
XCalc*ti.button39.fromHoriz: button38
XCalc*ti.button39.fromVert: button34
XCalc*ti.button40.fromHoriz: button39
XCalc*ti.button40.fromVert: button35
!XCalc*hp.Geometry: 336x164
XCalc*hp.bevel.screen.LCD.width: 186
XCalc*hp.bevel.screen.LCD.translations: #replace\n\
Ctrl<Key>c:quit()\n\
Ctrl<Key>h:back()\n\
None<Key>0:digit(0)\n\
None<Key>1:digit(1)\n\
None<Key>2:digit(2)\n\
None<Key>3:digit(3)\n\
None<Key>4:digit(4)\n\
None<Key>5:digit(5)\n\
None<Key>6:digit(6)\n\
None<Key>7:digit(7)\n\
None<Key>8:digit(8)\n\
None<Key>9:digit(9)\n\
<Key>KP_0:digit(0)\n\
<Key>KP_1:digit(1)\n\
<Key>KP_2:digit(2)\n\
<Key>KP_3:digit(3)\n\
<Key>KP_4:digit(4)\n\
<Key>KP_5:digit(5)\n\
<Key>KP_6:digit(6)\n\
<Key>KP_7:digit(7)\n\
<Key>KP_8:digit(8)\n\
<Key>KP_9:digit(9)\n\
<Key>KP_Enter:enter()\n\
<Key>KP_Multiply:multiply()\n\
<Key>KP_Add:add()\n\
<Key>KP_Subtract:subtract()\n\
<Key>KP_Decimal:decimal()\n\
<Key>KP_Divide:divide()\n\
:<Key>.:decimal()\n\
:<Key>+:add()\n\
:<Key>-:subtract()\n\
:<Key>*:multiply()\n\
:<Key>/:divide()\n\
:<Key>!:factorial()\n\
<Key>e:e()\n\
:<Key>^:power()\n\
<Key>p:pi()\n\
<Key>i:inverse()\n\
<Key>s:sine()\n\
<Key>c:cosine()\n\
<Key>t:tangent()\n\
<Key>d:degree()\n\
<Key>l:naturalLog()\n\
<Key>n:negate()\n\
<Key>r:squareRoot()\n\
<Key>space:clear()\n\
<Key>q:quit()\n\
<Key>Delete:back()\n\
<Key>Return:enter()\n\
<Key>Linefeed:enter()\n\
<Key>x:XexchangeY()\n\
<Key>BackSpace:back()\n\
<Btn1Down>,<Btn1Up>:toggle()selection()\n
XCalc*hp.button1.font: -adobe-symbol-*-*-*-*-*-120-*-*-*-*-*-*
XCalc*hp.button1.label: \326\140
XCalc*hp.button1.translations: #override<Btn1Down>,<Btn1Up>:squareRoot()unset()
XCalc*hp.button2.label: e^x
XCalc*hp.button2.translations: #override<Btn1Down>,<Btn1Up>:epower()unset()
XCalc*hp.button3.label: 10^x
XCalc*hp.button3.translations: #override<Btn1Down>,<Btn1Up>:tenpower()unset()
XCalc*hp.button4.label: y^x
XCalc*hp.button4.translations: #override<Btn1Down>,<Btn1Up>:power()unset()
XCalc*hp.button5.label: 1/x
XCalc*hp.button5.translations: #override<Btn1Down>,<Btn1Up>:reciprocal()unset()
XCalc*hp.button6.label: CHS
XCalc*hp.button6.translations: #override<Btn1Down>,<Btn1Up>:negate()unset()
XCalc*hp.button7.label: 7
XCalc*hp.button7.translations: #override<Btn1Down>,<Btn1Up>:digit(7)unset()
XCalc*hp.button8.label: 8
XCalc*hp.button8.translations: #override<Btn1Down>,<Btn1Up>:digit(8)unset()
XCalc*hp.button9.label: 9
XCalc*hp.button9.translations: #override<Btn1Down>,<Btn1Up>:digit(9)unset()
XCalc*hp.button10.font: -adobe-symbol-*-*-*-*-*-120-*-*-*-*-*-*
XCalc*hp.button10.label: \270
XCalc*hp.button10.translations: #override<Btn1Down>,<Btn1Up>:divide()unset()
XCalc*hp.button11.label: x!
XCalc*hp.button11.translations: #override<Btn1Down>,<Btn1Up>:factorial()unset()
XCalc*hp.button12.font: -adobe-symbol-*-*-*-*-*-120-*-*-*-*-*-*
XCalc*hp.button12.label: \160
XCalc*hp.button12.translations: #override<Btn1Down>,<Btn1Up>:pi()unset()
XCalc*hp.button13.label: sin
XCalc*hp.button13.translations: #override<Btn1Down>,<Btn1Up>:sine()unset()
XCalc*hp.button14.label: cos
XCalc*hp.button14.translations: #override<Btn1Down>,<Btn1Up>:cosine()unset()
XCalc*hp.button15.label: tan
XCalc*hp.button15.translations: #override<Btn1Down>,<Btn1Up>:tangent()unset()
XCalc*hp.button16.label: EEX
XCalc*hp.button16.translations: #override<Btn1Down>,<Btn1Up>:scientific()unset()
XCalc*hp.button17.label: 4
XCalc*hp.button17.translations: #override<Btn1Down>,<Btn1Up>:digit(4)unset()
XCalc*hp.button18.label: 5
XCalc*hp.button18.translations: #override<Btn1Down>,<Btn1Up>:digit(5)unset()
XCalc*hp.button19.label: 6
XCalc*hp.button19.translations: #override<Btn1Down>,<Btn1Up>:digit(6)unset()
XCalc*hp.button20.label: *
XCalc*hp.button20.translations: #override<Btn1Down>,<Btn1Up>:multiply()unset()
XCalc*hp.button21.mappedWhenManaged: False
XCalc*hp.button22.mappedWhenManaged: False
XCalc*hp.button23.label: Rv
XCalc*hp.button23.translations: #override<Btn1Down>,<Btn1Up>:roll()unset()
XCalc*hp.button24.label: x:y
XCalc*hp.button24.translations: #override<Btn1Down>,<Btn1Up>:XexchangeY()unset()
XCalc*hp.button25.label: <-
XCalc*hp.button25.translations: #override<Btn1Down>,<Btn1Up>:back()unset()
XCalc*hp.button26.label: E\nN\nT\nE\nR
XCalc*hp.button26.translations: #override<Btn1Down>,<Btn1Up>:enter()unset()
XCalc*hp.button27.label: 1
XCalc*hp.button27.translations: #override<Btn1Down>,<Btn1Up>:digit(1)unset()
XCalc*hp.button28.label: 2
XCalc*hp.button28.translations: #override<Btn1Down>,<Btn1Up>:digit(2)unset()
XCalc*hp.button29.label: 3
XCalc*hp.button29.translations: #override<Btn1Down>,<Btn1Up>:digit(3)unset()
XCalc*hp.button30.label: -
XCalc*hp.button30.translations: #override<Btn1Down>,<Btn1Up>:subtract()unset()
XCalc*hp.button31.label: ON
XCalc*hp.button31.translations: #override<Btn1Down>,<Btn1Up>:off()unset()\n\
<Btn3Down>,<Btn3Up>:quit()
XCalc*hp.button32.label: DRG
XCalc*hp.button32.translations: #override<Btn1Down>,<Btn1Up>:degree()unset()
XCalc*hp.button33.label: INV
XCalc*hp.button33.translations: #override<Btn1Down>,<Btn1Up>:inverse()unset()
XCalc*hp.button34.label: STO
XCalc*hp.button34.translations: #override<Btn1Down>,<Btn1Up>:store()unset()
XCalc*hp.button35.label: RCL
XCalc*hp.button35.translations: #override<Btn1Down>,<Btn1Up>:recall()unset()
XCalc*hp.button36.label: 0
XCalc*hp.button36.translations: #override<Btn1Down>,<Btn1Up>:digit(0)unset()
XCalc*hp.button37.label: .
XCalc*hp.button37.translations: #override<Btn1Down>,<Btn1Up>:decimal()unset()
XCalc*hp.button38.label: SUM
XCalc*hp.button38.translations: #override<Btn1Down>,<Btn1Up>:sum()unset()
XCalc*hp.button39.label: +
XCalc*hp.button39.translations: #override<Btn1Down>,<Btn1Up>:add()unset()
XCalc*hp.button1.horizDistance: 4
XCalc*hp.button1.vertDistance: 12
XCalc*hp.button1.fromVert: bevel
XCalc*hp.button2.fromHoriz: button1
XCalc*hp.button2.fromVert: bevel
XCalc*hp.button2.vertDistance: 12
XCalc*hp.button3.fromHoriz: button2
XCalc*hp.button3.fromVert: bevel
XCalc*hp.button3.vertDistance: 12
XCalc*hp.button4.fromHoriz: button3
XCalc*hp.button4.fromVert: bevel
XCalc*hp.button4.vertDistance: 12
XCalc*hp.button5.fromHoriz: button4
XCalc*hp.button5.fromVert: bevel
XCalc*hp.button5.vertDistance: 12
XCalc*hp.button6.fromHoriz: button5
XCalc*hp.button6.fromVert: bevel
XCalc*hp.button6.vertDistance: 12
XCalc*hp.button7.fromHoriz: button6
XCalc*hp.button7.fromVert: bevel
XCalc*hp.button7.vertDistance: 12
XCalc*hp.button8.fromHoriz: button7
XCalc*hp.button8.fromVert: bevel
XCalc*hp.button8.vertDistance: 12
XCalc*hp.button9.fromHoriz: button8
XCalc*hp.button9.fromVert: bevel
XCalc*hp.button9.vertDistance: 12
XCalc*hp.button10.fromHoriz: button9
XCalc*hp.button10.fromVert: bevel
XCalc*hp.button10.vertDistance: 12
XCalc*hp.button11.horizDistance: 4
XCalc*hp.button11.fromVert: button1
XCalc*hp.button12.fromHoriz: button11
XCalc*hp.button12.fromVert: button2
XCalc*hp.button13.fromHoriz: button12
XCalc*hp.button13.fromVert: button3
XCalc*hp.button14.fromHoriz: button13
XCalc*hp.button14.fromVert: button4
XCalc*hp.button15.fromHoriz: button14
XCalc*hp.button15.fromVert: button5
XCalc*hp.button16.fromHoriz: button15
XCalc*hp.button16.fromVert: button6
XCalc*hp.button17.fromHoriz: button16
XCalc*hp.button17.fromVert: button7
XCalc*hp.button18.fromHoriz: button17
XCalc*hp.button18.fromVert: button8
XCalc*hp.button19.fromHoriz: button18
XCalc*hp.button19.fromVert: button9
XCalc*hp.button20.fromHoriz: button19
XCalc*hp.button20.fromVert: button10
XCalc*hp.button21.horizDistance: 4
XCalc*hp.button21.fromVert: button11
XCalc*hp.button22.fromHoriz: button21
XCalc*hp.button22.fromVert: button12
XCalc*hp.button23.fromHoriz: button22
XCalc*hp.button23.fromVert: button13
XCalc*hp.button24.fromHoriz: button23
XCalc*hp.button24.fromVert: button14
XCalc*hp.button25.fromHoriz: button24
XCalc*hp.button25.fromVert: button15
XCalc*hp.button26.fromHoriz: button25
XCalc*hp.button26.fromVert: button16
XCalc*hp.button26.font: 6x12
XCalc*hp.button26.height: 56
XCalc*hp.button27.fromHoriz: button26
XCalc*hp.button27.fromVert: button17
XCalc*hp.button28.fromHoriz: button27
XCalc*hp.button28.fromVert: button18
XCalc*hp.button29.fromHoriz: button28
XCalc*hp.button29.fromVert: button19
XCalc*hp.button30.fromHoriz: button29
XCalc*hp.button30.fromVert: button20
XCalc*hp.button31.horizDistance: 4
XCalc*hp.button31.fromVert: button21
XCalc*hp.button32.fromHoriz: button31
XCalc*hp.button32.fromVert: button22
XCalc*hp.button33.fromHoriz: button32
XCalc*hp.button33.fromVert: button23
XCalc*hp.button34.fromHoriz: button33
XCalc*hp.button34.fromVert: button24
XCalc*hp.button35.fromHoriz: button34
XCalc*hp.button35.fromVert: button25
XCalc*hp.button36.fromHoriz: button26
XCalc*hp.button36.fromVert: button27
XCalc*hp.button37.fromHoriz: button36
XCalc*hp.button37.fromVert: button28
XCalc*hp.button38.fromHoriz: button37
XCalc*hp.button38.fromVert: button29
XCalc*hp.button39.fromHoriz: button38
XCalc*hp.button39.fromVert: button30

View File

@ -0,0 +1,225 @@
#include "XCalc"
XCalc*ti.backgroundPixmap: gray3?foreground=gray70&background=gray85
XCalc*.bevel.background: gray80
XCalc*.bevel.displayList: foreground gray90;lines -1,0,0,0,0,-1;lines 3,-4,-4,-4,-4,3
XCalc*.bevel.borderColor: gray60
XCalc*.bevel.borderWidth: 1
XCalc*.bevel.vertDistance: 4
XCalc*.bevel.defaultDistance: 4
XCalc*.bevel.screen.vertDistance: 4
XCalc*.bevel.screen.horizDistance: 4
XCalc*.bevel.screen*left: chainLeft
XCalc*.bevel.screen*right: chainRight
XCalc*.bevel.screen*top: chainTop
XCalc*.bevel.screen*bottom: chainBottom
XCalc*.bevel.screen*background: rgb:9/a/9
XCalc*.bevel.screen.borderColor: gray50
XCalc*.bevel.screen*LCD.foreground: gray20
XCalc*.bevel.screen*INV.vertDistance: 2
! T e x a s I n s t r u m e n t s T I - 3 0
XCalc*ti.Command.shapeStyle: roundedRectangle
XCalc*ti.Command.displayList: foreground rgb:a/b/c;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.Command.borderColor: rgb:8/9/a
XCalc*ti.Command.background: rgb:c/d/e
XCalc*ti.Command.foreground: gray5
XCalc*ti.button20.foreground: gray5
XCalc*ti.button20.background: rgb:e/d/c
XCalc*ti.button20.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button20.borderColor: rgb:9/8/7
XCalc*ti.button25.foreground: gray5
XCalc*ti.button25.background: rgb:e/d/c
XCalc*ti.button25.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button25.borderColor: rgb:9/8/7
XCalc*ti.button30.foreground: gray5
XCalc*ti.button30.background: rgb:e/d/c
XCalc*ti.button30.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button30.borderColor: rgb:9/8/7
XCalc*ti.button35.foreground: gray5
XCalc*ti.button35.background: rgb:e/d/c
XCalc*ti.button35.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button35.borderColor: rgb:9/8/7
XCalc*ti.button40.foreground: gray5
XCalc*ti.button40.background: rgb:e/d/c
XCalc*ti.button40.displayList: foreground rgb:a/9/8;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button40.borderColor: rgb:9/8/7
XCalc*ti.button22.background: gray95
XCalc*ti.button22.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button22.borderColor: gray65
XCalc*ti.button23.background: gray95
XCalc*ti.button23.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button23.borderColor: gray65
XCalc*ti.button24.background: gray95
XCalc*ti.button24.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button24.borderColor: gray65
XCalc*ti.button27.background: gray95
XCalc*ti.button27.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button27.borderColor: gray65
XCalc*ti.button28.background: gray95
XCalc*ti.button28.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button28.borderColor: gray65
XCalc*ti.button29.background: gray95
XCalc*ti.button29.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button29.borderColor: gray65
XCalc*ti.button32.background: gray95
XCalc*ti.button32.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button32.borderColor: gray65
XCalc*ti.button33.background: gray95
XCalc*ti.button33.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button33.borderColor: gray65
XCalc*ti.button34.background: gray95
XCalc*ti.button34.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button34.borderColor: gray65
XCalc*ti.button37.background: gray95
XCalc*ti.button37.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button37.borderColor: gray65
XCalc*ti.button38.background: gray95
XCalc*ti.button38.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button38.borderColor: gray65
XCalc*ti.button39.background: gray95
XCalc*ti.button39.displayList: foreground gray75;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
XCalc*ti.button39.borderColor: gray65
! H e w l e t t - P a c k a r d 1 0 C
XCalc*hp.Command.shapeStyle: roundedRectangle
XCalc*hp.background: wheat
XCalc*hp.Command.background: peru
XCalc*hp.Command.foreground: white
! Unused buttons. (Make invisible.)
XCalc*hp.button21.background: wheat
XCalc*hp.button22.background: wheat
! ON button
XCalc*hp.button31.background: goldenrod
XCalc*hp.button31.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
!XCalc*hp.button31.foreground: white
! SQRT
XCalc*hp.button1.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! e^x
XCalc*hp.button2.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! 10^x
XCalc*hp.button3.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! y^x
XCalc*hp.button4.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! 1/c
XCalc*hp.button5.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! CHS
XCalc*hp.button6.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! x!
XCalc*hp.button11.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! pi
XCalc*hp.button12.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! sin
XCalc*hp.button13.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! cos
XCalc*hp.button14.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! tan
XCalc*hp.button15.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! EEX
XCalc*hp.button16.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! Rv
XCalc*hp.button23.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! x:y
XCalc*hp.button24.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! <-
XCalc*hp.button25.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! ENTER
XCalc*hp.button26.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! DRG
XCalc*hp.button32.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! INV
XCalc*hp.button33.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! STO
XCalc*hp.button34.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
!RCL
XCalc*hp.button35.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "Operator" keys.
! Divide key
XCalc*hp.button10.background: SteelBlue
XCalc*hp.button10.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! Multiply key
XCalc*hp.button20.background: SteelBlue
XCalc*hp.button20.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! Minus key
XCalc*hp.button30.background: SteelBlue
XCalc*hp.button30.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! SUM
XCalc*hp.button38.background: SteelBlue
XCalc*hp.button38.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! Plus key
XCalc*hp.button39.background: SteelBlue
XCalc*hp.button39.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "Number" keys.
! "7"
XCalc*hp.button7.background: white
XCalc*hp.button7.foreground: black
XCalc*hp.button7.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "8"
XCalc*hp.button8.background: white
XCalc*hp.button8.foreground: black
XCalc*hp.button8.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "9"
XCalc*hp.button9.background: white
XCalc*hp.button9.foreground: black
XCalc*hp.button9.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "4"
XCalc*hp.button17.background: white
XCalc*hp.button17.foreground: black
XCalc*hp.button17.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "5"
XCalc*hp.button18.background: white
XCalc*hp.button18.foreground: black
XCalc*hp.button18.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "6"
XCalc*hp.button19.background: white
XCalc*hp.button19.foreground: black
XCalc*hp.button19.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "1"
XCalc*hp.button27.background: white
XCalc*hp.button27.foreground: black
XCalc*hp.button27.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "2"
XCalc*hp.button28.background: white
XCalc*hp.button28.foreground: black
XCalc*hp.button28.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "3"
XCalc*hp.button29.background: white
XCalc*hp.button29.foreground: black
XCalc*hp.button29.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "0"
XCalc*hp.button36.background: white
XCalc*hp.button36.foreground: black
XCalc*hp.button36.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90
! "."
XCalc*hp.button37.background: white
XCalc*hp.button37.foreground: black
XCalc*hp.button37.displayList: foreground rgb:b/b/b;segments 8,-4,-9,-4,-4,-9,-4,8;draw-arc -14,-14,-4,-4,270,90

View File

@ -0,0 +1,142 @@
*Command*Font: -*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1
*Label*Font: -*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1
*Text*Font: -*-courier-medium-r-normal--*-120-*-*-*-*-iso8859-1
*quit.label: Quit
*quit.top: ChainTop
*quit.bottom: ChainTop
*quit.left: ChainLeft
*quit.right: ChainLeft
*quit.translations: #override \n\
<Btn1Down>,<Btn1Up>:Quit() unset()
*delete.label: Delete
*delete.fromHoriz: quit
*delete.top: ChainTop
*delete.bottom: ChainTop
*delete.left: ChainLeft
*delete.right: ChainLeft
*delete.translations: #override \n\
<Btn1Down>,<Btn1Up>:DeleteClip() unset()
*new.label: New
*new.fromHoriz: delete
*new.top: ChainTop
*new.bottom: ChainTop
*new.left: ChainLeft
*new.right: ChainLeft
*new.translations: #override \n\
<Btn1Down>,<Btn1Up>:NewClip() unset()
*save.label: Save
*save.fromHoriz: new
*save.top: ChainTop
*save.bottom: ChainTop
*save.left: ChainLeft
*save.right: ChainLeft
*save.translations: #override \n\
<Btn1Down>,<Btn1Up>:Save() unset()
*next.label: Next
*next.fromHoriz: save
*next.top: ChainTop
*next.bottom: ChainTop
*next.left: ChainLeft
*next.right: ChainLeft
*next.translations: #override \n\
<Btn1Down>,<Btn1Up>:NextClip() unset()
*prev.label: Prev
*prev.fromHoriz: next
*prev.top: ChainTop
*prev.bottom: ChainTop
*prev.left: ChainLeft
*prev.right: ChainLeft
*prev.translations: #override \n\
<Btn1Down>,<Btn1Up>:PrevClip() unset()
*index.fromHoriz: prev
*index.top: ChainTop
*index.bottom: ChainTop
*index.left: ChainLeft
*index.right: ChainLeft
*index.resizable: true
*text.scrollVertical: WhenNeeded
*text.scrollHorizontal: WhenNeeded
*text.autoFill: on
*text.fromVert: quit
*text.top: ChainTop
*text.bottom: ChainBottom
*text.left: ChainLeft
*text.right: ChainRight
*text.resizable: true
*text.width: 300
XClipboard.geometry: 300x200
*ShapeStyle: oval
XClipboard.baseTranslations: #augment\n\
<Message>WM_PROTOCOLS: WMProtocols()\n
*TransientShell.baseTranslations: #augment\n\
<Message>WM_PROTOCOLS: WMProtocols()\n
*fileDialog.label: Save to file:
*fileDialog.label.top: ChainTop
*fileDialog.label.bottom: ChainTop
*fileDialog.label.left: ChainLeft
*fileDialog.label.right: ChainLeft
*fileDialogShell.allowShellResize: true
*fileDialogShell.title: File Save
*fileDialog*accept.label: Accept
*fileDialog.accept.top: ChainTop
*fileDialog.accept.bottom: ChainBottom
*fileDialog.accept.left: ChainLeft
*fileDialog.accept.right: ChainLeft
*fileDialog*accept.translations: #override\
<BtnUp>: AcceptSave() unset()
*fileDialog.value.top: ChainTop
*fileDialog.value.bottom: ChainTop
*fileDialog.value.left: ChainLeft
*fileDialog.value.right: ChainLeft
*fileDialog*value.translations: #override\
<Key>Return: AcceptSave() \n\
Ctrl<Key>S: no-op(ring-bell) \n\
Ctrl<Key>R: no-op(ring-bell) \n\
Ctrl<Key>M: no-op(ring-bell) \n\
Ctrl<Key>J: no-op(ring-bell) \n\
Meta<Key>I: no-op(ring-bell)
*fileDialog*value.baseTranslations: #override\
<Key>Return: AcceptSave() \n\
Ctrl<Key>S: no-op(ring-bell) \n\
Ctrl<Key>R: no-op(ring-bell) \n\
Ctrl<Key>M: no-op(ring-bell) \n\
Ctrl<Key>J: no-op(ring-bell) \n\
Meta<Key>I: no-op(ring-bell)
*fileDialog*cancel.label: Cancel
*fileDialog.cancel.top: ChainTop
*fileDialog.cancel.bottom: ChainBottom
*fileDialog.cancel.left: ChainLeft
*fileDialog.cancel.right: ChainLeft
*fileDialog*cancel.translations: #override\
<BtnUp>:CancelSave() unset()
*failDialog*Label.resizable: true
*failDialog.label: Can't write file
*failDialogShell.title: Error
*failDialogShell.allowShellResize: true
*failDialog*continue.label: Continue
*failDialog*continue.translations: #override\
<BtnUp>:FailContinue() unset()
*failDialog*value.translations: #override\
<Key>Return: FailContinue() \n\
Ctrl<Key>S: no-op(ring-bell) \n\
Ctrl<Key>R: no-op(ring-bell) \n\
Ctrl<Key>M: no-op(ring-bell) \n\
Ctrl<Key>J: no-op(ring-bell) \n\
Meta<Key>I: no-op(ring-bell)

View File

@ -0,0 +1 @@
XClock.input: false

View File

@ -0,0 +1,10 @@
! $XFree86$
#include "XClock"
XClock.Clock.hourColor: rgba:7f/00/00/c0
XClock.Clock.minuteColor: rgba:00/7f/7f/c0
XClock.Clock.secondColor: rgba:00/00/ff/80
XClock.Clock.majorColor: rgba:7f/00/00/c0
XClock.Clock.minorColor: rgba:00/7f/7f/c0

View File

@ -0,0 +1,21 @@
*allowShellResize: true
XConsole.translations: #override\
<MapNotify>: Deiconified() \n\
<UnmapNotify>: Iconified() \n\
<Message>WM_PROTOCOLS: Quit()
XConsole.baseTranslations: #override\
<MapNotify>: Deiconified() \n\
<UnmapNotify>: Iconified() \n\
<Message>WM_PROTOCOLS: Quit()
*text.translations: #override\
Ctrl<KeyPress>C: Clear() \n\
<KeyPress>Clear: Clear()
*text.baseTranslations: #override\
Ctrl<KeyPress>C: Clear() \n\
<KeyPress>Clear: Clear()
*text.scrollVertical: Always
*text.scrollHorizontal: Never
*text.width: 400
*text.height: 70
*text.allowResize: true
*editType: read

View File

@ -0,0 +1,148 @@
! $XConsortium: XFontSel.ad,v 1.12 94/04/17 20:43:40 gildea Exp $
!
! app-defaults for XFontSel
!
! Copyright (c) 1985, 1986, 1987, 1988, 1989 X Consortium
!
! Permission is hereby granted, free of charge, to any person obtaining
! a copy of this software and associated documentation files (the
! "Software"), to deal in the Software without restriction, including
! without limitation the rights to use, copy, modify, merge, publish,
! distribute, sublicense, and/or sell copies of the Software, and to
! permit persons to whom the Software is furnished to do so, subject to
! the following conditions:
!
! The above copyright notice and this permission notice shall be included
! in all copies or substantial portions of the Software.
!
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
! IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
! OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
! ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
! OTHER DEALINGS IN THE SOFTWARE.
!
! Except as contained in this notice, the name of the X Consortium shall
! not be used in advertising or otherwise to promote the sale, use or
! other dealings in this Software without prior written authorization
! from the X Consortium.
!
! Author:
! Ralph R. Swick, Digital Equipment Corporation/M.I.T. Project Athena
! one weekend in November, 1989
!
! $XFree86: xc/programs/xfontsel/XFontSel.ad,v 1.1 2000/02/13 03:26:24 dawes Exp $
*appDefaultsVersion: 1
*pixelSizeList: 7, 30, 40, 50, 60
*pointSizeList: 250, 300, 350, 400
XFontSel.cursor: left_ptr
*allowShellResize: true
*commandBox.ShowGrip: false
*commandBox*top: chainTop
*commandBox*bottom: chainTop
*quitButton.Label: quit
*quitButton.left: chainLeft
*quitButton.right: chainLeft
*ownButton.Label: select
*ownButton.fromHoriz: quitButton
*ownButton.left: chainLeft
*ownButton.right: chainLeft
*countLabel.BorderWidth: 0
*countLabel.Justify: right
*countLabel.Label: 999999 fonts match
*countLabel.left: chainRight
*countLabel.right: chainRight
*fieldBox.Orientation: horizontal
*fieldBox.HSpace: 0
*fieldBox.HSpace: 0
*dash.label: -
*dash.borderWidth: 0
*dash.internalHeight: 0
*dash.internalWidth: 0
*fieldBox*MenuButton.BorderWidth: 0
*fieldBox*MenuButton.internalHeight: 0
*fieldBox*MenuButton.internalWidth: 0
*fieldBox*MenuButton.shapeStyle: rectangle
#ifdef LONG_NAMES
*fieldBox*field0.Label: foundry
*fieldBox*field1.Label: family
*fieldBox*field2.Label: weight
*fieldBox*field3.Label: slant
*fieldBox*field4.Label: set width
*fieldBox*field5.Label: add style
*fieldBox*field6.Label: pixel size
*fieldBox*field7.Label: point size
*fieldBox*field8.Label: resolutionX
*fieldBox*field9.Label: resolutionY
*fieldBox*field10.Label: spacing
*fieldBox*field11.Label: avg width
*fieldBox*field12.Label: registry
*fieldBox*field13.Label: encoding
#else
*fieldBox*field0.Label: fndry
*fieldBox*field1.Label: fmly
*fieldBox*field2.Label: wght
*fieldBox*field3.Label: slant
*fieldBox*field4.Label: sWdth
*fieldBox*field5.Label: adstyl
*fieldBox*field6.Label: pxlsz
*fieldBox*field7.Label: ptSz
*fieldBox*field8.Label: resx
*fieldBox*field9.Label: resy
*fieldBox*field10.Label: spc
*fieldBox*field11.Label: avgWdth
*fieldBox*field12.Label: rgstry
*fieldBox*field13.Label: encdng
#endif
!*fieldBox*field11.Sensitive: False
*fieldBox*field11.menu.Options.ShowUnselectable: False
!*field1*menu*courier.Font:
*fontName*skipAdjust: true
*sampleText*international: false
*sampleText*Label: \
Processing fonts...
*sampleText: \
ABCDEFGHIJKLMNOPQRSTUVWXYZ\n\
abcdefghijklmnopqrstuvwxyz\n\
0123456789\n\
\340\346\347\353\356\360\361\363\371\375\
\300\306\307\313\316\320\321\323\331\335
*sampleText16: \
\044\042\044\044\044\046\044\050\044\052\044\053\044\055\044\057\
\044\061\044\063\044\065\044\067\044\071\044\073\044\075\044\077\n\
\044\101\044\104\044\106\044\110\044\112\044\113\044\114\044\115\
\044\116\044\117\044\122\044\125\044\130\044\133\044\136\044\137\n\
\061\042\061\044\061\046\061\050\061\052\061\053\061\055\061\057\
\061\061\061\063\061\065\061\067\061\071\061\073\061\075\061\077\n\
\061\101\061\104\061\106\061\110\061\112\061\113\061\114\061\115\
\061\116\061\117\061\122\061\125\061\130\061\133\061\136\061\137\n\
*sampleTextUCS: \
ABCDEFGHIJKLMNOPQRSTUVWXYZ /0123456789\n\
abcdefghijklmnopqrstuvwxyz £©µÀÆÖÞßéöÿ\n\
–—‘“”„†•…‰™œŠŸž€ ΑΒΓΔΩαβγδω АБВГДабвгд\n\
∀∂∈ℝ∧∪≡∞ ↑↗↨↻⇣ ┐┼╔╘░►☺♀ fi<>⑀₂ἠḂӥẄɐː⍎אԱა
*sampleText*allowResize: true
*sampleText*Height: 50

View File

@ -0,0 +1,6 @@
XLoad.input: false
*Label*Justify: left
*JumpScroll: 1
*internalBorderWidth: 0
*showGrip: FALSE

View File

@ -0,0 +1,4 @@
XLogo*iconPixmap: xlogo32
XLogo*iconMask: xlogo32
XLogo*baseTranslations: #override \
<Key>q,<Key>Escape: quit()

View File

@ -0,0 +1,5 @@
! $Xorg: XLogo-co.ad,v 1.3 2000/08/17 19:54:52 cpqbld Exp $
#include "XLogo"
! MIT colors are Cardinal Red (Pantone 201c) and Silver Grey (Pantone 421c)
XLogo*background: rgb:d2/22/32
XLogo*foreground: rgb:d7/d7/d7

View File

@ -0,0 +1,33 @@
! XMore.ad
! keyboard translations
*text.Translations: #override\n\
Ctrl<Key>S: no-op(RingBell)\n\
Ctrl<Key>R: no-op(RingBell)\n\
<Key>space: next-page()\n\
<Key>F: next-page()\n\
Ctrl<Key>B: previous-page()\n\
<Key>B: previous-page()\n\
<Key>K: scroll-one-line-down()\n\
<Key>Y: scroll-one-line-down()\n\
<Key>Return: scroll-one-line-up()\n\
<Key>J: scroll-one-line-up()\n\
<Key>E: scroll-one-line-up()\n\
<Key>q: quit()\n
*text.baseTranslations: #override\n\
<Key>space: next-page()\n\
<Key>F: next-page()\n\
Ctrl<Key>B: previous-page()\n\
<Key>K: scroll-one-line-down()\n\
<Key>Y: scroll-one-line-down()\n\
<Key>Return: scroll-one-line-up()\n\
<Key>J: scroll-one-line-up()\n\
<Key>E: scroll-one-line-up()\n\
<Key>q: quit()\n
! tip messages
*quit.tip: Quit application
*international: True
! EOF.

View File

@ -0,0 +1,119 @@
! $Xorg: XSm.ad,v 1.3 2000/08/17 19:55:04 cpqbld Exp $
*chooseSessionPopup*font: 12x24
*chooseSessionLabel.label: Session Menu
*chooseSessionMessageLabel.label: Press button again to confirm, or hit Cancel...
*chooseSessionLoadButton.label: Load Session
*chooseSessionDeleteButton.label: Delete Session
*chooseSessionFailSafeButton.label: Default/Fail Safe
*chooseSessionCancelButton.label: Cancel
*chooseSessionBreakLockButton.label: Break Lock
*chooseSessionLoadButton.background: light steel blue
*chooseSessionDeleteButton.background: light steel blue
*chooseSessionBreakLockButton.background: light steel blue
*chooseSessionFailSafeButton.background:light steel blue
*chooseSessionCancelButton.background: light steel blue
*clientInfoButton.label: Client List
*logButton.label: Session Log
*checkPointButton.label: Checkpoint
*shutdownButton.label: Shutdown
*shutdownSave.label: With Checkpoint
*shutdownDontSave.label: Immediately
*logPopup.title: Session Log
*logPopup.iconName: Session Log
*logOkButton.label: OK
*logText.width: 600
*logText.height: 300
*clientInfoPopup.title: Client List
*clientInfoPopup.iconName: Client List
*noClientsLabel.label: There are no clients in the session
*viewPropButton.label: View Properties
*cloneButton.label: Clone
*killClientButton.label: Kill
*restartHintButton.label: Restart Hint
*restartIfRunning.label: If Running
*restartAnyway.label: Anyway
*restartImmediately.label: Immediately
*restartNever.label: Never
*clientInfoDoneButton.label: Done
*manualRestartLabel.label: Restart the following non-session-aware clients...
*clientPropTextWidget.width: 500
*clientPropTextWidget.height: 300
*clientPropDoneButton.label: Done
*saveMessageLabel.label: Session name
*saveTypeLabel.label: Save Type
*saveTypeNone.label: None
*saveTypeLocal.label: Local
*saveTypeGlobal.label: Global
*saveTypeBoth.label: Both
*interactStyleLabel.label: Interact Style
*interactStyleNone.label: None
*interactStyleErrors.label: Errors
*interactStyleAny.label: Any
*saveCancelButton.label: Cancel
*helpSaveButton.label: Help
*helpSaveOkButton.label: OK
*helpSaveText.label:\n\
Save types\n\
----------\n\
Local - Applications should save enough information to\n\
restore the state as seen by the user.\n\
The save should not affect data seen by other users.\n\
\n\
Global - Applications should commit all of their data to\n\
permanent, globally accessible storage.\n\
\n\
Both - Applications should commit their data to global\n\
storage and also save state local to the user.\n\
\n\n\
Interaction styles\n\
------------------\n\
None - Don't allow user interaction\n\
Errors - Allow user interaction only if an error occurs\n\
Any - Allow user interaction for any reason\n\
\n
*nameInUsePopup.title: Warning
*nameInUseOverwriteButton.label: Overwrite
*badSavePopup.title: Save Failure
*badSaveLabel.label: The following applications did not report\n\
a successful save of their state:
*badSaveOkButton.label: OK
*badSaveCancelButton.label: Cancel Shutdown
*chooseSessionListWidget.Translations: #override\n\
<Key>Up: ChooseSessionUp()\n\
<Key>KP_Up: ChooseSessionUp()\n\
Ctrl<Key>P: ChooseSessionUp()\n\
<Key>Down: ChooseSessionDown()\n\
<Key>KP_Down: ChooseSessionDown()\n\
Ctrl<Key>N: ChooseSessionDown()\n\
<Btn1Down>: Set() ChooseSessionBtn1Down()\n
*chooseSessionLoadButton.Accelerators: #override\n\
<Btn1Down>(2+): set() notify() unset()\n\
<Key>Return: set() notify() unset()\n\
<Key>KP_Enter: set() notify() unset()\n
*checkPointButton.Translations: #override\n\
<Btn1Up>: notify() reset()\n
*shutdownButton.Translations: #override\n\
<Btn1Up>: notify() reset()\n
*saveOkButton.Accelerators: #override\n\
<Key>Return: set() notify() unset()\n
*badSaveOkButton.Accelerators: #override\n\
<Key>Return: set() notify() unset()\n

View File

@ -0,0 +1,261 @@
! $XTermId: XTerm.ad,v 1.99 2013/06/23 08:57:13 Ross.Combs Exp $
! -----------------------------------------------------------------------------
! this file is part of xterm
!
! Copyright 1996-2010,2011 by Thomas E. Dickey
!
! All Rights Reserved
!
! Permission is hereby granted, free of charge, to any person obtaining a
! copy of this software and associated documentation files (the
! "Software"), to deal in the Software without restriction, including
! without limitation the rights to use, copy, modify, merge, publish,
! distribute, sublicense, and/or sell copies of the Software, and to
! permit persons to whom the Software is furnished to do so, subject to
! the following conditions:
!
! The above copyright notice and this permission notice shall be included
! in all copies or substantial portions of the Software.
!
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
! IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
! CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
! TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
! SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
!
! Except as contained in this notice, the name(s) of the above copyright
! holders shall not be used in advertising or otherwise to promote the
! sale, use or other dealings in this Software without prior written
! authorization.
! -----------------------------------------------------------------------------
*saveLines: 1024
*SimpleMenu*BackingStore: NotUseful
*SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*
*SimpleMenu*menuLabel.vertSpace: 100
*SimpleMenu*HorizontalMargins: 16
*SimpleMenu*Sme.height: 16
*SimpleMenu*Cursor: left_ptr
*mainMenu.Label: Main Options
*mainMenu*toolbar*Label: Toolbar
*mainMenu*fullscreen*Label: Full Screen
*mainMenu*securekbd*Label: Secure Keyboard
*mainMenu*allowsends*Label: Allow SendEvents
*mainMenu*redraw*Label: Redraw Window
*mainMenu*logging*Label: Log to File
*mainMenu*print-immediate*Label: Print-All Immediately
*mainMenu*print-on-error*Label: Print-All on Error
*mainMenu*print*Label: Print Window
*mainMenu*print-redir*Label: Redirect to Printer
*mainMenu*8-bit control*Label: 8-Bit Controls
*mainMenu*backarrow key*Label: Backarrow Key (BS/DEL)
*mainMenu*num-lock*Label: Alt/NumLock Modifiers
*mainMenu*alt-esc*Label: Alt Sends Escape
*mainMenu*meta-esc*Label: Meta Sends Escape
*mainMenu*delete-is-del*Label: Delete is DEL
*mainMenu*oldFunctionKeys*Label: Old Function-Keys
*mainMenu*sunFunctionKeys*Label: Sun Function-Keys
*mainMenu*sunKeyboard*Label: VT220 Keyboard
*mainMenu*hpFunctionKeys*Label: HP Function-Keys
*mainMenu*scoFunctionKeys*Label: SCO Function-Keys
*mainMenu*tcapFunctionKeys*Label: Termcap Function-Keys
*mainMenu*suspend*Label: Send STOP Signal
*mainMenu*continue*Label: Send CONT Signal
*mainMenu*interrupt*Label: Send INT Signal
*mainMenu*hangup*Label: Send HUP Signal
*mainMenu*terminate*Label: Send TERM Signal
*mainMenu*kill*Label: Send KILL Signal
*mainMenu*quit*Label: Quit
*vtMenu.Label: VT Options
*vtMenu*scrollbar*Label: Enable Scrollbar
*vtMenu*jumpscroll*Label: Enable Jump Scroll
*vtMenu*reversevideo*Label: Enable Reverse Video
*vtMenu*autowrap*Label: Enable Auto Wraparound
*vtMenu*reversewrap*Label: Enable Reverse Wraparound
*vtMenu*autolinefeed*Label: Enable Auto Linefeed
*vtMenu*appcursor*Label: Enable Application Cursor Keys
*vtMenu*appkeypad*Label: Enable Application Keypad
*vtMenu*scrollkey*Label: Scroll to Bottom on Key Press
*vtMenu*scrollttyoutput*Label: Scroll to Bottom on Tty Output
*vtMenu*allow132*Label: Allow 80/132 Column Switching
*vtMenu*keepSelection*Label: Keep Selection
*vtMenu*selectToClipboard*Label: Select to Clipboard
*vtMenu*cursesemul*Label: Enable Curses Emulation
*vtMenu*visualbell*Label: Enable Visual Bell
*vtMenu*bellIsUrgent*Label: Enable Bell Urgency
*vtMenu*poponbell*Label: Enable Pop on Bell
*vtMenu*cursorblink*Label: Enable Blinking Cursor
*vtMenu*titeInhibit*Label: Enable Alternate Screen Switching
*vtMenu*activeicon*Label: Enable Active Icon
*vtMenu*softreset*Label: Do Soft Reset
*vtMenu*hardreset*Label: Do Full Reset
*vtMenu*clearsavedlines*Label: Reset and Clear Saved Lines
*vtMenu*tekshow*Label: Show Tek Window
*vtMenu*tekmode*Label: Switch to Tek Mode
*vtMenu*vthide*Label: Hide VT Window
*vtMenu*altscreen*Label: Show Alternate Screen
*vtMenu*sixelScrolling*Label: Sixel Scrolling
*vtMenu*privateColorRegisters*Label: Private Color Registers
*fontMenu.Label: VT Fonts
*fontMenu*fontdefault*Label: Default
*fontMenu*font1*Label: Unreadable
*VT100.font1: nil2
*IconFont: nil2
*fontMenu*font2*Label: Tiny
*VT100.font2: 5x7
*fontMenu*font3*Label: Small
*VT100.font3: 6x10
*fontMenu*font4*Label: Medium
*VT100.font4: 7x13
*fontMenu*font5*Label: Large
*VT100.font5: 9x15
*fontMenu*font6*Label: Huge
*VT100.font6: 10x20
*fontMenu*fontescape*Label: Escape Sequence
*fontMenu*fontsel*Label: Selection
!fontescape and fontsel overridden by application
*fontMenu*allow-bold-fonts*Label: Bold Fonts
*fontMenu*font-linedrawing*Label: Line-Drawing Characters
*fontMenu*font-doublesize*Label: Doublesized Characters
*fontMenu*font-loadable*Label: VT220 Soft Fonts
*fontMenu*font-packed*Label: Packed Font
*fontMenu*render-font*Label: TrueType Fonts
*fontMenu*utf8-mode*Label: UTF-8 Encoding
*fontMenu*utf8-fonts*Label: UTF-8 Fonts
*fontMenu*utf8-title*Label: UTF-8 Titles
*fontMenu*allow-color-ops*Label: Allow Color Ops
*fontMenu*allow-font-ops*Label: Allow Font Ops
*fontMenu*allow-tcap-ops*Label: Allow Termcap Ops
*fontMenu*allow-title-ops*Label: Allow Title Ops
*fontMenu*allow-window-ops*Label: Allow Window Ops
*VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
*VT100.utf8Fonts.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
*VT100.utf8Fonts.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
*VT100.utf8Fonts.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
*VT100.utf8Fonts.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
*VT100.utf8Fonts.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
*tekMenu.Label: Tek Options
*tekMenu*tektextlarge*Label: Large Characters
*tekMenu*tektext2*Label: #2 Size Characters
*tekMenu*tektext3*Label: #3 Size Characters
*tekMenu*tektextsmall*Label: Small Characters
*tekMenu*tekpage*Label: PAGE
*tekMenu*tekreset*Label: RESET
*tekMenu*tekcopy*Label: COPY
*tekMenu*vtshow*Label: Show VT Window
*tekMenu*vtmode*Label: Switch to VT Mode
*tekMenu*tekhide*Label: Hide Tek Window
*tek4014*fontLarge: 9x15
*tek4014*font2: 8x13
*tek4014*font3: 6x13
*tek4014*fontSmall: 6x10
! Debian package customizations follow.
*ptyInitialErase: true
! If xterm is built with a toolbar, the widget hierarchy looks like this,
! showing widget name / class names. The complete menu hierarchy is built
! at startup because it is needed to make the layout work for the menubar:
!
! xterm/XTerm
! form/Form
! menubar/Box
! mainMenuButton/MenuButton
! mainMenu/SimpleMenu
! menuLabel/SmeBSB
! toolbar/SmeBSB
! ...
! vtMenu/SimpleMenu
! menuLabel/SmeBSB
! scrollbar/SmeBSB
! ...
! fontMenu/SimpleMenu
! menuLabel/SmeBSB
! fontdefault/SmeBSB
! ...
! tekMenu/SimpleMenu
! menuLabel/SmeBSB
! fontdefault/SmeBSB
! ...
! vt100/VT100
! tektronix/TopLevelShell
! shellext/VendorShellExt
! tek4014/Tek4014
!
! If built without a toolbar, the widget hierarchy is simpler, because there
! is no form, and the popup menu widgets are created only when they are first
! used.
!
! xterm/XTerm
! shellext/VendorShellExt
! mainMenu/SimpleMenu
! menuLabel/SmeBSB
! ...
! ...
! vt100/VT100
! tektronix/TopLevelShell
! shellext/VendorShellExt
! tek4014/Tek4014
!
! A more complete list of the widget/class names can be obtained using editres
! to dump a file. Some widget names are not available until the corresponding
! menu has been created.
! These resources reduce space around the menubar, by eliminating padding in
! the enclosing form (Thickness) and the border of the Box which represents
! the menubar widget.
*form.Thickness: 0
*menubar.borderWidth: 0
! If we wanted to eliminate the border of the popup menus, we could do this
! instead, since they are children of the menubar:
!*menubar*borderWidth: 0
! Eliminate the border of the buttons in the menubar, so the only line around
! the text is for the highlighted button:
*MenuButton*borderWidth: 0
! Set a border for the menus to make them simpler to distinguish against the
! vt100 widget:
*SimpleMenu*borderWidth: 2
! xterm can switch at runtime between bitmap (default) and TrueType fonts.
! The "faceSize" resource controls the size of the latter. However, it was
! originally given with a size that makes the two types of fonts different
! sizes. Uncomment this line to use the same size as "fixed".
!*faceSize: 8
! Here is a pattern that is useful for double-clicking on a URL:
*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48
!
! Alternatively,
!*on2Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
! VT100s and similar terminals recognize escape sequences and control
! characters to which they reply to the host with other escape sequences,
! to provide information. The "resize" program uses this feature.
!
! In addition, xterm recognizes several escape sequences which can be used to
! set fonts, window properties, return settings via escape sequences. Some
! find these useful; others are concerned with the possibility of unexpected
! inputs.
!
! All of these features can be enabled or disabled via menus.
!
! Depending on your environment, you may wish to disable those by default by
! uncommenting one or more of the resource settings below:
!*allowFontOps: false
!*allowTcapOps: false
!*allowTitleOps: false
!*allowWindowOps: false

View File

@ -0,0 +1,175 @@
! $XTermId: XTerm-col.ad,v 1.22 2009/08/15 15:56:29 tom Exp $
! -----------------------------------------------------------------------------
! this file is part of xterm
!
! Copyright 2002-2006,2009 by Thomas E. Dickey
!
! All Rights Reserved
!
! Permission is hereby granted, free of charge, to any person obtaining a
! copy of this software and associated documentation files (the
! "Software"), to deal in the Software without restriction, including
! without limitation the rights to use, copy, modify, merge, publish,
! distribute, sublicense, and/or sell copies of the Software, and to
! permit persons to whom the Software is furnished to do so, subject to
! the following conditions:
!
! The above copyright notice and this permission notice shall be included
! in all copies or substantial portions of the Software.
!
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
! IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
! CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
! TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
! SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
!
! Except as contained in this notice, the name(s) of the above copyright
! holders shall not be used in advertising or otherwise to promote the
! sale, use or other dealings in this Software without prior written
! authorization.
! -----------------------------------------------------------------------------
#include "XTerm"
*VT100*colorMode: on
*VT100*boldColors: on
*VT100*dynamicColors: on
! Set the default text foreground and background colors.
*VT100*foreground: gray90
*VT100*background: black
! - OR -
! Uncomment this for black text on a "white" background.
!*VT100*foreground: black
!*VT100*background: gray90
! - OR -
! leave the foreground/background colors alone (at the mercy of your desktop
! designer).
! Color the popup/pulldown menu border to match the text widget foreground.
!*SimpleMenu*borderColor: gray15
! Uncomment this to use color for underline attribute
!*VT100*colorULMode: on
*VT100*colorUL: yellow
!*VT100*italicULMode: on
! Uncomment this to disable underlining, e.g., if colorULMode is set.
!*VT100*underLine: off
! Uncomment this to use color for the bold attribute
!*VT100*colorBDMode: on
*VT100*colorBD: white
! Uncomment this to use the bold/underline colors in preference to other colors
!*VT100*colorAttrMode: on
! These are the 8 ANSI colors and their bright equivalents. Depending on
! other resource settings, xterm may use the bright colors when displaying
! bold text (see the boldColors resource).
*VT100*color0: black
*VT100*color1: red3
*VT100*color2: green3
*VT100*color3: yellow3
*VT100*color4: blue2
*VT100*color5: magenta3
*VT100*color6: cyan3
*VT100*color7: gray90
*VT100*color8: gray50
*VT100*color9: red
*VT100*color10: green
*VT100*color11: yellow
*VT100*color12: rgb:5c/5c/ff
*VT100*color13: magenta
*VT100*color14: cyan
*VT100*color15: white
! Disclaimer: there are no standard colors used in terminal emulation.
!
! The choice for color4 and color12 is a tradeoff between contrast, depending
! on whether they are used for text or backgrounds. Note that either color4 or
! color12 would be used for text, while only color4 would be used for a
! background. These are treated specially, since the luminosity of blue is
! only about half that of red/green, and is typically not accounted for in the
! RGB scheme.
!
! Blue text on a black background should be readable.
! Blue backgrounds should not be "too" bright.
!
! Originally color4/color12 were set to the names blue3/blue
!*VT100*color4: blue3
!*VT100*color12: blue
!
! They are from rgb.txt respectively:
! 0 0 205 blue3
! 0 0 255 blue
! However, blue3 is not readable on a black background.
!
! Another choice was from the Debian settings:
!*VT100*color4: DodgerBlue1
!*VT100*color12: SteelBlue1
!
! From rgb.txt:
! 30 144 255 DodgerBlue1
! 99 184 255 SteelBlue1
!
! Some users object to this choice because the background (color4) is brighter
! than they are accustomed. Others point out that the different weights for
! the red/green components make it appear to be not really blue. Finally, it
! provides poor contrast against color13 and color14.
!
! The current choice uses equal weights for red/green (effectively adding a
! gray to the result). It is brighter than the original choice, and provides
! more contrast between color12 and color13, color14 than SteelBlue1 did.
! Contrast of color4 against black is slightly improved over the original.
!
! Some refinement is certainly possible (you are welcome to try) -TD
#if PLANES > 8
! Color the popup menus and the menubar to match:
*SimpleMenu*background: AntiqueWhite
*SimpleMenu*foreground: gray15
! Color the menubar to match:
*Form.menubar.background: AntiqueWhite
*Form.menubar*background: AntiqueWhite
*Form.menubar.foreground: gray15
*Form.menubar*foreground: gray15
*Form.background: AntiqueWhite
*form.background: AntiqueWhite
*mainMenu*background: AntiqueWhite
*mainMenu*foreground: gray15
*vtMenu*background: AntiqueWhite
*vtMenu*foreground: gray15
*fontMenu*background: AntiqueWhite
*fontMenu*foreground: gray15
*tekMenu*background: AntiqueWhite
*tekMenu*foreground: gray15
! The following two sections take advantage of new features in version 7
! of the Athena widget library; see Xaw(7x).
! This section is commented out because Xaw has no way to dynamically size
! the gradient. The dimension parameter may need to be adjusted depending
! on the font used in the menu.
!*SimpleMenu*backgroundPixmap: gradient:vertical?dimension=350&start=gray90&end=gray60
!*SimpleMenu*foreground: gray15
*VT100.scrollbar.thumb: vlines2
*VT100.scrollbar.width: 14
*VT100.scrollbar.background: gray60
*VT100.scrollbar.foreground: rgb:a/5/5
*VT100.scrollbar.borderWidth: 0
*VT100.scrollbar.displayList:\
foreground gray90;\
lines 1,-1,-1,-1,-1,1;\
foreground gray60;\
lines -1,0,0,0,0,-1
#endif

View File

@ -0,0 +1,96 @@
Xditview.geometry: 600x800
*MenuButton*Font: -*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1
*SimpleMenu*Font: -*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1
*Text*Font: -*-courier-medium-r-normal--*-120-*-*-*-*-iso8859-1
*paned.allowResize: true
*paned.?.showGrip: false
*paned.?.skipAdjust: false
*paned.form.porthole.width: 600
*paned.form.porthole.height: 800
*paned.label.skipAdjust: true
*MenuButton.shapeStyle: oval
*Command.shapeStyle: oval
*fileMenuButton.label: File
*fileMenuButton.leftBitmap: menu12
*fileMenuButton.menuName: fileMenu
*fileMenu.openFile.label: Open File
*fileMenu.revisitFile.label: Reopen File
*fileMenu.setResolution.label: Set Screen Resolution
*fileMenu.quit.label: Quit
*prevButton.bitmap: ldblarrow
*prevButton.internalHeight: 0
*prevButton.Translations: #override <BtnUp>: PreviousPage() unset()
*pageNumber.translations: #override\
Ctrl<Key>J: SetPageNumber()\n\
Ctrl<Key>M: SetPageNumber()\n\
<Key>Linefeed: SetPageNumber()\n\
<Key>Return: SetPageNumber()\n\
Ctrl<Key>O: Noop()\n\
Meta<Key>I: Noop()\n\
Ctrl<Key>N: Noop()\n\
Ctrl<Key>P: Noop()\n\
Ctrl<Key>Z: Noop()\n\
Meta<Key>Z: Noop()\n\
<Key>space: NextPage()\n\
Ctrl<Key>v: NextPage()\n\
Meta<Key>v: PreviousPage()\n\
<Key>Next: NextPage()\n\
<Key>Prior: PreviousPage()\n\
<Key>Find: OpenFile()
*pageNumber*editType: edit
*nextButton.bitmap: rdblarrow
*nextButton.internalHeight: 0
*nextButton.translations: #override <BtnUp>: NextPage() unset()
*viewport.allowResize: false
*viewport.forceBars: true
*viewport.allowHoriz: true
*viewport.allowVert: true
*dvi.translations: #augment \
<Btn1Down>: XawPositionSimpleMenu(popupMenu) MenuPopup(popupMenu)\n\
Ctrl<Key>v: NextPage()\n\
Meta<Key>v: PreviousPage()\n\
<Key>space: NextPage()\n\
<Key>Next: NextPage()\n\
<Key>Prior: PreviousPage()\n\
<Key>Find: OpenFile()
*dvi.baseTranslations: #augment \
<Btn1Down>: XawPositionSimpleMenu(popupMenu) MenuPopup(popupMenu)\n\
<Key>space: NextPage()\n\
Ctrl<Key>v: NextPage()\n\
Meta<Key>v: PreviousPage()\n\
<Key>Next: NextPage()\n\
<Key>Prior: PreviousPage()\n\
<Key>Find: OpenFile()
*popupMenu.nextPage.label: Next Page
*popupMenu.previousPage.label: Previous Page
*popupMenu.setResolution.label: Set Screen Resolution
*popupMenu.openFile.label: Open File
*popupMenu.revisitFile.label: Reopen File
*popupMenu.quit.label: Quit
*promptShell.allowShellResize: true
*promptShell.promptDialog.value.translations: #override\
<Key>Return: Accept()
*promptShell.promptDialog.value.baseTranslations: #override\
<Key>Return: Accept()
*promptShell.promptDialog.accept.label: Accept
*promptShell.promptDialog.accept.translations: #override\
<BtnUp>: Accept() unset()
*promptShell.promptDialog.accept.baseTranslations: #override \
<BtnUp>: Accept() unset()
*promptShell.promptDialog.cancel.label: Cancel
*promptShell.promptDialog.cancel.translations: #override \
<BtnUp>: Cancel() unset()
*promptShell.promptDialog.cancel.baseTranslations: #override \
<BtnUp>: Cancel() unset()

View File

@ -0,0 +1,25 @@
#include "Xditview"
*Dvi.fontMap:\
R -*-charter-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
I -*-charter-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\
B -*-charter-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
F -*-charter-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\
BI -*-charter-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\
C -*-courier-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
CO -*-courier-medium-o-normal--*-*-*-*-*-*-iso8859-1\n\
CB -*-courier-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
CF -*-courier-bold-o-normal--*-*-*-*-*-*-iso8859-1\n\
H -*-helvetica-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
HO -*-helvetica-medium-o-normal--*-*-*-*-*-*-iso8859-1\n\
HB -*-helvetica-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
HF -*-helvetica-bold-o-normal--*-*-*-*-*-*-iso8859-1\n\
N -*-new century schoolbook-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
NI -*-new century schoolbook-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\
NB -*-new century schoolbook-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
NF -*-new century schoolbook-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\
A -*-charter-medium-r-normal--*-*-*-*-*-*-iso8859-1\n\
AI -*-charter-medium-i-normal--*-*-*-*-*-*-iso8859-1\n\
AB -*-charter-bold-r-normal--*-*-*-*-*-*-iso8859-1\n\
AF -*-charter-bold-i-normal--*-*-*-*-*-*-iso8859-1\n\
S -*-symbol-medium-r-normal--*-*-*-*-*-*-adobe-fontspecific\n\
S2 -*-symbol-medium-r-normal--*-*-*-*-*-*-adobe-fontspecific\n

View File

@ -0,0 +1,468 @@
! $XFree86: xc/programs/xedit/Xedit.ad,v 1.23 2002/09/22 07:09:05 paulo Exp $
*geometry: 590x440
*input: TRUE
*enableBackups: True
*backupNameSuffix: ~
*changedBitmap: xlogo11
*international: False
*hints:\
Use Control-S and Control-R to Search.\n\
Use Control-Shift-_ to Undo. Control-G to switch between Undo and Redo.\n\
Use Control-A to jump to the beginning of the line.\n\
Use Control-E to jump to the end of the line.\n\
Use Control-T to transpose characters.\n\
Use Control-K to cut to the end of the line. Control-Y to paste.\n\
Use Control-Q to escape control characters.\n\
Use Control-U[,<number>] to multiply actions. Control-G to cancel.\n\
Use Control-Z to scroll one line up. Meta-Z to scroll one line down.\n\
Use Meta-Q to format a paragraph.\n\
Use Right-Button to extend selections.\n\
Use Meta-I to insert a file.\n\
Use Control-W to delete a selection, and/or jump to the selection mark.\n\
Use Control-X,Control-F to find a file. Tab for filename completion.\n\
Use Control-X,Control-S to save.\n\
Use Control-X,Control-C to exit.\n\
Use Control-C to paste the selection at CUT_BUFFER0.\n\
Use Control Left-Button to popup the File Menu.\n\
Use Control Middle-Button to popup the Edit Menu.\n\
Use Control Right-Button to popup the Option Menu.\n\
Use Control-X,Tab to Indent.\n\
Use Control-X,0 to delete current splitted window.\n\
Use Control-X,1 to delete other splitted window.\n\
Use Control-X,2 to split the window vertically.\n\
Use Control-X,3 to split the window horizontally.\n\
Use Control-X,b to switch to another file.\n\
Use Control-X,d to list directory. Control-G to Cancel.\n\
Use Control-X,k to close file being edited.\n\
Use Control-X,o to switch to another splitted window.\n\
Use Control-X,u to undo. Control-G to switch between Undo and Redo.\n\
Use Insert to toggle Overwrite mode.\n\
Use Control-G to interrupt the lisp subprocess.\n\
Use Escape to enter or leave regex search and replace mode.\n\
Use Alt-. to search tags for the selected symbol or find the next match.
*formWindow*defaultDistance: 2
*formWindow.?.borderWidth: 0
*formWindow.min: 18
*formWindow.max: 18
*formWindow.showGrip: False
*positionWindow.fromHoriz: labelWindow
*positionWindow.horizDistance: 0
*positionWindow.left: chainRight
*positionWindow.right: chainRight
*positionWindow.width: 90
*positionWindow.label: error
*positionWindow.justify: left
*labelWindow*justify: center
*labelWindow*label: no file yet
*labelWindow.left: chainLeft
*labelWindow.right: chainRight
*quit.label: Quit
*quit.tip: Close xedit window
*save.label: Save
*save.tip: Save current file
*load.label: Load
*load.tip: Load a new file
*buttons*orientation: horizontal
*buttons*showGrip: False
*buttons.min: 18
*messageWindow.height: 50
*messageWindow.min: 18
*Paned*Text*allowResize: True
*messageWindow.autoFill: False
*messageWindow.scrollVertical: Never
*editWindow.autoFill: False
*editWindow.scrollVertical: Always
*editWindow.showGrip: True
xedit.textSource*enableUndo: True
*bc_label*label: Use Control-S and Control-R to Search.
*bc_label*showGrip: False
*bc_label.min: 18
*dirlabel.showGrip: False
*dirlabel.min: 18
*dirlabel.max: 18
*dirwindow.defaultColumns: 0
*dirwindow.verticalList: True
*viewport.forceBars: True
*viewport.allowVert: 1
*insertFile*text.width: 141
*insertFile*text.?.pieceSize: 256
*search*searchText.width: 157
*search*replaceText.width: 157
*search*case.horizDistance: 25
*search*Text.?.pieceSize: 256
*SimpleMenu.BackingStore: NotUseful
*SimpleMenu.menuLabel.vertSpace: 80
*SimpleMenu.SmeBSB.HorizontalMargins: 16
*SimpleMenu.justify: center
*SimpleMenu.menuLabel.height: 250
*SimpleMenu*cursor: left_ptr
*fileMenu.label: File Menu
*optionsMenu.label: Option Menu
*optionsMenu.ispell.label: ispell...
*editMenu.label: Edit Menu
*editMenu.wrapMenuItem.label: Wrapping
*editMenu.wrapMenuItem.leftBitmap: menu12
*wrapMenu.never.label: Never
*wrapMenu.line.label: Line
*wrapMenu.word.label: Word
*editMenu.autoFill.label: Auto Fill
*editMenu.justifyMenuItem.label: Justification
*editMenu.justifyMenuItem.leftBitmap: menu12
*justifyMenu.left.label: Left
*justifyMenu.right.label: Right
*justifyMenu.center.label: Center
*justifyMenu.full.label: Full
*editMenu.breakColumns.label: Break Columns...
*editMenu.scrollMenuItem.label: Scrollbars
*editMenu.scrollMenuItem.leftBitmap: menu12
*scrollMenu.vertical.label: Vertical
*scrollMenu.horizontal.label: Horizontal
*editMenu.modeMenuItem.leftBitmap: menu12
*editMenu.modeMenuItem.label: Edit Mode
*editModes.none.label: Plain/None
*TransientShell*Text.translations: #override \
c<Key>S: no-op(r)\n\
c<Key>R: no-op(r)\n\
m<Key>I: no-op(r)
*search.translations: #override \
<Create>:get-values(my, $w, width, $h, height)\
set-values(1, minWidth, $w, minHeight, $h, maxHeight, $h, allowShellResize, False)
*insertFile.title: Insert File
*insertFile.translations: #override \
<Create>:get-values(my, $w, width, $h, height)\
set-values(1, minWidth, $w, minHeight, $h, maxHeight, $h, allowShellResize, False)
*baseTranslations: #override \
<Ctrl>X,<Ctrl>C:quit()\n\
<Ctrl>X,<Ctrl>S:save-file()\n\
<Ctrl>X,<Ctrl>F:find-file()\n\
<Key>Escape: line-edit()
*messageWindow.Translations: #override \
<Ctrl>X,<Ctrl>C:quit()\n\
<Ctrl>X,<Ctrl>S:save-file()\n\
<Ctrl>X,<Ctrl>F:find-file()\n\
<Enter>: no-op()\n\
<Leave>: no-op()\n\
<Btn1Down>: set-keyboard-focus() select-start()
*searchText.Translations: #override \
<Enter>: no-op()\n\
<Leave>: no-op()\n\
<Btn1Down>: set-keyboard-focus() select-start()
*replaceText.Translations: #override \
<Enter>: no-op()\n\
<Leave>: no-op()\n\
<Btn1Down>: set-keyboard-focus() select-start()
*editWindow.translations: #override \
<Ctrl>X,<Ctrl>E:lisp-eval()\n\
<Ctrl>X,<Key>Tab:indent()\n\
<Ctrl>X,:<Key>0:delete-window(current)\n\
<Ctrl>X,:<Key>1:delete-window(other)\n\
<Ctrl>X,:<Key>2:split-window(vertical)\n\
<Ctrl>X,:<Key>3:split-window(horizontal)\n\
<Ctrl>X,!l @Num_Lock<Key>b:switch-source()\n\
<Ctrl>X,!l <Key>b:switch-source()\n\
<Ctrl>X,!@Num_Lock<Key>b:switch-source()\n\
<Ctrl>X,!<Key>b:switch-source()\n\
<Ctrl>X,!l @Num_Lock<Key>d:dir-window()\n\
<Ctrl>X,!l <Key>d:dir-window()\n\
<Ctrl>X,!@Num_Lock<Key>d:dir-window()\n\
<Ctrl>X,!<Key>d:dir-window()\n\
<Ctrl>X,!l @Num_Lock<Key>k:kill-file()\n\
<Ctrl>X,!l <Key>k:kill-file()\n\
<Ctrl>X,!@Num_Lock<Key>k:kill-file()\n\
<Ctrl>X,!<Key>k:kill-file()\n\
<Ctrl>X,!l @Num_Lock<Key>o:other-window()\n\
<Ctrl>X,!l <Key>o:other-window()\n\
<Ctrl>X,!@Num_Lock<Key>o:other-window()\n\
<Ctrl>X,!<Key>o:other-window()\n\
<Ctrl>X,!l @Num_Lock<Key>u:undo()\n\
<Ctrl>X,!l <Key>u:undo()\n\
<Ctrl>X,!@Num_Lock<Key>u:undo()\n\
<Ctrl>X,!<Key>u:undo()\n\
<Ctrl>G: xedit-keyboard-reset()\n\
<Ctrl>J: xedit-print-lisp-eval()\n\
:m<Key>.: tags()\n\
<Key>Tab: insert-char()\n\
!l @Num_Lock<Key>b:insert-char()\n\
!l <Key>b: insert-char()\n\
!@Num_Lock<Key>b:insert-char()\n\
!<Key>b: insert-char()\n\
!l @Num_Lock<Key>d:insert-char()\n\
!l <Key>d: insert-char()\n\
!@Num_Lock<Key>d:insert-char()\n\
!<Key>d: insert-char()\n\
!l <Key>k: insert-char()\n\
!l @Num_Lock<Key>k:insert-char()\n\
!@Num_Lock<Key>k:insert-char()\n\
!<Key>k: insert-char()\n\
!l @Num_Lock<Key>o:insert-char()\n\
!l <Key>o: insert-char()\n\
!@Num_Lock<Key>o:insert-char()\n\
!<Key>o: insert-char()\n\
!l @Num_Lock<Key>u:insert-char()\n\
!l <Key>u: insert-char()\n\
!@Num_Lock<Key>u:insert-char()\n\
!<Key>u: insert-char()\n\
~s <Key>Insert: toggle-overwrite()\n\
c l @Num_Lock<Btn1Down>:xedit-focus() popup-menu(fileMenu)\n\
c @Num_Lock<Btn1Down>:xedit-focus() popup-menu(fileMenu)\n\
c l<Btn1Down>: xedit-focus() popup-menu(fileMenu)\n\
c<Btn1Down>: xedit-focus() popup-menu(fileMenu)\n\
c l @Num_Lock<Btn2Down>:xedit-focus() popup-menu(editMenu)\n\
c @Num_Lock<Btn2Down>:xedit-focus() popup-menu(editMenu)\n\
c l<Btn2Down>: xedit-focus() popup-menu(editMenu)\n\
c<Btn2Down>: xedit-focus() popup-menu(editMenu)\n\
c l @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
c @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
c l<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
c<Btn3Down>: xedit-focus() popup-menu(optionsMenu)\n\
<Btn1Down>: xedit-focus() select-start()\n\
<Btn4Down>: scroll-one-line-down()\n\
<Btn5Down>: scroll-one-line-up()
*filename.?.pieceSize: 256
*filename.translations: #override \
c<Key>S: no-op(r)\n\
c<Key>R: no-op(r)\n\
m<Key>I: no-op(r)\n\
c<Key>G: cancel-find-file()\n\
<Key>Return: load-file()\n\
<Key>Tab: file-completion(h)\n\
<Key>Escape: cancel-find-file()\n\
<Enter>: no-op()\n\
<Leave>: no-op()\n\
<Btn1Down>: set-keyboard-focus() select-start()
*ispell.translations: #override \
<Message>WM_PROTOCOLS: ispell(end)
! Sample dictionary, word chars and text mode resources setup
!*ispell.dictionary: br
!*ispell.dictionaries: br american americanmed+ english
!*ispell*br.wordChars: <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-
*ispell.ispellCommand: /usr/bin/aspell -B -m
*ispell.lookCommand: /bin/egrep
!*ispell*text.skipLines: .#
*ispell.geometry: 0x0
*ispell.minWidth: 320
*ispell.minHeight: 245
*ispell*Label.borderWidth: 0
*ispell*Label.internalHeight: 4
*ispell*Label.justify: right
*ispell*Label.width: 112
*ispell*Label.left: chainLeft
*ispell*Label.right: chainLeft
*ispell*Label.top: chainTop
*ispell*Label.bottom: chainTop
*ispell*mispelled.label: Misspelled word:
*ispell*mispelled.top: chainTop
*ispell*mispelled.bottom: chainTop
*ispell*mispelled.internalWidth: 0
*ispell*repeated.label: Repeated words:
*ispell*repeated.internalWidth: 0
*ispell*replacement.label: Replace with:
*ispell*word.fromHoriz: mispelled
*ispell*word.justify: left
*ispell*word.borderWidth: 1
*ispell*word.internalWidth: 4
*ispell*word.internalHeight: 3
*ispell*word.width: 194
*ispell*word.left: chainLeft
*ispell*word.right: chainRight
*ispell*word.top: chainTop
*ispell*word.bottom: chainTop
*ispell*word.label:
*ispell*word.tip: Press here to select this text
*ispell*word.highlightThickness: 0
*ispell*text.fromHoriz: replacement
*ispell*replacement.fromVert: mispelled
*ispell*replacement.internalWidth: 0
*ispell*form.text.fromVert: word
*ispell*form.text.width: 194
*ispell*form.text.top: chainTop
*ispell*form.text.bottom: chainTop
*ispell*form.text.left: chainLeft
*ispell*form.text.right: chainRight
*ispell*form.text.leftMargin: 4
*ispell*form.text.?.pieceSize: 256
*ispell*suggestions.label: Suggestions:
*ispell*suggestions.fromVert: replacement
*ispell*suggestions.internalWidth: 0
*ispell*viewport.fromHoriz: suggestions
*ispell*viewport.fromVert: text
*ispell*viewport.width: 194
*ispell*viewport.height: 143
*ispell*viewport.top: chainTop
*ispell*viewport.bottom: chainBottom
*ispell*viewport.left: chainLeft
*ispell*viewport.right: chainRight
*ispell*viewport.forceBars: 1
*ispell*viewport.allowVert: 1
*ispell*list.defaultColumns: 1
*ispell*list.longest: 16384
*ispell*commands.vertDistance: 5
*ispell*commands.fromVert: suggestions
*ispell*commands.top: chainBottom
*ispell*commands.bottom: chainBottom
*ispell*commands.right: chainLeft
*ispell*commands.left: chainLeft
*ispell*check.label: Check
*ispell*check.width: 54
*ispell*check.tip: Ask ispell about the word in the text field
*ispell*look.label: Look
*ispell*look.fromHoriz: check
*ispell*look.horizDistance: 0
*ispell*look.width: 46
*ispell*look.tip: Runs the look command
*ispell*undo.fromVert: check
*ispell*undo.label: Undo
*ispell*undo.width: 102
*ispell*undo.tip: Undo last action
*ispell*replace.fromVert: undo
*ispell*replace.label: Replace
*ispell*replace.tip: Replace occurence of the word
*ispell*replaceAll.fromVert: undo
*ispell*replaceAll.fromHoriz: replace
*ispell*replaceAll.label: All
*ispell*replaceAll.tip: Replace all occurences of the word
*ispell*ignore.fromVert: replace
*ispell*ignore.label: Ignore
*ispell*ignore.tip: Ignore this word
*ispell*ignoreAll.fromVert: replaceAll
*ispell*ignoreAll.fromHoriz: ignore
*ispell*ignoreAll.label: All
*ispell*ignoreAll.tip: Ignore all ocurrences of the word
*ispell*add.fromVert: ignore
*ispell*add.label: Add
*ispell*add.width: 50
*ispell*add.tip: Add word to your private dictionary
*ispell*addUncap.fromVert: ignoreAll
*ispell*addUncap.fromHoriz: add
*ispell*addUncap.label: Uncap
*ispell*addUncap.horizDistance: 0
*ispell*addUncap.width: 50
*ispell*addUncap.tip: Add word uncapitalized, to your private dictionary
*ispell*suspend.fromVert: add
*ispell*suspend.label: Suspend
*ispell*suspend.width: 57
*ispell*suspend.tip: Suspend ispell execution
*ispell*cancel.fromHoriz: suspend
*ispell*cancel.fromVert: addUncap
*ispell*cancel.label: Close
*ispell*cancel.width: 43
*ispell*cancel.horizDistance: 0
*ispell*cancel.tip: Terminates ispell process
*ispell*replace.width: 65
*ispell*ignore.width: 65
*ispell*replaceAll.width: 35
*ispell*replaceAll.horizDistance: 0
*ispell*ignoreAll.width: 35
*ispell*ignoreAll.horizDistance: 0
*ispell*terse.fromVert: cancel
*ispell*terse.Label: Terse Mode
*ispell*terse.width: 104
*ispell*terse.borderWidth: 0
*ispell*terse.tip: Switch terse mode
*ispell*status.fromVert: viewport
*ispell*status.fromHoriz: suggestions
*ispell*status.top: chainBottom
*ispell*status.bottom: chainBottom
*ispell*status.left: chainLeft
*ispell*status.right: chainRight
*ispell*status.width: 194
*ispell*status.borderWidth: 1
*ispell*status.justify: left
*ispell*status.internalHeight: 2
*ispell*status.vertDistance: 2
*ispell*options.fromVert: status
*ispell*options.fromHoriz: commands
*ispell*options.bottom: chainBottom
*ispell*options.top: chainBottom
*ispell*options.left: chainLeft
*ispell*options.right: chainRight
*ispell*options.dict.width: 121
*ispell*options.horizDistance: 2
*ispell*options.vertDistance: 2
*ispell*options.defaultDistance: 2
*ispell*dict.highlightThickness: 0
*ispell*dict.justify: left
*ispell*dict.resizable: False
*ispell*dict.leftBitmap: menu12
*ispell*dict.label: Dictionary
*ispell*dict.tip: Change dictionary
*ispell*options.format.width: 65
*ispell*format.highlightThickness: 0
*ispell*format.justify: left
*ispell*format.resizable: False
*ispell*format.leftBitmap: menu12
*ispell*format.fromHoriz: dict
*ispell*format.horizDistance: 0
*ispell*format.tip: Select text type
*columns.minWidth: 140
*columns.minHeight: 76
*columns.maxWidth: 140
*columns.maxHeight: 76
*columns.form*defaultDistance: 4
*columns*left: chainLeft
*columns*right: chainLeft
*columns*top: chainTop
*columns*bottom: chainTop
*columns*Label.width: 96
*columns*Label.borderWidth: 0
*columns*Label.internalHeight: 4
*columns*Label.internalWidth: 2
*columns*Label.justify: right
*columns*Text.width: 30
*columns*Command.width: 58
*columns*leftLabel.label: Left Column:
*columns*left.fromHoriz: leftLabel
*columns*rightLabel.label: Right Column:
*columns*rightLabel.fromVert: leftLabel
*columns*right.fromHoriz: rightLabel
*columns*right.fromVert: left
*columns*ok.fromVert: rightLabel
*columns*cancel.fromHoriz: ok
*columns*cancel.fromVert: rightLabel
*columns*cancel.horizDistance: 12
*columns*Text.?.pieceSize: 8
*columns*Text.translations: #override \
c<Key>S: no-op(r)\n\
c<Key>R: no-op(r)\n\
m<Key>I: no-op(r)\n\
<Key>Return: set-columns(ok)\n\
<Key>Tab: change-field()\n\
c<Key>G: set-columns(cancel)\n\
<Key>Escape: set-columns(cancel)\n\
<Enter>: no-op()\n\
<Leave>: no-op()\n\
<Btn1Down>: set-keyboard-focus() select-start()
*columns.translations: #override \
<Message>WM_PROTOCOLS: set-columns(cancel)
! EOF.

View File

@ -0,0 +1,195 @@
! $XFree86: xc/programs/xedit/Xedit-color.ad,v 1.14 2002/11/10 23:21:56 paulo Exp $
#include "Xedit"
*background: gray70
*foreground: gray15
*borderColor: gray40
*Command.highlightThickness: 1
*Command.backgroundPixmap: gradient:vertical?dimension=18&start=gray90&end=gray65
*Command.foreground: gray20
*Command.displayList:\
foreground gray92;\
line 1,0,-2,0;\
foreground gray95;\
line 2,1,-3,1;\
foreground gray74;\
segments 3,-3,-4,-3, 2,-4,-3,-4, 1,-6,-2,-6;\
point -1,-1;\
foreground gray80;\
line 0,0,0,-1;\
point -1,0
*Command.translations: #override \
<Btn1Down>: set-values(1, foreground, gray20, background, rgb:d/5/5) set()\n\
Button1<Leave>: reset() set-values(1, foreground, gray20, background, gray70)\n\
<Btn1Up>: notify() unset()
*Toggle.foreground: gray30
*Toggle.background: gray82
*Toggle.borderColor: gray90
*Toggle.displayList:\
foreground gray75;\
segments 0,1,0,-2,-1,1,-1,-2;\
foreground gray80;\
segments 0,0,-1,0,0,-1,-1,-1;\
points 1,1,1,-2,-2,1, -2,-2
*bc_label.backgroundPixmap: gradient:vertical?dimension=18&start=gray90&end=gray65
*bc_label.displayList:\
foreground gray92;\
line 1,0,-2,0;\
foreground gray95;\
line 2,1,-3,1;\
foreground gray74;\
segments 3,-2,-4,-2, 2,-3,-3,-3, 1,-5,-2,-5
*bc_label.foreground: gray20
*formWindow.backgroundPixmap: gradient:vertical?dimension=18&start=gray90&end=gray65
*formWindow.displayList:\
foreground gray92;\
line 1,0,-2,0;\
foreground gray95;\
line 2,1,-3,1;\
foreground gray74;\
segments 3,-2,-4,-2, 2,-3,-3,-3, 1,-5,-2,-5
*formWindow*backgroundPixmap: ParentRelative
*formWindow*foreground: gray20
*formWindow*background: gray74
*formWindow.labelWindow.background: gray80
*formWindow.labelWindow.displayList:\
line-style onoffdash;\
foreground gray30;\
background gray96;\
draw-rect 3,2,15,14;\
foreground gray78;\
fill-rect 4,3,15,14
*dirlabel.foreground: gray20
*dirlabel.backgroundPixmap: gradient:vertical?dimension=18&start=gray90&end=gray65
*dirlabel.displayList:\
foreground gray92;\
line 1,0,-2,0;\
foreground gray95;\
line 2,1,-3,1;\
foreground gray74;\
segments 3,-2,-4,-2, 2,-3,-3,-3, 1,-5,-2,-5
*dirwindow.background: gray96
*internalBorderColor: gray40
*Text*Text.background: gray96
*Text.background: gray96
*Text.?.background: gray96
*Text*cursorColor: rgb:d/5/5
*Text.displayList:\
foreground white;\
line 1,-1,-2,-1;\
foreground gray88;\
line 1,0,-2,0
*Scrollbar.foreground: rgb:a/5/5
*Scrollbar.background: gray60
*Text.Scrollbar.background: gray60
*Scrollbar.backgroundPixmap: gradient:horizontal?dimension=14&start=gray70&end=gray85
*hScrollbar.backgroundPixmap: gradient:vertical?dimension=14&start=gray85&end=gray70
*hScrollbar.displayList:\
foreground gray85;\
segments 1,-1,-2,-1,1,0,-2,0
*vScrollbar.displayList:\
foreground gray85;\
segments 0,1,0,-2,-1,1,-1,-2
*Scrollbar.thumb: vlines2
*hScrollbar.thumb: hlines2
*SimpleMenu*borderWidth: 0
*SimpleMenu*backgroundPixmap: xlogo11?foreground=gray90&background=gray88
*SimpleMenu*background: gray90
*SimpleMenu*foreground: gray20
*SimpleMenu.VerticalMargins: 3
*SimpleMenu.HorizontalMargins: 3
*SimpleMenu.SimpleMenu.VerticalMargins: 3
*SimpleMenu.SimpleMenu.HorizontalMargins: 3
*SimpleMenu.menuLabel.foreground: rgb:d/5/5
*SimpleMenu*displayList:\
foreground gray70;\
lines +2,-2,-2,-2,-2,+2;\
foreground gray95;\
lines -2,+1,+1,+1,+1,-2;\
foreground gray30;\
lines +1,-1,-1,-1,-1,+1;\
foreground gray80;\
lines -1,+0,+0,+0,+0,-1
*TransientShell.backgroundPixmap: xlogo11?foreground=gray90&background=gray87
*TransientShell.Form.backgroundPixmap: ParentRelative
*TransientShell.Form.Label.backgroundPixmap: ParentRelative
*ispell*Scrollbar.borderColor: gray50
*ispell*Scrollbar.displayList:
*ispell*List.background: gray96
*ispell*word.background: gray96
*ispell*word.backgroundPixmap: XtUnspecifiedPixmap
*ispell*word.translations:\
<Enter>: highlight()\n\
<Leave>: reset()\n\
<Btn1Down>: set()\n\
<Btn1Up>: notify() unset()\n
*ispell*word.displayList:
*ispell.Form.Form.borderColor: gray80
*ispell.Form.Form.displayList: \
foreground gray90;\
lines +1,-1,-1,-1,-1,+1;\
foreground gray30;\
lines -1,+0,+0,+0,+0,-1;\
foreground gray60;\
lines +2,-2,-2,-2,-2,+2
*ispell*status.backgroundPixmap: XtUnspecifiedPixmap
*ispell*status.background: gray96
*ispell*terse.justify: right
*ispell*terse.internalWidth: 10
*ispell*terse.background: gray75
*ispell*terse.foreground: gray20
*ispell*terse.highlightThickness: 0
*ispell*terse.displayList:\
line-style solid;\
foreground gray70;\
fill-arc 6,4,14,12;\
foreground gray90;\
draw-arc 6,4,14,12,45,180;\
draw-lines +0,-1,-1,-1,-1,+0;\
foreground gray50;\
draw-arc 6,4,14,12,225,180;\
draw-lines -2,+0,+0,+0,+0,-2;\
foreground gray45;\
dashes 2,1;\
line-style onoffdash;\
draw-rect +1,+1,-2,-2
*ispell*options.MenuButton.borderColor: gray70
*ispell*options.MenuButton.background: gray78
*ispell*options.MenuButton.backgroundPixmap: gradient:vertical?dimension=18&start=gray90&end=gray65
*ispell*options.MenuButton.displayList:\
foreground gray60;\
lines +2,-2,-2,-2,-2,+2;\
foreground gray95;\
lines -3,+1,+1,+1,+1,-3;\
foreground gray78;\
points -2,+1,+1,-2
*tip.foreground: rgb:48/48/00
*tip.backgroundPixmap: None
*tip.borderWidth: 0
*tip.rightMargin: 7
*tip.bottomMargin: 3
*tip.displayList:\
foreground rgb:f/e/8;\
fill-rect 1,1,-2,-2;\
foreground rgb:d/c/6;\
draw-segments 0,1,0,-3,1,-2,-3,-2,-2,-3,-2,1,-3,0,1,0;\
foreground rgb:a/8/4;\
draw-lines 2,-1, -2,-1, -1,-2, -1,2
*grip.foreground: gray10
*grip.displayList:\
foreground gray80;\
points 0,0,0,-1,-1,-1,-1,0

View File

@ -0,0 +1,34 @@
*internalBorderWidth: 0
*showGrip: false
*grid.borderWidth: 0
*quit.Label: Quit
*prev.Label: Prev
*next.Label: Next
*prev16.Label: -16
*next16.Label: +16
*select.Label: Select a character
*metrics.Label:
*select.Justify: center
*metrics.Justify: center
*range.Justify: left
*start.Justify: left
*quit.Translations: #override \
<Btn1Down>,<Btn1Up>: Quit() unset()
*next16.Translations: #override \
<Btn1Down>,<Btn1Up>: Next16() unset()
*next.Translations: #override \
<Btn1Down>,<Btn1Up>: Next() unset()
*prev.Translations: #override \
<Btn1Down>,<Btn1Up>: Prev() unset()
*prev16.Translations: #override \
<Btn1Down>,<Btn1Up>: Prev16() unset()
*Translations: #override \n\
<Key>q: Quit()\n\
Ctrl <Key>n: Next()\n\
Ctrl <Key>p: Prev()

View File

@ -0,0 +1,2 @@
*planemask*ShapeStyle: rectangle
*dashlist*ShapeStyle: rectangle

View File

@ -0,0 +1,55 @@
*Foreground: rgb:2/3/1
*Background: rgb:c/d/b
*BorderWidth: 0
*Label.justify: left
*Text.Background: rgb:d/e/c
*Text.displayList: foreground rgb:f/f/d;segments 1,-1,-2,-1, -1,-2,-1,1;foreground rgb:7/7/5;segments -2,0,1,0, 0,1,0,-2
*Form.displayList: foreground rgb:7/7/5;segments 1,-1,-2,-1, -1,-2,-1,1;foreground rgb:f/f/d;segments -2,0,1,0, 0,1,0,-2
*Label.width: 130
*Label.left: chainLeft
*Label.right: chainLeft
*topform.Form.displayList: foreground rgb:e/e/e;segments 1,-1,-2,-1, -1,-2,-1,1;foreground rgb:4/4/4;segments -2,0,1,0, 0,1,0,-2
*topform.Form.Form.displayList:
*topform.Form.linestyle.Toggle.width: 123
*topform.Form.capstyle.Toggle.width: 185
*topform.Form.joinstyle.Toggle.width: 123
*topform.Form.fillstyle.Toggle.width: 185
*topform.Form.fillrule.Toggle.width: 185
*topform.Form.arcmode.Toggle.width: 185
*topform.Form.linewidth.Text.width: 372
*topform.Form.font.Text.width: 372
*topform.Form.foreground.Text.width: 110
*topform.Form.background.Text.width: 110
*topform.Form.testpercent.100.Background: rgb:b/c/a
*topform.Form.testpercent.100.displayList: foreground rgb:e/e/c;segments 1,-1,-2,-1, -1,-2,-1,1;foreground rgb:5/5/3;segments -2,0,1,0, 0,1,0,-2
*topform.Form.testpercent.100.justify:right
*topform.Form.testpercent.100.width: 30
*topform.Form.testpercent.100.left: chainLeft
*topform.Form.testpercent.100.right: chainRight
*topform.Form.testpercent.100.borderWidth: 0
*topform.Form.testpercent.Scrollbar.width: 332
*topform.Form.testpercent.Scrollbar.displayList: foreground rgb:e/e/c;segments 1,-1,-2,-1, -1,-2,-1,1;foreground rgb:5/5/3;segments -2,0,1,0, 0,1,0,-2
*topform.Form.testpercent.Scrollbar.Background: rgb:b/c/a
*Toggle.borderWidth: 1
*Toggle.borderColor: rgb:6/8/6
*Toggle.justify: left
*Toggle.foreground: rgb:2/4/2
*Toggle.background: rgb:8/a/8
*Toggle.highlightThickness: 0
*Toggle.displayList: foreground rgb:4/6/4;draw-rect 1,1,-2,-2;foreground rgb:8/a/8;draw-rect 0,0,-1,-1
*Command.width: 102
*Command.borderWidth: 1
*Command.borderColor: rgb:a/8/6
*Command.justify: left
*Command.foreground: rgb:6/6/2
*Command.background: rgb:c/c/8
*Command.highlightThickness: 2
*Command.displayList: line-style solid;foreground rgb:8/8/4;draw-rect 1,1,-2,-2;dashes 2,2;line-style onoffdash;foreground rgb:c/c/8;draw-rect 0,0,-1,-1
*test.BorderWidth: 1

View File

@ -0,0 +1,25 @@
*Font: fixed
*pane2*orientation: horizontal
*pane2*showGrip: False
*allowShellResize: on
*Scale.baseTranslations:#augment\
<EnterWindow>: set-colors()\n\
<LeaveWindow>: unset-colors()\n\
<Btn1Down>:popup-pixel()\n\
Button1<Enter>:popup-pixel()\n\
<Btn1Motion>:update-pixel()\n\
<Btn1Up>:popdown-pixel()\n\
<Leave>:popdown-pixel()\n\
<Key>n:new()\n\
<Key>q:close()\n\
Ctrl<Key>c:close()\n\
<Key>space:replace()
*close.accelerators:#augment\
<Key>q:set()notify()unset()\n\
Ctrl<Key>c:set()notify()unset()
*replace.accelerators:#augment\
<Key>space:set()notify()unset()\n\
<Btn2Up>:set()notify()unset()\n\
<Btn3Up>:set()notify()unset()
*helpLabel.font: 8x13bold
*helpLabel.label: xmag

View File

@ -0,0 +1,195 @@
*input: True
*topBox: True
*topBox.Title: Xman
*topBox.IconName: Xman
*manualBrowser.Title: Manual Page
*manualBrowser.IconName: Manual Page
*manualBrowser.geometry: 780x600
*manualFontBold: -*-courier-bold-r-*-*-*-120-*-*-*-*-*-*
*manualFontItalic: -*-courier-medium-o-*-*-*-120-*-*-*-*-*-*
*manualFontNormal: -*-courier-medium-r-*-*-*-120-*-*-*-*-*-*
*manualFontSymbol: -*-symbol-*-*-*-*-*-120-*-*-*-*-*-*
!*directoryFontNormal: -*-courier-medium-r-*-*-*-120-*-*-*-*-*-*
*directoryFontNormal: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
!*directoryFontNormal: -*-lucida-bold-r-*-*-*-120-*-*-*-*-*-*
!*SimpleMenu.BackingStore: Always
!*SimpleMenu.SaveUnder: Off
*horizPane.orientation: horizontal
*horizPane*showGrip: False
*horizPane.min: 22
*horizPane.max: 22
*topLabel.BorderWidth: 0
*search*label.BorderWidth: 0
*search*dialog*value: Xman
!*optionMenu.Label: Options
!*sectionMenu.Label: Sections
*horizPane*options.Label: Options
*horizPane*sections.Label: Sections
*helpButton.Label: Help
*helpButton.Tip: Open help browser
*quitButton.Label: Quit
*quitButton.Tip: Quit Xman
*manpageButton.Label: Manual Page
*manpageButton.Tip: Open new manpage browser
*topLabel.Label: Manual Browser
!*SimpleMenu*menuLabel*vertSpace: 100
!*SimpleMenu*menuLabel*leftMargin: 20
*displayDirectory.Label: Display Directory
*displayManualPage.Label: Display Manual Page
*help.Label: Help
*help.geometry: 780x600
*search.Label: Search
*removeThisManpage.Label: Remove This Manpage
*help*removeThisManpage.Label: Remove Help
*openNewManpage.Label: Open New Manpage
*showVersion.Label: Show Version
*quit.Label: Quit
*pleaseStandBy*Label: Formatting Manual Page, Please Stand By...
*search*dialog.Label: Type string to search for:
*search*apropos.Label: Apropos
*search*manualPage.Label: Manual Page
*search*cancel.Label: Cancel
*likeToSave*dialog.Label: Would you like to save this formatted Manual Page?
*likeToSave*yes.Label: Yes
*likeToSave*no.Label: No
*translations: #override \
Ctrl<Key>q: Quit() \n\
Ctrl<Key>c: Quit() \n\
Ctrl<Key>n: CreateNewManpage() \n\
Ctrl<Key>h: PopupHelp() \n\
Ctrl<Key>s: PopupSearch()
*help*Paned.manualPage.translations:#override \
Ctrl<Btn1Down>: \
XawPositionSimpleMenu(optionMenu) \
MenuPopup(optionMenu) \n\
Ctrl<Key>q: Quit() \n\
Ctrl<Key>c: Quit() \n\
Ctrl<Key>r: RemoveThisManpage() \n\
Ctrl<Key>n: CreateNewManpage() \n\
Ctrl<Key>h: PopupHelp() \n\
Ctrl<Key>d: GotoPage(Directory) \n\
Ctrl<Key>m: GotoPage(ManualPage) \n\
Ctrl<Key>v: ShowVersion() \n\
<Key>Prior: Page(Back) \n\
<Key>Next : Page(Forward) \n\
Shift<Btn4Down>,<Btn4Up>: Page(Line,-1) \n\
Shift<Btn5Down>,<Btn5Up>: Page(Line,1) \n\
Ctrl<Btn4Down>,<Btn4Up>: Page(Back) \n\
Ctrl<Btn5Down>,<Btn5Up>: Page(Forward) \n\
~Shift ~Ctrl<Btn4Down>,<Btn4Up>: Page(Line,-5) \n\
~Shift ~Ctrl<Btn5Down>,<Btn5Up>: Page(Line,5)
*manualBrowser*manualPage.translations: #override \
Ctrl<Btn1Down>: \
XawPositionSimpleMenu(optionMenu) \
MenuPopup(optionMenu) \n\
Ctrl<Btn2Down>: \
XawPositionSimpleMenu(sectionMenu) \
MenuPopup(sectionMenu) \n\
Shift<Btn2Down>,<Btn2Up>:GotoPage(Directory)\n\
Ctrl<Key>q: Quit() \n\
Ctrl<Key>c: Quit() \n\
Ctrl<Key>r: RemoveThisManpage() \n\
Ctrl<Key>n: CreateNewManpage() \n\
Ctrl<Key>h: PopupHelp() \n\
Ctrl<Key>d: GotoPage(Directory) \n\
Ctrl<Key>m: GotoPage(ManualPage) \n\
Ctrl<Key>v: ShowVersion() \n\
<Key>Prior: Page(Back) \n\
<Key>Next : Page(Forward) \n\
Shift<Btn4Down>,<Btn4Up>: Page(Line,-1) \n\
Shift<Btn5Down>,<Btn5Up>: Page(Line,1) \n\
Ctrl<Btn4Down>,<Btn4Up>: Page(Back) \n\
Ctrl<Btn5Down>,<Btn5Up>: Page(Forward) \n\
~Shift ~Ctrl<Btn4Down>,<Btn4Up>: Page(Line,-5) \n\
~Shift ~Ctrl<Btn5Down>,<Btn5Up>: Page(Line,5) \n\
Ctrl<Key>s: PopupSearch()
!*manualBrowser*directory.background: Grey80
*manualBrowser*directory.translations: #override \
Ctrl<Btn1Down>: \
XawPositionSimpleMenu(optionMenu) \
MenuPopup(optionMenu) \n\
Ctrl<Btn2Down>: \
XawPositionSimpleMenu(sectionMenu) \
MenuPopup(sectionMenu) \n\
Shift<Btn2Down>,<Btn2Up>: GotoPage(Manpage) \n\
Ctrl<Key>q: Quit() \n\
Ctrl<Key>c: Quit() \n\
Ctrl<Key>r: RemoveThisManpage() \n\
Ctrl<Key>n: CreateNewManpage() \n\
Ctrl<Key>h: PopupHelp() \n\
Ctrl<Key>d: GotoPage(Directory) \n\
Ctrl<Key>m: GotoPage(ManualPage) \n\
Ctrl<Key>v: ShowVersion() \n\
Ctrl<Key>s: PopupSearch()
*manualBrowser*search*manualPage.translations: #augment \
<Btn1Down>,<Btn1Up>: Search(Manpage) reset()
*manualBrowser*search*apropos.translations: #augment \
<Btn1Down>,<Btn1Up>: Search(Apropos) reset()
*manualBrowser*search*cancel*translations: #augment \
<Btn1Down>,<Btn1Up>: Search(Cancel) reset()
*manualBrowser*search*value*translations: #override \
<Key>Return: Search(Manpage) \n\
Ctrl<Key>m: Search(Manpage)
*topBox*search*manualPage.translations: #augment \
<Btn1Down>,<Btn1Up>: Search(Manpage, Open) reset()
*topBox*search*apropos.translations: #augment \
<Btn1Down>,<Btn1Up>: Search(Apropos, Open) reset()
*topBox*search*cancel*translations: #augment \
<Btn1Down>,<Btn1Up>: Search(Cancel, Open) reset()
*topBox*search*value*translations: #override \
<Key>Return: Search(Manpage, Open) \n\
Ctrl<Key>m: Search(Manpage, Open)
*manualBrowser*likeToSave*yes.translations: #override \
<Btn1Down>,<Btn1Up>: SaveFormattedPage(Save) reset() \n\
<Key>y: SaveFormattedPage(Save) \n\
<Key>n: SaveFormattedPage(Cancel)
*manualBrowser*likeToSave*no.translations: #override \
<Btn1Down>,<Btn1Up>: SaveFormattedPage(Cancel) reset() \n\
<Key>y: SaveFormattedPage(Save) \n\
<Key>n: SaveFormattedPage(Cancel)
*manualBrowser*likeToSave*translations: #override \
<Key>y: SaveFormattedPage(Save) \n\
<Key>n: SaveFormattedPage(Cancel)
*helpButton.translations: #augment \
<Btn1Down>,<Btn1Up>: PopupHelp() reset()
*quitButton.translations: #augment \
<Btn1Down>,<Btn1Up>: Quit() reset()
*manpageButton.translations: #augment \
<Btn1Down>,<Btn1Up>: CreateNewManpage() reset()
! EOF.

View File

@ -0,0 +1,6 @@
! $XConsortium: Xmessage.ad,v 1.3 94/07/26 20:23:17 gildea Exp $
*baseTranslations: #override :<Key>Return: default-exit()
*message.scrollVertical: Always
*message.scrollHorizontal: Never
*Command.shapeStyle: oval
*Command.highlightThickness: 1

View File

@ -0,0 +1,44 @@
! $XFree86$
#include "Xmessage"
*background: gray85
*foreground: gray15
*Scrollbar.thumb: vlines2
*Scrollbar.width: 14
*Scrollbar.foreground: rgb:a/5/5
*Scrollbar.borderWidth: 0
*Scrollbar.displayList:\
foreground gray90;\
lines 1,-1,-1,-1,-1,1;\
foreground gray60;\
lines -1,0,0,0,0,-1
*Text.?.cursorColor: rgb:d/5/5
*Text.borderColor: gray80
*Text*background: gray96
*Text*Scrollbar.background: gray80
*Text.displayList:\
foreground gray90;\
lines 1,-1,-1,-1,-1,1;\
foreground gray60;\
lines -1,0,0,0,0,-1
*Command.highlightThickness: 2
*Command.internalWidth: 5
*Command.internalHeight: 3
*Command.borderColor: gray40
*Command.shapeStyle: Rectangle
*Command.background: gray80
*Command.displayList:\
foreground gray60;\
lines 1,-1,-1,-1,-1,1;\
foreground gray90;\
lines -1,0,0,0,0,-1
*Form.displayList:\
foreground gray60;\
lines 1,-1,-1,-1,-1,1;\
foreground gray90;\
lines -1,0,0,0,0,-1

View File

@ -0,0 +1,183 @@
! $XFree86: xc/programs/xvidtune/Xvidtune.ad,v 3.10 1995/07/19 12:46:12 dawes Exp $
!
*adInstalled: true
*borderWidth: 0
*Scrollbar.borderWidth: 1
*Scrollbar.width: 250
*Command.borderWidth: 1
*HSyncStart-form.fromVert: HDisplay-form
*HSyncEnd-form.fromVert: HSyncStart-form
*HTotal-form.fromVert: HSyncEnd-form
*VSyncStart-form.fromVert: VDisplay-form
*VSyncEnd-form.fromVert: VSyncStart-form
*VTotal-form.fromVert: VSyncEnd-form
*Flags-form.fromVert: HTotal-form
*Buttons-form.fromVert: Flags-form
*Buttons2-form.fromVert: Buttons-form
*Left-button.fromVert: HTotal-scrollbar
*Right-button.fromVert: HTotal-scrollbar
*Narrower-button.fromVert: HTotal-scrollbar
*Wider-button.fromVert: HTotal-scrollbar
*Up-button.fromVert: VTotal-scrollbar
*Down-button.fromVert: VTotal-scrollbar
*Shorter-button.fromVert: VTotal-scrollbar
*Taller-button.fromVert: VTotal-scrollbar
*HDisplay-text.fromHoriz: HDisplay-label
*HSyncStart-text.fromHoriz: HSyncStart-label
*HSyncStart-scrollbar.fromVert: HSyncStart-label
*HSyncStart-scrollbar.orientation: horizontal
*HSyncEnd-text.fromHoriz: HSyncEnd-label
*HSyncEnd-scrollbar.fromVert: HSyncEnd-label
*HSyncEnd-scrollbar.orientation: horizontal
*Right-button.fromHoriz: Left-button
*Wider-button.fromHoriz: Right-button
*Narrower-button.fromHoriz: Wider-button
*HTotal-text.fromHoriz: HTotal-label
*HTotal-scrollbar.fromVert: HTotal-label
*HTotal-scrollbar.orientation: horizontal
*VDisplay-form.fromHoriz: HSyncStart-form
*VTotal-form.fromHoriz: HSyncStart-form
*VSyncStart-form.fromHoriz: HSyncStart-form
*VSyncEnd-form.fromHoriz: HSyncStart-form
*VDisplay-text.fromHoriz: VDisplay-label
*VSyncStart-text.fromHoriz: VSyncStart-label
*VSyncStart-scrollbar.fromVert: VSyncStart-label
*VSyncStart-scrollbar.orientation: horizontal
*VSyncStart-text.type: XawAsciiString
*VSyncEnd-text.fromHoriz: VSyncEnd-label
*VSyncEnd-scrollbar.fromVert: VSyncEnd-label
*VSyncEnd-scrollbar.orientation: horizontal
*VTotal-text.fromHoriz: VTotal-label
*VTotal-scrollbar.fromVert: VTotal-label
*VTotal-scrollbar.orientation: horizontal
*PixelClock-form.fromHoriz: HTotal-form
*PixelClock-form.fromVert: VTotal-form
*HSyncRate-form.fromHoriz: HTotal-form
*HSyncRate-form.fromVert: PixelClock-form
*VSyncRate-form.fromHoriz: HTotal-form
*VSyncRate-form.fromVert: HSyncRate-form
*PixelClock-text.fromHoriz: PixelClock-label
*HSyncRate-text.fromHoriz: HSyncRate-label
*VSyncRate-text.fromHoriz: VSyncRate-label
*PixelClock-label.label: Pixel Clock (MHz):
*HSyncRate-label.label: Horizontal Sync (kHz):
*VSyncRate-label.label: Vertical Sync (Hz):
*Flags-text.fromHoriz: Flags-label
*HDisplay-label.label: HDisplay:
*HSyncStart-label.label: HSyncStart:
*HSyncEnd-label.label: HSyncEnd:
*HTotal-label.label: HTotal:
*VDisplay-label.label: VDisplay:
*VSyncStart-label.label: VSyncStart:
*VSyncEnd-label.label: VSyncEnd:
*VTotal-label.label: VTotal:
*Down-button.fromHoriz: Up-button
*Shorter-button.fromHoriz: Down-button
*Taller-button.fromHoriz: Shorter-button
*Flags-label.label: Flags (hex):
*Flags-text.borderWidth: 1
*Flags-text*editType: edit
!Removed Edit capability -- Jon
*Flags-text*sensitive: False
*Apply-button.fromHoriz: Quit-button
*AutoApply-toggle.fromHoriz: Apply-button
*AutoApply-toggle.borderWidth: 1
*Test-button.fromHoriz: AutoApply-toggle
*Restore-button.fromHoriz: Test-button
*Show-button.fromHoriz: Fetch-button
*Next-button.fromHoriz: Show-button
*Prev-button.fromHoriz: Next-button
*Quit-button.label: Quit
*Fetch-button.label: Fetch
*Show-button.label: Show
*Restore-button.label: Restore
*Test-button.label: Test
*Apply-button.label: Apply
*AutoApply-toggle.label: Auto
*Next-button.label: Next
*Prev-button.label: Prev
*Left-button.label: Left
*Right-button.label: Right
*Wider-button.label: Wider
*Narrower-button.label: Narrower
*Up-button.label: Up
*Down-button.label: Down
*Shorter-button.label: Shorter
*Taller-button.label: Taller
*Abort.label: Abort Test Now
*WarnOK.label: OK
*WarnCancel.label: Cancel
*NoTuneOK.label: OK
*Left.label: Left
*Right.label: Right
*Wider.label: Wider
*Narrower.label: Narrower
*Up.label: Up
*Down.label: Down
*Shorter.label: Shorter
*Higher.label: Higher
*AckError.label: Acknowledged
*ErrorMessage.label: Sorry: You have requested a mode-line\n\
That is not possible, or not supported by your\n\
hardware configuration\n
*testingMessage.label: Mode test current in progress\n\n Please wait
*WarnLabel.label: WARNING WARNING WARNING WARNING WARNING\
WARNING\n\n\
THE INCORRECT USE OF THIS PROGRAM CAN DO PERMANENT DAMAGE TO YOUR MONITOR\n\
AND/OR VIDEO CARD. IF YOU ARE NOT SURE WHAT YOU ARE DOING, HIT CANCEL\n\
NOW. OTHERWISE, HIT OK TO CONTINUE\n\
\n\
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\n\
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n\
IN NO EVENT SHALL Kaleb S. KEITHLEY (or his employer) OR\n\
The X.Org Foundation \
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n\
DEALINGS IN THE SOFTWARE.\n\n
*NoTuneLabel.label: Video modes are not tunable on this chip.\n
*S3-form.fromVert: Buttons2-form
*EarlySc-toggle.fromHoriz: InvertVclk-toggle
*Blank1-label.fromHoriz: EarlySc-toggle
!*Blank1-text.fromHoriz: Blank1-label
!*Blank2-label.fromHoriz: Blank1-text
!*Blank2-text.fromHoriz: Blank2-label
*InvertVclk-toggle.borderWidth: 1
*EarlySc-toggle.borderWidth: 1
*Blank1-text.borderWidth: 1
*Blank2-text.borderWidth: 1
*Blank1-text*editType: edit
*Blank2-text*editType: edit
*Blank1-text*width: 20
*Blank2-text*width: 20
*InvertVclk-toggle.label: InvertVCLK
*EarlySc-toggle.label:EarlySC
*Blank1-label.label: Blank Delay 1
*Blank2-label.label: Blank Delay 2
*Blank1Dec-button.fromHoriz: Blank1-label
*Blank1-text.fromHoriz: Blank1Dec-button
*Blank1Inc-button.fromHoriz: Blank1-text
*Blank2-label.fromHoriz: Blank1Inc-button
*Blank2Dec-button.fromHoriz: Blank2-label
*Blank2-text.fromHoriz: Blank2Dec-button
*Blank2Inc-button.fromHoriz: Blank2-text
*Blank1Inc-button.label: +
*Blank1Dec-button.label: -
*Blank2Inc-button.label: +
*Blank2Dec-button.label: -
*translations: #override <Key>r: xvidtune-restore()\n\
<Key>p: xvidtune-show()\n\
<Key>j: xvidtune-moveleft()\n\
<Key>k: xvidtune-moveright()\n\
<Key>m: xvidtune-movedown()\n\
<Key>i: xvidtune-moveup()\n\
<Key>a: xvidtune-narrower()\n\
<Key>s: xvidtune-wider()\n\
<Key>x: xvidtune-shorter()\n\
<Key>z: xvidtune-taller()\n\
<Key>q: xvidtune-quit()