xtext.1
来自「speech signal process tools」· 1 代码 · 共 148 行
1
148 行
.\" Copyright (c) 1990-1991 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)xtext.1 1.9 7/18/91 ERL.ds ]W (c) 1991 Entropic Research Laboratory, Inc..TH XTEXT 1\-ESPS 7/18/91.SH "NAME"xtext \- popup X window containing text file or output of any text-producing command.SH "SYNOPSIS".B xtext[.BI \-t.I window_title] [.BI \-i.I icon_title] [.BI \-F.I file_name] [.BI \-L] [.BI \-x.I debug_level].I command_line.SH "DESCRIPTION".PP\fIxtext\fP assumes that \fIcommand_line\fP is a full unix commandline for any program that produces ASCII text output. \fIxtext\fPruns the \fIcommand_line\fP, puts the output into a temporary file,and pops up an X Window containing the file contents. The resultingwindow is scrollable and includes a "find" button to facilitatebrowsing. The window can be split horizontally (with independentscrollbars). Unless the \fB-L\fP option is used, \fIxtext\fP willdelete the temporary file when it exits. The temporary fileis by default located in /usr/tmp, but this location can be changed by setting the \fIunix\fP environment variable ESPS_TEMP_PATH..PPThe \fB-F\fP option permits the display of an existing text file(rather than of the output from \fIcommand_line\fP. If this option isused, the \fIcommand_line\fP cannot be given, and the \fB-L\fP optionhas no effect (i.e., the file is never deleted). .PPThe window and icon titles can be set directly via the \fB-t\fP and\fB-i\fP options. The default titles depend on on whether or not the\fB-F\fP option is used; if \fB-F\fP is used, the default window andicon titles are both set to \fIfile_name\fP; if \fB-F\fP is not used,the default window title is set to the \fIcommand_line\fP followed bythe temporary file name (in parentheses), and the default icon titletitle is set to the first item in the \fIcommand_line\fP (usually thename of the program being run from within \fIxtext\fP)..PPWindow position can be specified by means of the the standard XView\fB-Wp\fP and standard X11 \fB-geometry\fP options. .PP\fIxtext\fP can be used in shell scripts to provide window-orienteddisplays to the user. .PP.SH OPTIONS.PPThe following options are supported:.TP.BI \-t " window_title"Specifies that the string \fIwindow_title\fP be used in the title barof the displayed window. .TP.BI \-i " icon_title"Specifies the title to use for the window icon. .TP.BI \-F " file_name"Specifies that the contents of the existing file \fIfile_name\fPshould be displayed (rather than of the output from\fIcommand_line\fP). If this option is used, the \fIcommand_line\fPcannot be given. The \fIfile_name\fP may be a full path or a partialpath relative to the current directory. If \fIunix\fP environmentvariables are contained in the path (e.g., $HOME), they are expandedproperly. If $ESPS_BASE appears in the path and is not defined as an environment variable, it is expanded automatically to the to base ESPS directory (same one as found by \fIget_esps_base\fP(1\-\s-1ESPS\s+1)). .TP.BI \-L Specifies that the temporary file (containing the \fIcommand_line\fPoutput) be left in place. (Note that the file name is given in thedefault window title.) This option has no effect if \fB-F\fP is used..TP.BI \-x " debug_level \fR[0]\fP"If \fIdebug_level\fP is positive,.I xtextoutputs debugging messages. The messages proliferate as.I debug_level increases. For level 0, there is no output..SH "ESPS PARAMETERS".PPThe ESPS parameter file is not read by \fIxtext\fP. .SH ESPS HEADERS.PPNo ESPS files are processed by \fIxtext\fP..SH ESPS COMMON.PPESPS Common is neither read nor written by \fIxtext\fP. .SH EXAMPLES.PPThe command.nf %xtext psps -lD foo.fea.fiwill run \fIpsps\fP (1\-\s-1ESPS\s+1) on the file foo.fea and put up along listing of the header in a text window. Similarly,.nf %xtext -t foo.fea fea_stats foo.fea.fiwill pop up the results of running \fIfea_stats\fP (1\-\s-1ESPS\s+1).The file name is used in this case as the icon title. The command.nf %xtext psps -F $HOME/.wave_pro.fiwill pop up the \fIwaves\fP profile from the user's home directory. .PPNote that aliases provide a convenient means of providing versions of ESPS text-producing programs psps thatalways pops up the results in a window, for example:.nf %alias pspstool xtext psps %pspstool foo.fea.fi.PPIf you are running under Sun`s OpenWindows and the \fIfilemgr\fP, itcan be convenient to use the \fIbinder\fP so that "xtext psps -lD" isbound to certain file name patterns. This yields the header in apop-up window when you double click on the file's icon. .SH "SEE ALSO".PP\fIexprompt\fP (1\-\s-1ESPS\s+1), \fIxwaves\fP (1\-\s-1ESPS\s+1),\fIpsps\fP (1\-\s-1ESPS\s+1), \fIfea_stats\fP (1\-\s-1ESPS\s+1).SH "AUTHOR".PPManual page and code by John Shore.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?