-1.2.3:
- Bugfix for lpr
- Bugfix for ipck
+1.2.5:
+ Add new -s (startup norm|max|min mode) option for
+ mkshortcut
+
+
+1.2.4:
Remove ipcs, ipcrm which are now provided by cygwin itself
Remove support for building ipc tools against cygipc; build
only against cygserver. CygIPC versions are now (again)
provided by the cygipc package itself.
+1.2.3 (unreleased):
+ Bugfix for lpr
+ Bugfix for ipck
+ Adapt ipck for cygserver compatibility
+ Fix docs for mkshortcut to reflect new -w/--workingdir option
+
1.2.2:
Add readshortcut (Rob Siklos)
Actually implement the --dos/--unix options to putclip
.RB "[\-\fBa\fP \fIARGS\fP]"
.RB "[\-\fBi\fP \fIiconfile\fP [\-\fBj\fP \fIINT\fP] ]"
.RB "[\-\fBn\fP \fINAME\fP ]"
+.RB "[\-\fBs\fP \fInorm|min|max\fP ]"
.RB "[\-\fBw\fP \fIPATH\fP ]"
.RB "[\-A] [\-D|\-P] \fITARGET\fP"
.br
that case must be enclosed in quotes. The Windows extention \fB.lnk\fP is automatically
appended to \fI"NAME"\fP if not present.
+.TP
+\fB\-s\fR, \fB\-\-show\fR=\fInorm|min|max\fP
+For norm, min, and max the new window will be normal, minimized, and
+maximized, respectively. Note that if you use the properties dialog to
+inspect properties of shortcuts for which you request minimized windows
+the dialog may indicate that normal windows will be displayed. Fortunately,
+that indicator is often wrong.
+
+
.TP
\fB\-w\fR, \fB\-\-workingdir\fR=\fI"PATH"\fP
PATH to use for the working directory (defaults to directory path of TARGET).
int allusers_flag;
int desktop_flag;
int smprograms_flag;
+ int show_flag;
int offset;
char * name_arg;
char * dir_name_arg;
"offset of icon in icon file (default is 0)", NULL},
{ "name", 'n', POPT_ARG_STRING, NULL, 'n', \
"name for link (defaults to TARGET)", "NAME"},
+ { "show", 's', POPT_ARG_STRING, NULL, 's', \
+ "window to show: normal, minimized, maximized", "norm|min|max"},
{ "workingdir", 'w', POPT_ARG_STRING, NULL, 'w', \
"set working directory (defaults to directory path of TARGET)", "PATH"},
{ "allusers", 'A', POPT_ARG_VAL, &(opts.allusers_flag), 1, \
opts.allusers_flag = 0;
opts.desktop_flag = 0;
opts.smprograms_flag = 0;
+ opts.show_flag = SW_SHOWNORMAL;
opts.target_arg = NULL;
opts.argument_arg = NULL;
opts.name_arg = NULL;
}
}
break;
+ case 's': if (arg = poptGetOptArg(optCon)) {
+ if (strcmp(arg, "min") == 0) {
+ opts.show_flag = SW_SHOWMINNOACTIVE;
+ } else if (strcmp(arg, "max") == 0) {
+ opts.show_flag = SW_SHOWMAXIMIZED;
+ } else if (strcmp(arg, "norm") == 0) {
+ opts.show_flag = SW_SHOWNORMAL;
+ } else {
+ fprintf(stderr, "%s: %s not valid for show window\n",
+ program_name, arg);
+ ec=2;
+ goto exit;
+ }
+ }
+ break;
case 'w': if (arg = poptGetOptArg(optCon)) {
if ((opts.dir_name_arg = strdup(arg)) == NULL ) {
fprintf(stderr, "%s: memory allocation error\n", program_name);
if (opts.icon_flag)
shell_link->lpVtbl->SetIconLocation (shell_link, opts.icon_name_arg,
opts.offset);
+ if (opts.show_flag != SW_SHOWNORMAL)
+ shell_link->lpVtbl->SetShowCmd(shell_link, opts.show_flag);
+
/* Make link name Unicode-compliant */
hres =