1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

templates/types.tmpl: make sure to clean up new .dt's on a make clean

This commit is contained in:
Jon Trulson 2018-07-20 14:15:28 -06:00
parent d557db4eb2
commit ba611cbde6
24 changed files with 68 additions and 7701 deletions

View file

@ -1,137 +0,0 @@
# ##########################################################################
#
# IconBrowse.dt
#
# DataType definitions for instance-based icons.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: IconBrowse.dt.src /main/4 1996/04/23 20:23:49 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##########################################################################
#
# The two data types in this file (BM and PM) enable "instance-based" icons
# for bitmap and pixmap files. That means that each icon file (.bm and .pm
# extensions) refer to themselves as their own icons. This is useful for
# browsing a folder of icons, because you don't have to open each file to
# see what it looks like -- the icon displays itself.
#
# To enable instance-based icons, copy this file into the .dt/types/
# subfolder in your home folder, then reload the action and data type
# database. (You can reload the action and data type database by logging out
# and back in, or by executing the ReloadApps action in the DtTools
# folder of the Application Manager)
#
# NOTE: Because of the additional work required to read and display custom
# icons, File Manager may run slower with these data types enabled.
#
# To return to the default icons for these data types, remove this file from
# your personal .dt/types/ subfolder, then reload the action and data type
# database.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES BM
{
ACTIONS Open,Print
ICON Dtbitmp
NAME_TEMPLATE %s.bm
MIME_TYPE text/plain
SUNV3_TYPE xbm-file
INSTANCE_ICON %dir%/%name%
DESCRIPTION This is a file containing data in the X11 bitmap \
format. Its data type is named BM. BM files have \
names ending with '.bm' or '.xbm'.
TYPE_LABEL BM
}
DATA_CRITERIA BM1
{
DATA_ATTRIBUTES_NAME BM
MODE f
NAME_PATTERN *.bm
}
DATA_CRITERIA BM2
{
DATA_ATTRIBUTES_NAME BM
MODE f
NAME_PATTERN *.xbm
}
ACTION Open
{
LABEL Open
ARG_TYPE BM
TYPE MAP
MAP_ACTION Dticon
}
ACTION Print
{
LABEL Print
ARG_TYPE BM
TYPE MAP
MAP_ACTION NoPrint
}
# ##################################################################
DATA_ATTRIBUTES PM
{
ACTIONS Open,Print
ICON Dtpixmp
NAME_TEMPLATE %s.pm
MIME_TYPE text/plain
SUNV3_TYPE xpm-file
INSTANCE_ICON %dir%/%name%
DESCRIPTION This is a pixmap file containing a multicolor image. \
Its data type is named PM. PM files have names \
ending with '.pm' or '.xpm', or have the characters \
"! XPM2" in their contents.
TYPE_LABEL PM
}
DATA_CRITERIA PM1
{
DATA_ATTRIBUTES_NAME PM
MODE f
NAME_PATTERN *.pm
}
DATA_CRITERIA PM2
{
DATA_ATTRIBUTES_NAME PM
MODE f
NAME_PATTERN *.xpm
}
ACTION Open
{
LABEL Open
ARG_TYPE PM
TYPE MAP
MAP_ACTION Dticon
}
ACTION Print
{
LABEL Print
ARG_TYPE PM
TYPE MAP
MAP_ACTION NoPrint
}
# ######################## EOF ############################################

View file

@ -1,53 +0,0 @@
# ##########################################################################
#
# autoStart.dt
#
# Action definitions for auto-starting the DT clients
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: autoStart.dt.src /main/4 1996/04/23 20:23:54 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
ACTION InvokeFILEMGR
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtfile -noview
DESCRIPTION The InvokeFILEMGR action starts the File \
Manager (dtfile client).
}
ACTION InvokeDTPAD
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtpad -server
DESCRIPTION The InvokeDTPAD action starts the desktop \
Text Editor (dtpad client).
}
ACTION InvokeMAILER
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtmail
DESCRIPTION The InvokeMAILER action starts the desktop \
Mailer (dtmail client).
}
# ######################## EOF ############################################

View file

@ -1,941 +0,0 @@
# ##########################################################################
#
# datatypes.dt
#
# Action and DataType definitions for the Common Desktop Environment
# (CDE) DT components.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $TOG: datatypes.dt.src /main/6 1997/05/28 11:43:48 mgreess $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES BM
{
ACTIONS Open,Print
ICON Dtbitmp
NAME_TEMPLATE %s.bm
MIME_TYPE text/plain
SUNV3_TYPE xbm-file
DESCRIPTION This is a file containing data in the X11 bitmap \
format. Its data type is named BM. BM files have \
names ending with '.bm' or '.xbm'.
TYPE_LABEL BM
}
DATA_CRITERIA BM1
{
DATA_ATTRIBUTES_NAME BM
MODE f
NAME_PATTERN *.bm
}
DATA_CRITERIA BM2
{
DATA_ATTRIBUTES_NAME BM
MODE f
NAME_PATTERN *.xbm
}
ACTION Open
{
LABEL Open
ARG_TYPE BM
TYPE MAP
MAP_ACTION Dticon
}
ACTION Print
{
LABEL Print
ARG_TYPE BM
TYPE MAP
MAP_ACTION NoPrint
}
# #######################################################
DATA_ATTRIBUTES PM
{
ACTIONS Open,Print
ICON Dtpixmp
NAME_TEMPLATE %s.pm
MIME_TYPE text/plain
SUNV3_TYPE xpm-file
DESCRIPTION This is a pixmap file containing a multicolor image. \
Its data type is named PM. PM files have names \
ending with '.pm' or '.xpm', or have the characters \
"! XPM2" in their contents.
TYPE_LABEL PM
}
DATA_CRITERIA PM1
{
DATA_ATTRIBUTES_NAME PM
MODE f
NAME_PATTERN *.pm
}
DATA_CRITERIA PM2
{
DATA_ATTRIBUTES_NAME PM
MODE f
NAME_PATTERN *.xpm
}
DATA_CRITERIA PM3
{
DATA_ATTRIBUTES_NAME PM
MODE f
CONTENT 0 string ! XPM2
}
ACTION Open
{
LABEL Open
ARG_TYPE PM
TYPE MAP
MAP_ACTION Dticon
}
ACTION Print
{
LABEL Print
ARG_TYPE PM
TYPE MAP
MAP_ACTION NoPrint
}
# #######################################################
DATA_ATTRIBUTES PCL
{
ACTIONS Open,Print
ICON Dtpcl
NAME_TEMPLATE %s.pcl
MIME_TYPE application/octet-stream
DESCRIPTION This is a file containing data in the format of the \
Printer Control Language (PCL). Its data type is \
named PCL. PCL files have names ending with '.pcl'.
TYPE_LABEL PCL
}
DATA_CRITERIA PCL1
{
DATA_ATTRIBUTES_NAME PCL
CONTENT 0 byte 033 0105
MODE f
}
DATA_CRITERIA PCL2
{
DATA_ATTRIBUTES_NAME PCL
NAME_PATTERN *.pcl
MODE f
}
ACTION Open
{
LABEL Open
ARG_TYPE PCL
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No PCL viewer available." "Information" "OK"
DESCRIPTION Your system does not provide a viewer for PCL files. \
Attempting to open this file displays an error \
dialog box.
}
ACTION Print
{
LABEL Print
ARG_TYPE PCL
TYPE MAP
MAP_ACTION PrintRaw
}
# #######################################################
DATA_ATTRIBUTES POSTSCRIPT
{
ACTIONS Open,Print
ICON Dtps
NAME_TEMPLATE %s.ps
MIME_TYPE application/postscript
SUNV3_TYPE postscript-file
DESCRIPTION This file contains postscript data. Its data type \
is named PS. PS file have names ending with '.ps' \
or '.PS', or contain the characters "%!".
TYPE_LABEL POSTSCRIPT
}
DATA_CRITERIA POSTSCRIPT1
{
DATA_ATTRIBUTES_NAME POSTSCRIPT
MODE f
NAME_PATTERN *.ps
}
DATA_CRITERIA POSTSCRIPT2
{
DATA_ATTRIBUTES_NAME POSTSCRIPT
MODE f
NAME_PATTERN *.PS
}
DATA_CRITERIA POSTSCRIPT3
{
DATA_ATTRIBUTES_NAME POSTSCRIPT
CONTENT 0 string %!
MODE f
}
ACTION Open
{
LABEL Open
ARG_TYPE POSTSCRIPT
TYPE MAP
MAP_ACTION DisplayPS
}
ACTION Print
{
LABEL Print
ARG_TYPE POSTSCRIPT
TYPE MAP
MAP_ACTION PrintRaw
}
# #######################################################
DATA_ATTRIBUTES AUDIO_AU
{
ACTIONS Open,Play
ICON Dtaudio
NAME_TEMPLATE %s.au
MIME_TYPE audio/basic
SUNV3_TYPE audio-file
DESCRIPTION This file contains audio (sound) data. Its data type \
is named AUDIO. AUDIO file have names ending with \
'.snd', '.wav', '.au', '.l16', '.lo8', '.al' \
or '.u', or contain the characters ".snd".
TYPE_LABEL AUDIO
}
DATA_CRITERIA AUDIO_AU1
{
DATA_ATTRIBUTES_NAME AUDIO_AU
MODE f
NAME_PATTERN *.au
}
DATA_CRITERIA AUDIO_AU2
{
DATA_ATTRIBUTES_NAME AUDIO_AU
CONTENT 0 string \.snd
MODE f
}
ACTION Open
{
LABEL Open
ARG_TYPE AUDIO_AU
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dterror.ds "Cannot 'open' or 'play' - No Audio player available." "Information" "OK"
DESCRIPTION Your system does not provide a audio player. \
Attempting to open this file displays an error \
dialog box.
}
ACTION Play
{
LABEL Play
ARG_TYPE AUDIO_AU
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dterror.ds "Cannot 'open' or 'play' - No Audio player available." "Information" "OK"
DESCRIPTION Your system does not provide a audio player. \
Attempting to play this file displays an error \
dialog box.
}
DATA_ATTRIBUTES AUDIO_SND
{
ACTIONS Open,Play
ICON Dtaudio
NAME_TEMPLATE %s.snd
MIME_TYPE audio/basic
SUNV3_TYPE audio-file
DESCRIPTION This file contains Macintosh audio (sound) data. Its data type \
is named AUDIO_SND. AUDIO_SND files have names \
ending with '.snd'.
TYPE_LABEL AUDIO
}
DATA_CRITERIA AUDIO_SND1
{
DATA_ATTRIBUTES_NAME AUDIO_SND
MODE f
NAME_PATTERN *.snd
}
ACTION Open
{
LABEL Open
ARG_TYPE AUDIO_SND
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dterror.ds "Cannot 'open' or 'play' - No Audio player available." "Information" "OK"
DESCRIPTION Your system does not provide a audio player. \
Attempting to play this file displays an error \
dialog box.
}
ACTION Play
{
LABEL Play
ARG_TYPE AUDIO_SND
TYPE MAP
MAP_ACTION Open
DESCRIPTION Your system does not provide a audio player. \
Attempting to play this file displays an error \
dialog box.
}
DATA_ATTRIBUTES AUDIO_WAV
{
ACTIONS Open,Play
ICON Dtaudio
NAME_TEMPLATE %s.wav
MIME_TYPE audio/basic
SUNV3_TYPE audio-file
DESCRIPTION This file contains Microsoft Windows audio (sound) data. Its data \
type is named AUDIO_WAV. AUDIO_WAV files have names\
ending with '.wav'.
TYPE_LABEL AUDIO
}
DATA_CRITERIA AUDIO_WAV1
{
DATA_ATTRIBUTES_NAME AUDIO_WAV
MODE f
NAME_PATTERN *.wav
}
ACTION Open
{
LABEL Open
ARG_TYPE AUDIO_WAV
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dterror.ds "Cannot 'open' or 'play' - No Audio player available." "Information" "OK"
DESCRIPTION Your system does not provide a audio player. \
Attempting to play this file displays an error \
dialog box.
}
ACTION Play
{
LABEL Play
ARG_TYPE AUDIO_WAV
TYPE MAP
MAP_ACTION Open
DESCRIPTION Your system does not provide a audio player. \
Attempting to play this file displays an error \
dialog box.
}
ACTION Print
{
LABEL Print
ARG_TYPE AUDIO_AU,AUDIO_SND,AUDIO_WAV
TYPE MAP
MAP_ACTION NoPrint
}
# #######################################################
DATA_ATTRIBUTES TIFF
{
ACTIONS Open
ICON Dtimage
NAME_TEMPLATE %s.tif
MIME_TYPE image/tiff
SUNV3_TYPE tiff-file
DESCRIPTION This file contains a graphics image in TIFF format. \
Its data type is named TIFF. TIFF files have \
names ending with '.TIFF', '.TIF', '.tiff', or '.tif'.
TYPE_LABEL TIFF
}
DATA_CRITERIA TIFF1
{
DATA_ATTRIBUTES_NAME TIFF
MODE f
NAME_PATTERN *.TIFF
}
DATA_CRITERIA TIFF2
{
DATA_ATTRIBUTES_NAME TIFF
MODE f
NAME_PATTERN *.TIF
}
DATA_CRITERIA TIFF3
{
DATA_ATTRIBUTES_NAME TIFF
MODE f
NAME_PATTERN *.tiff
}
DATA_CRITERIA TIFF4
{
DATA_ATTRIBUTES_NAME TIFF
MODE f
NAME_PATTERN *.tif
}
DATA_CRITERIA TIFF5
{
DATA_ATTRIBUTES_NAME TIFF
CONTENT 0 byte 0115 0115
MODE f
}
DATA_CRITERIA TIFF6
{
DATA_ATTRIBUTES_NAME TIFF
CONTENT 0 byte 0111 0111
MODE f
}
ACTION Open
{
LABEL Open
ARG_TYPE TIFF
TYPE MAP
MAP_ACTION DisplayImage
DESCRIPTION Use the tiff viewer
}
ACTION Print
{
LABEL Print
ARG_TYPE TIFF
TYPE MAP
MAP_ACTION NoPrint
}
# #######################################################
DATA_ATTRIBUTES JPEG
{
ACTIONS Open
ICON Dtimage
NAME_TEMPLATE %s.jpg
MIME_TYPE image/jpeg
SUNV3_TYPE jpeg-file
DESCRIPTION This file contains a graphics image in JPEG \
Interchange File Format. Its data type is named \
JPEG. JPEG files have names ending with '.JPEG', \
'.jpg', '.jpeg', or '.JPG'.
TYPE_LABEL JPEG
}
DATA_CRITERIA JPEG1
{
DATA_ATTRIBUTES_NAME JPEG
MODE f
NAME_PATTERN *.JPEG
}
DATA_CRITERIA JPEG2
{
DATA_ATTRIBUTES_NAME JPEG
MODE f
NAME_PATTERN *.jpg
}
DATA_CRITERIA JPEG3
{
DATA_ATTRIBUTES_NAME JPEG
MODE f
NAME_PATTERN *.jpeg
}
DATA_CRITERIA JPEG4
{
DATA_ATTRIBUTES_NAME JPEG
MODE f
NAME_PATTERN *.JPG
}
DATA_CRITERIA JPEG5
{
DATA_ATTRIBUTES_NAME JPEG
CONTENT 0 byte 0377 0330 0377
MODE f
}
DATA_CRITERIA JPEG6
{
DATA_ATTRIBUTES_NAME JPEG
MODE f
CONTENT 0 short 0xffd8
}
ACTION Open
{
LABEL Open
ARG_TYPE JPEG
TYPE MAP
MAP_ACTION DisplayImage
DESCRIPTION Use the jpeg viewer
}
ACTION Print
{
LABEL Print
ARG_TYPE JPEG
TYPE MAP
MAP_ACTION NoPrint
}
# #####################################################################
# ## BMP
DATA_ATTRIBUTES BMP
{
ACTIONS Open
ICON Dtimage
DESCRIPTION This file contains a graphics image in BMP format. Its data type is named BMP. BMP files have names ending with '.bmp', '.BMP' or '.Bmp'.
}
DATA_CRITERIA BMP1
{
DATA_ATTRIBUTES_NAME BMP
MODE f
PATH_PATTERN *.bmp
}
DATA_CRITERIA BMP2
{
DATA_ATTRIBUTES_NAME BMP
MODE f
PATH_PATTERN *.BMP
}
DATA_CRITERIA BMP3
{
DATA_ATTRIBUTES_NAME BMP
MODE f
PATH_PATTERN *.Bmp
}
DATA_CRITERIA BMP4
{
DATA_ATTRIBUTES_NAME BMP
CONTENT 0 string BM
MODE f
}
DATA_CRITERIA BMP4
{
DATA_ATTRIBUTES_NAME BMP
CONTENT 0 string IC
MODE f
}
DATA_CRITERIA BMP4
{
DATA_ATTRIBUTES_NAME BMP
CONTENT 0 string CI
MODE f
}
DATA_CRITERIA BMP4
{
DATA_ATTRIBUTES_NAME BMP
CONTENT 0 string CP
MODE f
}
ACTION Open
{
LABEL Open
ARG_TYPE BMP
TYPE MAP
MAP_ACTION DisplayImage
DESCRIPTION Use the bitmap viewer
}
ACTION Print
{
LABEL Print
ARG_TYPE BMP
TYPE MAP
MAP_ACTION NoPrint
}
# #######################################################
DATA_ATTRIBUTES GIF
{
ACTIONS Open
ICON Dtimage
NAME_TEMPLATE %s.gif
MIME_TYPE image/gif
SUNV3_TYPE gif-file
DESCRIPTION This file contains a graphics image in GIF format. \
Its data type is named GIF. GIF files have \
names ending with .gif or .GIF, or contain the \
characters "GIF87a" or "GIF89a".
TYPE_LABEL GIF
}
DATA_CRITERIA GIF1
{
DATA_ATTRIBUTES_NAME GIF
MODE f
NAME_PATTERN *.gif
}
DATA_CRITERIA GIF2
{
DATA_ATTRIBUTES_NAME GIF
MODE f
NAME_PATTERN *.GIF
}
DATA_CRITERIA GIF3
{
DATA_ATTRIBUTES_NAME GIF
CONTENT 0 string GIF87a
MODE f
}
DATA_CRITERIA GIF4
{
DATA_ATTRIBUTES_NAME GIF
CONTENT 0 string GIF89a
MODE f
}
ACTION Open
{
LABEL Open
ARG_TYPE GIF
TYPE MAP
MAP_ACTION DisplayImage
DESCRIPTION Use the gif viewer
}
ACTION Print
{
LABEL Print
ARG_TYPE GIF
TYPE MAP
MAP_ACTION NoPrint
}
# #######################################################################
# ## PNG
DATA_ATTRIBUTES PNG
{
ACTIONS Open
ICON Dtimage
NAME_TEMPLATE %s.png
MIME_TYPE image/png
DESCRIPTION This file contains a graphics image in PNG format. Its data type is named PNG. PNG files have names ending with .png or .PNG
TYPE_LABEL PNG
}
DATA_CRITERIA PNG1
{
DATA_ATTRIBUTES_NAME PNG
MODE f
NAME_PATTERN *.png
}
DATA_CRITERIA PNG2
{
DATA_ATTRIBUTES_NAME PNG
MODE f
NAME_PATTERN *.PNG
}
DATA_CRITERIA PNG3
{
DATA_ATTRIBUTES_NAME PNG
CONTENT 0 string PNG
MODE f
}
DATA_CRITERIA PNG4
{
DATA_ATTRIBUTES_NAME PNG
CONTENT 0 byte 0x89 0x50 0x4e 0x47
MODE f
}
ACTION Open
{
LABEL Open
ARG_TYPE PNG
TYPE MAP
MAP_ACTION DisplayImage
DESCRIPTION Use the png viewer
}
ACTION Print
{
LABEL Print
ARG_TYPE PNG
TYPE MAP
MAP_ACTION NoPrint
}
# #######################################################
DATA_ATTRIBUTES README
{
ACTIONS Open,Print
ICON DtRdMe
IS_TEXT true
NAME_TEMPLATE README
MIME_TYPE text/plain
DESCRIPTION This file is a text file containing information \
about the files in the current folder. Its \
data type is named README. README files have \
names beginning with READ and ending with ME, \
with 0 or more characters in between. Letters \
can be uppercase or lowercase.
TYPE_LABEL README
}
DATA_CRITERIA README1
{
DATA_ATTRIBUTES_NAME README
MODE f
NAME_PATTERN README
}
DATA_CRITERIA README2
{
DATA_ATTRIBUTES_NAME README
MODE f
NAME_PATTERN README.*
}
DATA_CRITERIA README3
{
DATA_ATTRIBUTES_NAME README
MODE f
NAME_PATTERN Read.*.Me
}
DATA_CRITERIA README4
{
DATA_ATTRIBUTES_NAME README
MODE f
NAME_PATTERN read.*.me
}
DATA_CRITERIA README5
{
DATA_ATTRIBUTES_NAME README
MODE f
NAME_PATTERN READ.*.ME
}
DATA_CRITERIA README6
{
DATA_ATTRIBUTES_NAME README
MODE f
NAME_PATTERN readme
}
# #######################################################
DATA_ATTRIBUTES HTML
{
ACTIONS Open,Print
ICON Dtdata
IS_TEXT true
NAME_TEMPLATE %s.html
MIME_TYPE text/html
DESCRIPTION This file is a text file containing Hyper-Text \
Markup Language from the World Wide Web. Its data \
type is named HTML. HTML files have names ending \
with '.html' , or contain the characters "<HTML>" \
or "<html>".
}
DATA_CRITERIA HTML1
{
DATA_ATTRIBUTES_NAME HTML
MODE f
NAME_PATTERN *.html
}
DATA_CRITERIA HTML2
{
DATA_ATTRIBUTES_NAME HTML
MODE f
CONTENT 0 string <HTML>
}
DATA_CRITERIA HTML3
{
DATA_ATTRIBUTES_NAME HTML
MODE f
CONTENT 0 string <html>
}
ACTION Print
{
LABEL Print
ARG_TYPE HTML
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtlp "%Arg_1%"
}
# #######################################################
DATA_ATTRIBUTES ENRICHED_TEXT
{
ACTIONS Open,Print
ICON Dtdata
IS_TEXT true
NAME_TEMPLATE %s.rt
MIME_TYPE text/enriched
DESCRIPTION "Audio"
TYPE_LABEL ENRICHED_TEXT
}
DATA_CRITERIA ENRICHED_TEXT1
{
DATA_ATTRIBUTES_NAME ENRICHED_TEXT
MODE f
NAME_PATTERN *.ert
}
ACTION Print
{
LABEL Print
ARG_TYPE ENRICHED_TEXT
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtlp "%Arg_1%"
}
# #######################################################
DATA_ATTRIBUTES RICHTEXT
{
ACTIONS Open,Print
ICON Dtdata
IS_TEXT true
NAME_TEMPLATE %s.rt
MIME_TYPE text/richtext
DESCRIPTION This file is a text file containing multiple \
font definitions as well as plain text. Its data \
type is named RICHTEXT. RICHTEXT files have names \
ending with '.rt'.
TYPE_LABEL RICHTEXT
}
DATA_CRITERIA RICHTEXT1
{
DATA_ATTRIBUTES_NAME RICHTEXT
MODE f
NAME_PATTERN *.rt
}
ACTION Print
{
LABEL Print
ARG_TYPE RICHTEXT
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtlp "%Arg_1%"
}
# #######################################################
DATA_ATTRIBUTES UIL
{
ACTIONS Open,Print
ICON Dtuil
NAME_TEMPLATE %s.uil
MIME_TYPE text/plain
DESCRIPTION This is a text file containing source code \
that can be used by a UIL interpreter to build \
a Motif user interface. UIL files have names \
in '.uil' or '.UIL'.
TYPE_LABEL UIL
}
DATA_CRITERIA UIL1
{
DATA_ATTRIBUTES_NAME UIL
MODE !d
NAME_PATTERN *.uil
}
DATA_CRITERIA UIL2
{
DATA_ATTRIBUTES_NAME UIL
MODE !d
NAME_PATTERN *.UIL
}
# #######################################################
DATA_ATTRIBUTES MSDOS_EXE
{
ACTIONS (None)
ICON Dtexec
IS_EXECUTABLE true
NAME_TEMPLATE %s.exe
MIME_TYPE application/octet-stream
SUNV3_TYPE msdos-file
DESCRIPTION This is an an executable file that runs on \
MSDOS compatible personal computers. Its data \
type is named MSDOS_EXE. MSDOS_EXE files have \
names ending with '.exe' or '.EXE'.
TYPE_LABEL MSDOS_EXE
}
DATA_CRITERIA MSDOS_EXE1
{
DATA_ATTRIBUTES_NAME MSDOS_EXE
MODE f&x
NAME_PATTERN *.exe
}
DATA_CRITERIA MSDOS_EXE2
{
DATA_ATTRIBUTES_NAME MSDOS_EXE
MODE f&x
NAME_PATTERN *.EXE
}
ACTION Print
{
LABEL Print
ARG_TYPE MSDOS_EXE
TYPE MAP
MAP_ACTION NoPrint
}
# #####################################################################
# ## PDF
DATA_ATTRIBUTES PDF
{
ACTIONS Open,Print
ICON acroread
NAME_TEMPLATE %s.pdf
MIME_TYPE application/pdf
DESCRIPTION This file contains pdf data. Its data type is named PDF. PDF files have names ending with '.pdf' or '.PDF', or contain the characters "%PDF".
TYPE_LABEL PDF
}
DATA_CRITERIA PDF1
{
DATA_ATTRIBUTES_NAME PDF
MODE f&!x
NAME_PATTERN *.pdf
}
DATA_CRITERIA PDF2
{
DATA_ATTRIBUTES_NAME PDF
MODE f&!x
NAME_PATTERN *.PDF
}
DATA_CRITERIA PDF3
{
DATA_ATTRIBUTES_NAME PDF
CONTENT 0 string %PDF
MODE f&!x
}
ACTION Open
{
LABEL Open
ARG_TYPE PDF
TYPE MAP
MAP_ACTION DisplayPDF
}
ACTION Print
{
LABEL Print
ARG_TYPE PDF
TYPE MAP
MAP_ACTION DisplayPDF
}
# ######################## EOF ############################################

