add network tools
Added: trunk/reactos/base/applications/network/finger/
Added: trunk/reactos/base/applications/network/finger/LICENSE.txt
Added: trunk/reactos/base/applications/network/finger/err.c
Added: trunk/reactos/base/applications/network/finger/err.h
Added: trunk/reactos/base/applications/network/finger/finger.c
Added: trunk/reactos/base/applications/network/finger/finger.rbuild
Added: trunk/reactos/base/applications/network/finger/finger.rc
Added: trunk/reactos/base/applications/network/finger/getopt.c
Added: trunk/reactos/base/applications/network/finger/getopt.h
Added: trunk/reactos/base/applications/network/finger/net.c
Added: trunk/reactos/base/applications/network/finger/various.h
Added: trunk/reactos/base/applications/network/ftp/
Added: trunk/reactos/base/applications/network/ftp/cmds.c
Added: trunk/reactos/base/applications/network/ftp/cmdtab.c
Added: trunk/reactos/base/applications/network/ftp/domacro.c
Added: trunk/reactos/base/applications/network/ftp/fake.c
Added: trunk/reactos/base/applications/network/ftp/fake.h
Added: trunk/reactos/base/applications/network/ftp/ftp.c
Added: trunk/reactos/base/applications/network/ftp/ftp.mak
Added: trunk/reactos/base/applications/network/ftp/ftp.mak.orig
Added: trunk/reactos/base/applications/network/ftp/ftp.rbuild
Added: trunk/reactos/base/applications/network/ftp/ftp.rc
Added: trunk/reactos/base/applications/network/ftp/ftp_var.h
Added: trunk/reactos/base/applications/network/ftp/main.c
Added: trunk/reactos/base/applications/network/ftp/pathnames.h
Added: trunk/reactos/base/applications/network/ftp/prototypes.h
Added: trunk/reactos/base/applications/network/ftp/ruserpass.c
Added: trunk/reactos/base/applications/network/ping/
Added: trunk/reactos/base/applications/network/ping/ping.c
Added: trunk/reactos/base/applications/network/ping/ping.rbuild
Added: trunk/reactos/base/applications/network/ping/ping.rc
Added: trunk/reactos/base/applications/network/route/
Added: trunk/reactos/base/applications/network/route/route.c
Added: trunk/reactos/base/applications/network/route/route.rbuild
Added: trunk/reactos/base/applications/network/route/route.rc
Added: trunk/reactos/base/applications/network/telnet/
Added: trunk/reactos/base/applications/network/telnet/Makefile.mingw
Added: trunk/reactos/base/applications/network/telnet/doc/
Added: trunk/reactos/base/applications/network/telnet/doc/00readme.avs
Added: trunk/reactos/base/applications/network/telnet/doc/bugs.txt
Added: trunk/reactos/base/applications/network/telnet/doc/changes.txt
Added: trunk/reactos/base/applications/network/telnet/doc/license.txt
Added: trunk/reactos/base/applications/network/telnet/doc/options.txt
Added: trunk/reactos/base/applications/network/telnet/doc/readme.txt
Added: trunk/reactos/base/applications/network/telnet/doc/ssh.txt
Added: trunk/reactos/base/applications/network/telnet/resource/
Added: trunk/reactos/base/applications/network/telnet/resource/tnmsg.h
Added: trunk/reactos/base/applications/network/telnet/resource/tnmsg.rc
Added: trunk/reactos/base/applications/network/telnet/src/
Added: trunk/reactos/base/applications/network/telnet/src/ansiprsr.cpp
Added: trunk/reactos/base/applications/network/telnet/src/ansiprsr.h
Added: trunk/reactos/base/applications/network/telnet/src/keytrans.cpp
Added: trunk/reactos/base/applications/network/telnet/src/keytrans.h
Added: trunk/reactos/base/applications/network/telnet/src/stl_bids.h
Added: trunk/reactos/base/applications/network/telnet/src/tcharmap.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tcharmap.h
Added: trunk/reactos/base/applications/network/telnet/src/tconsole.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tconsole.h
Added: trunk/reactos/base/applications/network/telnet/src/telnet.h
Added: trunk/reactos/base/applications/network/telnet/src/tkeydef.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tkeydef.h
Added: trunk/reactos/base/applications/network/telnet/src/tkeymap.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tkeymap.h
Added: trunk/reactos/base/applications/network/telnet/src/tmapldr.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tmapldr.h
Added: trunk/reactos/base/applications/network/telnet/src/tmouse.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tmouse.h
Added: trunk/reactos/base/applications/network/telnet/src/tnclass.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tnclass.h
Added: trunk/reactos/base/applications/network/telnet/src/tnclip.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tnclip.h
Added: trunk/reactos/base/applications/network/telnet/src/tncon.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tncon.h
Added: trunk/reactos/base/applications/network/telnet/src/tnconfig.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tnconfig.h
Added: trunk/reactos/base/applications/network/telnet/src/tnerror.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tnerror.h
Added: trunk/reactos/base/applications/network/telnet/src/tnetwork.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tnetwork.h
Added: trunk/reactos/base/applications/network/telnet/src/tnmain.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tnmain.h
Added: trunk/reactos/base/applications/network/telnet/src/tnmisc.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tnmisc.h
Added: trunk/reactos/base/applications/network/telnet/src/tnmsg.h
Added: trunk/reactos/base/applications/network/telnet/src/tparams.h
Added: trunk/reactos/base/applications/network/telnet/src/tparser.h
Added: trunk/reactos/base/applications/network/telnet/src/tscript.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tscript.h
Added: trunk/reactos/base/applications/network/telnet/src/tscroll.cpp
Added: trunk/reactos/base/applications/network/telnet/src/tscroll.h
Added: trunk/reactos/base/applications/network/telnet/src/ttelhndl.cpp
Added: trunk/reactos/base/applications/network/telnet/src/ttelhndl.h
Added: trunk/reactos/base/applications/network/telnet/telnet.cfg
Added: trunk/reactos/base/applications/network/telnet/telnet.ico
Added: trunk/reactos/base/applications/network/telnet/telnet.ini
Added: trunk/reactos/base/applications/network/telnet/telnet.rbuild
Added: trunk/reactos/base/applications/network/telnet/telnet.rc
Added: trunk/reactos/base/applications/network/whois/
Added: trunk/reactos/base/applications/network/whois/LICENSE.txt
Added: trunk/reactos/base/applications/network/whois/whois.c
[truncated at 100 lines; 2 more skipped]
_____
Added: trunk/reactos/base/applications/network/finger/LICENSE.txt
--- trunk/reactos/base/applications/network/finger/LICENSE.txt
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/LICENSE.txt
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,23 @@
+July 22, 1999
+
+To All Licensees, Distributors of Any Version of BSD:
+
+As you know, certain of the Berkeley Software Distribution ("BSD")
source code files
+require that further distributions of products containing all or
portions of the
+software, acknowledge within their advertising materials that such
products contain
+software developed by UC Berkeley and its contributors.
+
+Specifically, the provision reads:
+
+ * 3. All advertising materials mentioning features or use of this
software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University
of
+ * California, Berkeley and its contributors.
+
+Effective immediately, licensees and distributors are no longer
required to include
+the acknowledgement within advertising materials. Accordingly, the
foregoing paragraph
+of those BSD Unix files containing it is hereby deleted in its
entirety.
+
+William Hoskins
+Director, Office of Technology Licensing
+University of California, Berkeley "
_____
Added: trunk/reactos/base/applications/network/finger/err.c
--- trunk/reactos/base/applications/network/finger/err.c
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/err.c
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,138 @@
+/*-
+ * Copyright (c) 1993
+ * The Regents of the University of California. All rights
reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
the
+ * documentation and/or other materials provided with the
distribution.
+ * 3. All advertising materials mentioning features or use of this
software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its
contributors
+ * may be used to endorse or promote products derived from this
software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF
+ * SUCH DAMAGE.
+ */
+
+#if defined(LIBC_SCCS) && !defined(lint)
+static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
+#endif /* LIBC_SCCS and not lint */
+
+#include "err.h"
+#include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#ifdef __STDC__
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+
+extern char *__progname; /* Program name, from crt0. */
+
+void
+err(int eval, const char *fmt, ...)
+{
+ va_list ap;
+ va_start(ap, fmt);
+ verr(eval, fmt, ap);
+ va_end(ap);
+}
+
+void
+verr(int eval, const char *fmt, va_list ap)
+{
+ int sverrno;
+
+ sverrno = errno;
+ (void)fprintf(stderr, "%s: ", __progname);
+ if (fmt != NULL) {
+ (void)vfprintf(stderr, fmt, ap);
+ (void)fprintf(stderr, ": ");
+ }
+ (void)fprintf(stderr, "%s\n", strerror(sverrno));
+ exit(eval);
+}
+
+void
+errx(int eval, const char *fmt, ...)
+{
+ va_list ap;
+ va_start(ap, fmt);
+ verrx(eval, fmt, ap);
+ va_end(ap);
+}
+
+void
+verrx(int eval, const char *fmt, va_list ap)
+{
+ (void)fprintf(stderr, "%s: ", __progname);
+ if (fmt != NULL)
+ (void)vfprintf(stderr, fmt, ap);
+ (void)fprintf(stderr, "\n");
+ exit(eval);
+}
+
+void
+warn(const char *fmt, ...)
+{
+ va_list ap;
+ va_start(ap, fmt);
+ vwarn(fmt, ap);
+ va_end(ap);
+}
+
+void
+vwarn(fmt, ap)
+ const char *fmt;
+ va_list ap;
+{
+ int sverrno;
+
+ sverrno = errno;
+ (void)fprintf(stderr, "%s: ", __progname);
+ if (fmt != NULL) {
+ (void)vfprintf(stderr, fmt, ap);
+ (void)fprintf(stderr, ": ");
+ }
+ (void)fprintf(stderr, "%s\n", strerror(sverrno));
+}
+
+void
+warnx(const char *fmt, ...)
+{
+ va_list ap;
+ va_start(ap, fmt);
+ vwarnx(fmt, ap);
+ va_end(ap);
+}
+
+void
+vwarnx(fmt, ap)
+ const char *fmt;
+ va_list ap;
+{
+ (void)fprintf(stderr, "%s: ", __progname);
+ if (fmt != NULL)
+ (void)vfprintf(stderr, fmt, ap);
+ (void)fprintf(stderr, "\n");
+}
_____
Added: trunk/reactos/base/applications/network/finger/err.h
--- trunk/reactos/base/applications/network/finger/err.h
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/err.h
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,60 @@
+/*-
+ * Copyright (c) 1993
+ * The Regents of the University of California. All rights
reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
the
+ * documentation and/or other materials provided with the
distribution.
+ * 3. All advertising materials mentioning features or use of this
software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its
contributors
+ * may be used to endorse or promote products derived from this
software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF
+ * SUCH DAMAGE.
+ *
+ * @(#)err.h 8.1 (Berkeley) 6/2/93
+ */
+
+#ifndef _ERR_H_
+#define _ERR_H_
+
+/*
+ * Don't use va_list in the err/warn prototypes. Va_list is typedef'd
in two
+ * places (<machine/varargs.h> and <machine/stdarg.h>), so if we
include one
+ * of them here we may collide with the utility's includes. It's
unreasonable
+ * for utilities to have to include one of them to include err.h, so we
get
+ * _BSD_VA_LIST_ from <machine/ansi.h> and use it.
+ */
+/*#include <machine/ansi.h>*/
+/*#include <sys/cdefs.h>*/
+#include "various.h"
+#include <stdarg.h>
+
+void err __P((int, const char *, ...));
+void verr __P((int, const char *, va_list));
+void errx __P((int, const char *, ...));
+void verrx __P((int, const char *, va_list));
+void warn __P((const char *, ...));
+void vwarn __P((const char *, va_list));
+void warnx __P((const char *, ...));
+void vwarnx __P((const char *, va_list));
+
+#endif /* !_ERR_H_ */
_____
Added: trunk/reactos/base/applications/network/finger/finger.c
--- trunk/reactos/base/applications/network/finger/finger.c
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/finger.c
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,178 @@
+/*
+ * Copyright (c) 1989, 1993
+ * The Regents of the University of California. All rights
reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Tony Nardo of the Johns Hopkins University/Applied Physics Lab.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
the
+ * documentation and/or other materials provided with the
distribution.
+ * 3. All advertising materials mentioning features or use of this
software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its
contributors
+ * may be used to endorse or promote products derived from this
software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF
+ * SUCH DAMAGE.
+ *
+ * 8/2/97 - Ted Felix <tfelix(a)fred.net>
+ * Ported to Win32 from 4.4BSD-LITE2 at wcarchive.
+ * NT Workstation already has finger, and it runs fine under
+ * Win95. Thought I'd do this anyways since not everyone has
+ * access to NT.
+ * Had to remove local handling. Otherwise, same as
whois.
+ */
+
+/*
+ * Finger prints out information about users. It is not portable since
+ * certain fields (e.g. the full user name, office, and phone numbers)
are
+ * extracted from the gecos field of the passwd file which other UNIXes
+ * may not have or may use for other things.
+ *
+ * There are currently two output formats; the short format is one line
+ * per user and displays login name, tty, login time, real name, idle
time,
+ * and office location/phone number. The long format gives the same
+ * information (in a more legible format) as well as home directory,
shell,
+ * mail info, and .plan/.project files.
+ */
+
+#include <winsock2.h>
+#include "err.h"
+#include <errno.h>
+#include <fcntl.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+
+#include "various.h"
+#include "getopt.h"
+
+char *__progname;
+
+time_t now;
+int lflag, mflag, pplan, sflag;
+
+static void userlist(int, char **);
+void usage();
+
+int
+main(int argc, char **argv)
+{
+ int ch;
+
+ while ((ch = getopt(argc, argv, "lmps")) != EOF)
+ switch(ch) {
+ case 'l':
+ lflag = 1; /* long format */
+ break;
+ case 'm':
+ mflag = 1; /* force exact match of
names */
+ break;
+ case 'p':
+ pplan = 1; /* don't show
.plan/.project */
+ break;
+ case 's':
+ sflag = 1; /* short format */
+ break;
+ case '?':
+ default:
+ (void)fprintf(stderr,
+ "usage: finger [-lmps] login [...]\n");
+ exit(1);
+ }
+ argc -= optind;
+ argv += optind;
+
+ (void)time(&now);
+ if (!*argv) {
+ usage();
+ } else {
+ userlist(argc, argv);
+ /*
+ * Assign explicit "large" format if names given and -s
not
+ * explicitly stated. Force the -l AFTER we get names
so any
+ * remote finger attempts specified won't be mishandled.
+ */
+ if (!sflag)
+ lflag = 1; /* if -s not explicit, force -l
*/
+ }
+ return 0;
+}
+
+
+static void
+userlist(int argc, char **argv)
+{
+ int *used;
+ char **ap, **nargv, **np, **p;
+ WORD wVersionRequested;
+ WSADATA wsaData;
+ int iErr;
+
+
+ if ((nargv = malloc((argc+1) * sizeof(char *))) == NULL ||
+ (used = calloc(argc, sizeof(int))) == NULL)
+ err(1, NULL);
+
+ /* Pull out all network requests into nargv. */
+ for (ap = p = argv, np = nargv; *p; ++p)
+ if (index(*p, '@'))
+ *np++ = *p;
+ else
+ *ap++ = *p;
+
+ *np++ = NULL;
+ *ap++ = NULL;
+
+ /* If there are local requests */
+ if (*argv)
+ {
+ fprintf(stderr, "Warning: Can't do local finger\n");
+ }
+
+ /* Start winsock */
+ wVersionRequested = MAKEWORD( 1, 1 );
+ iErr = WSAStartup( wVersionRequested, &wsaData );
+ if ( iErr != 0 )
+ {
+ /* Tell the user that we couldn't find a usable */
+ /* WinSock DLL. */
+ fprintf(stderr, "WSAStartup failed\n");
+ return;
+ }
+
+ /* Handle network requests. */
+ for (p = nargv; *p;)
+ netfinger(*p++);
+
+ /* Bring down winsock */
+ WSACleanup();
+ exit(0);
+}
+
+void usage()
+{
+ (void)fprintf(stderr,
+ "usage: finger [-lmps] login [...]\n");
+ exit(1);
+}
+
_____
Added: trunk/reactos/base/applications/network/finger/finger.rbuild
--- trunk/reactos/base/applications/network/finger/finger.rbuild
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/finger.rbuild
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
+ <module name="finger" type="win32cui" installbase="system32"
installname="finger.exe">
+ <include base="finger">.</include>
+ <define name="__USE_W32API" />
+ <define name="__USE_W32_SOCKETS" />
+ <library>kernel32</library>
+ <library>ws2_32</library>
+ <file>finger.c</file>
+ <file>err.c</file>
+ <file>getopt.c</file>
+ <file>net.c</file>
+ <file>finger.rc</file>
+ </module>
+ </module>
+</rbuild>
_____
Added: trunk/reactos/base/applications/network/finger/finger.rc
--- trunk/reactos/base/applications/network/finger/finger.rc
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/finger.rc
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,6 @@
+/* $Id: finger.rc 12852 2005-01-06 13:58:04Z mf $ */
+
+#define REACTOS_STR_FILE_DESCRIPTION "ReactOS TCP/IPv4 Win32
finger\0"
+#define REACTOS_STR_INTERNAL_NAME "finger\0"
+#define REACTOS_STR_ORIGINAL_FILENAME "finger.exe\0"
+#include <reactos/version.rc>
_____
Added: trunk/reactos/base/applications/network/finger/getopt.c
--- trunk/reactos/base/applications/network/finger/getopt.c
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/getopt.c
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,122 @@
+/*
+ * Copyright (c) 1987 Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
the
+ * documentation and/or other materials provided with the
distribution.
+ * 3. All advertising materials mentioning features or use of this
software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its
contributors
+ * may be used to endorse or promote products derived from this
software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF
+ * SUCH DAMAGE.
+ *
+ * Fri Jun 13 10:39:00 1997, tfelix(a)fred.net:
+ * Ported to Win32, changed index/rindex to strchr/strrchr
+ */
+
+#if defined(LIBC_SCCS) && !defined(lint)
+static char sccsid[] = "@(#)getopt.c 4.13 (Berkeley) 2/23/91";
+#endif /* LIBC_SCCS and not lint */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "getopt.h"
+
+/*
+ * get option letter from argument vector
+ */
+int opterr = 1, /* if error message should be printed */
+ optind = 1, /* index into parent argv vector */
+ optopt; /* character checked for validity */
+const char *optarg; /* argument associated with
option */
+
+#define BADCH (int)'?'
+#define EMSG ""
+
+int
+getopt(int nargc, char * const *nargv, const char *ostr)
+{
+ static const char *place = EMSG; /* option letter
processing */
+ register char *oli; /* option letter list
index */
+ char *p;
+
+ if (!*place) { /* update scanning
pointer */
+ if (optind >= nargc || *(place = nargv[optind]) != '-')
{
+ place = EMSG;
+ return(EOF);
+ }
+ if (place[1] && *++place == '-') { /* found "--" */
+ ++optind;
+ place = EMSG;
+ return(EOF);
+ }
+ } /* option letter okay?
*/
+ if ((optopt = (int)*place++) == (int)':' ||
+ !(oli = strchr(ostr, optopt))) {
+ /*
+ * if the user didn't specify '-' as an option,
+ * assume it means EOF.
+ */
+ if (optopt == (int)'-')
+ return(EOF);
+ if (!*place)
+ ++optind;
+ if (opterr) {
+ if (!(p = strrchr(*nargv, '/')))
+ p = *nargv;
+ else
+ ++p;
+ (void)fprintf(stderr, "%s: illegal option --
%c\n",
+ p, optopt);
+ }
+ return(BADCH);
+ }
+ if (*++oli != ':') { /* don't need argument
*/
+ optarg = NULL;
+ if (!*place)
+ ++optind;
+ }
+ else { /* need an argument */
+ if (*place) /* no white space */
+ optarg = place;
+ else if (nargc <= ++optind) { /* no arg */
+ place = EMSG;
+ if (!(p = strrchr(*nargv, '/')))
+ p = *nargv;
+ else
+ ++p;
+ if (opterr)
+ (void)fprintf(stderr,
+ "%s: option requires an argument --
%c\n",
+ p, optopt);
+ return(BADCH);
+ }
+ else /* white space */
+ optarg = nargv[optind];
+ place = EMSG;
+ ++optind;
+ }
+ return(optopt); /* dump back option
letter */
+}
_____
Added: trunk/reactos/base/applications/network/finger/getopt.h
--- trunk/reactos/base/applications/network/finger/getopt.h
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/getopt.h
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,7 @@
+/* getopt.h */
+
+extern const char *optarg;
+extern int optind;
+
+int
+getopt(int nargc, char * const *nargv, const char *ostr);
_____
Added: trunk/reactos/base/applications/network/finger/net.c
--- trunk/reactos/base/applications/network/finger/net.c
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/net.c
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,139 @@
+/*
+ * Copyright (c) 1989, 1993
+ * The Regents of the University of California. All rights
reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Tony Nardo of the Johns Hopkins University/Applied Physics Lab.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
the
+ * documentation and/or other materials provided with the
distribution.
+ * 3. All advertising materials mentioning features or use of this
software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its
contributors
+ * may be used to endorse or promote products derived from this
software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF
+ * SUCH DAMAGE.
+ */
+#include <sys/types.h>
+#include <winsock2.h>
+
+#include <stdio.h>
+#include <ctype.h>
+#include <string.h>
+
+#include "various.h"
+
+int close(int);
+
+void
+netfinger(char *name)
+{
+ extern int lflag;
+ char c, lastc;
+ struct in_addr defaddr;
+ struct hostent *hp, def;
+ struct servent *sp;
+ struct sockaddr_in sin;
+ SOCKET s;
+ char *alist[1], *host;
+
+ /* If this is a local request */
+ if (!(host = rindex(name, '@')))
+ return;
+
+ *host++ = '\0';
+ if (isdigit(*host) && (defaddr.s_addr = inet_addr(host)) !=
(unsigned long)-1) {
+ def.h_name = host;
+ def.h_addr_list = alist;
+ def.h_addr = (char *)&defaddr;
+ def.h_length = sizeof(struct in_addr);
+ def.h_addrtype = AF_INET;
+ def.h_aliases = 0;
+ hp = &def;
+ } else if (!(hp = gethostbyname(host))) {
+ (void)fprintf(stderr,
+ "finger: unknown host: %s\n", host);
+ return;
+ }
+ if (!(sp = getservbyname("finger", "tcp"))) {
+ (void)fprintf(stderr, "finger: tcp/finger: unknown
service\n");
+ return;
+ }
+ sin.sin_family = hp->h_addrtype;
+ bcopy(hp->h_addr, (char *)&sin.sin_addr, hp->h_length);
+ sin.sin_port = sp->s_port;
+ if ((s = socket(hp->h_addrtype, SOCK_STREAM, 0)) ==
INVALID_SOCKET) {
+ perror("finger: socket");
+ return;
+ }
+
+ /* have network connection; identify the host connected with */
+ (void)printf("[%s]\n", hp->h_name);
+ if (connect(s, (struct sockaddr *)&sin, sizeof(sin)) < 0) {
+ fprintf(stderr, "finger: connect rc = %d",
WSAGetLastError());
+ (void)close(s);
+ return;
+ }
+
+ /* -l flag for remote fingerd */
+ if (lflag)
+ send(s, "/W ", 3, 0);
+ /* send the name followed by <CR><LF> */
+ send(s, name, strlen(name), 0);
+ send(s, "\r\n", 2, 0);
+
+ /*
+ * Read from the remote system; once we're connected, we assume
some
+ * data. If none arrives, we hang until the user interrupts.
+ *
+ * If we see a <CR> or a <CR> with the high bit set, treat it as
+ * a newline; if followed by a newline character, only output
one
+ * newline.
+ *
+ * Otherwise, all high bits are stripped; if it isn't printable
and
+ * it isn't a space, we can simply set the 7th bit. Every ASCII
+ * character with bit 7 set is printable.
+ */
+ lastc = 0;
+ while (recv(s, &c, 1, 0) == 1) {
+ c &= 0x7f;
+ if (c == 0x0d) {
+ if (lastc == '\r') /* ^M^M - skip dupes */
+ continue;
+ c = '\n';
+ lastc = '\r';
+ } else {
+ if (!isprint(c) && !isspace(c))
+ c |= 0x40;
+ if (lastc != '\r' || c != '\n')
+ lastc = c;
+ else {
+ lastc = '\n';
+ continue;
+ }
+ }
+ putchar(c);
+ }
+ if (lastc != '\n')
+ putchar('\n');
+ putchar('\n');
+}
_____
Added: trunk/reactos/base/applications/network/finger/various.h
--- trunk/reactos/base/applications/network/finger/various.h
2006-02-04 12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/finger/various.h
2006-02-04 12:39:36 UTC (rev 86)
@@ -0,0 +1,36 @@
+// Various things you need when porting BSD and GNU utilities to
+// Win32.
+
+#ifndef VARIOUS_H
+#define VARIOUS_H
+
+
+typedef float f4byte_t;
+typedef double f8byte_t;
+typedef long uid_t; // SunOS 5.5
+
+#define __P(x) x
+
+/* utmp.h */
+#define UT_LINESIZE 8
+#define UT_HOSTSIZE 16
+
+/* stat.h */
+#define S_ISREG(mode) (((mode)&0xF000) == 0x8000)
+#define S_ISDIR(mode) (((mode)&0xF000) == 0x4000)
+
+#undef MIN //take care of windows default
+#undef MAX //take care of windows default
+#define MIN(a, b) ((a) <= (b) ? (a) : (b))
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
+
+#define bcopy(s1, s2, n) memmove(s2, s1, n)
+#define bcmp(s1, s2, n) (memcmp(s1, s2, n) != 0)
+#define bzero(s, n) memset(s, 0, n)
+
+#define index(s, c) strchr(s, c)
+#define rindex(s, c) strrchr(s, c)
+
+void netfinger(char *);
+
+#endif
_____
Added: trunk/reactos/base/applications/network/ftp/cmds.c
--- trunk/reactos/base/applications/network/ftp/cmds.c 2006-02-04
12:21:58 UTC (rev 85)
+++ trunk/reactos/base/applications/network/ftp/cmds.c 2006-02-04
12:39:36 UTC (rev 86)
@@ -0,0 +1,2373 @@
+/*
+ * Copyright (c) 1985, 1989 Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley. The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)cmds.c 5.18 (Berkeley) 4/20/89";
+#endif /* not lint */
+
+/*
+ * FTP User Program -- Command Routines.
+ */
+//#include <sys/param.h>
+//#include <sys/wait.h>
+#include <sys/stat.h>
+#ifndef _WIN32
+#include <sys/socket.h>
+#include <arpa/ftp.h>
+#include <netinet/in.h>
+#include <netdb.h>
+#else
+#include <winsock.h>
+#endif
+
+#include <signal.h>
+#include <direct.h>
+#include <stdio.h>
+#include <errno.h>
+#include <ctype.h>
+#include <time.h>
+
+#include "ftp_var.h"
+#include "pathnames.h"
+#include "prototypes.h"
+
+extern char *globerr;
+extern char home[];
+extern char *remglob();
+extern char *getenv();
+extern int allbinary;
+extern off_t restart_point;
+extern char reply_string[];
+
+const char *mname;
+jmp_buf jabort;
+const char *dotrans(), *domap();
+
+extern short portnum;
+extern char *hostname;
+extern int autologin;
+/*
+ * Connect to peer server and
+ * auto-login, if possible.
+ */
+void setpeer(int argc, const char *argv[])
+{
+ char *host;
+
+ if (connected) {
+ printf("Already connected to %s, use close first.\n",
+ hostname);
+ (void) fflush(stdout);
+ code = -1;
+ return;
+ }
+ if (argc < 2) {
+ (void) strcat(line, " ");
+ printf("(to) ");
+ (void) fflush(stdout);
+ (void) gets(&line[strlen(line)]);
+ makeargv();
+ argc = margc;
+ argv = margv;
+ }
+ if (argc > 3) {
+ printf("usage: %s host-name [port]\n", argv[0]);
+ (void) fflush(stdout);
+ code = -1;
+ return;
+ }
+ if (argc > 2) {
+ portnum = atoi(argv[2]);
+ if (portnum <= 0) {
+ printf("%s: bad port number-- %s\n", argv[1],
argv[2]);
+ printf ("usage: %s host-name [port]\n",
argv[0]);
+ (void) fflush(stdout);
+ code = -1;
+ return;
+ }
+ portnum = htons(portnum);
+ }
+ host = hookup(argv[1], portnum);
+ if (host) {
+#if defined(unix) && NBBY == 8
+ int overbose;
+#endif
+ connected = 1;
+ if (autologin)
+ (void) login(argv[1]);
+
+#if defined(unix) && NBBY == 8
+/*
+ * this ifdef is to keep someone form "porting" this to an incompatible
+ * system and not checking this out. This way they have to think about
it.
+ */
+ overbose = verbose;
+ if (debug == 0)
+ verbose = -1;
+ allbinary = 0;
+ if (command("SYST") == COMPLETE && overbose) {
+ register char *cp, c;
+ cp = index(reply_string+4, ' ');
+ if (cp == NULL)
+ cp = index(reply_string+4, '\r');
+ if (cp) {
+ if (cp[-1] == '.')
+ cp--;
+ c = *cp;
+ *cp = '\0';
+ }
+
+ printf("Remote system type is %s.\n",
+ reply_string+4);
+ if (cp)
+ *cp = c;
+ }
+ if (!strncmp(reply_string, "215 UNIX Type: L8", 17)) {
+ setbinary();
+ /* allbinary = 1; this violates the RFC */
+ if (overbose)
+ printf("Using %s mode to transfer files.\n",
+ typename);
+ } else if (overbose &&
+ !strncmp(reply_string, "215 TOPS20", 10)) {
+ printf(
+"Remember to set tenex mode when transfering binary files from this
machine.\n");
+ }
+ verbose = overbose;
+#endif /* unix */
+ }
+ (void) fflush(stdout);
+}
+
+struct types {
+ const char *t_name;
+ const char *t_mode;
+ int t_type;
+ char *t_arg;
+} types[] = {
+ { "ascii", "A", TYPE_A, 0 },
+ { "binary", "I", TYPE_I, 0 },
+ { "image", "I", TYPE_I, 0 },
+ { "ebcdic", "E", TYPE_E, 0 },
+ { "tenex", "L", TYPE_L, bytename },
+ {0 }
+};
+
+/*
+ * Set transfer type.
+ */
+void settype(argc, argv)
+ const char *argv[];
+{
+ register struct types *p;
+ int comret;
+
+ if (argc > 2) {
+ const char *sep;
+
+ printf("usage: %s [", argv[0]);
+ sep = " ";
+ for (p = types; p->t_name; p++) {
+ printf("%s%s", sep, p->t_name);
+ if (*sep == ' ')
+ sep = " | ";
+ }
+ printf(" ]\n");
+ (void) fflush(stdout);
+ code = -1;
+ return;
+ }
+ if (argc < 2) {
+ printf("Using %s mode to transfer files.\n", typename);
+ (void) fflush(stdout);
+ code = 0;
+ return;
+ }
+ for (p = types; p->t_name; p++)
+ if (strcmp(argv[1], p->t_name) == 0)
+ break;
+ if (p->t_name == 0) {
+ printf("%s: unknown mode\n", argv[1]);
+ (void) fflush(stdout);
+ code = -1;
+ return;
+ }
+ if ((p->t_arg != NULL) && (*(p->t_arg) != '\0'))
+ comret = command ("TYPE %s %s", p->t_mode, p->t_arg);
+ else
+ comret = command("TYPE %s", p->t_mode);
+ if (comret == COMPLETE) {
+ (void) strcpy(typename, p->t_name);
+ type = p->t_type;
+ }
+}
+
+const char *stype[] = {
+ "type",
[truncated at 1000 lines; 22260 more skipped]
winefile-Sync to Wine:
Aric Stewart <aric(a)codeweavers.com>
winefile: Highlight the file specified on the command line instead of
filtering based on it. To be integrated with explorer to allow for
that functionality.
Mike McCormack <mike(a)codeweavers.com>
winefile: Move the license and warranty text into the resources.
Modified: trunk/reactos/base/applications/winefile/en.rc
Deleted: trunk/reactos/base/applications/winefile/license.c
Modified: trunk/reactos/base/applications/winefile/resource.h
Modified: trunk/reactos/base/applications/winefile/winefile.c
Modified: trunk/reactos/base/applications/winefile/winefile.dsp
Modified: trunk/reactos/base/applications/winefile/winefile.h
Modified: trunk/reactos/base/applications/winefile/winefile.sln
Modified: trunk/reactos/base/applications/winefile/winefile.vcproj
_____
Modified: trunk/reactos/base/applications/winefile/en.rc
--- trunk/reactos/base/applications/winefile/en.rc 2006-02-04
09:02:51 UTC (rev 83)
+++ trunk/reactos/base/applications/winefile/en.rc 2006-02-04
10:04:41 UTC (rev 84)
@@ -264,3 +264,27 @@
IDS_FREE_SPACE_FMT "%s of %s free"
}
+
+STRINGTABLE
+{
+IDS_LICENSE_CAPTION, "LICENSE"
+IDS_LICENSE,
+"This library is free software; you can redistribute it and/or \
+modify it under the terms of the GNU Lesser General Public \
+License as published by the Free Software Foundation; either \
+version 2.1 of the License, or (at your option) any later version.\n\
+This library is distributed in the hope that it will be useful, \
+but WITHOUT ANY WARRANTY; without even the implied warranty of \
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU \
+Lesser General Public License for more details.\n\
+You should have received a copy of the GNU Lesser General Public \
+License along with this library; if not, write to the Free Software \
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA"
+
+IDS_WARRANTY_CAPTION, "NO WARRANTY"
+IDS_WARRANTY,
+"This library is distributed in the hope that it will be useful, \
+but WITHOUT ANY WARRANTY; without even the implied warranty of \
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU \
+Lesser General Public License for more details."
+}
_____
Deleted: trunk/reactos/base/applications/winefile/license.c
--- trunk/reactos/base/applications/winefile/license.c 2006-02-04
09:02:51 UTC (rev 83)
+++ trunk/reactos/base/applications/winefile/license.c 2006-02-04
10:04:41 UTC (rev 84)
@@ -1,56 +0,0 @@
-/*
- * Copyright 2000 Martin Fuchs
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
-*/
-
-#include "winefile.h"
-
-#ifdef __WINE__
-
-static const CHAR LicenseCaption[] = "LICENSE";
-static const CHAR License[] =
-"This library is free software; you can redistribute it and/or "
-"modify it under the terms of the GNU Lesser General Public "
-"License as published by the Free Software Foundation; either "
-"version 2.1 of the License, or (at your option) any later version.\n"
-
-"This library is distributed in the hope that it will be useful, "
-"but WITHOUT ANY WARRANTY; without even the implied warranty of "
-"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU "
-"Lesser General Public License for more details.\n"
-
-"You should have received a copy of the GNU Lesser General Public "
-"License along with this library; if not, write to the Free Software "
-"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA";
-
-static const CHAR NoWarrantyCaption[] = "NO WARRANTY";
-static const CHAR NoWarranty[] =
-"This library is distributed in the hope that it will be useful, "
-"but WITHOUT ANY WARRANTY; without even the implied warranty of "
-"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU "
-"Lesser General Public License for more details.";
-
-VOID WineLicense(HWND hwnd)
-{
- MessageBoxA(hwnd, License, LicenseCaption, MB_ICONINFORMATION|MB_OK);
-}
-
-VOID WineWarranty(HWND hwnd)
-{
- MessageBoxA(hwnd, NoWarranty, NoWarrantyCaption,
MB_ICONEXCLAMATION|MB_OK);
-}
-
-#endif
_____
Modified: trunk/reactos/base/applications/winefile/resource.h
--- trunk/reactos/base/applications/winefile/resource.h 2006-02-04
09:02:51 UTC (rev 83)
+++ trunk/reactos/base/applications/winefile/resource.h 2006-02-04
10:04:41 UTC (rev 84)
@@ -135,7 +135,12 @@
#define IDS_COL_SEC 1218
#define IDS_FREE_SPACE_FMT 1219
+#define IDS_LICENSE_CAPTION 1300
+#define IDS_LICENSE 1301
+#define IDS_WARRANTY_CAPTION 1302
+#define IDS_WARRANTY 1303
+
/* range for drive bar command ids: 0x9000..0x90FF */
#ifdef __WINE__
_____
Modified: trunk/reactos/base/applications/winefile/winefile.c
--- trunk/reactos/base/applications/winefile/winefile.c 2006-02-04
09:02:51 UTC (rev 83)
+++ trunk/reactos/base/applications/winefile/winefile.c 2006-02-04
10:04:41 UTC (rev 84)
@@ -239,6 +239,23 @@
}
+static VOID WineLicense(HWND Wnd)
+{
+ TCHAR cap[20], text[1024];
+ LoadString(Globals.hInstance, IDS_LICENSE, text, 1024);
+ LoadString(Globals.hInstance, IDS_LICENSE_CAPTION, cap, 20);
+ MessageBox(Wnd, text, cap, MB_ICONINFORMATION | MB_OK);
+}
+
+static VOID WineWarranty(HWND Wnd)
+{
+ TCHAR cap[20], text[1024];
+ LoadString(Globals.hInstance, IDS_WARRANTY, text, 1024);
+ LoadString(Globals.hInstance, IDS_WARRANTY_CAPTION, cap, 20);
+ MessageBox(Wnd, text, cap, MB_ICONEXCLAMATION | MB_OK);
+}
+
+
#ifdef __WINE__
#ifdef UNICODE
@@ -1403,6 +1420,7 @@
static ChildWnd* alloc_child_window(LPCTSTR path, LPITEMIDLIST pidl,
HWND hwnd)
{
TCHAR drv[_MAX_DRIVE+1], dir[_MAX_DIR], name[_MAX_FNAME],
ext[_MAX_EXT];
+ TCHAR dir_path[MAX_PATH];
TCHAR b1[BUFFER_LEN];
const static TCHAR sAsterics[] = {'*', '\0'};
@@ -1447,7 +1465,9 @@
root->entry.level = 0;
- entry = read_tree(root, path, pidl, drv, child->sortOrder,
hwnd);
+ lstrcpy(dir_path, drv);
+ lstrcat(dir_path, dir);
+ entry = read_tree(root, dir_path, pidl, drv, child->sortOrder,
hwnd);
#ifdef _SHELL_FOLDERS
if (root->entry.etype == ET_SHELL)
@@ -4779,6 +4799,36 @@
Globals.prescan_node = FALSE;
UpdateWindow(Globals.hMainWnd);
+
+ if (path && path[0])
+ {
+ int index,count;
+ TCHAR drv[_MAX_DRIVE+1], dir[_MAX_DIR],
name[_MAX_FNAME], ext[_MAX_EXT];
+ TCHAR fullname[_MAX_FNAME+_MAX_EXT+1];
+
+ memset(name,0,sizeof(name));
+ memset(name,0,sizeof(ext));
+ _tsplitpath(path, drv, dir, name, ext);
+ if (name[0])
+ {
+ count = ListBox_GetCount(child->right.hwnd);
+ lstrcpy(fullname,name);
+ lstrcat(fullname,ext);
+
+ for (index = 0; index < count; index ++)
+ {
+ Entry* entry = (Entry*)
ListBox_GetItemData(child->right.hwnd,
+ index);
+ if
(lstrcmp(entry->data.cFileName,fullname)==0 ||
+
lstrcmp(entry->data.cAlternateFileName,fullname)==0)
+ {
+
ListBox_SetCurSel(child->right.hwnd, index);
+ SetFocus(child->right.hwnd);
+ break;
+ }
+ }
+ }
+ }
}
static void ExitInstance(void)
_____
Modified: trunk/reactos/base/applications/winefile/winefile.dsp
--- trunk/reactos/base/applications/winefile/winefile.dsp
2006-02-04 09:02:51 UTC (rev 83)
+++ trunk/reactos/base/applications/winefile/winefile.dsp
2006-02-04 10:04:41 UTC (rev 84)
@@ -250,11 +250,6 @@
# End Group
# Begin Source File
-SOURCE=.\license.c
-# PROP Exclude_From_Build 1
-# End Source File
-# Begin Source File
-
SOURCE=.\resource.h
# End Source File
# Begin Source File
_____
Modified: trunk/reactos/base/applications/winefile/winefile.h
--- trunk/reactos/base/applications/winefile/winefile.h 2006-02-04
09:02:51 UTC (rev 83)
+++ trunk/reactos/base/applications/winefile/winefile.h 2006-02-04
10:04:41 UTC (rev 84)
@@ -149,10 +149,6 @@
#ifdef __WINE__
-extern void WineLicense(HWND hwnd);
-extern void WineWarranty(HWND hwnd);
-
-
#ifdef UNICODE
extern void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir,
WCHAR* name, WCHAR* ext);
#define _tsplitpath _wsplitpath
_____
Modified: trunk/reactos/base/applications/winefile/winefile.sln
--- trunk/reactos/base/applications/winefile/winefile.sln
2006-02-04 09:02:51 UTC (rev 83)
+++ trunk/reactos/base/applications/winefile/winefile.sln
2006-02-04 10:04:41 UTC (rev 84)
@@ -14,7 +14,6 @@
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D5D64C37-5820-4EE1-9982-98A2CFFAC645}.Debug|Win32.ActiveCfg =
Debug|Win32
-
{D5D64C37-5820-4EE1-9982-98A2CFFAC645}.Debug|Win32.Build.0 = Debug|Win32
{D5D64C37-5820-4EE1-9982-98A2CFFAC645}.Release|Win32.ActiveCfg =
Release|Win32
{D5D64C37-5820-4EE1-9982-98A2CFFAC645}.Release|Win32.Build.0 =
Release|Win32
{D5D64C37-5820-4EE1-9982-98A2CFFAC645}.Unicode
Debug|Win32.ActiveCfg = Debug|Win32
_____
Modified: trunk/reactos/base/applications/winefile/winefile.vcproj
--- trunk/reactos/base/applications/winefile/winefile.vcproj
2006-02-04 09:02:51 UTC (rev 83)
+++ trunk/reactos/base/applications/winefile/winefile.vcproj
2006-02-04 10:04:41 UTC (rev 84)
@@ -1119,52 +1119,6 @@
</File>
</Filter>
<File
- RelativePath="license.c"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
-
PreprocessorDefinitions="_DEBUG;_WIN32_WINNT=0x0501;$(NoInherit)"
- UsePrecompiledHeader="0"
- BrowseInformation="1"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
-
PreprocessorDefinitions="NDEBUG;_WIN32_WINNT=0x0501;$(NoInherit)"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="UNICODE Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
-
PreprocessorDefinitions="NDEBUG;UNICODE;_WIN32_WINNT=0x0501;$(NoInherit)
"
- UsePrecompiledHeader="0"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Unicode Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
-
PreprocessorDefinitions="_DEBUG;UNICODE;_WIN32_WINNT=0x0501;$(NoInherit)
"
- UsePrecompiledHeader="0"
- BrowseInformation="1"
- />
- </FileConfiguration>
- </File>
- <File
RelativePath="resource.h"
>
</File>
Add source documentation for fonts shipped with reactos.
Added: trunk/reactos/media/doc/
Added: trunk/reactos/media/doc/COPYRIGHT.IBM
Added: trunk/reactos/media/doc/Copyright.Bitstream
Added: trunk/reactos/media/doc/README.TXT
Added: trunk/reactos/media/doc/TGMarlett.txt
Added: trunk/reactos/media/doc/VERA-COPYRIGHT.TXT
Added: trunk/reactos/media/doc/VERA-README.TXT
Added: trunk/reactos/media/doc/VERA-RELEASENOTES.TXT
_____
Added: trunk/reactos/media/doc/COPYRIGHT.IBM
--- trunk/reactos/media/doc/COPYRIGHT.IBM 2006-02-03 23:57:39 UTC
(rev 78)
+++ trunk/reactos/media/doc/COPYRIGHT.IBM 2006-02-04 06:23:24 UTC
(rev 79)
@@ -0,0 +1,9 @@
+IBM Courier - Copyright (c) IBM Corporation 1990, 1991
+
+You are hereby granted permission under the terms of the IBM/MIT X
Consortium
+Courier Typefont agreement to execute, reproduce, distribute, display,
market,
+sell and otherwise transfer copies of the IBM Courier font to third
parties.
+
+The font is provided "AS IS" without charge. NO WARRANTIES OR
INDEMNIFICATION
+ARE GIVEN, WHETHER EXPRESS OR IMPLIED INCLUDING, BUT LIMITED TO THE
IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
_____
Added: trunk/reactos/media/doc/Copyright.Bitstream
--- trunk/reactos/media/doc/Copyright.Bitstream 2006-02-03 23:57:39 UTC
(rev 78)
+++ trunk/reactos/media/doc/Copyright.Bitstream 2006-02-04 06:23:24 UTC
(rev 79)
@@ -0,0 +1,11 @@
+(c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.
+
+You are hereby granted permission under all Bitstream propriety rights
+to use, copy, modify, sublicense, sell, and redistribute the 4
Bitstream
+Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
+for any purpose and without restriction; provided, that this notice is
+left intact on all copies of such fonts and that Bitstream's trademark
+is acknowledged as shown below on all unmodified copies of the 4
Charter
+Type 1 fonts.
+
+BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
_____
Added: trunk/reactos/media/doc/README.TXT
--- trunk/reactos/media/doc/README.TXT 2006-02-03 23:57:39 UTC (rev 78)
+++ trunk/reactos/media/doc/README.TXT 2006-02-04 06:23:24 UTC (rev 79)
@@ -0,0 +1,3 @@
+The Vera*.ttf contain the Bitstream Vera fonts. They were downloaded
+from http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/.
+The original documentation files are available as VERA-*.TXT.
\ No newline at end of file
_____
Added: trunk/reactos/media/doc/TGMarlett.txt
--- trunk/reactos/media/doc/TGMarlett.txt 2006-02-03 23:57:39 UTC
(rev 78)
+++ trunk/reactos/media/doc/TGMarlett.txt 2006-02-04 06:23:24 UTC
(rev 79)
@@ -0,0 +1,8 @@
+6.2 Can I redistribute TGMarlett.ttf
+
+Yes. TGMarlett is licensed under an X11 license, so you can do whatever
you
+wish with it. However, if you make any improvements to this font (see
FAQ 6.3)
+we would appreciate it if you made the improvements available to
everyone by
+contributing the changes back to TransGaming.
+
+from ( http://www.transgaming.com/gamefaq.php?specialid=3 )
\ No newline at end of file
_____
Added: trunk/reactos/media/doc/VERA-COPYRIGHT.TXT
--- trunk/reactos/media/doc/VERA-COPYRIGHT.TXT 2006-02-03 23:57:39 UTC
(rev 78)
+++ trunk/reactos/media/doc/VERA-COPYRIGHT.TXT 2006-02-04 06:23:24 UTC
(rev 79)
@@ -0,0 +1,124 @@
+Bitstream Vera Fonts Copyright
+
+The fonts have a generous copyright, allowing derivative works (as
+long as "Bitstream" or "Vera" are not in the names), and full
+redistribution (so long as they are not *sold* by themselves). They
+can be be bundled, redistributed and sold with any software.
+
+The fonts are distributed under the following copyright:
+
+Copyright
+=========
+
+Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream
+Vera is a trademark of Bitstream, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the fonts accompanying this license ("Fonts") and associated
+documentation files (the "Font Software"), to reproduce and distribute
+the Font Software, including without limitation the rights to use,
+copy, merge, publish, distribute, and/or sell copies of the Font
+Software, and to permit persons to whom the Font Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright and trademark notices and this permission notice
+shall be included in all copies of one or more of the Font Software
+typefaces.
+
+The Font Software may be modified, altered, or added to, and in
+particular the designs of glyphs or characters in the Fonts may be
+modified and additional glyphs or characters may be added to the
+Fonts, only if the fonts are renamed to names not containing either
+the words "Bitstream" or the word "Vera".
+
+This License becomes null and void to the extent applicable to Fonts
+or Font Software that has been modified and is distributed under the
+"Bitstream Vera" names.
+
+The Font Software may be sold as part of a larger software package but
+no copy of one or more of the Font Software typefaces may be sold by
+itself.
+
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
+BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
+OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT
+SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
+
+Except as contained in this notice, the names of Gnome, the Gnome
+Foundation, and Bitstream Inc., shall not be used in advertising or
+otherwise to promote the sale, use or other dealings in this Font
+Software without prior written authorization from the Gnome Foundation
+or Bitstream Inc., respectively. For further information, contact:
+fonts at gnome dot org.
+
+Copyright FAQ
+=============
+
+ 1. I don't understand the resale restriction... What gives?
+
+ Bitstream is giving away these fonts, but wishes to ensure its
+ competitors can't just drop the fonts as is into a font sale
system
+ and sell them as is. It seems fair that if Bitstream can't make
money
+ from the Bitstream Vera fonts, their competitors should not be
able to
+ do so either. You can sell the fonts as part of any software
package,
+ however.
+
+ 2. I want to package these fonts separately for distribution and
+ sale as part of a larger software package or system. Can I do
so?
+
+ Yes. A RPM or Debian package is a "larger software package" to
begin
+ with, and you aren't selling them independently by themselves.
+ See 1. above.
+
+ 3. Are derivative works allowed?
+ Yes!
+
+ 4. Can I change or add to the font(s)?
+ Yes, but you must change the name(s) of the font(s).
+
+ 5. Under what terms are derivative works allowed?
+
+ You must change the name(s) of the fonts. This is to ensure the
+ quality of the fonts, both to protect Bitstream and Gnome. We
want to
+ ensure that if an application has opened a font specifically of
these
+ names, it gets what it expects (though of course, using
fontconfig,
+ substitutions could still could have occurred during font
+ opening). You must include the Bitstream copyright. Additional
+ copyrights can be added, as per copyright law. Happy Font
Hacking!
+
+ 6. If I have improvements for Bitstream Vera, is it possible they
might get
+ adopted in future versions?
+
+ Yes. The contract between the Gnome Foundation and Bitstream has
+ provisions for working with Bitstream to ensure quality additions
to
+ the Bitstream Vera font family. Please contact us if you have
such
+ additions. Note, that in general, we will want such additions for
the
+ entire family, not just a single font, and that you'll have to
keep
+ both Gnome and Jim Lyles, Vera's designer, happy! To make sense
to add
+ glyphs to the font, they must be stylistically in keeping with
Vera's
+ design. Vera cannot become a "ransom note" font. Jim Lyles will
be
+ providing a document describing the design elements used in Vera,
as a
+ guide and aid for people interested in contributing to Vera.
+
+ 7. I want to sell a software package that uses these fonts: Can I do
so?
+
+ Sure. Bundle the fonts with your software and sell your software
+ with the fonts. That is the intent of the copyright.
+
+ 8. If applications have built the names "Bitstream Vera" into them,
+ can I override this somehow to use fonts of my choosing?
+
+ This depends on exact details of the software. Most open source
+ systems and software (e.g., Gnome, KDE, etc.) are now converting
to
+ use fontconfig (see www.fontconfig.org) to handle font
configuration,
+ selection and substitution; it has provisions for overriding font
+ names and subsituting alternatives. An example is provided by the
+ supplied local.conf file, which chooses the family Bitstream Vera
for
+ "sans", "serif" and "monospace". Other software (e.g., the
XFree86
+ core server) has other mechanisms for font substitution.
+
_____
Added: trunk/reactos/media/doc/VERA-README.TXT
--- trunk/reactos/media/doc/VERA-README.TXT 2006-02-03 23:57:39 UTC
(rev 78)
+++ trunk/reactos/media/doc/VERA-README.TXT 2006-02-04 06:23:24 UTC
(rev 79)
@@ -0,0 +1,11 @@
+Contained herin is the Bitstream Vera font family.
+
+The Copyright information is found in the COPYRIGHT.TXT file (along
+with being incoporated into the fonts themselves).
+
+The releases notes are found in the file "RELEASENOTES.TXT".
+
+We hope you enjoy Vera!
+
+ Bitstream, Inc.
+ The Gnome Project
_____
Added: trunk/reactos/media/doc/VERA-RELEASENOTES.TXT
--- trunk/reactos/media/doc/VERA-RELEASENOTES.TXT 2006-02-03
23:57:39 UTC (rev 78)
+++ trunk/reactos/media/doc/VERA-RELEASENOTES.TXT 2006-02-04
06:23:24 UTC (rev 79)
@@ -0,0 +1,162 @@
+Bitstream Vera Fonts - April 16, 2003
+=====================================
+
+The version number of these fonts is 1.10 to distinguish them from the
+beta test fonts.
+
+Note that the Vera copyright is incorporated in the fonts themselves.
+The License field in the fonts contains the copyright license as it
+appears below. The TrueType copyright field is not large enough to
+contain the full license, so the license is incorporated (as you might
+think if you thought about it) into the license field, which
+unfortunately can be obscure to find. (In pfaedit, see: Element->Font
+Info->TTFNames->License).
+
+Our apologies for it taking longer to complete the fonts than planned.
+Beta testers requested a tighter line spacing (less leading) and Jim
+Lyles redesigned Vera's accents to bring its line spacing to more
+typical of other fonts. This took additional time and effort. Our
+thanks to Jim for this effort above and beyond the call of duty.
+
+There are four monospace and sans faces (normal, oblique, bold, bold
+oblique) and two serif faces (normal and bold). Fontconfig/Xft2 (see
+www.fontconfig.org) can artificially oblique the serif faces for you:
+this loses hinting and distorts the faces slightly, but is visibly
+different than normal and bold, and reasonably pleasing.
+
+On systems with fontconfig 2.0 or 2.1 installed, making your sans,
+serif and monospace fonts default to these fonts is very easy. Just
+drop the file local.conf into your /etc/fonts directory. This will
+make the Bitstream fonts your default fonts for all applications using
+fontconfig (if sans, serif, or monospace names are used, as they often
+are as default values in many desktops). The XML in local.conf may
+need modification to enable subpixel decimation, if appropriate,
+however, the commented out phrase does so for XFree86 4.3, in the case
+that the server does not have sufficient information to identify the
+use of a flat panel. Fontconfig 2.2 adds Vera to the list of font
+families and will, by default use it as the default sans, serif and
+monospace fonts.
+
+During the testing of the final Vera fonts, we learned that screen
+fonts in general are only typically hinted to work correctly at
+integer pixel sizes. Vera is coded internally for integer sizes only.
+We need to investigate further to see if there are commonly used fonts
+that are hinted to be rounded but are not rounded to integer sizes due
+to oversights in their coding.
+
+Most fonts work best at 8 pixels and below if anti-aliased only, as
+the amount of work required to hint well at smaller and smaller sizes
+becomes astronomical. GASP tables are typically used to control
+whether hinting is used or not, but Freetype/Xft does not currently
+support GASP tables (which are present in Vera).
+
+To mitigate this problem, both for Vera and other fonts, there will be
+(very shortly) a new fontconfig 2.2 release that will, by default not
+apply hints if the size is below 8 pixels. if you should have a font
+that in fact has been hinted more agressively, you can use fontconfig
+to note this exception. We believe this should improve many hinted
+fonts in addition to Vera, though implemeting GASP support is likely
+the right long term solution.
+
+Font rendering in Gnome or KDE is the combination of algorithms in
+Xft2 and Freetype, along with hinting in the fonts themselves. It is
+vital to have sufficient information to disentangle problems that you
+may observe.
+
+Note that having your font rendering system set up correctly is vital
+to proper judgement of problems of the fonts:
+
+ * Freetype may or may not be configured to in ways that may
+ implement execution of possibly patented (in some parts of the
world)
+ TrueType hinting algorithms, particularly at small sizes. Best
+ results are obtained while using these algorithms.
+
+ * The freetype autohinter (used when the possibly patented
+ algorithms are not used) continues to improve with each release.
If
+ you are using the autohinter, please ensure you are using an up
to
+ date version of freetype before reporting problems.
+
+ * Please identify what version of freetype you are using in any
+ bug reports, and how your freetype is configured.
+
+ * Make sure you are not using the freetype version included in
+ XFree86 4.3, as it has bugs that significantly degrade most
fonts,
+ including Vera. if you build XFree86 4.3 from source yourself,
you may
+ have installed this broken version without intending it (as I
+ did). Vera was verified with the recently released Freetype
2.1.4. On
+ many systems, 'ldd" can be used to see which freetype shared
library
+ is actually being used.
+
+ * Xft/X Render does not (yet) implement gamma correction. This
+ causes significant problems rendering white text on a black
background
+ (causing partial pixels to be insufficiently shaded) if the gamma
of
+ your monitor has not been compensated for, and minor problems
with
+ black text on a while background. The program "xgamma" can be
used to
+ set a gamma correction value in the X server's color pallette.
Most
+ monitors have a gamma near 2.
+
+ * Note that the Vera family uses minimal delta hinting. Your
+ results on other systems when not used anti-aliased may not be
+ entirely satisfying. We are primarily interested in reports of
+ problems on open source systems implementing
Xft2/fontconfig/freetype
+ (which implements antialiasing and hinting adjustements, and
+ sophisticated subpixel decimation on flatpanels). Also, the
+ algorithms used by Xft2 adjust the hints to integer widths and
the
+ results are crisper on open source systems than on Windows or
+ MacIntosh.
+
+ * Your fontconfig may (probably does) predate the release of
+ fontconfig 2.2, and you may see artifacts not present when the
font is
+ used at very small sizes with hinting enabled. "vc-list -V" can
be
+ used to see what version you have installed.
+
+We believe and hope that these fonts will resolve the problems
+reported during beta test. The largest change is the reduction of
+leading (interline spacing), which had annoyed a number of people, and
+reduced Vera's utility for some applcations. The Vera monospace font
+should also now make '0' and 'O' and '1' and 'l' more clearly
+distinguishable.
+
+The version of these fonts is version 1.10. Fontconfig should be
+choosing the new version of the fonts if both the released fonts and
+beta test fonts are installed (though please discard them: they have
+names of form tt20[1-12]gn.ttf). Note that older versions of
+fontconfig sometimes did not rebuild their cache correctly when new
+fonts are installed: please upgrade to fontconfig 2.2. "fc-cache -f"
+can be used to force rebuilding fontconfig's cache files.
+
+If you note problems, please send them to fonts at gnome dot org, with
+exactly which face and size and unicode point you observe the problem
+at. The xfd utility from XFree86 CVS may be useful for this (e.g. "xfd
+-fa sans"). A possibly more useful program to examine fonts at a
+variety of sizes is the "waterfall" program found in Keith Packard's
+CVS.
+
+ $ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS login
+ Logging in to :pserver:anoncvs@keithp.com:2401/local/src/CVS
+ CVS password: <hit return>
+ $ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS co
waterfall
+ $ cd waterfall
+ $ xmkmf -a
+ $ make
+ # make install
+ # make install.man
+
+Again, please make sure you are running an up-to-date freetype, and
+that you are only examining integer sizes.
+
+Reporting Problems
+==================
+
+Please send problem reports to fonts at gnome org, with the following
+information:
+
+ 1. Version of Freetype, Xft2 and fontconfig
+ 2. Whether TT hinting is being used, or the autohinter
+ 3. Application being used
+ 4. Character/Unicode code point that has problems (if applicable)
+ 5. Version of which operating system
+ 6. Please include a screenshot, when possible.
+
+Please check the fonts list archives before reporting problems to cut
+down on duplication.