View file

@ -1,429 +0,0 @@
# ##########################################################################
#
# develop.dt
#
# Action and DataType definitions for the Common Desktop Environment
# (CDE) components. This file contains common datatypes for developers.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: develop.dt.src /main/5 1996/04/23 17:35:01 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES CORE
{
ACTIONS (None)
ICON Dtcore
MIME_TYPE application/octet-stream
SUNV3_TYPE corefile
DESCRIPTION This file contains a core image of a process \
that terminated abnormally. Its data type is \
named CORE.
TYPE_LABEL CORE
}
DATA_CRITERIA CORE1
{
DATA_ATTRIBUTES_NAME CORE
MODE f
NAME_PATTERN core
}
DATA_CRITERIA CORE2
{
DATA_ATTRIBUTES_NAME CORE
MODE f
NAME_PATTERN core*
}
ACTION Print
{
LABEL Print
ARG_TYPE CORE
TYPE MAP
MAP_ACTION NoPrint
}
# ###########################################################
DATA_ATTRIBUTES OBJECT
{
ACTIONS Open,Print
ICON Dtbin
NAME_TEMPLATE %s.o
MIME_TYPE application/octet-stream
SUNV3_TYPE o-file
DESCRIPTION This file contains binary data that a compiler \
has produced from a source file. Its data type \
is named OBJECT. OBJECT files have names ending \
with '.o'.
TYPE_LABEL OBJECT
}
DATA_CRITERIA OBJECT1
{
DATA_ATTRIBUTES_NAME OBJECT
MODE f
NAME_PATTERN *.o
}
ACTION Open
{
LABEL Open
ARG_TYPE OBJECT
TYPE MAP
MAP_ACTION Nm
}
ACTION Print
{
LABEL Print
ARG_TYPE OBJECT
TYPE MAP
MAP_ACTION PrintNm
}
# ###########################################################
DATA_ATTRIBUTES ASSEMBLER
{
ACTIONS Open,Print
ICON Dtbin
IS_TEXT true
NAME_TEMPLATE %s.s
MIME_TYPE text/plain
SUNV3_TYPE text
DESCRIPTION This file contains assembler code for a given \
architecture. Its data type is named ASSEMBLER. \
ASSEMBLER files have names ending with '.s'.
TYPE_LABEL ASSEMBLER
}
DATA_CRITERIA ASSEMBLER1
{
DATA_ATTRIBUTES_NAME ASSEMBLER
MODE f
NAME_PATTERN *.s
}
# ###########################################################
DATA_ATTRIBUTES ARCH_LIB
{
ACTIONS Open,Print
ICON Dtbinml
MIME_TYPE application/octet-stream
DESCRIPTION This file contains an archived libarary of \
object files. Its data type is named ARCH_LIB. \
ARCH_LIB files have names ending with '.a'.
TYPE_LABEL ARCH_LIB
}
DATA_CRITERIA ARCH_LIB1
{
DATA_ATTRIBUTES_NAME ARCH_LIB
MODE f
NAME_PATTERN *.a
}
ACTION Open
{
LABEL Open
ARG_TYPE ARCH_LIB
TYPE MAP
MAP_ACTION Nm
}
ACTION Print
{
LABEL Print
ARG_TYPE ARCH_LIB
TYPE MAP
MAP_ACTION PrintNm
}
# ###########################################################
DATA_ATTRIBUTES SHARED_LIB
{
ACTIONS Open,Print
ICON Dtbinml
MIME_TYPE application/octet-stream
DESCRIPTION This files contains a shared library of an \
object file. Its data type is named SHARED_LIB. \
SHARD_LIB files have names ending with '.sl' or '.so'.
TYPE_LABEL SHARED_LIB
}
DATA_CRITERIA SHARED_LIB1
{
DATA_ATTRIBUTES_NAME SHARED_LIB
MODE f
NAME_PATTERN *.sl
}
DATA_CRITERIA SHARED_LIB2
{
DATA_ATTRIBUTES_NAME SHARED_LIB
MODE f
NAME_PATTERN *.so
}
DATA_CRITERIA SHARED_LIB3
{
DATA_ATTRIBUTES_NAME SHARED_LIB
MODE f
NAME_PATTERN *.so*
}
ACTION Open
{
LABEL Open
ARG_TYPE SHARED_LIB
TYPE MAP
MAP_ACTION Nm
}
ACTION Print
{
LABEL Print
ARG_TYPE SHARED_LIB
TYPE MAP
MAP_ACTION PrintNm
}
# ###########################################################
DATA_ATTRIBUTES C_SRC
{
ACTIONS Open,Make,Print
ICON DtdotC
IS_TEXT true
NAME_TEMPLATE %s.c
MIME_TYPE text/plain
SUNV3_TYPE c-file
DESCRIPTION This file is a source file in the C \
programming language. Its data type is named \
C_SRC. C_SRC files have names ending with '.c'.
TYPE_LABEL C_SRC
}
DATA_CRITERIA C_SRC1
{
DATA_ATTRIBUTES_NAME C_SRC
MODE f
NAME_PATTERN *.c
}
ACTION Make
{
LABEL Make
TYPE COMMAND
ARG_TYPE C_SRC
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' make `basename "%(File)Arg_1%" .c`.o 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Make command for C_SRC files uses the Unix \
'make' command to make the associated object file.
}
# ###########################################################
DATA_ATTRIBUTES CPLUSPLUS_SRC
{
ACTIONS Open,Make,Print
ICON DtC++
IS_TEXT true
NAME_TEMPLATE %s.C
MIME_TYPE text/plain
DESCRIPTION This is a a source file in the C++ programming \
language. Its data type is named CPLUSPLUS_SRC. \
CPLUSPLUS_SRC files have names ending with '.C' \
or '.cc'.
TYPE_LABEL CPLUSPLUS_SRC
}
DATA_CRITERIA C_PLUSPLUS1
{
DATA_ATTRIBUTES_NAME CPLUSPLUS_SRC
MODE f
NAME_PATTERN *.C
}
DATA_CRITERIA C_PLUSPLUS2
{
DATA_ATTRIBUTES_NAME CPLUSPLUS_SRC
MODE f
NAME_PATTERN *.cc
}
ACTION Make
{
LABEL Make
TYPE COMMAND
ARG_TYPE CPLUSPLUS_SRC
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' if [ -r "%(File)Arg_1%.C" ]; then make `basename "%(File)Arg_1%" .C`.o 2>&1 | \${PAGER:-more}; else make `basename "%(File)Arg_1%" .cc`.o 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Make command for CPLUSPLUS_SRC files uses \
the Unix 'make' command to make the associated \
object file.
}
# ###########################################################
DATA_ATTRIBUTES H_SRC
{
ACTIONS Open,Print
ICON DtdotH
IS_TEXT true
NAME_TEMPLATE %s.h
MIME_TYPE text/plain
SUNV3_TYPE h-file
DESCRIPTION This is a C-language program header file. Its \
data type is named H_SRC. H_SRC files have names \
ending with *.h.
TYPE_LABEL H_SRC
}
DATA_CRITERIA H_SRC1
{
DATA_ATTRIBUTES_NAME H_SRC
MODE f
NAME_PATTERN *.h
}
# ###########################################################
DATA_ATTRIBUTES MAKEFILE
{
ACTIONS Open,Make,Print
ICON DtbigM
IS_TEXT true
NAME_TEMPLATE Makefile
MIME_TYPE text/plain
SUNV3_TYPE Makefile
DESCRIPTION This is a Makefile. A Makefile describes \
how to generate an executable file from a set of \
source files. It is used by the make command. \
Its data type is named MAKEFILE. MAKEFILE files \
must be named Makefile or makefile, or have names \
starting with Makefile or makefile, or have names \
ending with '.mk'.
TYPE_LABEL MAKEFILE
}
DATA_CRITERIA MAKEFILE1
{
DATA_ATTRIBUTES_NAME MAKEFILE
MODE f
NAME_PATTERN [Mm]akefile*
}
DATA_CRITERIA MAKEFILE2
{
DATA_ATTRIBUTES_NAME MAKEFILE
MODE f
NAME_PATTERN *.mk
}
ACTION Make
{
LABEL Make
TYPE COMMAND
ARG_TYPE MAKEFILE
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' make -f "%(File)Arg_1%" %"Target to Make:"% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Make action for Makefiles prompts for the \
target to make, and then uses the Unix 'make' \
command to make it. If target is left empty \
the command makes 'all' in the current folder.
}
# ###########################################################
DATA_ATTRIBUTES IMAKEFILE
{
ACTIONS Open,Make,Print
ICON Dtimake
IS_TEXT true
NAME_TEMPLATE Imakefile
MIME_TYPE text/plain
DESCRIPTION This is an Imakefile. An Imakefile describes \
how to generate an executable file from a set of \
source files. It is used by the make command. \
Its data type is named IMAKEFILE. IMAKEFILE files \
are named imakefile or Imakefile, or have names \
starting with imakefile or Imakefile.
TYPE_LABEL IMAKEFILE
}
DATA_CRITERIA IMAKEFILE1
{
DATA_ATTRIBUTES_NAME IMAKEFILE
MODE f
NAME_PATTERN [Ii]makefile*
}
ACTION Make
{
LABEL Make
TYPE COMMAND
ARG_TYPE IMAKEFILE
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' make Makefile 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Make command for Imakefile files uses the Unix \
'make' command to make the associated Makefile.
}
# ##########################################################################
# ##########################################################################
#
# Actions
#
# ##########################################################################
ACTION Nm
{
LABEL Symbols List
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' nm "%(File)Arg_1"Filename:"%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Symbols List (Nm) action lists the symbol \
table of an object file or library file. It uses \
the 'nm' command.
}
ACTION PrintNm
{
LABEL Print Symbol List
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/sh -c ' nm "%(File)Arg_1%" | /usr/dt/bin/dtlp -u "Symbols List"'
DESCRIPTION The Print Symbol List (PrintNm) action prints \
the output from the 'nm' command on the default printer.
}
ACTION Make
{
LABEL Make
TYPE COMMAND
ARG_COUNT 0
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' make -f "%(File)Arg_1"Makefile:"%" %"Target to Make:"% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Make action for no arguments prompts for \
a Makefile and target, and then uses the Unix \
'make' command to make it.
}
# ######################## EOF ############################################

View file

@ -1,677 +0,0 @@
# ##########################################################################
#
# dt.dt
#
# Action and DataType definitions for the Common Desktop Environment
# (CDE) DT components.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $TOG: dt.dt.src /main/13 1998/12/18 18:16:14 mgreess $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES DT
{
ACTIONS Open,ReloadActions,Print
ICON Dtdt
IS_TEXT true
NAME_TEMPLATE %s.dt
MIME_TYPE text/plain
DESCRIPTION This is a desktop database file containing action \
and datatype definitions. Its data type is \
named DT. DT files have names ending with '.dt'.
TYPE_LABEL DT
}
DATA_CRITERIA DT1
{
DATA_ATTRIBUTES_NAME DT
MODE f
NAME_PATTERN *.dt
}
ACTION ReloadActionsNotice
{
LABEL Reload Notification
TYPE TT_MSG
TT_CLASS TT_NOTICE
TT_SCOPE TT_SESSION
TT_OPERATION DtTypes_Reloaded
DESCRIPTION The ReloadActionsNotice action notifies applications of a rebuilt cache file database.
}
ACTION BuildDataBaseRequest
{
LABEL Rebuild Request
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtDtsCache
DESCRIPTION The BuildDataBaseRequest action rebuilds the cache file database of action, data type and front panel definitions.
}
ACTION ReloadActions
{
LABEL Reload Actions
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c 'dtaction BuildDataBaseRequest ; dtaction ReloadActionsNotice'
DESCRIPTION The Reload Actions action reloads the database \
of action, data type and front panel definitions.
}
# ######################################################
DATA_ATTRIBUTES FP
{
ACTIONS Open,Print
ICON Dtfpcfg
IS_TEXT true
NAME_TEMPLATE %s.fp
MIME_TYPE text/plain
DESCRIPTION This is a desktop database file containing definitions \
for the Front Panel configuration. Its data type \
is named FP. FP files have names ending with '.fp'.
TYPE_LABEL FP
}
DATA_CRITERIA FP1
{
DATA_ATTRIBUTES_NAME FP
MODE f
NAME_PATTERN *.fp
}
# ######################################################
DATA_ATTRIBUTES DTFILE_FILE
{
PROPERTIES invisible
ACTIONS Open,Print
IS_TEXT true
MIME_TYPE text/plain
DESCRIPTION This is a hidden file used by File Manager to hold \
certain configuration information. Its data type \
is named DTFILE_FILE.
TYPE_LABEL DTFILE_FILE
}
DATA_CRITERIA DTFILE_FILE1
{
DATA_ATTRIBUTES_NAME DTFILE_FILE
MODE f
NAME_PATTERN .\!*
}
# ######################################################
DATA_ATTRIBUTES DTKSH_SCRIPT
{
ACTIONS Run,Open,Print
ICON Dtdtksh
IS_EXECUTABLE true
COPY_TO_ACTION Execute
NAME_TEMPLATE %s.ds
MIME_TYPE text/plain
DESCRIPTION This is an executable file containing a 'dtksh' \
script. Its data type is named DTKSH_SCRIPT.
TYPE_LABEL DTKSH_SCRIPT
}
DATA_CRITERIA DTKSH_SCRIPT1
{
DATA_ATTRIBUTES_NAME DTKSH_SCRIPT
MODE f&x
NAME_PATTERN *.ds
}
DATA_CRITERIA DTKSH_SCRIPT2
{
DATA_ATTRIBUTES_NAME DTKSH_SCRIPT
MODE f&x
CONTENT 0 string #!/usr/dt/bin/dtksh
}
DATA_CRITERIA DTKSH_SCRIPT3
{
DATA_ATTRIBUTES_NAME DTKSH_SCRIPT
MODE f&x
CONTENT 0 string #! /usr/dt/bin/dtksh
}
ACTION Run
{
LABEL Run
ARG_TYPE DTKSH_SCRIPT
TYPE MAP
MAP_ACTION Execute
}
# ######################################################
DATA_ATTRIBUTES DTKSH_CONV
{
ACTIONS Open,Print
ICON Dtdtksh
NAME_TEMPLATE %s.dtsh
MIME_TYPE text/plain
DESCRIPTION This file contains convenience functions that \
can be used by 'dtksh' scripts. Its data type is \
named DTKSH_CONV.
TYPE_LABEL DTKSH_CONV
}
DATA_CRITERIA DTKSH_CONV1
{
DATA_ATTRIBUTES_NAME DTKSH_CONV
MODE f
NAME_PATTERN *.dtsh
}
# ##################################################################
# ##################################################################
#
# Actions
#
# ##################################################################
ACTION Dtstyle
{
LABEL Style Manager
ARG_COUNT 0
ICON Fpstyle
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtstyle
DESCRIPTION The Style Manager (Dtstyle) action starts \
the desktop Style Manager.
}
# ######
ACTION OpenDtIntro
{
LABEL Desktop Introduction
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dthelpview -helpVolume Intromgr
DESCRIPTION The Desktop Introduction action displays the help volume \
containing introductory and basic skills \
information about the desktop.
}
# ######
ACTION FPHelp
{
LABEL FPHelp
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dthelpview -helpVolume FPanel
DESCRIPTION The FPHELP action icon displays the Front \
Panel help volume.
}
# ######
ACTION LockDisplay
{
LABEL LockDisplay
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Display_Lock
DESCRIPTION The LockDisplay action locks the workstation. \
You must know the user's or root password to \
unlock the workstation.
}
# ######
ACTION ExitSession
{
LABEL ExitSession
ARG_COUNT 0
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION XSession_Exit
DESCRIPTION The ExitSession action ends the user's \
desktop session and displays the Login screen. \
To begin another session, the user must log in.
}
# ######
# ######
ACTION SaveSession
{
LABEL Save Session
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Save_Session
#
# The legal values for save_type are: Local, Global and Both
#
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE save_type
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE Local
#
# The legal values for shutdown are: True and False
#
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE shutdown
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE False
#
# The legal values for interact_style are: None, Errors and Any
#
TT_ARG2_MODE TT_IN
TT_ARG2_VTYPE interact_style
TT_ARG2_REP_TYPE TT_REP_STRING
TT_ARG2_VALUE None
#
# The legal values for fast are: True and False
#
TT_ARG3_MODE TT_IN
TT_ARG3_VTYPE fast
TT_ARG3_REP_TYPE TT_REP_STRING
TT_ARG3_VALUE True
#
# The legal values for global are: True and False
#
TT_ARG4_MODE TT_IN
TT_ARG4_VTYPE global
TT_ARG4_REP_TYPE TT_REP_STRING
TT_ARG4_VALUE True
#
# The num_sessions_backedup field can be any positive
# number. If it is 0, the default number of sessions
# will be backedup.
#
TT_ARG5_MODE TT_IN
TT_ARG5_VTYPE num_sessions_backedup
TT_ARG5_REP_TYPE TT_REP_STRING
TT_ARG5_VALUE 0
DESCRIPTION The Save Session action causes the currently \
running session to be saved.
}
# ######
ACTION ReloadResources
{
LABEL Reload Resources
ARG_COUNT 0
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Resources_Reload
DESCRIPTION The Reload Resources action reloads your \
X resources database with the desktop resources \
files, incorporating any changes that may have \
occurred to them since you logged in.
}
# ######
ACTION ReloadApps
{
LABEL Reload Applications
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/sh -c '/usr/dt/bin/dtaction ReloadActions; /usr/dt/bin/dtappgather -r; /usr/dt/bin/dthelpgen -dir $HOME/.dt/help '
DESCRIPTION The Reload Applications action reloads the \
database of action, data type and front panel \
definitions.
}
# ######
ACTION Dtcreate
{
LABEL Create Action
ICON Dtrunpn
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtcreate "%Arg_1%"
DESCRIPTION The Create Action (Dtcreate) action runs the Create \
Action application. Use Create Action to create \
action and data type definitions for applications.
}
# ######
ACTION DtwmrcEdit
{
LABEL Edit Dtwmrc
ICON Fppenpd
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c 'if [ ! -f $HOME/.dt/dtwmrc ] ; then if [ ! -f /etc/dt/config/sys.dtwmrc ] ; then cp /usr/dt/config/$LANG/sys.dtwmrc $HOME/.dt/dtwmrc; else cp /etc/dt/config/sys.dtwmrc $HOME/.dt/dtwmrc; fi; chmod u+w $HOME/.dt/dtwmrc; fi; /usr/dt/bin/dtaction Open $HOME/.dt/dtwmrc'
DESCRIPTION The Edit Dtwmrc (DtwmrcEdit) action opens a \
copy of $HOME/.dt/dtwmrc in your system editor \
(the editor specified by the EDITOR environment \
variable). If $HOME/.dt/dtwmrc doesn't exist, the \
action creates the file by copying \
/usr/dt/config/<language>/sys.dtwmrc. When you \
save the file and exit the editor, you must \
restart the Workspace Manager by choosing Restart \
Workspace Manager from the Workspace Menu.
}
# ######
ACTION RestorePanel
{
LABEL Restore Front Panel
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtPanel_Restore
DESCRIPTION The Restore Front Panel action restores the \
front panel to its default state.
}
# ######
ACTION Dtmail
{
LABEL Mailer
ICON DtMail
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Display
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE RFC_822_MESSAGE
TT_ARG0_VALUE DTMAIL_INBOX
DESCRIPTION The Mailer (Dtmail) action runs the desktop \
Mailer application.
}
# ######
ACTION Dtcalc
{
LABEL Calculator
ICON Dtcalc
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtcalc
DESCRIPTION The Calculator (Dtcalc) action runs the desktop \
Calculator application.
}
# ######
ACTION Dtterm
{
LABEL Terminal
ARG_COUNT 0
ICON Dtterm
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtterm
DESCRIPTION The Terminal (Dtterm) action runs the desktop Terminal \
Emulator application.
}
#
# The following action is used to start a terminal emulator
# via the desktop's messaging system. If a terminal emumaltor
# server is not running when this action is invoked, a server
# will be started. Once the server is started, subsequent
# invocations of this action will not start a new process but
# instead, a message will be sent to the server and a new
# terminal emulator window will be mapped.
#
# Note that all shells started via the server will run on the
# server's host, regardless of the host where the action is
# invoked.
ACTION DttermServer
{
LABEL Terminal
ARG_COUNT 0
ICON Dtterm
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtTerminal_New
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE -display
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE $DISPLAY
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE -display
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE $DISPLAY
DESCRIPTION The Terminal (Dtterm) action runs the desktop Terminal \
Emulator application.
}
# ######
ACTION Dticon
{
LABEL Icon Editor
ICON Dtpaint
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dticon
DESCRIPTION The Icon Editor (Dticon) action runs the desktop Icon \
Editor. Use the Icon Editor to create and edit \
bitmap and pixmap image files.
}
ACTION Dticon
{
LABEL Icon Editor
ICON Dtpaint
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dticon -file "%(File)Arg_1"Icon File To Edit:"%"
DESCRIPTION The Icon Editor (Dticon) action runs the desktop Icon \
Editor. Use the Icon Editor to create and edit \
bitmap and pixmap image files.
}
# ######
ACTION (None)
{
LABEL (None)
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dterror.ds "There are no actions available \\n for this type of file." "No Actions" "OK"
DESCRIPTION The (None) action is a special action used to \
report that no actions are available for a \
particular data type.
}
# ######
ACTION DttermErrorlog
{
LABEL Watch Errors
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/sh -c 'if [ ! -f $HOME/.dt/errorlog ] ; then /bin/touch $HOME/.dt/errorlog; fi; /usr/dt/bin/dtterm -map -title "Watch Errors" -e tail -f $HOME/.dt/errorlog'
DESCRIPTION The Watch Errors action opens a terminal window \
that continuously displays the contents of the \
error log file $HOME/.dt/errorlog file. If the \
window is minimized, it will automatically \
normalize when an error is received.
}
# ######
ACTION Dttypes
{
LABEL Types and Actions
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' /usr/dt/bin/dttypes | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Types and Actions (Dttypes) action runs the \
'dttypes' utility, which provides trouble-shooting \
information for the actions and data types database.
}
ACTION Dttypes
{
LABEL Types and Actions
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c '/usr/dt/bin/dttypes -type "%(File)Arg_1%"; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Types and Actions (Dttypes) action runs the \
'dttypes' utility, which provides trouble-shooting \
information for the actions and data types database.
}
# #########################################################################
#
# This is the Default 'NoPrint' action.
#
# #########################################################################
ACTION NoPrint
{
LABEL NoPrint
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dterror.ds "There is no print capability for this datatype." "Unable To Print" "OK"
DESCRIPTION The NoPrint action brings up an Error dialog \
indicating that the file the user is trying \
to print is of a datatype that doesn't have a \
'Print' action defined for it.
}
# #########################################################################
#
# This is the Default 'Open' action.
#
# #########################################################################
ACTION Open
{
LABEL Open
TYPE MAP
MAP_ACTION TextEditor
}
# #########################################################################
#
#
# #########################################################################
ACTION DtTTMediaOpen
{
ARG_COUNT 0
ICON Fppenpd
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Instantiate
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE C_STRING
TT_ARG0_REP_TYPE TT_REP_STRING
}
ACTION DtTTMediaOpen
{
ARG_CLASS BUFFER
ARG_MODE w
ARG_COUNT >0
ICON Fppenpd
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Edit
TT_ARG0_MODE TT_INOUT
TT_ARG0_VTYPE %Arg_1%
TT_ARG0_VALUE %Arg_1%
TT_ARG0_REP_TYPE TT_REP_BUFFER
}
ACTION DtTTMediaOpen
{
ARG_CLASS BUFFER
ARG_MODE !w
ARG_COUNT >0
ICON Fppenpd
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Display
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE %Arg_1%
TT_ARG0_VALUE %Arg_1%
TT_ARG0_REP_TYPE TT_REP_BUFFER
}
ACTION DtTTMediaOpen
{
ARG_CLASS FILE
ARG_COUNT >0
ICON Fppenpd
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Edit
TT_FILE %Arg_1%
TT_ARG0_MODE TT_INOUT
TT_ARG0_VTYPE %Arg_1%
TT_ARG0_REP_TYPE TT_REP_STRING
}
# ######################## EOF ############################################

View file

@ -1,378 +0,0 @@
# ##########################################################################
#
# dtappman.dt
#
# DataType Definitions for the Application Manager
#
# Common Desktop Environment 1.0
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: dtappman.dt.src /main/4 1996/04/23 17:35:11 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# These data type definitions apply to the objects found under the
# user's /var/dt/appconfig/appmanager/$LOGNAME subfolder.
#
# ##################################################################
# ##################################################################
#
# Actions
#
# ##################################################################
ACTION OpenAppGroup
{
LABEL Open
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtTools_Show
TT_FILE %Arg_1%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE -title
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE Application Manager
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE -help_volume
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE Appmanager
TT_ARG2_MODE TT_IN
TT_ARG2_VTYPE -root
TT_ARG2_REP_TYPE TT_REP_STRING
TT_ARG2_VALUE /var/dt/appconfig/appmanager/$DTUSERSESSION
TT_ARG3_MODE TT_IN
TT_ARG3_VTYPE -common_link_point
TT_ARG3_REP_TYPE TT_REP_STRING
TT_ARG3_VALUE $LANG
}
ACTION OpenParentAppGroup
{
LABEL OpenParent
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtTools_Show
TT_FILE %Arg_1%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE -title
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE Application Manager
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE -help_volume
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE Appmanager
TT_ARG2_MODE TT_IN
TT_ARG2_VTYPE -root
TT_ARG2_REP_TYPE TT_REP_STRING
TT_ARG2_VALUE /var/dt/appconfig/appmanager/$DTUSERSESSION
TT_ARG3_MODE TT_IN
TT_ARG3_VTYPE -common_link_point
TT_ARG3_REP_TYPE TT_REP_STRING
TT_ARG3_VALUE $LANG
TT_ARG4_MODE TT_IN
TT_ARG4_VTYPE -user_install_point
TT_ARG4_REP_TYPE TT_REP_STRING
TT_ARG4_VALUE .dt/appmanager
}
ACTION PrintAppGroup
{
LABEL Print
TYPE MAP
MAP_ACTION PrintFolderList
}
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES OPEN_AGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtagen
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES AGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtagen
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION Double-click this icon to display the top \
level of the Application Manager.
TYPE_LABEL AGROUP
}
DATA_CRITERIA AGROUP1
{
DATA_ATTRIBUTES_NAME AGROUP
MODE d
PATH_PATTERN */appmanager/*
}
ACTION Open
{
LABEL Open
ARG_TYPE AGROUP
TYPE MAP
MAP_ACTION OpenAppGroup
}
ACTION Print
{
LABEL Print
ARG_TYPE AGROUP
TYPE MAP
MAP_ACTION PrintAppGroup
}
# ############################################################
DATA_ATTRIBUTES OPEN_DTAPPS_APPGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtadskt
LABEL Desktop_Apps
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES DTAPPS_APPGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtadskt
LABEL Desktop_Apps
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION Double-click this icon to open the \
Desktop_Apps application group.
TYPE_LABEL DTAPPS_GROUP
}
DATA_CRITERIA DTAPPS_APPGROUP1
{
DATA_ATTRIBUTES_NAME DTAPPS_APPGROUP
MODE d
PATH_PATTERN */appmanager/*/Desktop_Apps
}
ACTION Open
{
LABEL Open
ARG_TYPE DTAPPS_APPGROUP
TYPE MAP
MAP_ACTION OpenAppGroup
}
ACTION Print
{
LABEL Print
ARG_TYPE DTAPPS_APPGROUP
TYPE MAP
MAP_ACTION PrintAppGroup
}
# ############################################################
DATA_ATTRIBUTES OPEN_INFORMATION_APPGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtainfo
LABEL Information
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES INFORMATION_APPGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtainfo
LABEL Information
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION Double-click this icon to open the Information \
application group.
TYPE_LABEL INFORMATION_APPGROUP
}
DATA_CRITERIA INFORMATION_APPGROUP1
{
DATA_ATTRIBUTES_NAME INFORMATION_APPGROUP
MODE d
PATH_PATTERN */appmanager/*/Information
}
ACTION Open
{
LABEL Open
ARG_TYPE INFORMATION_APPGROUP
TYPE MAP
MAP_ACTION OpenAppGroup
}
ACTION Print
{
LABEL Print
ARG_TYPE INFORMATION_APPGROUP
TYPE MAP
MAP_ACTION PrintAppGroup
}
# ############################################################
DATA_ATTRIBUTES OPEN_SYSTEM_ADMIN_APPGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtasys
LABEL System_Admin
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES SYSTEM_ADMIN_APPGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtasys
LABEL System_Admin
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION Double-click this icon to open the System \
Administration application group.
TYPE_LABEL SYSTEM_ADMIN_APPGROUP
}
DATA_CRITERIA SYSTEM_ADMIN_APPGROUP1
{
DATA_ATTRIBUTES_NAME SYSTEM_ADMIN_APPGROUP
MODE d
PATH_PATTERN */appmanager/*/System_Admin
}
ACTION Open
{
LABEL Open
ARG_TYPE SYSTEM_ADMIN_APPGROUP
TYPE MAP
MAP_ACTION OpenAppGroup
}
ACTION Print
{
LABEL Print
ARG_TYPE SYSTEM_ADMIN_APPGROUP
TYPE MAP
MAP_ACTION PrintAppGroup
}
# ############################################################
DATA_ATTRIBUTES OPEN_DTTOOLS_APPGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtautil
LABEL Desktop_Tools
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES DTTOOLS_APPGROUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtautil
LABEL Desktop_Tools
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION Double-click this icon to open the \
Desktop_Tools application group.
TYPE_LABEL DTTOOLS_APPGROUP
}
DATA_CRITERIA DTTOOLS_APPGROUP1
{
DATA_ATTRIBUTES_NAME DTTOOLS_APPGROUP
MODE d
PATH_PATTERN */appmanager/*/Desktop_Tools
}
ACTION Open
{
LABEL Open
ARG_TYPE DTTOOLS_APPGROUP
TYPE MAP
MAP_ACTION OpenAppGroup
}
ACTION Print
{
LABEL Print
ARG_TYPE DTTOOLS_APPGROUP
TYPE MAP
MAP_ACTION PrintAppGroup
}
# ############################################################
DATA_ATTRIBUTES OPEN_AGUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtagup
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES AGUP
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtagup
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION Double-click this icon to up a level \
within the Application Manager.
TYPE_LABEL AGUP
}
DATA_CRITERIA AGUP1
{
DATA_ATTRIBUTES_NAME AGUP
MODE d
PATH_PATTERN */appmanager/*/..
}
ACTION Open
{
LABEL Open
ARG_TYPE AGUP
TYPE MAP
MAP_ACTION OpenAppGroup
}
ACTION Print
{
LABEL Print
ARG_TYPE AGUP
TYPE MAP
MAP_ACTION PrintAppGroup
}
# ######################## EOF ############################################

View file

@ -1,196 +0,0 @@
###############################################################################
#
#
# @(#)dtbuilder.dt 1.3 23 Mar 1994
#
# DataType Definitions for the Application Builder
#
# Common Desktop Environment 1.0
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $TOG: dtbuilder.dt /main/5 1999/02/23 13:26:42 mgreess $
#
###############################################################################
set DtDbVersion=1.0
###############################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
###############################################################################
###################################################################
#
# Data Attributes
#
###################################################################
DATA_ATTRIBUTES BIP
{
ACTIONS Open
ICON DtABbip
NAME_TEMPLATE %s.bip
MIME_TYPE text/plain
DESCRIPTION This file contains project data for the \
desktop Application Builder. Its data type is \
named BIP. BIP files have named ending with '.bip'.
}
DATA_CRITERIA BIP1
{
DATA_ATTRIBUTES_NAME BIP
MODE f
NAME_PATTERN *.bip
}
ACTION Open
{
LABEL Open
ARG_TYPE BIP
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING dtbuilder "%(File)Arg_1%"
DESCRIPTION This action opens an Application Builder project \
file (*.bip) by running the Application Builder \
and loading that file.
}
ACTION Print
{
LABEL Print
ARG_TYPE BIP
TYPE MAP
MAP_ACTION NoPrint
}
###################################################################
DATA_ATTRIBUTES BIL
{
ACTIONS Open
ICON DtABbil
NAME_TEMPLATE %s.bil
MIME_TYPE text/plain
DESCRIPTION This file contains module data for the desktop \
Application Builder. Its data type is named BIL. \
BIL files have names ending with '.bil'.
}
DATA_CRITERIA BIL1
{
DATA_ATTRIBUTES_NAME BIL
MODE f
NAME_PATTERN *.bil
}
ACTION Open
{
LABEL Open
ARG_TYPE BIL
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING dtbuilder "%(File)Arg_1%"
DESCRIPTION This action opens an Application Builder module \
file (*.bil) by running the Application Builder \
and loading that file.
}
ACTION Print
{
LABEL Print
ARG_TYPE BIL
TYPE MAP
MAP_ACTION NoPrint
}
###################################################################
DATA_ATTRIBUTES BIX
{
ACTIONS Open
ICON DtABbix
NAME_TEMPLATE %s.bix
MIME_TYPE text/plain
DESCRIPTION This file contains all the project (BIP) and \
module (BIL) file data for a desktop Application \
Builder project. Its data type is named BIX. \
BIX files have names ending with .'bix'.
}
DATA_CRITERIA BIX1
{
DATA_ATTRIBUTES_NAME BIX
MODE f
NAME_PATTERN *.bix
}
ACTION Open
{
LABEL Open
ARG_TYPE BIX
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING dtbuilder "%(File)Arg_1%"
DESCRIPTION This action opens an Application Builder encapsulated \
project file (*.bix) by running the Application \
Builder and loading that file.
}
ACTION Print
{
LABEL Print
ARG_TYPE BIX
TYPE MAP
MAP_ACTION NoPrint
}
###################################################################
###################################################################
#
# Actions
#
###################################################################
ACTION Dtappbuild
{
LABEL Application Builder
TYPE COMMAND
EXEC_STRING dtbuilder
ICON DtBldr
WINDOW_TYPE NO_STDIO
DESCRIPTION The Application Builder (Dtappbuild) action runs \
the desktop Application Builder.
}
######
ACTION CodeGen
{
LABEL Code Generator
TYPE COMMAND
ARG_COUNT 0
EXEC_STRING /bin/sh -c 'dtaction CodeGen \
%(File)Arg_1"Project file (*.bip):"%'
ICON DtBldr
WINDOW_TYPE NO_STDIO
DESCRIPTION The Code Generator (CodeGen) action runs the code generator \
for the desktop Application Builder.
}
ACTION CodeGen
{
LABEL Code Generator
TYPE COMMAND
ARG_TYPE BIP
ARG_COUNT >0
EXEC_STRING /bin/sh -c ' \
DIR_NAME=`dirname %(File)Arg_1"Project file (*.bip):"%` ; \
if [ ! -d "\$DIR_NAME" ] ; then \
echo "ERROR: \$DIR_NAME is not a folder."; \
else \
BIP_FILE=`basename "%(File)Arg_1%"` ; \
( cd \$DIR_NAME; dtcodegen -p \$BIP_FILE 2>&1; ) | \${PAGER:-more}; \
echo "\\n*** Select Close or Exit from the window menu to close this window ***"; \
fi '
ICON DtBldr
WINDOW_TYPE PERM_TERMINAL
DESCRIPTION The Code Generator (CodeGen) action runs the code generator \
for the desktop Application Builder.
}
########################### EOF ##############################################

View file

@ -1,143 +0,0 @@
###############################################################################
#
# dtcm.dt
#
# Action and DataType definitions for the Common Desktop Environment
# (CDE) Calendar Component.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
#
###############################################################################
set DtDbVersion=1.0
###############################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
###############################################################################
###################################################################
#
# Data Attributes
#
###################################################################
DATA_ATTRIBUTES DtcmAppointmentAttrs
{
ACTIONS Open,Insert,Print
ICON DtCMapt
NAME_TEMPLATE %s.appt
MIME_TYPE text/plain
SUNV3_TYPE ae-file
MEDIA DT_APPOINTMENT
DESCRIPTION This file contains information pertaining to Calendar \
Manager appointments. Its data type is named \
CalendarAppointmentAttrs. CalendarAppointmentAttrs \
files have names ending with '.appt'.
TYPE_LABEL DtcmAppointmentAttrs
}
DATA_CRITERIA DtcmAppointmentAttrs1
{
DATA_ATTRIBUTES_NAME DtcmAppointmentAttrs
MODE fr
NAME_PATTERN *.appt
}
DATA_CRITERIA DtcmAppointmentAttrs2
{
DATA_ATTRIBUTES_NAME DtcmAppointmentAttrs
MODE fr
CONTENT 3 string ** Calendar Appointment **
}
DATA_CRITERIA DtcmAppointmentAttrs3
{
DATA_ATTRIBUTES_NAME DtcmAppointmentAttrs
MODE fr
CONTENT 3 string ** Calendar To Do Item **
}
ACTION Open
{
LABEL Open
ARG_TYPE DtcmAppointmentAttrs
TYPE MAP
MAP_ACTION DtcmEdit
}
ACTION Insert
{
LABEL Insert
ARG_TYPE DtcmAppointmentAttrs
TYPE MAP
MAP_ACTION DtcmInsert
}
ACTION Print
{
LABEL Print
ARG_TYPE DtcmAppointmentAttrs
TYPE MAP
MAP_ACTION NoPrint
}
###################################################################
###################################################################
#
# Actions
#
###################################################################
ACTION Dtcm
{
LABEL Calendar
ICON DtCM
TYPE COMMAND
EXEC_STRING /usr/dt/bin/dtcm
WINDOW_TYPE NO_STDIO
DESCRIPTION The Calendar (Dtcm) action starts the desktop Calendar \
Manager.
}
######
ACTION DtcmInsert
{
LABEL Calendar Insert
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c '/usr/dt/bin/dtcm_insert -a "%(File)Arg_1%" ;\
if [ \$? -ne 0 ] ; then \
/usr/dt/bin/dterror.ds \
"The appointment was not scheduled in your \
calendar\\n\
due to an error. The appointment may not be \
formatted\\n\
correctly or your calendar may not be \
accessible." \
"Calendar : Error - Schedule" \
"OK" ; \
fi'
DESCRIPTION The Calendar Insert (DtcmInsert) action \
inserts an appointment into the user's default calendar.
}
######
ACTION DtcmEdit
{
LABEL Calendar Edit
TYPE TT_MSG
TT_SCOPE TT_SESSION
TT_CLASS TT_REQUEST
TT_OPERATION Edit
TT_ARG0_MODE TT_INOUT
TT_ARG0_VTYPE %Arg_1%
TT_FILE %Arg_1"Appointment File:"%
DESCRIPTION The Calendar Edit (DtcmEdit) action runs \
the standalone appointment editor on a calendar \
appointment.
}
########################### EOF ##############################################

View file

@ -1,715 +0,0 @@
# ##########################################################################
#
# dtfile.dt
#
# Actions for interfacing to the Common Desktop Environment
# File Manager.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $TOG: dtfile.dt.src /main/5 1997/03/28 14:46:11 mgreess $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes - mainly consumed by the File Manager
#
# ##################################################################
# ###########################################################
#
# Folders
#
# ###########################################################
DATA_ATTRIBUTES TRASH_FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON DtdirR
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
DESCRIPTION This folder is a temporary location for trash.
TYPE_LABEL TRASH_FOLDER
}
DATA_CRITERIA TRASH_FOLDER1
{
DATA_ATTRIBUTES_NAME TRASH_FOLDER
MODE d
PATH_PATTERN */.dt/Trash
}
ACTION Open
{
LABEL Open
ARG_TYPE TRASH_FOLDER
TYPE MAP
MAP_ACTION OpenFolder
}
ACTION Print
{
LABEL Print
ARG_TYPE TRASH_FOLDER
TYPE MAP
MAP_ACTION PrintFolderList
}
# ###########################################################
DATA_ATTRIBUTES OPEN_PARENT_FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtdirup
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES PARENT_FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtdirup
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION The '..' icon represents the parent folder \
of the current folder. Open it to move one \
level up the folder tree. Its data type is \
named PARENT_FOLDER.
TYPE_LABEL PARENT_FOLDER
}
DATA_CRITERIA PARENT_FOLDER1
{
DATA_ATTRIBUTES_NAME PARENT_FOLDER
MODE d
NAME_PATTERN ..
}
ACTION Open
{
LABEL Open
ARG_TYPE PARENT_FOLDER
TYPE MAP
MAP_ACTION OpenFolder
}
ACTION Print
{
LABEL Print
ARG_TYPE PARENT_FOLDER
TYPE MAP
MAP_ACTION PrintFolderList
}
# ###########################################################
DATA_ATTRIBUTES OPEN_CURRENT_FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON DtdirB
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES CURRENT_FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON DtdirB
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION The '.' icon represents the current folder. \
Its data type is named CURRENT_FOLDER.
TYPE_LABEL CURRENT_FOLDER
}
DATA_CRITERIA CURRENT_FOLDER1
{
DATA_ATTRIBUTES_NAME CURRENT_FOLDER
MODE d
NAME_PATTERN .
}
ACTION Open
{
LABEL Open
ARG_TYPE CURRENT_FOLDER
TYPE MAP
MAP_ACTION OpenFolder
}
ACTION Print
{
LABEL Print
ARG_TYPE CURRENT_FOLDER
TYPE MAP
MAP_ACTION PrintFolderList
}
# ###########################################################
DATA_ATTRIBUTES DOT_FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON DtdirB
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION This folder's data type is named DOT_FOLDER. \
A DOT_FOLDER folder is a folder whose name \
begins with a dot (.). A DOT_FOLDER is normally hidden.
TYPE_LABEL DOT_FOLDER
}
DATA_CRITERIA DOT_FOLDER1
{
DATA_ATTRIBUTES_NAME DOT_FOLDER
MODE d
NAME_PATTERN .*
}
ACTION Open
{
LABEL Open
ARG_TYPE DOT_FOLDER
TYPE MAP
MAP_ACTION OpenFolder
}
ACTION Print
{
LABEL Print
ARG_TYPE DOT_FOLDER
TYPE MAP
MAP_ACTION PrintFolderList
}
# ###########################################################
DATA_ATTRIBUTES FOLDER_LOCK
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtdirlk
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION This is a folder to which you lack write \
permission. You cannot add or remove files. Its \
data type is named FOLDER_LOCK.
TYPE_LABEL FOLDER_LOCK
}
DATA_CRITERIA FOLDER_LOCK1
{
DATA_ATTRIBUTES_NAME FOLDER_LOCK
MODE d&!r
}
DATA_CRITERIA FOLDER_LOCK2
{
DATA_ATTRIBUTES_NAME FOLDER_LOCK
MODE d&!x
}
DATA_ATTRIBUTES OPEN_NON_WRITABLE_FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON DtdirBO
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES NON_WRITABLE_FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON Dtdirnw
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION This is a folder to which you lack write \
permission. You cannot add or remove files. Its \
data type is named FOLDER_LOCK.
TYPE_LABEL NON_WRITABLE_FOLDER
}
DATA_CRITERIA NON_WRITABLE_FOLDER1
{
DATA_ATTRIBUTES_NAME NON_WRITABLE_FOLDER
MODE d&!w
}
ACTION Open
{
LABEL Open
ARG_TYPE FOLDER_LOCK
TYPE MAP
MAP_ACTION OpenFolder
}
ACTION Print
{
LABEL Print
ARG_TYPE FOLDER_LOCK
TYPE MAP
MAP_ACTION PrintFolderList
}
# ###########################################################
DATA_ATTRIBUTES OPEN_FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON DtdirBO
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
}
DATA_ATTRIBUTES FOLDER
{
ACTIONS OpenInPlace,OpenNewView,Print
ICON DtdirB
MEDIA FILE_NAME
MOVE_TO_ACTION FILESYSTEM_MOVE
COPY_TO_ACTION FILESYSTEM_COPY
LINK_TO_ACTION FILESYSTEM_LINK
DESCRIPTION This is a folder. A folder is a \
container that holds files or other folders. \
Its data type is named FOLDER.
TYPE_LABEL FOLDER
}
DATA_CRITERIA FOLDER1
{
DATA_ATTRIBUTES_NAME FOLDER
MODE d
}
ACTION Open
{
LABEL Open
ARG_TYPE FOLDER
TYPE MAP
MAP_ACTION OpenFolder
}
ACTION Print
{
LABEL Print
ARG_TYPE FOLDER
TYPE MAP
MAP_ACTION PrintFolderList
}
# ###########################################################
# ###########################################################
#
# Data Attributes
#
# ###########################################################
DATA_ATTRIBUTES RECURSIVE_LINK
{
ICON Dtinf
DESCRIPTION This icon represents a symbolic link that points \
to itself, either folder or through a series of \
intermediate symbolic links. Its data type is \
named RECURSIVE_LINK.
TYPE_LABEL RECURSIVE_LINK
}
# ###########################################################
DATA_ATTRIBUTES BROKEN_LINK
{
ICON Dtblink
DESCRIPTION This icon represents a symbolic link that \
points to a non-existent file. Its data type is \
named BROKEN_LINK.
TYPE_LABEL BROKEN_LINK
}
# ###########################################################
DATA_ATTRIBUTES DOT_FILE
{
ACTIONS Open,Print
ICON Dtdata
IS_TEXT true
MIME_TYPE text/plain
MEDIA C_STRING
DESCRIPTION This file's data type is named DOT_FILE. \
A DOT_FILE is a file whose name begins with a \
dot (.). A DOT_FILE is normally hidden.
TYPE_LABEL DOT_FILE
}
DATA_CRITERIA DOT_FILE1
{
DATA_ATTRIBUTES_NAME DOT_FILE
MODE f
NAME_PATTERN .*
}
# ###########################################################
DATA_ATTRIBUTES EXECUTABLE
{
ACTIONS Run,Open
ICON Dtexec
IS_EXECUTABLE true
COPY_TO_ACTION Execute
MIME_TYPE application/octet-stream
SUNV3_TYPE default-app
MEDIA _DT_DATA
DESCRIPTION This file contains a shell script or a compiled \
program that can be executed. Its data type is \
named EXECUTABLE.
TYPE_LABEL EXECUTABLE
}
DATA_CRITERIA EXECUTABLE1
{
DATA_ATTRIBUTES_NAME EXECUTABLE
MODE f&x
}
ACTION Run
{
LABEL Run
ARG_TYPE EXECUTABLE
TYPE MAP
MAP_ACTION Execute
}
# ###########################################################
DATA_ATTRIBUTES UNKNOWN
{
ACTIONS Open,Print
ICON Dtdata
MIME_TYPE application/octet-stream
MEDIA _DT_DATA
DESCRIPTION This file does not match any other data type, \
so it has been assigned the data type named UNKNOWN.
TYPE_LABEL UNKNOWN
}
# ###########################################################
DATA_ATTRIBUTES DATA
{
ACTIONS Open,Print
ICON Dtdata
MIME_TYPE text/plain
MEDIA _DT_DATA
DESCRIPTION This file does not match any other data type, \
so it has been assigned the data type named DATA.
TYPE_LABEL DATA
}
DATA_CRITERIA DATA1
{
DATA_ATTRIBUTES_NAME DATA
MODE f&!x
}
# ###################################################################
# ###################################################################
#
# Actions provided by the Common Desktop Environment File Manager.
#
# ###################################################################
ACTION DtfileHome
{
LABEL File Manager - Home
ARG_COUNT 0
ICON Fphome
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtHome_Show
DESCRIPTION The File Manager - Home (DtfileHome) action opens a \
File Manager view of the user's home folder.
}
# #####
ACTION Dtfile
{
LABEL File Manager
ICON Fphome
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Edit
TT_FILE %Arg_1"Folder to open:"%
TT_ARG0_MODE TT_INOUT
TT_ARG0_VTYPE FILE_NAME
DESCRIPTION The File Manager (Dtfile) action opens a File Manager \
view of the specified folder.
}
# #####
ACTION Dtappmgr
{
LABEL Application Manager
ICON Fpapps
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtTools_Show
TT_FILE /var/dt/appconfig/appmanager/$DTUSERSESSION
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE -title
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE Application Manager
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE -help_volume
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE Appmanager
DESCRIPTION The Application Manger (Dtappmgr) action opens a \
File Manager view of the the Application Manager.
}
# #####
ACTION DtEmptyTrash
{
LABEL Empty Trash Can
ARG_COUNT 0
ICON Dtshred
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtTrash_Empty
DESCRIPTION The Empty Trash Can (DtEmptyTrash) action empties the desktop Trash \
Can window when the action icon is double-clicked.
}
ACTION Dttrash
{
LABEL Trash Can
ARG_COUNT 0
ICON Dttrsh
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtTrash_Show
DESCRIPTION The Trash Can (Dttrash) action opens the desktop Trash \
Can window when the action icon is double-clicked. \
When a file is dropped on the icon, the file is \
moved to the Trash Can.
}
ACTION Dttrash
{
LABEL Trash Can
ARG_COUNT >0
ICON Dttrsh
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtTrash_Remove
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE string
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE string
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE %Arg_1%
DESCRIPTION The Trash Can (Dttrash) action opens the desktop Trash \
Can window when the action icon is double-clicked. \
When a file is dropped on the icon, the file is \
moved to the Trash Can.
}
ACTION DtUnlink
{
LABEL Trash Can
ARG_COUNT 2
ICON Dttrsh
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtTrash_Remove
TT_FILE %Arg_1%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE string
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE string
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE %Arg_2%
DESCRIPTION The Trash Can (Dttrash) action opens the desktop Trash \
Can window when the action icon is double-clicked. \
When a file is dropped on the icon, the file is \
moved to the Trash Can.
}
ACTION DtUnlink
{
LABEL Trash Can
ARG_COUNT >2
ICON Dttrsh
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtTrash_Remove
TT_FILE %Arg_1%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE string
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE %Args%
DESCRIPTION The Trash Can (Dttrash) action opens the desktop Trash \
Can window when the action icon is double-clicked. \
When a file is dropped on the icon, the file is \
moved to the Trash Can.
}
ACTION PutOnWorkspace
{
LABEL Put On Workspace
ICON Dtpodt
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtFile_PutOnWorkspace
TT_FILE %Arg_3%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE -workspace
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE %Arg_2%
TT_ARG2_MODE TT_IN
TT_ARG2_VTYPE string
TT_ARG2_REP_TYPE TT_REP_STRING
TT_ARG2_VALUE %Arg_3%
DESCRIPTION This action (DtPutOnWorkspace) will place an object on the workspace
}
# #####
ACTION FILESYSTEM_MOVE
{
LABEL Move To Directory
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtFile_Move
TT_FILE %Arg_1%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE string
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE %Arg_1%
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE string
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE %Args%
DESCRIPTION The FILESYSTEM_MOVE action allows an Common Desktop Environment compliant application to run an action to which causes the File Manager to preform a move on the file(s) passed in. The format for this action is: 'FILESYSTEM_MOVE <folder_name_to> <files>' where files is a full path name list of files separated by spaces.
}
# #####
ACTION FILESYSTEM_COPY
{
LABEL Copy To Directory
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtFile_Copy
TT_FILE %Arg_1%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE string
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE %Arg_1%
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE string
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE %Args%
DESCRIPTION The FILESYSTEM_COPY action allows an Common Desktop Environment compliant application to run an action to which causes the File Manager to preform a copy on the file(s) passed in. The format for this action is: 'FILESYSTEM_COPY <folder_name_to> <files>' where files is a full path name list of files separated by spaces.
}
# #####
ACTION FILESYSTEM_LINK
{
LABEL Link To Directory
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtFile_Link
TT_FILE %Arg_1%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE string
TT_ARG0_REP_TYPE TT_REP_STRING
TT_ARG0_VALUE %Arg_1%
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE string
TT_ARG1_REP_TYPE TT_REP_STRING
TT_ARG1_VALUE %Args%
DESCRIPTION The FILESYSTEM_LINK action allows an Common Desktop Environment compliant application to run an action to which causes the File Manager to preform a link on the file(s) passed in. The format for this action is: 'FILESYSTEM_LINK <folder_name_to> <files>' where files is a full path name list of files separated by spaces.
}
# #####
ACTION OpenFolder
{
LABEL Open
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Edit
TT_FILE %Arg_1"Folder to open:"%
TT_ARG0_MODE TT_INOUT
TT_ARG0_VTYPE FILE_NAME
DESCRIPTION The Open New View action displays a File Manager \
view of the specified folder in a new File \
Manager window.
}
# #####
ACTION OpenNewView
{
LABEL Open New View
TYPE MAP
MAP_ACTION Open
}
# #####
ACTION OpenInPlace
{
LABEL Open In Place
TYPE MAP
MAP_ACTION Open
}
# #####
ACTION PrintFolderList
{
LABEL PrintFolderList
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c ' ls -aLlF "%(File)Arg_1%" | /usr/dt/bin/dtlp -u "%(File)Arg_1%"'
DESCRIPTION The PrintFolderList action prints the contents \
of a folder on the default printer.
}
# ######################## EOF ############################################

View file

@ -1,218 +0,0 @@
# #######################################################################
#
# dthelp.dt
#
# Actions and filetypes for Help files.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: dthelp.dt.src /main/4 1996/04/23 17:35:19 drk $
#
# #####################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES DTHELP_VOL
{
ACTIONS Open,Print
ICON Dthvol
NAME_TEMPLATE %s.sdl
MIME_TYPE application/octet-stream
DESCRIPTION This is a master volume file for a help \
volume. Its data type is named DTHELP_VOL. \
DTHELP_VOL files have names ending with '.sdl' or '.hv'.
TYPE_LABEL DTHELP_VOL
}
DATA_CRITERIA DTHELP_VOL1
{
DATA_ATTRIBUTES_NAME DTHELP_VOL
MODE f
NAME_PATTERN *.sdl
}
DATA_CRITERIA DTHELP_VOL2
{
DATA_ATTRIBUTES_NAME DTHELP_VOL
MODE f
NAME_PATTERN *.hv
}
ACTION Open
{
LABEL Open
ARG_TYPE DTHELP_VOL
TYPE MAP
MAP_ACTION Dthelpview
}
ACTION Print
{
LABEL Print
ARG_TYPE DTHELP_VOL
TYPE MAP
MAP_ACTION NoPrint
}
# #########################################################
DATA_ATTRIBUTES DTHELP_HT
{
ACTIONS (None)
ICON Dthtop
NAME_TEMPLATE %s.ht
MIME_TYPE application/octet-stream
DESCRIPTION This is a help topic file that is part of a help \
volume. To view the help topic, you must open the \
master volume file. The data type of this file is \
named DTHELP_HT. DTHELP_HT files have names \
ending with '.ht'.
TYPE_LABEL DTHELP_HT
}
DATA_CRITERIA DTHELP_HT1
{
DATA_ATTRIBUTES_NAME DTHELP_HT
NAME_PATTERN *.ht
MODE f
}
# #########################################################
DATA_ATTRIBUTES DTHELP_HVK
{
ACTIONS (None)
ICON Dthtop
NAME_TEMPLATE %s.hvk
MIME_TYPE application/octet-stream
DESCRIPTION This is a file associated with compiled help \
volume. To view the help volume, you must open \
the master volume file. The data type of this \
file is named DTHELP_HVK. DTHELP_HVK files have \
names ending with '.hvk'.
TYPE_LABEL DTHELP_HVK
}
DATA_CRITERIA DTHELP_HVK1
{
DATA_ATTRIBUTES_NAME DTHELP_HVK
NAME_PATTERN *.hvk
MODE f
}
# #########################################################
DATA_ATTRIBUTES DTHELP_XRH
{
ACTIONS (None)
ICON Dthtop
NAME_TEMPLATE %s.xrh
MIME_TYPE application/octet-stream
DESCRIPTION This is a file associated with compiled help \
volume. To view the help volume, you must open \
the master volume file. The data type of this \
file is named DTHELP_XRH. DTHELP_XRH files have \
names ending with '.xrh'.
TYPE_LABEL DTHELP_XRH
}
DATA_CRITERIA DTHELP_XRH
{
DATA_ATTRIBUTES_NAME DTHELP_XRH
NAME_PATTERN *.xrh
MODE f
}
# ##################################################################
# ##################################################################
#
# Actions
#
# ##################################################################
ACTION Dthelpview
{
LABEL Help Viewer
ARG_COUNT 0
ICON Fphelp
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/sh -c '/usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION; /usr/dt/bin/dthelpview -helpVolume browser '
DESCRIPTION The Help Viewer (Dthelpview) action displays the Top \
Level of help when the icon is double-clicked. \
If you drop a help volume file on the icon, that \
volume is displayed.
}
ACTION Dthelpview
{
LABEL Help Viewer
ICON Fphelp
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/sh -c '/usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION; /usr/dt/bin/dthelpview -helpVolume "%(File)Arg_1%" '
DESCRIPTION The Help Viewer (Dthelpview) action displays the Top \
Level of help when the icon is double-clicked. \
If you drop a help volume file on the icon, that \
volume is displayed.
}
# #######
ACTION Dthelpgen
{
LABEL Help Generator
ICON Fphelp
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/sh -c '/usr/dt/bin/dthelpgen -dir "%(File)Arg_1"Location to put generated help files:"%"'
DESCRIPTION The Help Generator (Dthelpgen) action runs \
dthelpgen which generates the online help for \
a user. It also displays the "Generating browser \
information. Please wait" dialog while running. \
This action is executed when a user logs into \
the Common Desktop Environment for the first time.
}
ACTION Dthelpgen_delay
{
LABEL Help Generator
ICON Fphelp
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/sh -c 'sleep 15; /usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION'
DESCRIPTION The Help Generator (Dthelpgen) action runs \
dthelpgen which generates the online help for \
a user. It also displays the "Generating browser \
information. Please wait" dialog while running. \
This action is executed when a user logs into \
the Common Desktop Environment for the first time.
}
# #######
ACTION Dtmanpageview
{
LABEL Man Page Viewer
ICON Dthover
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c ' /usr/dt/bin/dthelpview -manPage `basename "%(File)Arg_1"Man Page:"%" | sed /[.].*/s///` -xrm "Dthelpview*manBox*columns: 100"'
DESCRIPTION The Man Page Viewer (Dtmanpageview) action \
displays a man page in a Quick Help viewer window.
}
# ######################## EOF ############################################

View file

@ -1,56 +0,0 @@
# ##########################################################################
#
# dthelpprint.dt
#
# Actions and filetypes for dthelpprint files.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: dthelpprint.dt.src /main/4 1996/04/23 17:35:22 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES DTHELP_PRINT_FILE
{
ACTIONS Print
ICON Dthvol
NAME_TEMPLATE _phlp%s
DESCRIPTION This file is generated when you print from \
the help system. Its data type is named \
DTHELP_PRINT_FILE. DTHELP_PRINT_FILE files have \
names beginning with '_phlp'.
TYPE_LABEL DTHELP_PRINT_FILE
}
DATA_CRITERIA DTHELP_PRINT_FILE1
{
DATA_ATTRIBUTES_NAME DTHELP_PRINT_FILE
MODE f
NAME_PATTERN _phlp*
}
ACTION Print
{
ARG_TYPE DTHELP_PRINT_FILE
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtlp -f "%(File)Arg_1%" ${LPDEST:+-d} ${LPDEST:+$LPDEST} -n "${DTPRINTCOPYCOUNT:-1}" -b "${DTPRINTBANNERTITLE:-CDE Help}" "${DTPRINTCOMMAND:+-m}" "${DTPRINTCOMMAND:+$DTPRINTCOMMAND}" "${DTPRINTFROMCODESET:+-c}" "${DTPRINTFROMCODESET:+$DTPRINTFROMCODESET}" "${DTPRINTCODESET:+-t}" "${DTPRINTCODESET:+$DTPRINTCODESET}" -u "${DTPRINTUSERFILENAME:-Help Information}" -w "${DTPRINTRAW:-$FALSE}" -s "${DTPRINTSILENT:-$TRUE}" -e "${DTPRINTFILEREMOVE:-$TRUE}";
}
# ######################## EOF ############################################

View file

@ -1,214 +0,0 @@
# ##########################################################################
#
# dthelptag.dt
#
# Actions and DataTypes for authoring Help information.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $TOG: dthelptag.dt.src /main/6 1998/07/29 17:08:50 mgreess $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# The Help executables are shipped in ../dt/bin, which may not be
# part of all the users' paths. Therefore the following string is
# defined to add this to the path before invoking the client.
set HELPTAG_PATH=\$PATH:/usr/dt/bin
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES DTHELP_HTG
{
ACTIONS Open,Compile,CleanUp
ICON Dthsrc
NAME_TEMPLATE %s.htg
MIME_TYPE text/plain
DESCRIPTION This is a master HelpTag source file for the \
desktop Help System. Information in this file is \
formatted using the HelpTag markup language, and \
must be compiled with the HelpTag software \
('dthelptag') before viewing. The data type name \
is DTHELP_HTG. DTHELP_HTG files have names ending \
with '.htg'.
TYPE_LABEL DTHELP_HTG
}
DATA_CRITERIA DTHELP_HTG1
{
DATA_ATTRIBUTES_NAME DTHELP_HTG
MODE f
NAME_PATTERN *.htg
}
# ##################################################################
DATA_ATTRIBUTES DTHELP_CTG
{
ACTIONS Open,CompileCanon,CleanUp
ICON Dthsrc
NAME_TEMPLATE %s.ctg
MIME_TYPE text/plain
DESCRIPTION This is a canonical SGML master HelpTag source \
file for the desktop Help System. Information in \
this file is formatted using the canonical HelpTag \
markup language, and must be compiled with the \
HelpTag software ('dthelptag') using the '-canon' \
option before viewing. The data type name is \
DTHELP_CTG. DTHELP_CTG files have names ending \
with '.ctg'.
TYPE_LABEL DTHELP_CTG
}
DATA_CRITERIA DTHELP_CTG1
{
DATA_ATTRIBUTES_NAME DTHELP_CTG
MODE f
NAME_PATTERN *.ctg
}
# ##################################################################
DATA_ATTRIBUTES DTHELP_ERR
{
ACTIONS Open
ICON Dthtop
NAME_TEMPLATE %s.err
MIME_TYPE text/plain
DESCRIPTION This file contains parser errors associated \
with a compiled Help volume. This file is \
generated by the dthelptag parser only when \
parser errors are detected while compiling the \
help volume. Its data type name is DTHELP_ERR. \
DTHELP_ERR files have names ending with '.err'.
TYPE_LABEL DTHELP_ERR
}
DATA_CRITERIA DTHELP_ERR1
{
DATA_ATTRIBUTES_NAME DTHELP_ERR
NAME_PATTERN *.err
MODE f
}
# ##################################################################
# ##################################################################
#
# Actions
#
# ##################################################################
ACTION Open
{
LABEL Open
ARG_TYPE DTHELP_HTG,DTHELP_CTG
TYPE MAP
MAP_ACTION OpenHelpTag
}
# ######
ACTION Compile
{
LABEL Compile
ARG_TYPE DTHELP_HTG
TYPE MAP
MAP_ACTION HelpTag
}
# ######
ACTION CompileCanon
{
LABEL CompileCanon
ARG_TYPE DTHELP_CTG
TYPE MAP
MAP_ACTION HelpTagCanon
}
# ######
ACTION CleanUp
{
LABEL Cleanup
ARG_TYPE DTHELP_HTG,DTHELP_CTG
TYPE MAP
MAP_ACTION CleanHelpTag
}
# ######
ACTION OpenHelpTag
{
LABEL OpenHelpTag
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtpad "%(File)Arg_1%"
DESCRIPTION The OpenHelpTag action opens a master HelpTag \
file (a '.sdl' or '.hv' file) in a text editor.
}
# ######
ACTION HelpTag
{
LABEL HelpTag
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c 'PATH=$HELPTAG_PATH dthelptag -clean `basename "%(File)Arg_1"HelpTag File:"%"`; PATH=$HELPTAG_PATH dthelptag `basename "%(File)Arg_1%"`'
DESCRIPTION The HelpTag action compiles a master HelpTag \
file to create run-time help files. The run-time \
files can be displayed by an application using the \
Help system, or by using the 'dthelpview' program.
}
# ######
ACTION HelpTagCanon
{
LABEL HelpTagCanon
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c 'PATH=$HELPTAG_PATH dthelptag -clean `basename "%(File)Arg_1"HelpTag File:"%"`; PATH=$HELPTAG_PATH dthelptag -formal `basename "%(File)Arg_1%"`'
DESCRIPTION The HelpTagCanon action compiles a canonical SGML \
master HelpTag file to create run-time help files. \
The run-time files can be displayed by an \
application using the Help system, or using the \
'dthelpview' program.
}
# ######
ACTION CleanHelpTag
{
LABEL CleanHelpTag
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c 'PATH=$HELPTAG_PATH dthelptag -clean `basename "%(File)Arg_1"HelpTag File:"%"`'
DESCRIPTION The CleanHelpTag action removes all run-time help \
files created by the HelpTag action.
}
# ######################## EOF ############################################

View file

@ -1,72 +0,0 @@
# ##########################################################################
#
# dtims.dt
#
# Action definitions for the Common Desktop Environment
# dtimsstart application.
#
# (c) Copyright 1996 Digital Equipment Corporation.
# (c) Copyright 1996 Hewlett-Packard Company.
# (c) Copyright 1996 International Business Machines Corp.
# (c) Copyright 1996 Sun Microsystems, Inc.
# (c) Copyright 1996 Novell, Inc.
# (c) Copyright 1996 FUJITSU LIMITED.
# (c) Copyright 1996 Hitachi.
#
# $XConsortium: dtims.dt.src /main/2 1996/04/23 17:35:29 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Actions
#
# ##################################################################
ACTION DtImsMode
{
LABEL DtImsMode
TYPE COMMAND
WINDOW_TYPE NO_STDIO
ARG_COUNT *
ARG_CLASS *
ARG_MODE *
EXEC_STRING dtimsstart -mode -window %Args%
DESCRIPTION The DtImsMode action sets the selection mode for Input Method.
}
ACTION DtImsGetRemoteConf
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
ARG_COUNT *
ARG_CLASS *
ARG_MODE *
EXEC_STRING dtimsstart -remoteconf %(String)Args%
DESCRIPTION This action obtains Input Method configuration data \
from a remote system.
}
ACTION DtImsRunRemoteIms
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
ARG_COUNT *
ARG_CLASS *
ARG_MODE *
EXEC_STRING dtimsstart -remoterun %(String)Args%
DESCRIPTION This action starts an Input Method Server on a remote system.
}

View file

@ -1,172 +0,0 @@
# ##########################################################################
#
# dtinfo.dt
#
# Action and DataType definitions for the Common Desktop Environment
# Information Manager.
#
# (c) Copyright 1996 Digital Equipment Corporation.
# (c) Copyright 1996 Hewlett-Packard Company.
# (c) Copyright 1996 International Business Machines Corp.
# (c) Copyright 1996 Sun Microsystems, Inc.
# (c) Copyright 1996 Novell, Inc.
# (c) Copyright 1996 FUJITSU LIMITED.
# (c) Copyright 1996 Hitachi.
#
# $TOG: dtinfo.dt.src /main/10 1998/07/29 17:09:46 mgreess $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES DtInfoLib
{
ACTIONS Open,Print
TYPE_LABEL Info Lib
ICON Dtinlib
IS_TEXT false
DESCRIPTION On-line documentation for the Information Manager.
}
DATA_CRITERIA DtInfoLib1
{
DATA_ATTRIBUTES_NAME DtInfoLib
NAME_PATTERN *.dti
# CONTENT 0 filename .oli
MODE d|l
LINK_NAME *.dti
}
# ##################################################################
ACTION Open
{
ARG_TYPE DtInfoLib
TYPE MAP
MAP_ACTION DtLoadInfoLib
}
ACTION Print
{
LABEL Print
ARG_TYPE DtInfoLib
TYPE MAP
MAP_ACTION NoPrint
}
DATA_ATTRIBUTES TMPPRINTFILE
{
ACTIONS Print
NAME_TEMPLATE %s.itp
DESCRIPTION This is a temporary file generated by dtinfo when infolib sections are dropped on the printer icon on the front panel for printing.
TYPE_LABEL TMPPRINTFILE
}
DATA_CRITERIA TMPPRINTFILE1
{
DATA_ATTRIBUTES_NAME TMPPRINTFILE
MODE f
CONTENT 0 string mmdb:
PATH_PATTERN $HOME/.dt/tmp/*
}
ACTION DtLoadInfoLib
{
LABEL Information Manager
ICON Dtinfo
DESCRIPTION Start an information browser.
#
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtInfo_LoadInfoLib
TT_FILE %Arg_1%
#
# Name of the action to invoke
#
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE string
TT_ARG0_VALUE DtInfoStart
#
# Name of the host where the InfoLib exists
#
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE string
TT_ARG1_VALUE %LocalHost%
#
# Name of the locale
#
TT_ARG2_MODE TT_IN
TT_ARG2_VTYPE string
TT_ARG2_VALUE $LANG
}
ACTION DtShowInfoAtLoc
{
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION DtInfo_ShowInfoAtLoc
TT_FILE %Arg_1%
#
# Name of the action to invoke
#
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE string
TT_ARG0_VALUE DtInfoStartAtLoc
#
# Name of the host where the InfoLib exists
#
TT_ARG1_MODE TT_IN
TT_ARG1_VTYPE string
TT_ARG1_VALUE %LocalHost%
#
# Name of the locale
#
TT_ARG2_MODE TT_IN
TT_ARG2_VTYPE string
TT_ARG2_VALUE $LANG
#
# Name of the section (in generalized locator format)
#
TT_ARG3_MODE TT_IN
TT_ARG3_VTYPE string
TT_ARG3_VALUE %Arg_2%
}
# ##################################################################
ACTION DtInfoStart
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtinfo -l "%(String)Arg_1%"
}
ACTION DtInfoStartAtLoc
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtinfo -l "%(String)Arg_1%" -sect "%(String)Arg_2%"
}

View file

@ -1,182 +0,0 @@
###############################################################################
#
# dtmail.dt
#
# Action and DataType definitions for the Common Desktop Environment
# (CDE) Mailer Component.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $TOG: dtmail.dt /main/11 1998/11/02 10:53:40 mgreess $
# @(#)dtmail.dt 1.32 10 Aug 1994
###############################################################################
set DtDbVersion=1.0
###############################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
###############################################################################
###################################################################
#
# Data Attributes
#
###################################################################
DATA_ATTRIBUTES DTMAIL_FILE
{
ACTIONS Open,Compose
ICON DtMail
IS_TEXT true
MOVE_TO_ACTION MailAppendRm
COPY_TO_ACTION MailAppend
MEDIA RFC_822_MESSAGE
MIME_TYPE message/rfc822
SUNV3_TYPE mail-message
DESCRIPTION This is a folder for the desktop mailer. Its \
data type is named DTMAIL_FILE. DMMAIL_FILE files \
contain the characters \
"CDE-Mail-Application-MailBox-File" or "From".
TYPE_LABEL DTMAIL_FILE
}
DATA_CRITERIA DTMAIL_FILE1
{
DATA_ATTRIBUTES_NAME DTMAIL_FILE
CONTENT 64 string CDE-Mail-Application-MailBox-File
MODE f&!x
}
DATA_CRITERIA DTMAIL_FILE2
{
DATA_ATTRIBUTES_NAME DTMAIL_FILE
CONTENT 0 string From
MODE f&!x
}
ACTION MailAppend
{
TYPE COMMAND
ARG_COUNT 2
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c ' \
if [ "%(File)Arg_2%" != "%(File)Arg_1%" ];\
then \
# check if the source is DTMAIL_FILE ;\
# we only accept DTMAIL_FILE as drag source ;\
IS_DTMAIL=`/usr/dt/bin/dttypes -type "%(File)Arg_2%"|grep DTMAIL_FILE`;\
if [ -n "\$IS_DTMAIL" ]; then \
ERROR=`cat "%(File)Arg_2%" >> "%(File)Arg_1%" \
2>/tmp/dtmail.\$\$ || cat /tmp/dtmail.\$\$`; \
[ -f /tmp/dtmail.\$\$ ] && /bin/rm -f /tmp/dtmail.\$\$; \
if [ -n "\$ERROR" ]; then \
/usr/dt/bin/dterror.ds \
"\$ERROR" "Information" \
"OK"; \
fi; \
else \
/usr/dt/bin/dterror.ds \
"There are no actions available \\n for this type of file." \
"Information" \
"OK" ; \
fi; \
else \
/usr/dt/bin/dterror.ds \
"There are no actions available \\n for this type of file." \
"Information" \
"OK"; \
fi'
}
ACTION MailAppendRm
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c ' \
TYPE=`/usr/dt/bin/dttypes -type "%(File)Arg_2%" | \
grep \" is of type \" | sed /".* is of type "/s///`; \
if [ \$TYPE = "DTMAIL_FILE" ]; then \
cat "%(File)Arg_2%" >> "%(File)Arg_1%"; \
rm "%(File)Arg_2%" ; \
else \
/usr/dt/bin/dterror.ds \
"There are no actions available \\n for this type of file." \
"Information" \
"OK" ; \
fi'
}
#
# The following action does not work. When dtmail exits, an error
# dialog is posted.
#
ACTION Compose
{
LABEL Compose
ARG_TYPE *
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtmail -c
}
ACTION Compose
{
LABEL Compose
ARG_TYPE *
ARG_COUNT >0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtmail -a %Args%
}
ACTION ComposeOrOpen
{
LABEL Open
ARG_TYPE DTMAIL_FILE
ARG_COUNT >0
TYPE MAP
MAP_ACTION Open
}
ACTION ComposeOrOpen
{
LABEL Compose
ARG_TYPE *
ARG_COUNT >0
TYPE MAP
MAP_ACTION Compose
}
ACTION Open
{
LABEL Open
ARG_TYPE DTMAIL_FILE
ARG_COUNT >0
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Display
TT_FILE %Arg_1%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE %Arg_1%
TT_ARG0_REP_TYPE TT_REP_STRING
}
ACTION Print
{
LABEL Print
ARG_TYPE DTMAIL_FILE
ARG_COUNT >0
TYPE TT_MSG
TT_CLASS TT_REQUEST
TT_SCOPE TT_SESSION
TT_OPERATION Print
TT_FILE %Arg_1%
TT_ARG0_MODE TT_IN
TT_ARG0_VTYPE %Arg_1%
TT_ARG0_REP_TYPE TT_REP_STRING
}
########################### EOF ##############################################

View file

@ -1,116 +0,0 @@
# ##########################################################################
#
# dtpad.dt
#
# Actions used with the DT Text Editor (dtpad)
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: dtpad.dt.src /main/4 1996/04/23 17:35:35 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES TEXTFILE
{
ACTIONS Open,Print
ICON Dtdata
IS_TEXT true
NAME_TEMPLATE %s.txt
MIME_TYPE text/plain
SUNV3_TYPE text
MEDIA C_STRING
DESCRIPTION This file contains plain text data. Its \
data type is named TEXTFILE. A TEXTFILE must have \
a named ending with '.txt'.
TYPE_LABEL TEXTFILE
}
DATA_CRITERIA TEXTFILE1
{
DATA_ATTRIBUTES_NAME TEXTFILE
MODE f&!x
NAME_PATTERN *.txt
}
# ##################################################################
#
# WARNING WARNING WARNING
#
# The following DATA_CRITERIA rule is used by dtmail to
# identify the system TEXTFILE DATA_ATTRIBUTE. If you remove
# or modify this rule, dtmail may not properly display text
# messages.
#
# ##################################################################
DATA_CRITERIA TEXTFILE2
{
DATA_ATTRIBUTES_NAME TEXTFILE
MODE f&!x
NAME_PATTERN text
}
ACTION Print
{
LABEL Print
ARG_TYPE TEXTFILE
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtlp "%Arg_1%"
}
# ##########################################################################
# ##########################################################################
#
# Actions
#
# ##########################################################################
# ####################
#
# PRINT actions
#
# ####################
#
# The PRINT_DTPAD action mimics the default "Print" action except
# that it removes the temporary file being printed. This action
# is used by the client, 'dtpad'.
#
# ####################
ACTION PRINT_DTPAD_TEMPFILE
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtlp -u "%(String)Arg_2%" -e "%(File)Arg_1%"
}
# #####################
#
# Editing Actions
#
# #####################
ACTION Dtpad
{
LABEL Text Editor
ICON Dtpenpd
TYPE MAP
MAP_ACTION DtTTMediaOpen
DESCRIPTION The Text Editor (Dtpad) action opens the specified \
file in a desktop text editor window.
}
# ######################## EOF ############################################

View file

@ -1,121 +0,0 @@
# ##########################################################################
#
# dtscreen.dt
#
# Actions for defining screen savers to the Common Desktop Environment.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: dtscreen.dt.src /main/4 1996/04/23 17:35:39 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Actions
#
# ##################################################################
ACTION StartDtscreenHop
{
LABEL StartDtscreenHop
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode hop
DESCRIPTION Hopalong iterated fractals
}
ACTION StartDtscreenQix
{
LABEL StartDtscreenQix
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode qix
DESCRIPTION Spinning lines
}
ACTION StartDtscreenImage
{
LABEL StartDtscreenImage
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode image
DESCRIPTION Random bouncing image
}
ACTION StartDtscreenLife
{
LABEL StartDtscreenLife
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode life
DESCRIPTION Conway's game of Life
}
ACTION StartDtscreenSwarm
{
LABEL StartDtscreenSwarm
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode swarm
DESCRIPTION Swarm of bees
}
ACTION StartDtscreenRotor
{
LABEL StartDtscreenRotor
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode rotor
DESCRIPTION Rotor
}
ACTION StartDtscreenPyro
{
LABEL StartDtscreenPyro
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode pyro
DESCRIPTION Fireworks
}
ACTION StartDtscreenFlame
{
LABEL StartDtscreenFlame
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode flame
DESCRIPTION Cosmic Flame Fractals
}
ACTION StartDtscreenWorm
{
LABEL StartDtscreenWorm
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode worm
DESCRIPTION Wiggly Worms
}
ACTION StartDtscreenBlank
{
LABEL StartDtscreenBlank
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtscreen -mode blank
DESCRIPTION Blank Screen
}
# ######################## EOF ############################################

View file

@ -1,318 +0,0 @@
# ##########################################################################
#
# miscActions.dt
#
# Examples of miscellaneous Actions (mostly for X clients).
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: miscActions.dt.src /main/4 1996/04/23 17:36:05 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Actions
#
# ##################################################################
ACTION Xcalc
{
LABEL X Calculator
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xcalc
DESCRIPTION The Xcalc action invokes the xcalc X client. \
The xcalc client is a scientific calculator \
desktop accessory that can emulate a TI-30 or an HP-10C.
}
# #####
ACTION Oclock
{
LABEL Oval Clock
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING oclock
DESCRIPTION The Oval Clock (Oclock) action invokes the oclock \
X client. The oclock client simply displays the \
current time in an analog display.
}
# #####
ACTION Xlsatoms
{
LABEL List Atoms
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xlsatoms
DESCRIPTION The List Atoms (Xlsatoms) action invokes \
the xlsatoms X client. Xlsatoms lists the interned atoms.
}
# #####
ACTION Xbiff
{
LABEL Xbiff
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xbiff
DESCRIPTION The Xbiff action invokes the xbiff X client. \
The xbiff program displays a little image of \
a mailbox. When there is no mail, the flag \
on the mailbox is down. When mail arrives, \
the flag goes up and the mailbox beeps.
}
# #####
ACTION Xcolor
{
LABEL Xcolor
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xcolor
DESCRIPTION The Xcolor action invokes the xcolor X client. \
xcolor displays all 256 colors in a window. \
When you move the pointer into the window, \
installs a colormap containing a hue ramp \
with constant saturation and constant \
brightness, while preserving black and white.
}
# #####
ACTION Xcutsel
{
LABEL Cut and Select
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xcutsel
DESCRIPTION The Cut and Select (Xcutsel) action invokes \
the xcutsel X client. The xcutsel client is used \
to copy the current selection into a cut buffer \
and to make a selection that contains the current \
contents of the cut buffer. It acts as a bridge \
between applications that don't support selections \
and those that do.
}
# #####
ACTION Xditview
{
LABEL Xditview
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xditview
DESCRIPTION The Xditview action invokes the xditview X client. \
The xditview program displays ditroff output \
on an X display.
}
# #####
ACTION Xedit
{
LABEL Xedit
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xedit
DESCRIPTION The Xedit action invokes the xedit X client. \
The xedit client provides a window consisting of \
four areas: 1. Commands Section: A set of commands \
that allow you to exit xedit, save the file, \
or load a new file into the edit window \
2. Message Window: Displays xedit messages. \
In addition, this window can be used as a \
scratch pad. 3. Filename Display: Displays \
the name of the file currently being edited, \
and whether this file is Read-Write or Read \
Only. 4. Edit Window: Displays the text of \
the file that you are editing or creating.
}
# #####
ACTION Xlock
{
LABEL Xlock
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xlock
DESCRIPTION The Xlock action invokes the xlock X client. \
The xlock client Locks the local X display until a \
password is entered.
}
# #####
ACTION Xlogo
{
LABEL Xlogo
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xlogo
DESCRIPTION The Xlogo action invokes the xlogo X client. \
The xlogo client displays the X Window \
System logo.
}
# #####
ACTION Xmag
{
LABEL Magnify
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xmag
DESCRIPTION The Magnify (Xmag) action invokes the xmag X client. \
The xmag client allows you to magnify \
portions of an X screen. If no explicit \
region is specified, a square with the \
pointer in the upper left corner is \
displayed indicating the area to be enlarged. \
The area can be dragged out to the desired \
size by pressing Button 2. Once a region \
has been selected, a window is popped up \
showing a blown up version of the region in \
which each pixel in the source image is \
represented by a small square of the same color.
}
# #####
ACTION Xman
{
LABEL Xman
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xman
DESCRIPTION The Xman action invokes the xman X client. \
The xman client is a manual page browser.
}
# #####
ACTION Xmh
{
LABEL X Mail Handler
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xmh
DESCRIPTION The X Mail Handler (Xmh) action invokes the xmh \
X client. The xmh client provides a graphical user \
interface to the MH Message Handling System. \
To actually do things with your mail, it \
makes calls to the MH package. Electronic \
mail messages may be composed, sent, \
received, replied to, forwarded, sorted, and \
stored in folders. xmh provides extensive \
mechanism for customization of the user interface.
}
# #####
ACTION Xeyes
{
LABEL Eyes
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xeyes
DESCRIPTION The Eyes (Xeyes) action invokes the xeyes X client. \
The xeyes client displays a pair of eyes which \
follow your pointer as it is moved around the display.
}
# #####
ACTION Xauth
{
LABEL X Authority
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xauth
DESCRIPTION The X Authority (Xauth) action invokes the xauth \
X client. The xauth client is used to edit and \
display the authorization information used in \
connecting to the X server.
}
# #####
ACTION Xlsclients
{
LABEL List Clients
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xlsclients
DESCRIPTION The List Clients (Xlsclients) action invokes the \
xlsclients X client. The xlsclients client is a \
utility for listing information about the client \
applications running on a display. It may be used \
to generate scripts representing a snapshot of the \
user's current session.
}
# #####
ACTION Xpuzzle
{
LABEL X Puzzle
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xpuzzle
DESCRIPTION The X Puzzle (Xpuzzle) action invokes the \
xpuzzle X client. The xpuzzle client is a \
is a 4x4 15 piece puzzle.
}
# #####
ACTION Passwd
{
LABEL Change Password
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING dtterm -geometry 60x8 -xrm "*menuBar: False" -e sh -c ' echo "Changing password"; echo "-----------------"; passwd'
DESCRIPTION The Change Password (Passwd) action uses the 'passwd' \
command to change the user's password.
}
# ######################## EOF ############################################

File diff suppressed because it is too large Load diff

View file

@ -1,219 +0,0 @@
# ##########################################################################
#
# print.dt
#
# Action and DataType Definitions for the printing
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: print.dt.src /main/4 1996/04/23 17:36:13 drk $
#
# The printer model for CDE is centered on the 'Print' action.
#
# You can define multiple 'Print' actions, one per data type.
# If no arguments are supplied to the 'Print' action, then the dtprintinfo
# command is invoked to show the printer and job status.
#
# 'dtprintinfo -populate' is an administration tool used to create default
# printer actions of the form '<printer name>_Print'.
#
# When a new file type is added to the system, a file-type specific 'Print'
# action may be created that the desktop action engine will automatically
# use instead of the default. This new action may use 'dtlp' or rely on
# its own print facilities to gather application-specific arguments.
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES PRINTER_UNKNOWN
{
ACTIONS PrinterUnconfigured
ICON DtPrtun
IS_EXECUTABLE true
DESCRIPTION This icon represents a printer that is no longer \
registered on your desktop.
TYPE_LABEL PRINTER_UNKNOWN
}
DATA_CRITERIA PRINTER_UNKNOWN1
{
DATA_ATTRIBUTES_NAME PRINTER_UNKNOWN
MODE f&x
NAME_PATTERN *_Print
}
#
# The default print action, invoked for generic ARG_TYPEs; that is,
# for files that have no other print action defined.
#
ACTION Print
{
LABEL Print
ARG_TYPE *
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtlp "%(File)Arg_1%"
DESCRIPTION This is the default print action. When it is run \
with a file argument, it gathers printer-specific \
options and then prints the file. When it is run \
with no arguments, it displays the 'Printer Jobs'\
window.
}
ACTION PrintRaw
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtlp -w "%(File)Arg_1%"
}
#
# If no file arguments are provided, invoke the Dtprintinfo
# action.
#
ACTION Print
{
LABEL Print
ARG_COUNT 0
TYPE MAP
MAP_ACTION Dtprintinfo
}
#
# The Print Manager (DtPrintManager) action invokes the
# 'dtprintinfo -all' command.
#
ACTION DtPrintManager
{
LABEL Print Manager
ICON FpPrtmg
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtprintinfo -all
DESCRIPTION The Print Manager (DtPrintManager) action enables you \
to determine the status of and view print jobs of \
multiple printers. It also allows you to drag \
printers to Install Icon controls on sub-panels.
}
#
# The Print Jobs (Dtprintinfo) action invokes the 'dtprintinfo'
# command or the 'dtprintinfo -p printer' command.
#
ACTION Dtprintinfo
{
LABEL Print Jobs
ICON Fpprnt
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtprintinfo -p "%(String)Arg_1%"
DESCRIPTION The Print Jobs (Dtprintinfo) action enables you to \
determine the status and view print jobs of a printer.
}
ACTION Dtprintinfo
{
LABEL Print Jobs
ARG_COUNT 0
ICON Fpprnt
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtprintinfo
DESCRIPTION The Print Jobs (Dtprintinfo) action enables you to \
determine the status and view print jobs of a printer.
}
# ###############################################################
#
# Actions for the Default Printer
#
# ###############################################################
#
# If a file argument is provided, invoke the Print
# action.
#
ACTION DtPrint
{
LABEL Default Printer
ARG_TYPE *
ICON Fpprnt
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtaction Print "%(File)Arg_1%"
DESCRIPTION This is the default print action. When it is run \
with a file argument, it gathers printer-specific \
options and then prints the file. When it is run \
with no arguments, it displays the 'Printer Jobs'\
window.
}
#
# If no file arguments are provided, invoke the Dtprintinfo
# action.
#
ACTION DtPrint
{
LABEL Default Printer
ARG_COUNT 0
ICON Fpprnt
TYPE MAP
MAP_ACTION Dtprintinfo
DESCRIPTION The Print Jobs (Dtprintinfo) action enables you to \
determine the status and view print jobs of a printer.
}
#
# Here are actions and data attributes for unknown and unconfigured
# printer objects.
#
ACTION PrinterUnconfigured
{
LABEL PrinterUnconfigured
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dterror.ds "This printer control is not configured.\\nTo configure \
it, press 'Help' and follow\\nthe instructions." "Unconfigured Printer" "OK" "HELP"
DESCRIPTION The PrinterUnconfigured action displays a \
dialog which states that the printer has not \
yet been configured.
}
ACTION Printer_Trash
{
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dterror.ds "Putting a printer in the trash does not\\n\
delete it from the system. Refer to your\\n\
system administration documentation to\\n\
delete a printer from the system." "Delete Printer" "OK"
DESCRIPTION The Printer_Trash action displays a \
dialog which states that putting a printer in the \
trash can will not delete that printer from your \
system.
}
# ######################## EOF ############################################

View file

@ -1,84 +0,0 @@
# ##########################################################################
#
# user-prefs.dt
#
# Actions which define user preferences.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: user-prefs.dt.src /main/4 1996/04/23 17:36:30 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##########################################################################
#
# Common Desktop Environment (CDE) Action Database Definitions
#
# The actions defined in this file map requests for general actions such
# as "TextEditor" to specific applications such as "Vi". To make personal
# customizations to these mappings, copy this file to
# $HOME/.dt/types/user-prefs.dt and change any of the MAP_ACTION to the
# action you wish to be run.
#
# To determine the actions that are available on your system, open the
# Application Manager from the front panel and browse.
#
# ##########################################################################
# To use 'vi' as your text editor, replace 'Dtpad' (the CDE
# Motif-based text editor) with 'Vi'.
ACTION TextEditor
{
LABEL Text Editor
ICON Dtpenpd
TYPE MAP
MAP_ACTION Dtpad
DESCRIPTION The Text Editor action runs the user preferred \
text editor.
}
# #####
# The default term for Common Desktop Environment (CDE) is Dtterm.
ACTION Terminal
{
LABEL Terminal
ICON Dtterm
TYPE MAP
MAP_ACTION Dtterm
DESCRIPTION The Terminal action runs the user preferred \
terminal emulator.
}
# #####
# The default trash can for Common Desktop Environment (CDE) is Dttrash.
ACTION Trash
{
LABEL Trash
ICON Dttrsh
TYPE MAP
MAP_ACTION Dttrash
DESCRIPTION The Trash action runs the user preferred \
Trash client.
}
# ###################### EOF ############################################

View file

@ -1,770 +0,0 @@
# ##########################################################################
#
# uxstd.dt
#
# Action and DataType definitions for standard operating system commands.
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $TOG: uxstd.dt.src /main/7 1998/07/29 17:09:27 mgreess $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##########################################################################
#
# Data Attributes
#
# ##########################################################################
DATA_ATTRIBUTES MAN_PAGE
{
ACTIONS Open,Print
ICON Dtmanpg
IS_TEXT true
ACTIONS Open,Print
MIME_TYPE text/plain
DESCRIPTION This file contains a man page. Its data \
type is named MAN_PAGE.
TYPE_LABEL MAN_PAGE
}
DATA_CRITERIA MAN_PAGE1
{
DATA_ATTRIBUTES_NAME MAN_PAGE
MODE f
PATH_PATTERN */man/man*/*.[1-9]*
}
DATA_CRITERIA MAN_PAGE2
{
DATA_ATTRIBUTES_NAME MAN_PAGE
MODE f
PATH_PATTERN */man/cat*/*.[1-9]*
}
ACTION Open
{
LABEL Open
ARG_TYPE MAN_PAGE
TYPE MAP
MAP_ACTION Dtmanpageview
}
ACTION Print
{
LABEL Print
ARG_TYPE MAN_PAGE
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtlp -a "%Arg_1%"
}
# ##########################################################
DATA_ATTRIBUTES TAR
{
ACTIONS Open,TarUnpack,Print
ICON Dtmagtp
NAME_TEMPLATE %s.tar
MIME_TYPE application/octet-stream
DESCRIPTION This file is an archive file that contains \
a number of individual files. Its data type is \
named TAR. TAR files have names ending with '.tar'.
TYPE_LABEL TAR
}
DATA_CRITERIA TAR1
{
DATA_ATTRIBUTES_NAME TAR
MODE f
NAME_PATTERN *.tar
}
ACTION Open
{
LABEL Open
ARG_TYPE TAR
TYPE MAP
MAP_ACTION TarList
}
ACTION Print
{
LABEL Print
ARG_TYPE TAR
TYPE MAP
MAP_ACTION PrintTarList
}
ACTION TarList
{
LABEL Archive List Contents
ICON Dtmagtp
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' tar -tvf "%(File)Arg_1%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Archive List Contents (TarList) action lists \
the files contained in a TAR archive file.
}
ACTION PrintTarList
{
LABEL PrintTarList
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c ' tar -tvf "%(File)Arg_1%" | /usr/dt/bin/dtlp -u "Archive List Contents"'
DESCRIPTION The PrintTarList action prints out a list of the \
files contained in a TAR archive file on the \
default printer.
}
ACTION TarUnpack
{
LABEL Archive Unpack
ICON Dtmagtp
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' tar -xvf "%(File)Arg_1"Filename:"%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Archive Unpack (TarUnpack) action accepts \
a TAR file as argument and separates out the \
archived files into separate files.
}
# ##########################################################
DATA_ATTRIBUTES COMPRESSED
{
ACTIONS Uncompress
ICON Dtcmprs
NAME_TEMPLATE %s.Z
MIME_TYPE application/octet-stream
SUNV3_TYPE compress
DESCRIPTION This is a file that has been compressed by \
the compress command to take up less space. Its \
data type is named COMPRESSED. COMPRESSED files \
have names ending with '.Z'.
TYPE_LABEL COMPRESSED
}
DATA_CRITERIA COMPRESSED1
{
DATA_ATTRIBUTES_NAME COMPRESSED
MODE f
NAME_PATTERN *.Z
}
ACTION Print
{
LABEL Print
ARG_TYPE COMPRESSED
TYPE MAP
MAP_ACTION NoPrint
}
ACTION Uncompress
{
LABEL Uncompress File
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' uncompress -vf "%(File)Arg_1%" %(File)Args% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Uncompress File action accepts one or more \
files that have been compressed using the \
'compress' command and uncompresses them. It uses \
the 'uncompress' command.
}
# ##########################################################
DATA_ATTRIBUTES SHELL
{
ACTIONS Run,Open,Print
ICON Dtbshll
IS_EXECUTABLE true
COPY_TO_ACTION Execute
NAME_TEMPLATE %s.sh
MIME_TYPE text/plain
SUNV3_TYPE shell-script
DESCRIPTION This file contains an executable script written \
using the BOURNE shell scripting language. Its \
data type is named SHELL. SHELL file have names \
ending with '.sh', or contain the characters \
"#!/bin/sh" or "#! /bin/sh".
TYPE_LABEL SHELL
}
DATA_CRITERIA SHELL1
{
DATA_ATTRIBUTES_NAME SHELL
MODE f&x
NAME_PATTERN *.sh
}
DATA_CRITERIA SHELL2
{
DATA_ATTRIBUTES_NAME SHELL
CONTENT 0 string #!/bin/sh
MODE f&x
}
DATA_CRITERIA SHELL3
{
DATA_ATTRIBUTES_NAME SHELL
CONTENT 0 string #! /bin/sh
MODE f&x
}
ACTION Run
{
LABEL Run
ARG_TYPE SHELL
TYPE MAP
MAP_ACTION Execute
}
# ##########################################################
DATA_ATTRIBUTES CSHELL
{
ACTIONS Run,Open,Print
ICON Dtcshll
IS_EXECUTABLE true
COPY_TO_ACTION Execute
NAME_TEMPLATE %s.csh
MIME_TYPE text/plain
SUNV3_TYPE cshell-script
DESCRIPTION This file contains an executable script \
written using the C-SHELL scripting language. \
Its data type is named CSHELL. CSHELL file have \
names ending with '.csh', or contain the \
characters "#!/bin/csh" or "#! /bin/csh".
TYPE_LABEL CSHELL
}
DATA_CRITERIA CSHELL1
{
DATA_ATTRIBUTES_NAME CSHELL
MODE f&x
NAME_PATTERN *.csh
}
DATA_CRITERIA CSHELL2
{
DATA_ATTRIBUTES_NAME CSHELL
CONTENT 0 string #!/bin/csh
MODE f&x
}
DATA_CRITERIA CSHELL3
{
DATA_ATTRIBUTES_NAME CSHELL
CONTENT 0 string #! /bin/csh
MODE f&x
}
ACTION Run
{
LABEL Run
ARG_TYPE CSHELL
TYPE MAP
MAP_ACTION Execute
}
# ##########################################################
DATA_ATTRIBUTES KSHELL
{
ACTIONS Run,Open,Print
ICON Dtkshll
IS_EXECUTABLE true
COPY_TO_ACTION Execute
NAME_TEMPLATE %s.ksh
MIME_TYPE text/plain
DESCRIPTION This file contains an executable script \
written using the K-SHELL scripting language. \
Its data type is named KSHELL. KSHELL file have \
names ending with '.ksh', or contain the \
characters "#!/bin/ksh" or "#! /bin/ksh".
TYPE_LABEL KSHELL
}
DATA_CRITERIA KSHELL1
{
DATA_ATTRIBUTES_NAME KSHELL
MODE f&x
NAME_PATTERN *.ksh
}
DATA_CRITERIA KSHELL2
{
DATA_ATTRIBUTES_NAME KSHELL
CONTENT 0 string #!/bin/ksh
MODE f&x
}
DATA_CRITERIA KSHELL3
{
DATA_ATTRIBUTES_NAME KSHELL
CONTENT 0 string #! /bin/ksh
MODE f&x
}
DATA_CRITERIA KSHELL4
{
DATA_ATTRIBUTES_NAME KSHELL
CONTENT 0 string #!/bin/ksh
MODE f&x
}
DATA_CRITERIA KSHELL5
{
DATA_ATTRIBUTES_NAME KSHELL
CONTENT 0 string #! /bin/ksh
MODE f&x
}
ACTION Run
{
LABEL Run
ARG_TYPE KSHELL
TYPE MAP
MAP_ACTION Execute
}
# ##########################################################
DATA_ATTRIBUTES SHAR
{
ACTIONS Unshar
ICON Dtshar
NAME_TEMPLATE %s.shar
MIME_TYPE text/plain
DESCRIPTION This file is a shell archive package. \
Shell archive packages are commonly used for \
mailing files. Its data type is named SHAR. \
SHAR files have names ending with '.shar'.
TYPE_LABEL SHAR
}
DATA_CRITERIA SHAR1
{
DATA_ATTRIBUTES_NAME SHAR
MODE f
NAME_PATTERN *.shar
}
ACTION Print
{
LABEL Print
ARG_TYPE SHAR
TYPE MAP
MAP_ACTION NoPrint
}
ACTION Unshar
{
LABEL Unshar
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' sh "%(File)Arg_1%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Unshar action accepts a file \
that has been shar'ed using the shar \
command and unshar's it.
}
# ##########################################################
DATA_ATTRIBUTES UUENCODE
{
ACTIONS Uudecode
ICON Dtuuncd
NAME_TEMPLATE %s.uu
MIME_TYPE text/plain
DESCRIPTION This is a a binary file used for \
transmission via a mailer. Its data type is \
named UUENCODE. UUENCODE files have names ending \
with '.uu'.
TYPE_LABEL UUENCODE
}
DATA_CRITERIA UUENCODE1
{
DATA_ATTRIBUTES_NAME UUENCODE
MODE f
NAME_PATTERN *.uu
}
ACTION Print
{
LABEL Print
ARG_TYPE UUENCODE
TYPE MAP
MAP_ACTION NoPrint
}
ACTION Uudecode
{
LABEL Uudecode
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' uudecode "%(File)Arg_1%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Uudecode action accepts a file \
that has been uuencoded using the uuencode command \
and uudecode's it.
}
# ##########################################################
DATA_ATTRIBUTES MESSAGE_CAT
{
ACTIONS (None)
ICON Dtcat
NAME_TEMPLATE %s.cat
MIME_TYPE application/octet-stream
DESCRIPTION This file contains localized message \
for an executable. Its data type is named \
MESSAGE_CAT. MESSAGE_CAT files have names ending \
with '.cat'.
TYPE_LABEL MESSAGE_CAT
}
DATA_CRITERIA MESSAGE_CAT1
{
DATA_ATTRIBUTES_NAME MESSAGE_CAT
MODE f
NAME_PATTERN *.cat
}
ACTION Print
{
LABEL Print
ARG_TYPE MESSAGE_CAT
TYPE MAP
MAP_ACTION NoPrint
}
# ##########################################################################
# ##########################################################################
#
# Actions
#
# ##########################################################################
# #####################
#
# Unix Editors
#
# #####################
ACTION Vi
{
LABEL Text Editor (Vi)
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE TERMINAL
EXEC_STRING vi
DESCRIPTION The Text Editor (Vi) action runs the 'vi' \
command in a terminal window and loads a data file \
if you supply one.
}
ACTION Vi
{
LABEL Text Editor (Vi)
TYPE COMMAND
WINDOW_TYPE TERMINAL
EXEC_STRING vi "%(File)Arg_1"File To Edit:"%"
DESCRIPTION The Text Editor (Vi) action runs the 'vi' \
command in a terminal window and loads a data file \
if you supply one.
}
# ######
ACTION Vedit
{
LABEL Vedit
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE TERMINAL
EXEC_STRING vedit
DESCRIPTION The Vedit action runs the 'vi' command in \
'vedit' mode in a terminal window. It loads a data file if you supply one.
}
ACTION Vedit
{
LABEL Vedit
TYPE COMMAND
WINDOW_TYPE TERMINAL
EXEC_STRING vedit "%(File)Arg_1"File To Edit:"%"
DESCRIPTION The Vedit action runs the 'vi' command in \
'vedit' mode in a terminal window. It loads a data file if you supply one.
}
# #####################
#
# Unix Commands
#
# #####################
# The following action uses 'true %(File)Args%' in the EXEC_STRING.
# This statement's only effect is to cause all of the aguments to
# be 'used' on a single invocation of the action.
ACTION Tar
{
LABEL Archive
ICON Dtmagtp
ARG_COUNT >1
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c ' if [ "%(File)Args%" = "" ] ; then /usr/dt/bin/dterror.ds "The Archive action only accepts a single\\n \
argument which must be a folder." "Invalid Arguments" "OK" ; else true %(File)Args%; /usr/dt/bin/dterror.ds "The Archive action only accepts a single\\n \
argument which must be a folder." "Invalid Arguments" "OK" fi; '
DESCRIPTION The Archive (Tar) action accepts a folder \
argument and archives all of the files it contains \
together into a single "tar" file. It uses the \
'tar' command.
}
ACTION Tar
{
LABEL Archive
ICON Dtmagtp
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' if [ "%(File)Args%" = "" ] ; then echo "ERROR: \"%(File)Arg_1%\" is not a folder."; else if [ ! -d "%(File)Arg_1"Folder To Archive:"%" ] ; then echo "ERROR: \"%(File)Arg_1%\" is not a folder."; else FOLDER="%(File)Arg_1%.tar"; TAR_FILE=`basename "%(File)Arg_1%.tar"`; echo "Creating \$FOLDER."; echo "[Please wait ...]\\n"; tar -cvf \$TAR_FILE `basename "%(File)Arg_1%"` 2>&1 | \${PAGER:-more}; echo "\\nThe Archive file has been created and is stored in \$FOLDER."; fi; fi; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Archive (Tar) action accepts a folder \
argument and archives all of the files it contains \
together into a single "tar" file. It uses the \
'tar' command.
}
# ######
ACTION TarList
{
LABEL Archive List Contents
ICON Dtmagtp
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtaction TarList "%(File)Arg_1"Archive to List:"%"
DESCRIPTION The Archive List Contents (TarList) action lists \
the files contained in a TAR archive file.
}
# ######
ACTION TarUnpack
{
LABEL Archive Unpack
ICON Dtmagtp
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtaction TarUnpack "%(File)Arg_1"Archive to Unpack:"%"
DESCRIPTION The Archive Unpack (TarUnpack) action accepts \
a TAR file as argument and separates out the \
archived files into separate files.
}
# ######
ACTION Compress
{
LABEL Compress File
ICON Dtcmprs
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' compress -vf "%(File)Arg_1"File to Compress:"%" %(File)Args% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Compress File (Compress) action accepts \
one or more files and compresses them using the \
'compress' command.
}
# ######
ACTION Uncompress
{
LABEL Uncompress File
ICON Dtcmprs
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtaction Uncompress "%(File)Arg_1"File to Uncompress:"%"
DESCRIPTION The Uncompress File action accepts one or more \
files that have been compressed using the \
'compress' command and uncompresses them. It uses \
the 'uncompress' command.
}
# ######
ACTION Env
{
LABEL Environment Variables
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' env 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Environment Variables (Env) action \
displays the user's environment variables using \
the 'env' command.
}
# ######
ACTION Diff
{
LABEL Compare Files
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' file1="%(File)Arg_1"First File (<):"%" ; file2="%(File)Arg_2"Second File (>):"%" ; cmp -s \$file1 \$file2 ; if [ \$? -eq 0 ] ; then echo "The files \$file1 and \$file2 are the same." ; else diff \$file1 \$file2 | \${PAGER:-more} ; fi ; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Compare Files (Diff) action compares two files \
using the 'diff' command.
}
# ######
ACTION Rm
{
LABEL Shred File
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' echo "[Enter y to delete a file, n to leave it ...]\\n"; rm -i "%(File)Arg_1"File To Shred:"%" %(File)Args%; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Shred File (Rm) action uses the 'rm -i' command \
to remove files without placing them in the \
trash can. It prompts you with the name of \
each file and allows you to indicate whether \
or not the file should be removed. FILES THAT \
HAVE BEEN SHREDDED CANNOT BE RECOVERED.
}
# ######
ACTION Wc
{
LABEL Count Words
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' (echo " lines words chars filename"; echo " ============================"; wc "%(File)Arg_1"File To Count:"%" %(File)Args%) 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Count Words (Wc) action counts the lines, words, \
and characters in files. It uses the 'wc' command.
}
# ######
ACTION Spell
{
LABEL Check Spelling
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' (echo "Misspelled words\\n================\\n"; spell "%(File)Arg_1"File To Spell Check:"%" %(File)Args%) 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Check Spelling (Spell) action checks the \
spelling of all the words in a file. It uses the \
'spell' command.
}
# ######
ACTION Df
{
LABEL Disk Usage
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' df 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Disk Usage (Df) action displays the \
amount of free space available on all mounted \
disks. It uses the 'df' command.
}
# ######
ACTION DuSort
{
LABEL Folder Size
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' if [ ! -d "%(File)Arg_1"Folder To Size:"%" ] ; then echo "ERROR: \"%(File)Arg_1%\" is not a folder."; else echo "[Please wait ...]\\n"; (echo "Blocks File/Dir - (Blocks are 512-bytes)"; echo "=========================================="; du -s "%(File)Arg_1"Folder To Size:"%" | sort -n) 2>&1 | \${PAGER:-more}; fi; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Folder Size (DuSort) action displays \
the size of each file and subfolder within a \
folder. It uses a combination of the 'du' \
and 'sort' commands.
}
# ######
ACTION Grep
{
LABEL Search Text
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' SEARCH_FILE="%(File)Arg_1"File To Search:"%"; if [ -d \$SEARCH_FILE ] ; then echo "ERROR: \$SEARCH_FILE is a folder and the action\\nSearch Text does not search for strings within folders."; else grep %"Search String:"% \$SEARCH_FILE %(File)Args% >/tmp/dtstrsearch 2>&1; if [ \$? -eq 1 ] ; then echo "No matches were found."; else cat /tmp/dtstrsearch | \${PAGER:-more}; fi; rm /tmp/dtstrsearch; fi; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Search Text (Grep) action searches for \
all occurrences of a string within a set of files \
using the 'grep' command.
}
# ######
ACTION File
{
LABEL Type File
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' file "%(File)Arg_1"File To Type:"%" %(File)Args% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Type File (File) action determines the \
type of a file using the file command. This is \
not the same as the desktop data type for the \
file. To determine the desktop data type of a \
file, select the file and choose the menu command \
Selected->Change Permissions... from a File Manager view.
}
# ######
ACTION Execute
{
LABEL Execute
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING "%(File)Arg_1"File To Execute:"%" %"Options:"% %"Arguments:"% %(File)Args%
DESCRIPTION The Execute action runs a shell script or \
binary executable. It prompts for options and \
arguments, and then executes the script or \
executable in a terminal window.
}
# ######
ACTION ExecuteCmd
{
LABEL Execute Command
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' %"Command:"% %(File)Args%; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Execute Command (ExecuteCmd) action \
prompts for a command and then executes it on any \
files that are supplied as arguments.
}
# ######################## EOF ############################################

View file

@ -1,392 +0,0 @@
# ##########################################################################
#
# xclients.dt
#
# Actions and DataTypes for integrating X clients into the Common
# Desktop Environment (CDE).
#
# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
# (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
# (c) Copyright 1993, 1994, 1995 Novell, Inc.
#
# $XConsortium: xclients.dt.src /main/5 1996/04/23 20:26:44 drk $
#
# ##########################################################################
set DtDbVersion=1.0
# ##########################################################################
#
# WARNING: This file may be overwritten in subsequent installations of
# the Common Desktop Environment (CDE). Consequently, any system wide
# changes should be made to an equivalent database file in
# /etc/dt/types and not in this file.
#
# ##########################################################################
# ##################################################################
#
# Data Attributes
#
# ##################################################################
DATA_ATTRIBUTES XWD
{
ACTIONS Open,Print
ICON Dtxwd
NAME_TEMPLATE %s.xwd
MIME_TYPE application/octet-stream
SUNV3_TYPE xwd-file
DESCRIPTION This file contains a graphics image in the XWD \
format. These files are typically created by \
taking snapshots of windows using the Xwd Capture \
action. Its data type is named XWD. XWD files \
have names ending with '.xwd' or '.wd'.
TYPE_LABEL XWD
}
DATA_CRITERIA XWD1
{
DATA_ATTRIBUTES_NAME XWD
MODE f
NAME_PATTERN *.xwd
}
DATA_CRITERIA XWD2
{
DATA_ATTRIBUTES_NAME XWD
MODE f
NAME_PATTERN *.wd
}
ACTION Open
{
LABEL Open
ARG_TYPE XWD
TYPE MAP
MAP_ACTION Xwud
}
ACTION Print
{
LABEL Print
ARG_TYPE XWD
TYPE MAP
MAP_ACTION NoPrint
}
ACTION Xwud
{
LABEL Xwd Display
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xwud -noclick -in "%(File)Arg_1"Xwd File To Display:"%"
DESCRIPTION The Xwd Display (Xwud) action displays\
an xwd file that was created using the \
Xwd Capture (Xwd) action. It uses \
the 'xwud' command.
}
# ##########################################################################
#
# Actions
#
# ##########################################################################
ACTION Xrefresh
{
LABEL Refresh Display
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xrefresh
DESCRIPTION The Refresh Display (Xrefresh) action causes \
the entire screen to be refreshed using the \
'xrefresh' command.
}
# ######
ACTION Bitmap
{
LABEL Edit Bitmap
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING bitmap "%(File)Arg_1"File To Open:"%"
DESCRIPTION The Edit Bitmap (Bitmap) action runs the \
'bitmap' client. You can supply a file argument, \
or it will prompts for the width and height for \
the new bitmap file.
}
ACTION Bitmap
{
LABEL Edit Bitmap
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING bitmap -size %"Width:"%x%"Height:"% "%(File)Arg_1"File To Open:"%"
DESCRIPTION The Edit Bitmap (Bitmap) action runs the \
'bitmap' client. You can supply a file argument, \
or it will prompts for the width and height for \
the new bitmap file.
}
# ######
ACTION DttermConsole
{
LABEL Terminal Console
ICON Dtterm
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtterm -C -ls -name Console -title Console
DESCRIPTION The Terminal Console action starts \
an 'dtterm' terminal emulator as the user's console.
}
# ######
ACTION Xterm
{
LABEL Xterm
ICON Dtterm
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xterm
DESCRIPTION The Xterm action starts an \
'xterm' terminal emulator.
}
# ######
ACTION DttermDtspcd
{
LABEL Terminal Remote
ICON Dtterm
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_HOST %"Hostname:"%
EXEC_STRING /usr/dt/bin/dtterm
DESCRIPTION The Terminal Remote action prompts the user for \
the name of a system and starts an 'dtterm' \
terminal emulator on that system. The system must \
be properly configured for remote execution.
}
# ######
ACTION XtermDtspcd
{
LABEL Xterm Remote
ICON Dtterm
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_HOST %"Hostname:"%
EXEC_STRING xterm
DESCRIPTION The Xterm Remote action prompts the \
user for the name of a system and starts an \
'xterm' terminal emulator on that system. The \
system must be properly configured for remote execution.
}
# ######
ACTION DttermRlogin
{
LABEL Terminal Rlogin
ICON Dtterm
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/ksh -c 'export _title="%"Hostname:"%"; /usr/dt/bin/dtterm -title "\$_title : Dtterm" -e KORNSHELL -c "echo Trying to establish connection to \$_title... Please wait.; rlogin \$_title; sleep 5;";'
DESCRIPTION The Terminal Rlogin action prompts the user for \
the name of a system, opens a 'dtterm' terminal \
emulator window, and then performs an 'rlogin' to \
that system.
}
# ######
ACTION XtermRlogin
{
LABEL Xterm Rlogin
ICON Dtterm
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /bin/ksh -c 'export _title="%"Hostname:"%"; xterm -title "\$_title : Xterm" -e KORNSHELL -c "echo Trying to establish connection to \$_title... Please wait.; rlogin \$_title; sleep 5;";'
DESCRIPTION The Xterm Rlogin action prompts the \
user for the name of a system, opens an 'xterm' \
terminal emulator window, and then performs an \
'rlogin' to that system.
}
# ######
ACTION XclockDig
{
LABEL Digital Clock
ARG_COUNT 0
ICON Dtdgclk
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xclock -name "Digital Clock" -digital -update 1
DESCRIPTION The Digital Clock (Xclock) action displays \
a digital clock. It uses the 'xclock -digital' command.
}
# ######
ACTION Xload
{
LABEL System Load
ARG_COUNT 0
ICON Dtload
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xload -name "System Load" -geometry 250x150 -xrm '*primaryColorSetId: 5'
DESCRIPTION The System Load (Xload) action displays a \
graphical view of the system load. It uses the \
xload command.
}
# ######
ACTION Xwd
{
LABEL Xwd Capture
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xwd -out %(File)"Output File (<name>.xwd):"%
DESCRIPTION The Xwd Capture (Xwd) action takes \
a snapshot of a window and stores it in an xwd \
graphics file. When you run the action the \
cursor changes to a cross, and you must then \
click on the window you want to capture. The \
action uses the xwd command. Xwd stands for \
'X Window Dump'.
}
# ######
ACTION Xclipboard
{
LABEL Clipboard Contents
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING xclipboard
DESCRIPTION The Clipboard Contents (Xclipboard) action \
displays your clipboard. It uses the 'xclipboard' \
command.
}
# ######
ACTION Xfd
{
LABEL Font Preview
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING sh -c 'xfd -fn "%(String)Arg_1"Font To Preview:"%"; if [ \$? -eq 1 ] ; then /usr/dt/bin/dterror.ds "The font you specified cannot be found.\\n\
Run the Font List action to display a\\n\
list of valid font names." "Font Name Not Found" "OK" ; fi'
DESCRIPTION The Font Preview (Xfd) action prompts for a font \
name and then display all the characters in the \
font. It uses the 'xfd' command.
}
# ######
# The Window Information (Xwininfo) action can't use the
# '| ${PAGER:-more}' definition because it prevents the
# 'click on a window' message from being displayed.
ACTION Xwininfo
{
LABEL Window Information
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c 'xwininfo; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Window Information (Xwininfo) action \
displays information about a window. When you run \
List Window Information, the cursor changes to a \
cross, and you then click the window for which you \
want the information. This action uses the \
'xwininfo' command.
}
# ######
ACTION Xprop
{
LABEL Window Properties
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' echo "[When the cursor changes to a cross, click on a window ...]\\n"; xprop | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Window Properties (Xprop) action \
displays the properties stored on a window. When \
you run Window Properties, the cursor changes \
to a cross, and you then click the window for \
which you want the information. This action uses \
the 'xprop' command.
}
# ######
ACTION Xdpyinfo
{
LABEL X Server Information
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' xdpyinfo | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The X Server Information (Xdpyinfo) action \
displays information about your X server and \
display system. It uses the 'xdpyinfo' command.
}
# ######
ACTION Xlsfonts
{
LABEL Font List
ARG_COUNT 0
TYPE COMMAND
WINDOW_TYPE PERM_TERMINAL
EXEC_STRING sh -c ' echo "Looking for fonts, Please Wait......\\n NOTE: may lock up your Display server for a few moments."; xlsfonts | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"'
DESCRIPTION The Font List (Xlsfonts) action lists all \
the fonts that can be displayed on your system. \
It uses the 'xlsfonts' command.
}
# ######################## EOF ############################################

View file

@ -33,7 +33,74 @@ OBJS1 = \
DisplayImage.dt \
DisplayPDF.dt \
DisplayVideo.dt \
DisplayPS.dt
DisplayPS.dt \
videoTypes.dt \
Education.dt \
gcompris.dt \
geogebra.dt \
stellarium.dt \
tuxpaint.dt \
dreamchess.dt \
eboard.dt \
Games.dt \
gcompris.dt \
ktuberling.dt \
lbreakout2.dt \
powermanga.dt \
pychess.dt \
supertux.dt \
xboard.dt \
fontforge.dt \
gimp.dt \
Graphics.dt \
inkscape.dt \
okular.dt \
xv.dt \
chromium.dt \
firefox.dt \
Internet.dt \
nxclient.dt \
skype.dt \
thunderbird.dt \
amarok.dt \
brasero.dt \
k3b.dt \
k9copy.dt \
Media_Tools.dt \
pavucontrol.dt \
rhythmbox.dt \
rosegarden.dt \
sound-juicer.dt \
vlc.dt \
xine.dt \
libreoffice-base.dt \
libreoffice-calc.dt \
libreoffice-draw.dt \
libreoffice-impress.dt \
libreoffice-main.dt \
libreoffice-math.dt \
libreoffice-writer.dt \
nedit.dt \
Office.dt \
xournal.dt \
caja.dt \
engrampa.dt \
file-roller.dt \
firestarter.dt \
pgadmin.dt \
synaptic.dt \
System.dt \
virtualbox.dt \
wicd.dt \
acroread.dt \
emacs.dt \
gv.dt \
kile.dt \
mgv.dt \
TeX.dt \
xdvi.dt \
xournal.dt \
xpdf.dt
OBJS = $(OBJS1)