diff options
author | Phil Blundell <philb@gnu.org> | 1998-08-10 20:48:01 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 1998-08-10 20:48:01 +0000 |
commit | 979144702297a301a79a5190d43d47b2fe345696 (patch) | |
tree | eaa612eb22168c5827861c630c91695dcd790719 | |
parent | e512951281999b560cf684ecfdd5dcd8f34e36ad (diff) | |
download | net-tools-979144702297a301a79a5190d43d47b2fe345696.tar.gz net-tools-979144702297a301a79a5190d43d47b2fe345696.tar.bz2 net-tools-979144702297a301a79a5190d43d47b2fe345696.zip |
Replace outdated NLS support with GNU gettext (patch from
Arnaldo Carvalho de Melo <acme@conectiva.com.br>). This
touches virtually every file but the changes are fairly
superficial.
Please check I haven't broken your favourite AF/hardware
type during the conversion.
-rw-r--r-- | ABOUT-NLS | 203 | ||||
-rw-r--r-- | INSTALLING | 11 | ||||
-rw-r--r-- | Makefile | 75 | ||||
-rw-r--r-- | README | 15 | ||||
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | arp.c | 94 | ||||
-rw-r--r-- | config.in | 35 | ||||
-rw-r--r-- | hostname.c | 116 | ||||
-rw-r--r-- | ifconfig.c | 198 | ||||
-rw-r--r-- | interface.c | 1 | ||||
-rw-r--r-- | intl.h | 11 | ||||
-rw-r--r-- | lib/activate.c | 7 | ||||
-rw-r--r-- | lib/af.c | 27 | ||||
-rw-r--r-- | lib/arcnet.c | 19 | ||||
-rw-r--r-- | lib/ash.c | 5 | ||||
-rw-r--r-- | lib/ax25.c | 15 | ||||
-rw-r--r-- | lib/ax25_gr.c | 9 | ||||
-rw-r--r-- | lib/ddp.c | 6 | ||||
-rw-r--r-- | lib/ddp_gr.c | 6 | ||||
-rw-r--r-- | lib/econet.c | 7 | ||||
-rw-r--r-- | lib/ether.c | 19 | ||||
-rw-r--r-- | lib/fddi.c | 23 | ||||
-rw-r--r-- | lib/frame.c | 4 | ||||
-rw-r--r-- | lib/getroute.c | 7 | ||||
-rw-r--r-- | lib/hw.c | 52 | ||||
-rw-r--r-- | lib/inet.c | 7 | ||||
-rw-r--r-- | lib/inet6.c | 10 | ||||
-rw-r--r-- | lib/inet6_gr.c | 52 | ||||
-rw-r--r-- | lib/inet6_sr.c | 17 | ||||
-rw-r--r-- | lib/inet_gr.c | 45 | ||||
-rw-r--r-- | lib/inet_sr.c | 43 | ||||
-rw-r--r-- | lib/ipx.c | 14 | ||||
-rw-r--r-- | lib/ipx_gr.c | 13 | ||||
-rw-r--r-- | lib/ipx_sr.c | 5 | ||||
-rw-r--r-- | lib/loopback.c | 9 | ||||
-rw-r--r-- | lib/masq_info.c | 11 | ||||
-rw-r--r-- | lib/net-features.h | 9 | ||||
-rw-r--r-- | lib/net-locale.h | 52 | ||||
-rw-r--r-- | lib/net-support.h | 9 | ||||
-rw-r--r-- | lib/netrom.c | 18 | ||||
-rw-r--r-- | lib/netrom_gr.c | 15 | ||||
-rw-r--r-- | lib/netrom_sr.c | 11 | ||||
-rw-r--r-- | lib/ppp.c | 11 | ||||
-rw-r--r-- | lib/ppp_ac.c | 6 | ||||
-rw-r--r-- | lib/rose.c | 17 | ||||
-rw-r--r-- | lib/rose_gr.c | 9 | ||||
-rw-r--r-- | lib/setroute.c | 6 | ||||
-rw-r--r-- | lib/sit.c | 3 | ||||
-rw-r--r-- | lib/slip.c | 2 | ||||
-rw-r--r-- | lib/slip_ac.c | 2 | ||||
-rw-r--r-- | lib/tr.c | 12 | ||||
-rw-r--r-- | lib/tunnel.c | 3 | ||||
-rw-r--r-- | lib/unix.c | 7 | ||||
-rw-r--r-- | man/Makefile | 27 | ||||
-rw-r--r-- | man/en_US/arp.8 (renamed from man/en_US.88591/arp.8) | 0 | ||||
-rw-r--r-- | man/en_US/dnsdomainname.1 (renamed from man/en_US.88591/dnsdomainname.1) | 0 | ||||
-rw-r--r-- | man/en_US/domainname.1 (renamed from man/en_US.88591/domainname.1) | 0 | ||||
-rw-r--r-- | man/en_US/ethers.5 (renamed from man/en_US.88591/ethers.5) | 0 | ||||
-rw-r--r-- | man/en_US/hostname.1 (renamed from man/en_US.88591/hostname.1) | 0 | ||||
-rw-r--r-- | man/en_US/ifconfig.8 (renamed from man/en_US.88591/ifconfig.8) | 5 | ||||
-rw-r--r-- | man/en_US/netstat.8 (renamed from man/en_US.88591/netstat.8) | 0 | ||||
-rw-r--r-- | man/en_US/nisdomainname.1 (renamed from man/en_US.88591/nisdomainname.1) | 0 | ||||
-rw-r--r-- | man/en_US/rarp.8 (renamed from man/en_US.88591/rarp.8) | 0 | ||||
-rw-r--r-- | man/en_US/route.8 (renamed from man/en_US.88591/route.8) | 6 | ||||
-rw-r--r-- | man/en_US/ypdomainname.1 (renamed from man/en_US.88591/ypdomainname.1) | 0 | ||||
-rw-r--r-- | man/fr_FR/arp.8 (renamed from man/fr_FR.88591/arp.8) | 0 | ||||
-rw-r--r-- | man/fr_FR/dnsdomainname.1 (renamed from man/fr_FR.88591/dnsdomainname.1) | 0 | ||||
-rw-r--r-- | man/fr_FR/domainname.1 (renamed from man/fr_FR.88591/domainname.1) | 0 | ||||
-rw-r--r-- | man/fr_FR/hostname.1 (renamed from man/fr_FR.88591/hostname.1) | 0 | ||||
-rw-r--r-- | man/fr_FR/ifconfig.8 (renamed from man/fr_FR.88591/ifconfig.8) | 0 | ||||
-rw-r--r-- | man/fr_FR/ipfw.8 (renamed from man/fr_FR.88591/ipfw.8) | 0 | ||||
-rw-r--r-- | man/fr_FR/netstat.8 (renamed from man/fr_FR.88591/netstat.8) | 0 | ||||
-rw-r--r-- | man/fr_FR/nisdomainname.1 (renamed from man/fr_FR.88591/nisdomainname.1) | 0 | ||||
-rw-r--r-- | man/fr_FR/rarp.8 (renamed from man/fr_FR.88591/rarp.8) | 0 | ||||
-rw-r--r-- | man/fr_FR/route.8 (renamed from man/fr_FR.88591/route.8) | 0 | ||||
-rw-r--r-- | man/fr_FR/ypdomainname.1 (renamed from man/fr_FR.88591/ypdomainname.1) | 0 | ||||
-rw-r--r-- | man/pt_BR/arp.8 | 177 | ||||
-rw-r--r-- | man/pt_BR/dnsdomainname.1 | 1 | ||||
-rw-r--r-- | man/pt_BR/domainname.1 | 1 | ||||
-rw-r--r-- | man/pt_BR/hostname.1 | 191 | ||||
-rw-r--r-- | man/pt_BR/ifconfig.8 | 162 | ||||
-rw-r--r-- | man/pt_BR/netstat.8 | 462 | ||||
-rw-r--r-- | man/pt_BR/nisdomainname.1 | 1 | ||||
-rw-r--r-- | man/pt_BR/rarp.8 | 70 | ||||
-rw-r--r-- | man/pt_BR/route.8 | 327 | ||||
-rw-r--r-- | man/pt_BR/ypdomainname.1 | 1 | ||||
-rw-r--r-- | netstat.c | 303 | ||||
-rw-r--r-- | nls/Makefile | 61 | ||||
-rw-r--r-- | nls/de_DE.88591/README | 4 | ||||
-rw-r--r-- | nls/de_DE.88591/arcnet.m | 20 | ||||
-rw-r--r-- | nls/de_DE.88591/arp.m | 70 | ||||
-rw-r--r-- | nls/de_DE.88591/ax25.m | 17 | ||||
-rw-r--r-- | nls/de_DE.88591/ddp.m | 10 | ||||
-rw-r--r-- | nls/de_DE.88591/ether.m | 20 | ||||
-rw-r--r-- | nls/de_DE.88591/hostname.m | 103 | ||||
-rw-r--r-- | nls/de_DE.88591/ifconfig.m | 76 | ||||
-rw-r--r-- | nls/de_DE.88591/inet.m | 25 | ||||
-rw-r--r-- | nls/de_DE.88591/ipfw.m | 343 | ||||
-rw-r--r-- | nls/de_DE.88591/ipx.m | 10 | ||||
-rw-r--r-- | nls/de_DE.88591/lib.m | 22 | ||||
-rw-r--r-- | nls/de_DE.88591/loopback.m | 11 | ||||
-rw-r--r-- | nls/de_DE.88591/netrom.m | 20 | ||||
-rw-r--r-- | nls/de_DE.88591/netstat.m | 149 | ||||
-rw-r--r-- | nls/de_DE.88591/plipconfig.m | 10 | ||||
-rw-r--r-- | nls/de_DE.88591/ppp.m | 8 | ||||
-rw-r--r-- | nls/de_DE.88591/rarp.m | 22 | ||||
-rw-r--r-- | nls/de_DE.88591/route.m | 6 | ||||
-rw-r--r-- | nls/de_DE.88591/slattach.m | 46 | ||||
-rw-r--r-- | nls/de_DE.88591/slip.m | 17 | ||||
-rw-r--r-- | nls/de_DE.88591/tunnel.m | 4 | ||||
-rw-r--r-- | nls/de_DE.88591/unix.m | 10 | ||||
-rw-r--r-- | nls/en_US.88591/arcnet.m | 20 | ||||
-rw-r--r-- | nls/en_US.88591/arp.m | 70 | ||||
-rw-r--r-- | nls/en_US.88591/ax25.m | 17 | ||||
-rw-r--r-- | nls/en_US.88591/ddp.m | 10 | ||||
-rw-r--r-- | nls/en_US.88591/ether.m | 20 | ||||
-rw-r--r-- | nls/en_US.88591/hostname.m | 103 | ||||
-rw-r--r-- | nls/en_US.88591/ifconfig.m | 76 | ||||
-rw-r--r-- | nls/en_US.88591/inet.m | 25 | ||||
-rw-r--r-- | nls/en_US.88591/ipfw.m | 343 | ||||
-rw-r--r-- | nls/en_US.88591/ipx.m | 10 | ||||
-rw-r--r-- | nls/en_US.88591/lib.m | 22 | ||||
-rw-r--r-- | nls/en_US.88591/loopback.m | 11 | ||||
-rw-r--r-- | nls/en_US.88591/netrom.m | 20 | ||||
-rw-r--r-- | nls/en_US.88591/netstat.m | 145 | ||||
-rw-r--r-- | nls/en_US.88591/plipconfig.m | 10 | ||||
-rw-r--r-- | nls/en_US.88591/ppp.m | 8 | ||||
-rw-r--r-- | nls/en_US.88591/rarp.m | 22 | ||||
-rw-r--r-- | nls/en_US.88591/route.m | 55 | ||||
-rw-r--r-- | nls/en_US.88591/slattach.m | 46 | ||||
-rw-r--r-- | nls/en_US.88591/slip.m | 17 | ||||
-rw-r--r-- | nls/en_US.88591/tunnel.m | 4 | ||||
-rw-r--r-- | nls/en_US.88591/unix.m | 10 | ||||
-rw-r--r-- | nls/fr_FR.88591/arcnet.m | 20 | ||||
-rw-r--r-- | nls/fr_FR.88591/arp.m | 70 | ||||
-rw-r--r-- | nls/fr_FR.88591/ax25.m | 17 | ||||
-rw-r--r-- | nls/fr_FR.88591/ddp.m | 10 | ||||
-rw-r--r-- | nls/fr_FR.88591/ether.m | 20 | ||||
-rw-r--r-- | nls/fr_FR.88591/hostname.m | 103 | ||||
-rw-r--r-- | nls/fr_FR.88591/ifconfig.m | 76 | ||||
-rw-r--r-- | nls/fr_FR.88591/inet.m | 25 | ||||
-rw-r--r-- | nls/fr_FR.88591/ipfw.m | 343 | ||||
-rw-r--r-- | nls/fr_FR.88591/ipx.m | 10 | ||||
-rw-r--r-- | nls/fr_FR.88591/lib.m | 22 | ||||
-rw-r--r-- | nls/fr_FR.88591/loopback.m | 11 | ||||
-rw-r--r-- | nls/fr_FR.88591/netrom.m | 19 | ||||
-rw-r--r-- | nls/fr_FR.88591/netstat.m | 145 | ||||
-rw-r--r-- | nls/fr_FR.88591/plipconfig.m | 10 | ||||
-rw-r--r-- | nls/fr_FR.88591/ppp.m | 8 | ||||
-rw-r--r-- | nls/fr_FR.88591/rarp.m | 22 | ||||
-rw-r--r-- | nls/fr_FR.88591/route.m | 55 | ||||
-rw-r--r-- | nls/fr_FR.88591/slattach.m | 46 | ||||
-rw-r--r-- | nls/fr_FR.88591/slip.m | 17 | ||||
-rw-r--r-- | nls/fr_FR.88591/unix.m | 10 | ||||
-rw-r--r-- | po/Makefile | 70 | ||||
-rw-r--r-- | po/net-tools.pot | 1839 | ||||
-rw-r--r-- | po/pt_BR.po | 1857 | ||||
-rw-r--r-- | rarp.c | 75 | ||||
-rw-r--r-- | route.c | 44 | ||||
-rw-r--r-- | sockets.c | 3 | ||||
-rw-r--r-- | statistics.c | 151 |
161 files changed, 6127 insertions, 4239 deletions
diff --git a/ABOUT-NLS b/ABOUT-NLS new file mode 100644 index 0000000..f923c84 --- /dev/null +++ b/ABOUT-NLS @@ -0,0 +1,203 @@ +Notes on the GNU Translation Project +************************************ + + GNU is going international! The GNU Translation Project is a way to +get maintainers, translators and users all together, so GNU will +gradually become able to speak many native languages. A few packages +already provide native language translation for their messages. + + If you found this `ABOUT-NLS' file inside a GNU distribution, you +may assume that the distributed package does use GNU `gettext' +internally, itself available at your nearest GNU archive site. But you +do not need to install GNU `gettext' prior to configuring, installing +or using this package with messages translated. + + Installers will find here some useful hints. These notes also +explain how users should proceed for getting the programs to use the +available translations. They tell how people wanting to contribute and +work at translations should contact the appropriate team. + + When reporting bugs in the `intl/' directory or bugs which may be +related to internationalization, you should tell about the version of +`gettext' which is used. The information can be found in the +`intl/VERSION' file, in internationalized packages. + +One advise in advance +===================== + + If you want to exploit the full power of the GNU `gettext' package +you should configure it using + + --with-gnu-gettext. + + No existing implementation at this point provides so many useful +features (such as locale alias or message inheritance). It is also not +possible to provide this additional functionality on top of a catgets +implementation. + + Future versions of GNU `gettext' will very likely provide even more +functionality. So it might be a good idea to change to GNU `gettext' +as soon as possible. + +INSTALL Matters +=============== + + Some GNU packages are "localizable" when properly installed; the +programs they contain can be made to speak your own native language. +Most such packages use GNU `gettext'. Other packages have their own +ways to internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system provides +usable `catgets' or `gettext' functions. If neither is available, the +GNU `gettext' own library will be used. However, installers may use +special options at configuration time for changing this behaviour. The +commands: + + ./configure --with-gnu-gettext + ./configure --disable-nls + +will respectively bypass system `catgets' or `gettext' to use GNU +`gettext', or else, totally disable translation of messages. + + When you already have GNU `gettext' installed on your system and run +configure without an option for your new package, configure will +probably detect the previously built and installed `libintl.a' file and +will decide to use this. This might be not what is desirable. You +should use the more recent version of the GNU `gettext' library. I.e. +if the file `intl/VERSION' shows that the library which comes with this +package is more recent, you should use + + ./configure --with-gnu-gettext + +to prevent auto-detection. + + Internationalized packages have usually many `po/LL.po' files, where +LL gives an ISO 639 two-letter code identifying the language. Unless +translations are disabled, all those available are installed together +with the package. However, the environment variable `LINGUAS' may be +set, prior to configuration, to limit the installed set. `LINGUAS' +should then contain a space separated list of two-letter codes, stating +which languages are allowed. + +Using This Package +================== + + As a user, if your language has been installed for this package, you +only have to set the `LANG' environment variable to the appropriate +ISO 639 `LL' two-letter code prior to using the programs in the +package. For example, let's suppose that you speak German. At the +shell prompt, merely execute `setenv LANG de' (in `csh') or +`export LANG; LANG=de' (in `sh'). This can be done from your `.login' +or `.profile' file, once and for all. Packages which are not +internationalized will merely ignore the setting of this variable. + +Translating Teams +================= + + The GNU `gettext' tool set contains *everything* maintainers need +for internationalizing their packages for messages. It also contains +quite useful tools for helping translators at localizing messages to +their native language, once a package has already been +internationalized. + + To achieve the GNU Translation Project, we need many interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translating team has its own mailing list, courtesy of Linux +International. You may reach your translating team at the address +`LL@li.org', replacing LL by the two-letter ISO 639 code for your +language. Language codes are *not* the same as country codes given in +ISO 3166. The following translating teams exist, as of November 1995: + + Chinese `zh', Czech `cs', Danish `da', Dutch `nl', English `en', + Esperanto `eo', Finnish `fi', French `fr', Irish `ga', German + `de', Greek `el', Italian `it', Japanese `ja', Indonesian `in', + Norwegian `no', Persian `fa', Polish `pl', Portuguese `pt', + Russian `ru', Spanish `es', Swedish `sv', Telugu `te' and Turkish + `tr'. + +For example, you may reach the Chinese translating team by writing to +`zh@li.org'. + + If you'd like to volunteer to *work* at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is *not* the same as the list itself, it has +`-request' appended. For example, Swedish people can send a message to +`sv-request@li.org', having this message body: + + subscribe + + Keep in mind that team members should be interested in *working* at +translations, or at solving translational difficulties, rather than +merely lurking around. If your team does not exist yet and you want to +start one, please write to `gnu-translation@prep.ai.mit.edu'; you will +then reach the GNU coordinator for all translator teams. + + The English team is special. It works at improving and uniformizing +the terminology used in GNU. Proven linguistic skill are praised more +than programming skill, here. For the time being, please avoid +subscribing to the English team unless explicitely invited to do so. + +Available Packages +================== + + Languages are not equally supported in all GNU packages. The +following matrix shows the current state of GNU internationalization, +as of November 1995. Listed are: internationalized packages, and +languages for which work is in progress, or about to start. + + See note cs de en fr it ja nl no pt sv + \ .-------------------------------. + chess (1) | X / X | + clisp | X X X | + diffutils (2) | / . | + fileutils | . / | + flex (3) | / . | + m4 | - / - - . - | + gettext | X / X X X | + ptx | - / - - | + recode | - / - - - | + sh-utils | . / . | + sharutils | X / X X X X X | + tar | X / X - X X | + textutils | . / . | + wdiff | - - / - - | + `-------------------------------' + cs de en fr it ja nl no pt sv + + The interpretation legend and notes are: + +`/' + There is no PO file, this package merely defaults to this language. + +`.' + The effort of localizing this package has been undertaken by + someone, or by a translating team, and work is, or should be in + progress. + +`-' + A PO file for this package and this language is completed and is + currently available in a pretest release, or is all ready for + inclusion in the next release of this package. + +`X' + The localization of this package to this particular language is + fully completed, and now distributed through an official release. + +(1) + This package is translated to specific languages by methods + predating GNU `gettext'. Translations are all kept on disk files, + and sources contain numbers where one normally expects strings. + +(2) + This package is planned to switch to GNU `gettext'. For the time + being, it uses temporary means for internationalization. + +(3) + This package has its translatable strings marked, but does not use + GNU `gettext'. A convenience patch may be available separately. + + If November 1995 seems to be old, you may fetch a more recent copy +of this `ABOUT-NLS' file on most GNU archive sites. + @@ -26,14 +26,9 @@ To configure the compilation use "make config". If you have a recent Kernel you can and SHOULD answer ALL the Configuration Options with YES. You only have to decide about the NLS: -If you don't know whether NLS is supported on your system or not, see -/usr/include/locale.h. If it exists, there is every chance that NLS is -supported. You also need the "gencat" program if you want to compile with -National Language Support. - -On some BETA Releases NLS is disabled, cause the catalougs are out of sync -with the development source-tree. - +If you don't know whether GNU gettext is supported on your system or not, run +msgfmt. If it exists, there is every chance that GNU gettext is +supported. COMPILE @@ -5,7 +5,7 @@ # NET-3 Networking Distribution for the LINUX operating # system. # -# Version: Makefile 1.33 (1996-05-18) +# Version: Makefile 1.45 (1996-06-29) # # Author: Bernd Eckenfels <net-tools@lina.inka.de> # Copyright 1995-1996 Bernd Eckebnfels, Germany @@ -69,15 +69,6 @@ # set the base of the Installation # BASEDIR = /mnt -# -# DON'T CHANGE ANY of the NLS-Support definitions, it's disabled -# -# set default language (DEF_LANG) to en_US.88591 if you don't use NLS -DEF_LANG = en_US.88591 - -# install national language support for the following languages -# ADD_LANG = fr_FR.88591 de_DE.88591 - # path to the net-lib support library. Default: lib NET-LIB-PATH = lib NET-LIB-NAME = support @@ -93,7 +84,7 @@ RESLIB = # -L/usr/inet6/lib -linet6 # -------- end of user definitions -------- MAINTAINER = Philip.Blundell@pobox.com -RELEASE = 980126 +RELEASE = 980810 .EXPORT_ALL_VARIABLES: @@ -115,11 +106,9 @@ LD = gcc NLIB = -l$(NET-LIB-NAME) -USE_NLS := $(shell grep -s 'define NLS 1' config.h) - MDEFINES = COPTS='$(COPTS)' LOPTS='$(LOPTS)' TOPDIR='$(TOPDIR)' -%.o: %.c config.h version.h net-locale.h net-features.h $< +%.o: %.c config.h version.h intl.h net-features.h $< $(CC) $(CFLAGS) -c $< all: config.h version.h subdirs $(PROGS) @@ -159,15 +148,15 @@ version.h: Makefile @echo "#define RELEASE \"net-tools $(RELEASE)\"" >version.h -$(NET-LIB): config.h version.h net-locale.h libdir +$(NET-LIB): config.h version.h intl.h libdir -net-locale.h: nlsdir +i18n.h: i18ndir libdir: @$(MAKE) -C $(NET-LIB-PATH) $(MDEFINES) -nlsdir: - @$(MAKE) -C nls +i18ndir: + @$(MAKE) -C po subdirs: @for i in $(SUBDIRS); do $(MAKE) -C $$i $(MDEFINES) ; done @@ -191,12 +180,14 @@ netstat: $(NET-LIB) netstat.o statistics.o interface.o sockets.o $(CC) $(LDFLAGS) -o netstat netstat.o statistics.o interface.o sockets.o $(NLIB) $(RESLIB) installbin: - install -o root -g root -m 0755 arp ${BASEDIR}/sbin - install -o root -g root -m 0755 ifconfig ${BASEDIR}/sbin - install -o root -g root -m 0755 netstat ${BASEDIR}/bin - install -o root -g root -m 0755 rarp ${BASEDIR}/sbin - install -o root -g root -m 0755 route ${BASEDIR}/sbin - install -o root -g root -m 0755 hostname ${BASEDIR}/bin + install -o 0 -g 0 -m 0755 -d ${BASEDIR}/sbin + install -o 0 -g 0 -m 0755 -d ${BASEDIR}/bin + install -o 0 -g 0 -m 0755 arp ${BASEDIR}/sbin + install -o 0 -g 0 -m 0755 ifconfig ${BASEDIR}/sbin + install -o 0 -g 0 -m 0755 netstat ${BASEDIR}/bin + install -o 0 -g 0 -m 0755 rarp ${BASEDIR}/sbin + install -o 0 -g 0 -m 0755 route ${BASEDIR}/sbin + install -o 0 -g 0 -m 0755 hostname ${BASEDIR}/bin ln -fs hostname $(BASEDIR)/bin/dnsdomainname ln -fs hostname $(BASEDIR)/bin/ypdomainname ln -fs hostname $(BASEDIR)/bin/nisdomainname @@ -213,39 +204,7 @@ savebin: [ -f $$i ] && cp -f $$i $$i.old ; done ; echo Saved. installdata: - install -o root -g root -m 0644 man/${DEF_LANG}/arp.8 ${BASEDIR}/usr/man/man8 - install -o root -g root -m 0644 man/${DEF_LANG}/ifconfig.8 ${BASEDIR}/usr/man/man8 - install -o root -g root -m 0644 man/${DEF_LANG}/netstat.8 ${BASEDIR}/usr/man/man8 - install -o root -g root -m 0644 man/${DEF_LANG}/rarp.8 ${BASEDIR}/usr/man/man8 - install -o root -g root -m 0644 man/${DEF_LANG}/route.8 ${BASEDIR}/usr/man/man8 - install -o root -g root -m 0644 man/${DEF_LANG}/hostname.1 ${BASEDIR}/usr/man/man1 - install -o root -g root -m 0644 man/${DEF_LANG}/dnsdomainname.1 ${BASEDIR}/usr/man/man1 - install -o root -g root -m 0644 man/${DEF_LANG}/ypdomainname.1 ${BASEDIR}/usr/man/man1 - install -o root -g root -m 0644 man/${DEF_LANG}/nisdomainname.1 ${BASEDIR}/usr/man/man1 - install -o root -g root -m 0644 man/${DEF_LANG}/domainname.1 ${BASEDIR}/usr/man/man1 - install -o root -g root -m 0644 man/${DEF_LANG}/ethers.5 ${BASEDIR}/usr/man/man5 -#ifneq ($(USE_NLS), "") -# if [ "${DEF_LANG}" != "en_US.88591" ]; then \ -# install -o root -g root -m 0755 -d ${BASEDIR}/usr/lib/locale/${DEF_LANG} ;\ -# install -o root -g root -m 0644 nls/${DEF_LANG}/nettools.cat ${BASEDIR}/usr/lib/locale/${DEF_LANG} ;\ -# fi -# for i in $(ADD_LANG); do \ -# install -o root -g root -m 0755 -d ${BASEDIR}/usr/lib/locale/$$i ;\ -# install -o root -g root -m 0644 nls/$$i/nettools.cat ${BASEDIR}/usr/lib/locale/$$i ;\ -# if [ -d man/$$i ]; then \ -# install -o root -g root -m 0755 -d ${BASEDIR}/usr/man/$$i/man8 ;\ -# install -o root -g root -m 0644 man/$$i/arp.8 ${BASEDIR}/usr/man/$$i/man8 ;\ -# install -o root -g root -m 0644 man/$$i/ifconfig.8 ${BASEDIR}/usr/man/$$i/man8 ;\ -# install -o root -g root -m 0644 man/$$i/netstat.8 ${BASEDIR}/usr/man/$$i/man8 ;\ -# install -o root -g root -m 0644 man/$$i/rarp.8 ${BASEDIR}/usr/man/$$i/man8 ;\ -# install -o root -g root -m 0644 man/$$i/route.8 ${BASEDIR}/usr/man/$$i/man8 ;\ -# install -o root -g root -m 0644 man/$$i/hostname.1 ${BASEDIR}/usr/man/$$i/man1 ;\ -# install -o root -g root -m 0644 man/$$i/dnsdomainname.1 ${BASEDIR}/usr/man/$$i/man1 ;\ -# install -o root -g root -m 0644 man/$$i/ypdomainname.1 ${BASEDIR}/usr/man/$$i/man1 ;\ -# install -o root -g root -m 0644 man/$$i/nisdomainname.1 ${BASEDIR}/usr/man/$$i/man1 ;\ -# install -o root -g root -m 0644 man/$$i/domainname.1 ${BASEDIR}/usr/man/$$i/man1 ;\ -# fi ;\ -# done -#endif + $(MAKE) -C man install + $(MAKE) -C po install # End of Makefile. @@ -35,9 +35,14 @@ of net-tools should be 1.5. You need kernel 2.0 or later to use these programs. These programs should compile cleanly with either glibc or libc5. -There is no NLS support in this distribution. The files are out of date. -Unless a volunteer is found soon to maintain the translations, NLS will be -dropped altogether. +The NLS support was changed from catgets to GNU gettext by Arnaldo +Carvalho de Melo <acme@conectiva.com.br> in June, 1998, to make the +source more readable. A translation to brazilian portuguese (pt_BR) is +available and others are welcome! + +If your system has no support for GNU gettext then `make install' will +probably fail in the po directory. This is harmless and can be ignored; +all the tools and manual pages are already installed at this point. ipfw has been removed from the distribution. Use ipfwadm instead; get it at <ftp://ftp.xos.nl/pub/linux/ipfwadm/>. @@ -57,5 +62,5 @@ glibc 2.0. Phil Blundell -philb@gnu.ai.mit.edu -21st September 1997 +philb@gnu.org +10th August 1998 @@ -1,5 +1,7 @@ TODO for net-tools +[ ] pt_BR man pages translation revision, it was done for net-tools 1.33... +[ ] more translations! see the contents of the po directory and ABOUT-NLS [ ] netstat ddp support [ ] lib/netrom_rt.c rprint should not rewind _PATH_PROCNET_NR_NEIGH [ ] ARPHRD_METRICOM [1.3.82] @@ -29,5 +31,4 @@ TODO for net-tools [ ] dummy NOARP?! (2. default route for preveting hostunreachables on linedrop) [ ] ppp_dev_stat called for each dev in ifconfig, why? (1.3.17) [ ] linux/include/net/br.h? -[ ] update fr/de translations (or drop NLS entirely) [ ] get rid of local ipx.h copy @@ -39,7 +39,8 @@ * Typo fix (Debian Bug#5728 Giuliano Procida) *970803 {1.81} Bernd Eckenfels : removed junk comment line 1 *970925 {1.82} Bernd Eckenfels : include fix for libc6 - +980213 (1.83) Phil Blundell: set ATF_COM on new entries + *980213 (1.83) Phil Blundell: set ATF_COM on new entries + *980629 (1.84) Arnaldo Carvalho de Melo: gettext instead of catgets * * * This program is free software; you can redistribute it @@ -67,7 +68,7 @@ #include "pathnames.h" #include "version.h" #include "config.h" -#include "net-locale.h" +#include "intl.h" #define DFLT_AF "inet" #define DFLT_HW "ether" @@ -75,9 +76,8 @@ #define FEATURE_ARP #include "lib/net-features.h" - char *Release = RELEASE, - *Version = "arp 1.83 (1998-02-13)"; + *Version = "arp 1.84 (1998-06-29)"; int opt_n = 0; /* do not resolve addresses */ int opt_N = 0; /* use symbolic names */ @@ -106,7 +106,7 @@ arp_del(char **args) /* Resolve the host name. */ if (*args == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_hostname, "arp: need host name\n")); + fprintf(stderr, _("arp: need host name\n")); return(-1); } host[(sizeof host)-1] = 0; @@ -202,8 +202,7 @@ arp_del(char **args) if (errno == ENXIO) { if (flags & 1) goto nopub; - printf(NLS_CATGETS(catfd, arpSet, arp_no_arp, - "No ARP entry for %s\n"), host); + printf(_("No ARP entry for %s\n"), host); return(-1); } perror("SIOCDARP(priv)"); @@ -216,8 +215,7 @@ nopub: if (opt_v) fprintf(stderr,"arp: SIOCDARP(pub)\n"); if (ioctl(sockfd, SIOCDARP, &req) < 0) { if (errno == ENXIO) { - printf(NLS_CATGETS(catfd, arpSet, arp_no_arp, - "No ARP entry for %s\n"), host); + printf(_("No ARP entry for %s\n"), host); return(-1); } perror("SIOCDARP(pub)"); @@ -268,7 +266,7 @@ arp_set(char **args) /* Resolve the host name. */ if (*args == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_hostname, "arp: need host name\n")); + fprintf(stderr, _("arp: need host name\n")); return(-1); } host[(sizeof host)-1] = 0; @@ -283,7 +281,7 @@ arp_set(char **args) /* Fetch the hardware address. */ if (*args == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_need_hw, "arp: need hardware address\n")); + fprintf(stderr, _("arp: need hardware address\n")); return(-1); } @@ -292,7 +290,7 @@ arp_set(char **args) return(-1); } else { if (hw->input(*args++, &req.arp_ha) < 0) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_invalidhw, "arp: invalid hardware address\n")); + fprintf(stderr, _("arp: invalid hardware address\n")); return(-1); } } @@ -393,7 +391,7 @@ arp_file(char *name) FILE *fp; if ((fp = fopen(name, "r")) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_cant_open, "arp: cannot open etherfile %s !\n"), name); + fprintf(stderr, _("arp: cannot open etherfile %s !\n"), name); return(-1); } @@ -407,17 +405,14 @@ arp_file(char *name) argc = getargs(buff, args); if (argc < 2) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_formaterr, - "arp: format error on line %u of etherfile %s !\n"), + fprintf(stderr, _("arp: format error on line %u of etherfile %s !\n"), linenr, name); continue; } - if (arp_set(args) != 0) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_cant_set, - "arp: cannot set entry on line %u of etherfile %s !\n"), + if (arp_set(args) != 0) + fprintf(stderr, _("arp: cannot set entry on line %u of etherfile %s !\n"), linenr, name); - } } (void) fclose(fp); @@ -438,8 +433,7 @@ arp_disp_2(char *name,int type,int arp_flags,char *hwa,char *mask,char *dev) xhw = get_hwtype(DFLT_HW); if (title++ == 0) { - printf(NLS_CATGETS(catfd, arpSet, arp_address, - "Address\t\t\tHWtype\tHWaddress\t Flags Mask\t\t Iface\n")); + printf(_("Address\t\t\tHWtype\tHWaddress\t Flags Mask\t\t Iface\n")); } /* Setup the flags. */ flags[0] = '\0'; @@ -590,15 +584,13 @@ arp_show(char *name) } } if (opt_v) - printf(NLS_CATGETS(catfd, arpSet, arp_sum, - "Entries: %d\tSkipped: %d\tFound: %d\n"),entries,entries-showed,showed); + printf(_("Entries: %d\tSkipped: %d\tFound: %d\n"),entries,entries-showed,showed); if (!showed) { if (host[0] && !opt_a) printf("%s (%s) -- no entry\n", name, host); else if (hw_set || host[0] || device[0]) { - printf(NLS_CATGETS(catfd, arpSet, arp_none, - "arp: in %d entries no match found.\n"),entries); + printf(_("arp: in %d entries no match found.\n"),entries); } } (void) fclose(fp); @@ -609,26 +601,18 @@ static void version(void) { fprintf(stderr, "%s\n%s\n%s\n",Release,Version,Features); - NLS_CATCLOSE(catfd) exit(-1); } static void usage(void) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_usage1, - "Usage: arp [-vn] [-H type] [-i if] -a [hostname]\n")); - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_usage2, - " arp [-v] [-i if] -d hostname [pub][nopub]\n")); - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_usage3, - " arp [-v] [-H type] [-i if] -s hostname hw_addr [temp][nopub]\n")); - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_usage4, - " arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub\n")); - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_usage5, - " arp [-v] [-H type] [-i if] -Ds hostname if [netmask nm] pub\n")); - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_usage6, - " arp [-vnD] [-H type] [-i if] -f filename\n")); - NLS_CATCLOSE(catfd) + fprintf(stderr, _("Usage: arp [-vn] [-H type] [-i if] -a [hostname]\n")); + fprintf(stderr, _(" arp [-v] [-i if] -d hostname [pub][nopub]\n")); + fprintf(stderr, _(" arp [-v] [-H type] [-i if] -s hostname hw_addr [temp][nopub]\n")); + fprintf(stderr, _(" arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub\n")); + fprintf(stderr, _(" arp [-v] [-H type] [-i if] -Ds hostname if [netmask nm] pub\n")); + fprintf(stderr, _(" arp [-vnD] [-H type] [-i if] -f filename\n")); exit(-1); } @@ -654,22 +638,18 @@ main(int argc, char **argv) {NULL, 0, 0, 0} }; -#if NLS - setlocale (LC_MESSAGES, ""); - catfd = catopen ("nettools", MCLoadBySet); +#if I18N + bindtextdomain("net-tools", "/usr/share/locale"); + textdomain("net-tools"); #endif /* Initialize variables... */ if ((hw = get_hwtype(DFLT_HW)) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_hw_not_supp, - "%s: hardware type not supported!\n"), DFLT_HW); - NLS_CATCLOSE(catfd) + fprintf(stderr, _("%s: hardware type not supported!\n"), DFLT_HW); return(-1); } if ((ap = get_aftype(DFLT_AF)) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_fam_not_supp, - "%s: address family not supported!\n"), DFLT_AF); - NLS_CATCLOSE(catfd) + fprintf(stderr, _("%s: address family not supported!\n"), DFLT_AF); return(-1); } what = 0; @@ -713,10 +693,8 @@ main(int argc, char **argv) case 'p': ap = get_aftype(optarg); if (ap == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_unkn_addr, - "arp: %s: unknown address family.\n"), + fprintf(stderr, _("arp: %s: unknown address family.\n"), optarg); - NLS_CATCLOSE(catfd) exit(-1); } break; @@ -724,10 +702,8 @@ main(int argc, char **argv) case 't': hw = get_hwtype(optarg); if (hw == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_unkn_hw, - "arp: %s: unknown hardware type.\n"), + fprintf(stderr, _("arp: %s: unknown hardware type.\n"), optarg); - NLS_CATCLOSE(catfd) exit(-1); } hw_set = 1; @@ -746,23 +722,18 @@ main(int argc, char **argv) } if (ap->af != AF_INET) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_wrong_af, - "arp: %s: kernel only supports 'inet'.\n"), + fprintf(stderr, _("arp: %s: kernel only supports 'inet'.\n"), ap->name); - NLS_CATCLOSE(catfd) exit(-1); } if (hw->alen <= 0) { - fprintf(stderr, NLS_CATGETS(catfd, arpSet, arp_wrong_hw, - "arp: %s: hardware type without ARP support.\n"), + fprintf(stderr, _("arp: %s: hardware type without ARP support.\n"), hw->name); - NLS_CATCLOSE(catfd) exit(-1); } if ((sockfd = socket(AF_INET,SOCK_DGRAM,0)) <0) { perror("socket"); - NLS_CATCLOSE(catfd) exit(-1); } @@ -793,6 +764,5 @@ main(int argc, char **argv) usage(); } - NLS_CATCLOSE(catfd) exit(what); } @@ -8,12 +8,14 @@ # NET-3 Networking Distribution for the LINUX operating # system. # -# Version: config.in 1.20 (98-01-25) +# Version: config.in 1.21 (98-06-30) # # Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> # Copyright 1988-1993 MicroWalt Corporation # # Bernd 'eckes' Eckenfels <net-tools@lina.inka.de> +# Arnaldo Carvalho de Melo <acme@conectiva.com.br> +# GNU gettext - I18N # # This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General @@ -31,24 +33,19 @@ = * DO NOT EDIT DIRECTLY = * = */ -#* -#* -#* NLS -#* -#* (National Language Support) -#* -#* In this BETA Release the NLS is disabled, cause the catalougs -#* are completely outdated. -#* -# -# -#= #define NLS 0 -# -# -# * (answer 'n' if you haye no system with national language support) -# * -# bool 'Does your system support NLS?' NLS n -#: Does your system support NLS? (NLS) [n] NO +* +* +* I18N +* +* (Internationalization) +* +* In this BETA Release the I18N (NLS) is enabled and now based +* on GNU gettext, only a brazilian portuguese catalog (translation) +* is present, but others are *highly* welcome! +* +* (answer 'n' if you haye no system with GNU gettext support) +* +bool 'Does your system support GNU gettext?' I18N y * * * Protocol Families. @@ -20,6 +20,7 @@ *960120 {1.95} Bernd Eckenfels : -y/nisdomainname - support for get/ * setdomainname added *960218 {1.96} Bernd Eckenfels : netinet/in.h added + *980629 {1.97} Arnaldo Carvalho de Melo : gettext instead of catgets for i18n * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -38,10 +39,10 @@ #include <arpa/inet.h> #include "config.h" #include "version.h" -#include "net-locale.h" +#include "../intl.h" char *Release = RELEASE, - *Version = "hostname 1.96 (1996-02-18)"; + *Version = "hostname 1.97 (1998-06-29)"; static char *program_name; static int opt_v; @@ -59,21 +60,18 @@ static void setfilename(char *,int); static void sethname(char *hname) { if (opt_v) - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_verb_set, "Setting hostname to `%s'\n"), + fprintf(stderr,_("Setting hostname to `%s'\n"), hname); if(sethostname(hname, strlen(hname))) { switch(errno) { case EPERM: - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_root, - "%s: you must be root to change the host name\n"), program_name); + fprintf(stderr,_("%s: you must be root to change the host name\n"), program_name); break; case EINVAL: - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_toolong, - "%s: name too long\n"), program_name); + fprintf(stderr,_("%s: name too long\n"), program_name); break; default: } - NLS_CATCLOSE(catfd) exit(1); }; } @@ -81,21 +79,18 @@ static void sethname(char *hname) static void setdname(char *dname) { if (opt_v) - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_verb_dset, "Setting domainname to `%s'\n"), + fprintf(stderr,_("Setting domainname to `%s'\n"), dname); if(setdomainname(dname, strlen(dname))) { switch(errno) { case EPERM: - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_dname_root, - "%s: you must be root to change the domain name\n"), program_name); + fprintf(stderr,_("%s: you must be root to change the domain name\n"), program_name); break; case EINVAL: - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_dname_toolong, - "%s: name too long\n"), program_name); + fprintf(stderr,_("%s: name too long\n"), program_name); break; default: } - NLS_CATCLOSE(catfd) exit(1); }; } @@ -107,25 +102,24 @@ static void showhname(char *hname, int c) struct in_addr **ip; if (opt_v) - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_verb_res, "Resolving `%s' ...\n"),hname); + fprintf(stderr,_("Resolving `%s' ...\n"),hname); if (!(hp = gethostbyname(hname))) { herror(program_name); - NLS_CATCLOSE(catfd) exit(1); } if (opt_v) { - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_verb_fnd, "Result: h_name=`%s'\n"), + fprintf(stderr,_("Result: h_name=`%s'\n"), hp->h_name); alias=hp->h_aliases; while(alias[0]) - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_verb_ali, "Result: h_aliases=`%s'\n"), + fprintf(stderr,_("Result: h_aliases=`%s'\n"), *alias++); ip=(struct in_addr **)hp->h_addr_list; while(ip[0]) - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_verb_ipn, "Result: h_addr_list=`%s'\n"), + fprintf(stderr,_("Result: h_addr_list=`%s'\n"), inet_ntoa(**ip++)); } @@ -177,9 +171,8 @@ static void setfilename(char * name,int what) } (void) fclose(fd); } else { - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_cant_open, "%s: can't open `%s'\n"), + fprintf(stderr,_("%s: can't open `%s'\n"), program_name, optarg); - NLS_CATCLOSE(catfd) exit(1); } } @@ -187,49 +180,29 @@ static void setfilename(char * name,int what) static void version(void) { fprintf(stderr,"%s\n%s\n",Release,Version); - NLS_CATCLOSE(catfd) exit(-1); } static void usage(void) { - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage1, - "Usage: hostname [-v] {hostname|-F file} set hostname (from file)\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage2, - " domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage3, - " hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage4, - " hostname [-v] display hostname\n\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage5, - " hostname -V|--version|-h|--help print info and exit\n\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage6, - " dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage7, - " -s, --short short host name\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage8, - " -a, --alias alias names\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage9, - " -i, --ip-address addresses for the hostname\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage10, - " -f, --fqdn, --long long host name (FQDN)\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage11, - " -d, --domain DNS domain name\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage12, - " -y, --yp, --nis NIS/YP domainname\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage13, - " -F, --file read hostname or nis domainname from given File\n\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage14, - " This comand can get or set the hostname or the NIS domainname. You can\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage15, - " also get the DNS domain or the FQDN (fully qualified domain name).\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage16, - " Unless you are using bind or NIS for host lookups you can change the\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage17, - " FQDN (Fully Qualified Domain Name) and the DNS domain name (which is\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_usage18, - " part of the FQDN) in the /etc/hosts file.\n")); - NLS_CATCLOSE(catfd) + fprintf(stderr,_("Usage: hostname [-v] {hostname|-F file} set hostname (from file)\n")); + fprintf(stderr,_(" domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n")); + fprintf(stderr,_(" hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name\n")); + fprintf(stderr,_(" hostname [-v] display hostname\n\n")); + fprintf(stderr,_(" hostname -V|--version|-h|--help print info and exit\n\n")); + fprintf(stderr,_(" dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n\n")); + fprintf(stderr,_(" -s, --short short host name\n")); + fprintf(stderr,_(" -a, --alias alias names\n")); + fprintf(stderr,_(" -i, --ip-address addresses for the hostname\n")); + fprintf(stderr,_(" -f, --fqdn, --long long host name (FQDN)\n")); + fprintf(stderr,_(" -d, --domain DNS domain name\n")); + fprintf(stderr,_(" -y, --yp, --nis NIS/YP domainname\n")); + fprintf(stderr,_(" -F, --file read hostname or nis domainname from given File\n\n")); + fprintf(stderr,_(" This comand can get or set the hostname or the NIS domainname. You can\n")); + fprintf(stderr,_(" also get the DNS domain or the FQDN (fully qualified domain name).\n")); + fprintf(stderr,_(" Unless you are using bind or NIS for host lookups you can change the\n")); + fprintf(stderr,_(" FQDN (Fully Qualified Domain Name) and the DNS domain name (which is\n")); + fprintf(stderr,_(" part of the FQDN) in the /etc/hosts file.\n")); exit(-1); } @@ -259,12 +232,10 @@ int main(int argc, char **argv) {"yp", no_argument, 0, 'y'}, {0, 0, 0, 0} }; - -#if NLS - setlocale (LC_MESSAGES, ""); - catfd = catopen ("nettools", MCLoadBySet); +#if I18N + bindtextdomain("net-tools", "/usr/share/locale"); + textdomain("net-tools"); #endif - program_name = (rindex(argv[0], '/')) ? rindex(argv[0], '/') + 1 : argv[0]; if (!strcmp(program_name,"ypdomainname") || @@ -309,13 +280,9 @@ int main(int argc, char **argv) switch(what) { case 2: if (file || (optind < argc)) { - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_nodns1, - "%s: You can't change the DNS domain name with this command\n"), program_name); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_nodns2, - "\nUnless you are using bind or NIS for host lookups you can change the DNS\n")); - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_nodns3, - "domain name (which is part of the FQDN) in the /etc/hosts file.\n")); - NLS_CATCLOSE(catfd) + fprintf(stderr,_("%s: You can't change the DNS domain name with this command\n"), program_name); + fprintf(stderr,_("\nUnless you are using bind or NIS for host lookups you can change the DNS\n")); + fprintf(stderr,_("domain name (which is part of the FQDN) in the /etc/hosts file.\n")); exit(1); } type='d'; @@ -332,8 +299,7 @@ int main(int argc, char **argv) case 1: gethostname(myname, sizeof(myname)); if (opt_v) - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_verb_get, - "gethostname()=`%s'\n"),myname); + fprintf(stderr,_("gethostname()=`%s'\n"),myname); if (!type) printf("%s\n",myname); else @@ -350,11 +316,9 @@ int main(int argc, char **argv) } getdomainname(myname,sizeof(myname)); if (opt_v) - fprintf(stderr,NLS_CATGETS(catfd, hostnameSet, hostname_verb_dget, - "getdomainname()=`%s'\n"),myname); + fprintf(stderr,_("getdomainname()=`%s'\n"),myname); printf("%s\n",myname); break; } - NLS_CATCLOSE(catfd) exit(0); } @@ -3,7 +3,7 @@ * that either displays or sets the characteristics of * one or more of the system's networking interfaces. * - * Version: ifconfig 1.33 (1998-03-02) + * Version: ifconfig 1.34 (1998-06-30) * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * and others. Copyright 1993 MicroWalt Corporation @@ -13,6 +13,8 @@ * Public License as published by the Free Software * Foundation; either version 2 of the License, or (at * your option) any later version. + * {1.34} - 19980630 - Arnaldo Carvalho de Melo <acme@conectiva.com.br> + * - gettext instead of catgets for i18n */ #include "config.h" @@ -70,7 +72,7 @@ struct in6_ifreq { #endif /* HAVE_AFINET6 */ - +#ifdef IFF_PORTSEL static const char *if_port_text[][4] = { /* Keep in step with <linux/netdevice.h> */ { "unknown", NULL , NULL, NULL }, @@ -82,6 +84,7 @@ static const char *if_port_text[][4] = { { "100baseFX", NULL, NULL, NULL }, { NULL, NULL, NULL, NULL }, }; +#endif #if HAVE_AFIPX #include "ipx.h" @@ -89,12 +92,12 @@ static const char *if_port_text[][4] = { #include "net-support.h" #include "pathnames.h" #include "version.h" -#include "net-locale.h" +#include "../intl.h" #include "interface.h" #include "sockets.h" char *Release = RELEASE, - *Version = "ifconfig 1.33 (1998-03-02)"; + *Version = "ifconfig 1.34 (1998-06-30)"; int opt_a = 0; /* show all interfaces */ int opt_i = 0; /* show the statistics */ @@ -145,37 +148,31 @@ ife_print(struct interface *ptr) hw = get_hwntype(hf); if (hw == NULL) hw = get_hwntype(-1); - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_link, - "%-8.8s Link encap:%s "), ptr->name, hw->title); + printf(_("%-8.8s Link encap:%s "), ptr->name, hw->title); /* Don't print the hardware address for ATM or Ash if it's null. */ if (hw->sprint != NULL && ((strncmp(ptr->name, "atm", 3) && strncmp(ptr->name, "ash", 3)) || (ptr->hwaddr[0] || ptr->hwaddr[1] || ptr->hwaddr[2] || ptr->hwaddr[3] || ptr->hwaddr[4] || ptr->hwaddr[5]))) - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_hw, "HWaddr %s ") - , hw->print(ptr->hwaddr)); + printf(_("HWaddr %s "), hw->print(ptr->hwaddr)); #ifdef IFF_PORTSEL if (ptr->flags & IFF_PORTSEL) - printf("Media:%s%s", if_port_text[ptr->map.port][0], - (ptr->flags & IFF_AUTOMEDIA)?"(auto)":""); + printf(_("Media:%s%s"), if_port_text[ptr->map.port][0], + (ptr->flags & IFF_AUTOMEDIA)?_("(auto)"):""); #endif printf("\n"); #if HAVE_AFINET6 if (ap->af != AF_INET6) { #endif - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_adr, - " %s addr:%s "), ap->name, + printf(_(" %s addr:%s "), ap->name, ap->sprint(&ptr->addr, 1)); if (ptr->flags & IFF_POINTOPOINT) { - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_pap, " P-t-P:%s "), - ap->sprint(&ptr->dstaddr, 1)); + printf(_(" P-t-P:%s "), ap->sprint(&ptr->dstaddr, 1)); } if (ptr->flags & IFF_BROADCAST) { - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_bcast, " Bcast:%s "), - ap->sprint(&ptr->broadaddr, 1)); + printf(_(" Bcast:%s "), ap->sprint(&ptr->broadaddr, 1)); } - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_mask, " Mask:%s\n"), - ap->sprint(&ptr->netmask, 1)); + printf(_(" Mask:%s\n"), ap->sprint(&ptr->netmask, 1)); #if HAVE_AFINET6 } if ((f = fopen(_PATH_PROCNET_IFINET6, "r")) != NULL) { @@ -188,18 +185,16 @@ ife_print(struct interface *ptr) addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); inet6_aftype.input(1, addr6, (struct sockaddr *)&sap); - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_adr6, - " inet6 addr: %s/%d"), + printf(_(" inet6 addr: %s/%d"), inet6_aftype.sprint((struct sockaddr *)&sap, 1), plen); - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_scope, - " Scope:")); + printf(_(" Scope:")); switch (scope) { - case 0: printf("Global"); break; - case IPV6_ADDR_LINKLOCAL: printf("Link"); break; - case IPV6_ADDR_SITELOCAL: printf("Site"); break; - case IPV6_ADDR_COMPATv4: printf("Compat"); break; - case IPV6_ADDR_LOOPBACK: printf("Host"); break; - default: printf("Unknown"); + case 0: printf(_("Global")); break; + case IPV6_ADDR_LINKLOCAL: printf(_("Link")); break; + case IPV6_ADDR_SITELOCAL: printf(_("Site")); break; + case IPV6_ADDR_COMPATv4: printf(_("Compat")); break; + case IPV6_ADDR_LOOPBACK: printf(_("Host")); break; + default: printf(_("Unknown")); } printf("\n"); } @@ -214,20 +209,16 @@ ife_print(struct interface *ptr) if (ipxtype!=NULL) { if(ptr->has_ipx_bb) - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_etherII, - " IPX/Ethernet II addr:%s\n"), + printf(_(" IPX/Ethernet II addr:%s\n"), ipxtype->sprint(&ptr->ipxaddr_bb,1)); if(ptr->has_ipx_sn) - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_SNAP, - " IPX/Ethernet SNAP addr:%s\n"), + printf(_(" IPX/Ethernet SNAP addr:%s\n"), ipxtype->sprint(&ptr->ipxaddr_sn,1)); if(ptr->has_ipx_e2) - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_8022, - " IPX/Ethernet 802.2 addr:%s\n"), + printf(_(" IPX/Ethernet 802.2 addr:%s\n"), ipxtype->sprint(&ptr->ipxaddr_e2,1)); if(ptr->has_ipx_e3) - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_8023, - " IPX/Ethernet 802.3 addr:%s\n"), + printf(_(" IPX/Ethernet 802.3 addr:%s\n"), ipxtype->sprint(&ptr->ipxaddr_e3,1)); } #endif @@ -237,9 +228,7 @@ ife_print(struct interface *ptr) ddptype=get_afntype(AF_APPLETALK); if (ddptype!=NULL) { if (ptr->has_ddp) - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_talk, - " EtherTalk Phase 2 addr:%s\n"), - ddptype->sprint(&ptr->ddpaddr,1)); + printf(_(" EtherTalk Phase 2 addr:%s\n"), ddptype->sprint(&ptr->ddpaddr,1)); } #endif @@ -248,77 +237,68 @@ ife_print(struct interface *ptr) ectype = get_afntype(AF_ECONET); if (ectype != NULL) { if (ptr->has_econet) - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_ec, - " econet addr:%s\n"), - ectype->sprint(&ptr->ecaddr,1)); + printf(_(" econet addr:%s\n"), ectype->sprint(&ptr->ecaddr,1)); } #endif printf(" "); - if (ptr->flags == 0) printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_noflags, - "[NO FLAGS] ")); - if (ptr->flags & IFF_UP) printf("UP "); - if (ptr->flags & IFF_BROADCAST) printf("BROADCAST "); - if (ptr->flags & IFF_DEBUG) printf("DEBUG "); - if (ptr->flags & IFF_LOOPBACK) printf("LOOPBACK "); - if (ptr->flags & IFF_POINTOPOINT) printf("POINTOPOINT "); - if (ptr->flags & IFF_NOTRAILERS) printf("NOTRAILERS "); - if (ptr->flags & IFF_RUNNING) printf("RUNNING "); - if (ptr->flags & IFF_NOARP) printf("NOARP "); - if (ptr->flags & IFF_PROMISC) printf("PROMISC "); - if (ptr->flags & IFF_ALLMULTI) printf("ALLMULTI "); - if (ptr->flags & IFF_SLAVE) printf("SLAVE "); - if (ptr->flags & IFF_MASTER) printf("MASTER "); - if (ptr->flags & IFF_MULTICAST) printf("MULTICAST "); - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_mtu, " MTU:%d Metric:%d\n"), + if (ptr->flags == 0) printf(_("[NO FLAGS] ")); + if (ptr->flags & IFF_UP) printf(_("UP ")); + if (ptr->flags & IFF_BROADCAST) printf(_("BROADCAST ")); + if (ptr->flags & IFF_DEBUG) printf(_("DEBUG ")); + if (ptr->flags & IFF_LOOPBACK) printf(_("LOOPBACK ")); + if (ptr->flags & IFF_POINTOPOINT) printf(_("POINTOPOINT ")); + if (ptr->flags & IFF_NOTRAILERS) printf(_("NOTRAILERS ")); + if (ptr->flags & IFF_RUNNING) printf(_("RUNNING ")); + if (ptr->flags & IFF_NOARP) printf(_("NOARP ")); + if (ptr->flags & IFF_PROMISC) printf(_("PROMISC ")); + if (ptr->flags & IFF_ALLMULTI) printf(_("ALLMULTI ")); + if (ptr->flags & IFF_SLAVE) printf(_("SLAVE ")); + if (ptr->flags & IFF_MASTER) printf(_("MASTER ")); + if (ptr->flags & IFF_MULTICAST) printf(_("MULTICAST ")); + printf(_(" MTU:%d Metric:%d\n"), ptr->mtu, ptr->metric?ptr->metric:1); if (ptr->tx_queue_len != -1) - printf(" txqueuelen:%d\n", ptr->tx_queue_len); + printf(_(" txqueuelen:%d\n"), ptr->tx_queue_len); #if 0 else - printf(" txqueuelen not available\n"); + printf(_(" txqueuelen not available\n")); #endif /* If needed, display the interface statistics. */ printf(" "); - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_rx, - "RX packets:%lu errors:%lu dropped:%lu overruns:%lu frame:%lu\n"), + printf(_("RX packets:%lu errors:%lu dropped:%lu overruns:%lu frame:%lu\n"), ptr->stats.rx_packets, ptr->stats.rx_errors, ptr->stats.rx_dropped, ptr->stats.rx_fifo_errors, ptr->stats.rx_frame_errors); if (can_compress) - printf(" compressed:%lu\n", ptr->stats.rx_compressed); + printf(_(" compressed:%lu\n"), ptr->stats.rx_compressed); printf(" "); - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_tx, - "TX packets:%lu errors:%lu dropped:%lu overruns:%lu carrier:%lu\n"), + printf(_("TX packets:%lu errors:%lu dropped:%lu overruns:%lu carrier:%lu\n"), ptr->stats.tx_packets, ptr->stats.tx_errors, ptr->stats.tx_dropped, ptr->stats.tx_fifo_errors, ptr->stats.tx_carrier_errors); - printf(" Collisions:%lu ", ptr->stats.collisions); + printf(_(" Collisions:%lu "), ptr->stats.collisions); if (can_compress) - printf("compressed:%lu ", ptr->stats.tx_compressed); + printf(_("compressed:%lu "), ptr->stats.tx_compressed); printf("\n"); if ((ptr->map.irq || ptr->map.mem_start || ptr->map.dma || ptr->map.base_addr)) { printf(" "); if (ptr->map.irq) - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_interrupt, - "Interrupt:%d "), ptr->map.irq); + printf(_("Interrupt:%d "), ptr->map.irq); if (ptr->map.base_addr>=0x100) /* Only print devices using it for I/O maps */ - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_base, - "Base address:0x%x "), ptr->map.base_addr); + printf(_("Base address:0x%x "), ptr->map.base_addr); if (ptr->map.mem_start) { - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_mem, "Memory:%lx-%lx "), - ptr->map.mem_start,ptr->map.mem_end); + printf(_("Memory:%lx-%lx "), ptr->map.mem_start,ptr->map.mem_end); } if (ptr->map.dma) - printf(NLS_CATGETS(catfd, ifconfigSet, ifconfig_dma, "DMA chan:%x "), - ptr->map.dma); + printf(_("DMA chan:%x "), ptr->map.dma); printf("\n"); } @@ -345,9 +325,7 @@ if_print(char *ifname) *sep = 0; while (*name == ' ') name++; if (if_fetch(name, &ife) < 0) { - fprintf(stderr, NLS_CATGETS(catfd, ifconfigSet, - ifconfig_unkn, "%s: unknown interface.\n"), - name); + fprintf (stderr, _("%s: unknown interface.\n"), name); continue; } @@ -357,8 +335,7 @@ if_print(char *ifname) fclose(fd); } else { if (if_fetch(ifname, &ife) < 0) - fprintf(stderr, NLS_CATGETS(catfd, ifconfigSet, - ifconfig_unkn, "%s: unknown interface.\n"), ifname); + fprintf(stderr, _("%s: unknown interface.\n"), ifname); else ife_print(&ife); } @@ -373,7 +350,7 @@ set_flag(char *ifname, short flag) strcpy(ifr.ifr_name, ifname); if (ioctl(skfd, SIOCGIFFLAGS, &ifr) < 0) { - fprintf(stderr, "%s: unknown interface.\n", ifname); + fprintf(stderr, _("%s: unknown interface.\n"), ifname); return(-1); } strcpy(ifr.ifr_name, ifname); @@ -394,7 +371,7 @@ clr_flag(char *ifname, short flag) strcpy(ifr.ifr_name, ifname); if (ioctl(skfd, SIOCGIFFLAGS, &ifr) < 0) { - fprintf(stderr, "%s: unknown interface.\n", ifname); + fprintf(stderr, _("%s: unknown interface.\n"), ifname); return -1; } strcpy(ifr.ifr_name, ifname); @@ -410,37 +387,35 @@ clr_flag(char *ifname, short flag) static void usage(void) { - fprintf(stderr, NLS_CATGETS(catfd, ifconfigSet, ifconfig_usage1, - "Usage: ifconfig [-a] [-i] [-v] interface\n")); - fprintf(stderr, " [[family] address]\n"); + fprintf(stderr, _("Usage: ifconfig [-a] [-i] [-v] interface\n")); + fprintf(stderr, _(" [[family] address]\n")); /* XXX: it would be useful to have the add/del syntax even without IPv6. the 2.1 interface address lists make this natural */ #ifdef HAVE_AFINET6 - fprintf(stderr, " [add address[/prefixlen]]\n"); + fprintf(stderr, _(" [add address[/prefixlen]]\n")); #ifdef SIOCDIFADDR - fprintf(stderr, " [del address[/prefixlen]]\n"); + fprintf(stderr, _(" [del address[/prefixlen]]\n")); #endif /* XXX the kernel supports tunneling even without ipv6 */ - fprintf(stderr, " [tunnel aa.bb.cc.dd]\n"); + fprintf(stderr, _(" [tunnel aa.bb.cc.dd]\n")); #endif #if HAVE_AFINET - fprintf(stderr, " [[-]broadcast [aa.bb.cc.dd]]\n"); - fprintf(stderr, " [[-]pointopoint [aa.bb.cc.dd]]\n"); - fprintf(stderr, " [netmask aa.bb.cc.dd]\n"); - fprintf(stderr, " [dstaddr aa.bb.cc.dd]\n"); + fprintf(stderr, _(" [[-]broadcast [aa.bb.cc.dd]]\n")); + fprintf(stderr, _(" [[-]pointopoint [aa.bb.cc.dd]]\n")); + fprintf(stderr, _(" [netmask aa.bb.cc.dd]\n")); + fprintf(stderr, _(" [dstaddr aa.bb.cc.dd]\n")); #endif - fprintf(stderr, " [hw class address]\n"); - fprintf(stderr, " [metric NN] [mtu NN]\n"); - fprintf(stderr, " [[-]trailers] [[-]arp]\n"); - fprintf(stderr, " [[-]allmulti] [[-]promisc]\n"); - fprintf(stderr, " [multicast]\n"); - fprintf(stderr, " [mem_start NN] [io_addr NN] [irq NN]\n"); - fprintf(stderr, " [media type]\n"); + fprintf(stderr, _(" [hw class address]\n")); + fprintf(stderr, _(" [metric NN] [mtu NN]\n")); + fprintf(stderr, _(" [[-]trailers] [[-]arp]\n")); + fprintf(stderr, _(" [[-]allmulti] [[-]promisc]\n")); + fprintf(stderr, _(" [multicast]\n")); + fprintf(stderr, _(" [mem_start NN] [io_addr NN] [irq NN]\n")); + fprintf(stderr, _(" [media type]\n")); #ifdef HAVE_TXQUEUELEN - fprintf(stderr, " [txqueuelen len]\n"); + fprintf(stderr, _(" [txqueuelen len]\n")); #endif - fprintf(stderr, " [up] [down] ...\n"); - NLS_CATCLOSE(catfd) + fprintf(stderr, _(" [up] [down] ...\n")); exit(1); } @@ -448,7 +423,6 @@ static void version(void) { fprintf(stderr,"%s\n%s\n",Release,Version); - NLS_CATCLOSE(catfd) exit(1); } @@ -485,15 +459,14 @@ main(int argc, char **argv) char *cp; #endif -#if NLS - setlocale (LC_MESSAGES, ""); - catfd = catopen ("nettools", MCLoadBySet); +#if I18N + bindtextdomain("net-tools", "/usr/share/locale"); + textdomain("net-tools"); #endif /* Create a channel to the NET kernel. */ if ((skfd = sockets_open()) < 0) { perror("socket"); - NLS_CATCLOSE(catfd) exit(1); } @@ -518,7 +491,6 @@ main(int argc, char **argv) if (argc == 0) { if_print((char *)NULL); (void) close(skfd); - NLS_CATCLOSE(catfd) exit(0); } @@ -528,7 +500,6 @@ main(int argc, char **argv) if (*spp == (char *)NULL) { if_print(ifr.ifr_name); (void) close(skfd); - NLS_CATCLOSE(catfd) exit(0); } @@ -575,7 +546,7 @@ main(int argc, char **argv) } spp++; if (newport == -1) { - fprintf(stderr, "Unknown media type.\n"); + fprintf(stderr, _("Unknown media type.\n")); goterr = 1; } else { if (ioctl(skfd, SIOCGIFMAP, &ifr) < 0) { @@ -836,7 +807,7 @@ main(int argc, char **argv) host[(sizeof host)-1] = 0; strncpy(host, *spp, (sizeof host)-1); if (hw->input(host, &sa) < 0) { - fprintf(stderr, "%s: invalid %s address.\n", host, hw->name); + fprintf(stderr, _("%s: invalid %s address.\n"), host, hw->name); goterr = 1; spp++; continue; @@ -927,7 +898,7 @@ main(int argc, char **argv) goterr = 1; } #else - fprintf(stderr, "Address deletion not supported on this system.\n"); + fprintf(stderr, _("Address deletion not supported on this system.\n")); #endif spp++; continue; @@ -1011,7 +982,7 @@ main(int argc, char **argv) break; #endif default: - printf("Don't know how to set addresses for this family.\n"); + printf(_("Don't know how to set addresses for this family.\n")); exit(1); } if (r < 0) { @@ -1026,6 +997,5 @@ main(int argc, char **argv) /* Close the socket. */ (void) close(skfd); - NLS_CATCLOSE(catfd) return(goterr); } diff --git a/interface.c b/interface.c index 97bbb06..a944f9f 100644 --- a/interface.c +++ b/interface.c @@ -26,7 +26,6 @@ #include "net-support.h" #include "pathnames.h" #include "version.h" -#include "net-locale.h" #include "interface.h" #include "sockets.h" @@ -0,0 +1,11 @@ +/* Dummy header for libintl.h */ + +#if I18N +#undef __OPTIMIZE__ +#include <libintl.h> +#define _(String) gettext((String)) +#define N_(String) (String) +#else +#define _(String) (String) +#define N_(String) (String) +#endif diff --git a/lib/activate.c b/lib/activate.c index 1dfb789..07c5521 100644 --- a/lib/activate.c +++ b/lib/activate.c @@ -15,6 +15,7 @@ * Modifications: * *960322 {0.01} Bernd Eckenfels: creation + *980411 {0.01i} Arnaldo Carvalho: i18n: now uses gettext * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -28,7 +29,7 @@ #include "pathnames.h" #include "version.h" #include "config.h" -#include "net-locale.h" +#include "intl.h" extern struct hwtype slip_hwtype; extern struct hwtype cslip_hwtype; @@ -66,11 +67,11 @@ int activate_ld(const char *hwname, int fd) hw = get_hwtype(hwname); if (!hw) { - fprintf(stderr,NLS_CATGETS(catfd, libSet, lib_act_no_support, "Hardware type `%s' not supported.\n"),hwname); + fprintf(stderr,_("Hardware type `%s' not supported.\n"),hwname); return(E_NOSUPP); } if (!hw->activate) { - fprintf(stderr,NLS_CATGETS(catfd, libSet, lib_type_no_act, "Cannot change line discipline to `%s'.\n"),hw->name); + fprintf(stderr,_("Cannot change line discipline to `%s'.\n"),hw->name); return(E_OPTERR); } return(hw->activate(fd)); @@ -24,8 +24,7 @@ #include "config.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" int flag_unx = 0; @@ -103,30 +102,30 @@ static struct aftype *aftypes[] = { void afinit () { - unspec_aftype.title = NLS_CATSAVE (catfd, unixSet, unix_unspec, "UNSPEC"); + unspec_aftype.title = _("UNSPEC"); #if HAVE_AFINET - unix_aftype.title = NLS_CATSAVE (catfd, unixSet, unix_unix, "UNIX Domain"); + unix_aftype.title = _("UNIX Domain"); #endif #if HAVE_AFINET - inet_aftype.title = NLS_CATSAVE (catfd, inetSet, inet_darpa, "DARPA Internet"); + inet_aftype.title = _("DARPA Internet"); #endif #if HAVE_AFINET6 - inet6_aftype.title = NLS_CATSAVE (catfd, inetSet, inet_darpa, "IPv6"); + inet6_aftype.title = _("IPv6"); #endif #if HAVE_AFAX25 - ax25_aftype.title = NLS_CATSAVE (catfd, ax25Set, ax25_ax25, "AMPR AX.25"); + ax25_aftype.title = _("AMPR AX.25"); #endif #if HAVE_AFNETROM - netrom_aftype.title = NLS_CATSAVE (catfd, netromSet, netrom_netrom, "AMPR NET/ROM"); + netrom_aftype.title = _("AMPR NET/ROM"); #endif #if HAVE_AFIPX - ipx_aftype.title = NLS_CATSAVE (catfd, ipxSet, ipx_ipx, "IPX"); + ipx_aftype.title = _("IPX"); #endif #if HAVE_AFATALK - ddp_aftype.title = NLS_CATSAVE (catfd, ddpSet, ddp_ddp, "Appletalk DDP"); + ddp_aftype.title = _("Appletalk DDP"); #endif #if HAVE_AFCONET - ec_aftype.title = NLS_CATSAVE (catfd, ecSet, ec_ec, "Econet"); + ec_aftype.title = _("Econet"); #endif sVafinit = 1; } @@ -186,7 +185,7 @@ get_aftype(const char *name) afp++; } if (index(name,',')) - fprintf(stderr,NLS_CATGETS(catfd, libSet, lib_toomuch, "Please don't supply more than one address family.\n")); + fprintf(stderr,_("Please don't supply more than one address family.\n")); return(NULL); } @@ -232,7 +231,7 @@ int aftrans_opt(const char *arg) if (strcmp(tmp1,paft->alias)) continue; if (strlen(paft->name)+strlen(afname)+1 >= sizeof(afname)) { - fprintf(stderr,NLS_CATGETS(catfd, libSet, lib_toomuch_af, "Too much address family arguments.\n")); + fprintf(stderr,_("Too much address family arguments.\n")); return(0); } if (paft->flag) @@ -243,7 +242,7 @@ int aftrans_opt(const char *arg) break; } if (!paft->alias) { - fprintf(stderr,NLS_CATGETS(catfd, libSet, lib_unknown_af, "Unknown address family `%s'.\n"),tmp1); + fprintf(stderr,_("Unknown address family `%s'.\n"),tmp1); return(1); } tmp1=tmp2; diff --git a/lib/arcnet.c b/lib/arcnet.c index d784535..7804211 100644 --- a/lib/arcnet.c +++ b/lib/arcnet.c @@ -28,9 +28,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" extern struct hwtype arcnet_hwtype; @@ -41,7 +39,7 @@ pr_arcnet(unsigned char *ptr) { static char buff[64]; - sprintf(buff, "%02X",(ptr[0] & 0377)); + snprintf(buff, sizeof(buff), "%02X",(ptr[0] & 0377)); return(buff); } @@ -53,7 +51,7 @@ pr_sarcnet(struct sockaddr *sap) static char buf[64]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, arcnetSet, arcnet_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof (buf)); return(pr_arcnet(sap->sa_data)); } @@ -79,8 +77,7 @@ in_arcnet(char *bufp, struct sockaddr *sap) else if (c >= 'A' && c <= 'F') val = c - 'A' + 10; else { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, arcnetSet, arcnet_debug1, - "in_arcnet(%s): invalid arcnet address!\n"), orig); + fprintf(stderr, _("in_arcnet(%s): invalid arcnet address!\n"), orig); #endif errno = EINVAL; return(-1); @@ -92,8 +89,7 @@ in_arcnet(char *bufp, struct sockaddr *sap) else if (c >= 'A' && c <= 'F') val |= c - 'A' + 10; else { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, arcnetSet, arcnet_debug2, - "in_arcnet(%s): invalid arcnet address!\n"), orig); + fprintf(stderr, _("in_arcnet(%s): invalid arcnet address!\n"), orig); #endif errno = EINVAL; return(-1); @@ -105,8 +101,7 @@ in_arcnet(char *bufp, struct sockaddr *sap) if (*bufp == ':') { if (i == ETH_ALEN) { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, arcnetSet, arcnet_debug3, - "in_arcnet(%s): trailing : ignored!\n"), + fprintf(stderr, _("in_arcnet(%s): trailing : ignored!\n"), orig) #endif ; /* nothing */ @@ -118,7 +113,7 @@ in_arcnet(char *bufp, struct sockaddr *sap) /* That's it. Any trailing junk? */ if ((i == ETH_ALEN) && (*bufp != '\0')) { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, arcnetSet, arcnet_debug4, "in_arcnet(%s): trailing junk!\n"), orig); + fprintf(stderr, _("in_arcnet(%s): trailing junk!\n"), orig); errno = EINVAL; return(-1); #endif @@ -18,8 +18,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" #ifndef ARPHRD_ASH #error No support for Ash on this system @@ -85,7 +84,7 @@ in_ash(char *bufp, struct sockaddr *sap) bufp = NULL; break; default: - fprintf (stderr, "Malformed Ash address"); + fprintf (stderr, _("Malformed Ash address")); memset (ptr, 0xc9, ASH_ALEN); return -1; } @@ -24,11 +24,7 @@ #include <sys/types.h> #include <sys/ioctl.h> #include <sys/socket.h> -#if __GLIBC__ == 2 -#include <netax25/ax25.h> -#else #include <linux/ax25.h> -#endif #include <net/if_arp.h> #include <stdlib.h> #include <stdio.h> @@ -40,8 +36,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" static char AX25_errmsg[128]; @@ -73,7 +68,7 @@ AX25_sprint(struct sockaddr *sap, int numeric) static char buf[64]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, ax25Set, ax25_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof (buf)); return(AX25_print(((struct sockaddr_ax25 *)sap)->sax25_call.ax25_call)); } @@ -95,7 +90,7 @@ AX25_input(int type, char *bufp, struct sockaddr *sap) c = *bufp++; if (islower(c)) c = toupper(c); if (! (isupper(c) || isdigit(c))) { - strcpy(AX25_errmsg, NLS_CATGETS (catfd, ax25Set, ax25_debug1, "Invalid callsign")); + strcpy(AX25_errmsg, _("Invalid callsign")); #ifdef DEBUG fprintf(stderr, "ax25_input(%s): %s !\n", AX25_errmsg, orig); #endif @@ -108,7 +103,7 @@ AX25_input(int type, char *bufp, struct sockaddr *sap) /* Callsign too long? */ if ((i == 6) && (*bufp != '-') && (*bufp != '\0')) { - strcpy(AX25_errmsg, NLS_CATGETS (catfd, ax25Set, ax25_debug2, "Callsign too long")); + strcpy(AX25_errmsg, _("Callsign too long")); #ifdef DEBUG fprintf(stderr, "ax25_input(%s): %s !\n", AX25_errmsg, orig); #endif @@ -156,7 +151,7 @@ AX25_hprint(struct sockaddr *sap) static char buf[64]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, ax25Set, ax25_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof (buf)); return(AX25_print(((struct sockaddr_ax25 *)sap)->sax25_call.ax25_call)); } diff --git a/lib/ax25_gr.c b/lib/ax25_gr.c index 016ebce..6ecf59e 100644 --- a/lib/ax25_gr.c +++ b/lib/ax25_gr.c @@ -34,8 +34,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" int AX25_rprint(int options) { @@ -45,11 +44,11 @@ int AX25_rprint(int options) if(f==NULL) { - printf(NLS_CATGETS(catfd, netstatSet, netstat_noax25, "AX.25 not configured in this system.\n")); /* xxx */ + printf(_("AX.25 not configured in this system.\n")); /* xxx */ return 1; } - printf(NLS_CATGETS(catfd, netstatSet, netstat_ax25, "Kernel AX.25 routing table\n")); /* xxx */ - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_ax25, "Destination Iface Use\n")); /* xxx */ + printf(_("Kernel AX.25 routing table\n")); /* xxx */ + printf(_("Destination Iface Use\n")); /* xxx */ fgets(buffer,256,f); while(fgets(buffer,256,f)) { @@ -26,9 +26,7 @@ #include <netinet/in.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" /* Display a ddp domain address. */ static char * @@ -48,7 +46,7 @@ ddp_sprint(struct sockaddr *sap, int numeric) static char buf[64]; if (sap->sa_family != AF_APPLETALK) - return(NLS_CATBUFF (catfd, ddpSet, ddp_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof (buf)); return(ddp_print(sap->sa_data)); } diff --git a/lib/ddp_gr.c b/lib/ddp_gr.c index c708e10..317fab3 100644 --- a/lib/ddp_gr.c +++ b/lib/ddp_gr.c @@ -14,13 +14,11 @@ #include <netinet/in.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" int DDP_rprint(int options) { - fprintf(stderr,NLS_CATGETS(catfd, ddpSet, ddp_notyet, - "Routing table for `ddp' not yet supported.\n")); + fprintf(stderr, _("Routing table for `ddp' not yet supported.\n")); return(1); } #endif diff --git a/lib/econet.c b/lib/econet.c index 6211fc5..4ba7668 100644 --- a/lib/econet.c +++ b/lib/econet.c @@ -27,9 +27,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" - -#define EXTERN -#include "net-locale.h" +#include "intl.h" #include <linux/if_ec.h> @@ -48,11 +46,10 @@ ec_print(unsigned char *ptr) static char * ec_sprint(struct sockaddr *sap, int numeric) { - static char buf[64]; struct sockaddr_ec *sec = (struct sockaddr_ec *)sap; if (sap->sa_family != AF_ECONET) - return(NLS_CATBUFF (catfd, ecSet, ec_none, "[NONE SET]", buf, 64)); + return _("[NONE SET]"); return ec_print((unsigned char *)&sec->addr); } diff --git a/lib/ether.c b/lib/ether.c index 58d62c6..7991706 100644 --- a/lib/ether.c +++ b/lib/ether.c @@ -28,9 +28,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" extern struct hwtype ether_hwtype; @@ -41,7 +39,7 @@ pr_ether(unsigned char *ptr) { static char buff[64]; - sprintf(buff, "%02X:%02X:%02X:%02X:%02X:%02X", + snprintf(buff, sizeof(buff), "%02X:%02X:%02X:%02X:%02X:%02X", (ptr[0] & 0377), (ptr[1] & 0377), (ptr[2] & 0377), (ptr[3] & 0377), (ptr[4] & 0377), (ptr[5] & 0377) ); @@ -56,7 +54,7 @@ pr_sether(struct sockaddr *sap) static char buf[64]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, etherSet, ether_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof (buf)); return(pr_ether(sap->sa_data)); } @@ -83,8 +81,7 @@ in_ether(char *bufp, struct sockaddr *sap) else if (c >= 'A' && c <= 'F') val = c - 'A' + 10; else { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, etherSet, ether_debug1, - "in_ether(%s): invalid ether address!\n"), orig); + fprintf(stderr, _("in_ether(%s): invalid ether address!\n"), orig); #endif errno = EINVAL; return(-1); @@ -97,8 +94,7 @@ in_ether(char *bufp, struct sockaddr *sap) else if (c == ':' || c == 0) val >>= 4; else { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, etherSet, ether_debug2, - "in_ether(%s): invalid ether address!\n"), orig); + fprintf(stderr, _("in_ether(%s): invalid ether address!\n"), orig); #endif errno = EINVAL; return(-1); @@ -111,8 +107,7 @@ in_ether(char *bufp, struct sockaddr *sap) if (*bufp == ':') { if (i == ETH_ALEN) { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, etherSet, ether_debug3, - "in_ether(%s): trailing : ignored!\n"), + fprintf(stderr, _("in_ether(%s): trailing : ignored!\n"), orig) #endif ; /* nothing */ @@ -124,7 +119,7 @@ in_ether(char *bufp, struct sockaddr *sap) /* That's it. Any trailing junk? */ if ((i == ETH_ALEN) && (*bufp != '\0')) { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, etherSet, ether_debug4, "in_ether(%s): trailing junk!\n"), orig); + fprintf(stderr, _("in_ether(%s): trailing junk!\n"), orig); errno = EINVAL; return(-1); #endif @@ -2,10 +2,12 @@ * lib/fddi.c This file contains an implementation of the "FDDI" * support functions for the NET-2 base distribution. * - * Version: @(#)fddi.c 1.00 08/13/96 + * Version: @(#)fddi.c 1.01 07/01/1998 * * Author: Lawrence V. Stefani, <stefani@lkg.dec.com> * + * 1998-07-01 - Arnaldo Carvalho de Melo <acme@conectiva.com.br> GNU gettext + * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software @@ -37,9 +39,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" extern struct hwtype fddi_hwtype; @@ -50,7 +50,7 @@ pr_fddi(unsigned char *ptr) { static char buff[64]; - sprintf(buff, "%02X-%02X-%02X-%02X-%02X-%02X", + snprintf(buff, sizeof(buff), "%02X-%02X-%02X-%02X-%02X-%02X", (ptr[0] & 0377), (ptr[1] & 0377), (ptr[2] & 0377), (ptr[3] & 0377), (ptr[4] & 0377), (ptr[5] & 0377) ); @@ -65,7 +65,7 @@ pr_sfddi(struct sockaddr *sap) static char buf[64]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, fddiSet, fddi_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof (buf)); return(pr_fddi(sap->sa_data)); } @@ -91,8 +91,7 @@ in_fddi(char *bufp, struct sockaddr *sap) else if (c >= 'A' && c <= 'F') val = c - 'A' + 10; else { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, fddiSet, fddi_debug1, - "in_fddi(%s): invalid fddi address!\n"), orig); + fprintf(stderr, _("in_fddi(%s): invalid fddi address!\n"), orig); #endif errno = EINVAL; return(-1); @@ -104,8 +103,7 @@ in_fddi(char *bufp, struct sockaddr *sap) else if (c >= 'A' && c <= 'F') val |= c - 'A' + 10; else { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, fddiSet, fddi_debug2, - "in_fddi(%s): invalid fddi address!\n"), orig); + fprintf(stderr, _("in_fddi(%s): invalid fddi address!\n"), orig); #endif errno = EINVAL; return(-1); @@ -117,8 +115,7 @@ in_fddi(char *bufp, struct sockaddr *sap) if (*bufp == ':') { if (i == FDDI_K_ALEN) { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, fddiSet, fddi_debug3, - "in_fddi(%s): trailing : ignored!\n"), + fprintf(stderr, _("in_fddi(%s): trailing : ignored!\n"), orig) #endif ; /* nothing */ @@ -130,7 +127,7 @@ in_fddi(char *bufp, struct sockaddr *sap) /* That's it. Any trailing junk? */ if ((i == FDDI_K_ALEN) && (*bufp != '\0')) { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, fddiSet, fddi_debug4, "in_fddi(%s): trailing junk!\n"), orig); + fprintf(stderr, _("in_fddi(%s): trailing junk!\n"), orig); errno = EINVAL; return(-1); #endif diff --git a/lib/frame.c b/lib/frame.c index 2920662..e24e06e 100644 --- a/lib/frame.c +++ b/lib/frame.c @@ -36,14 +36,12 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" char *pr_dlci(unsigned char *ptr) { static char buf[12]; - sprintf(buf, "%i", *(short *)ptr); + snprintf(buf, sizeof(buf), "%i", *(short *)ptr); return(buf); } diff --git a/lib/getroute.c b/lib/getroute.c index ba64a4c..d6d282e 100644 --- a/lib/getroute.c +++ b/lib/getroute.c @@ -21,6 +21,7 @@ * support in the AF handlers *960221 {1.02} Bernd Eckenfels: renamed from route_info to getroute.c *960413 {1.03} Bernd Eckenfels: new RTACTION support + *980701 {1.04} Arnaldo C. Melo: GNU gettext instead of catgets * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -34,7 +35,7 @@ #include "pathnames.h" #include "version.h" #include "config.h" -#include "net-locale.h" +#include "intl.h" extern struct aftype unspec_aftype; extern struct aftype unix_aftype; @@ -96,13 +97,13 @@ route_info(const char *afname, int options) ap = get_aftype(tmp1); if (!ap) { - fprintf(stderr,NLS_CATGETS(catfd, netstatSet, netstat_route_no_support, "Address family `%s' not supported.\n"),tmp1); + fprintf(stderr,_("Address family `%s' not supported.\n"),tmp1); return(E_OPTERR); } tmp1=tmp2; if (!ap->rprint) { - fprintf(stderr,NLS_CATGETS(catfd, netstatSet, netstat_type_no_route, "No routing for address family `%s'.\n"),ap->name); + fprintf(stderr,_("No routing for address family `%s'.\n"),ap->name); return(E_OPTERR); } @@ -2,13 +2,15 @@ * lib/hw.c This file contains the top-level part of the hardware * support functions module for the NET-2 base distribution. * - * Version: lib/hw.c 1.20 (1998-01-25) + * Version: lib/hw.c 1.21 (1998-07-01) * * Maintainer: Bernd 'eckes' Eckenfels, <net-tools@lina.inka.de> * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation * + *980701 {1.21} Arnaldo C. Melo GNU gettext instead of catgets + * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software @@ -26,9 +28,7 @@ #include "config.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" extern struct hwtype unspec_hwtype; extern struct hwtype loop_hwtype; @@ -126,55 +126,55 @@ static short sVhwinit = 0; void hwinit () { - loop_hwtype.title = NLS_CATSAVE (catfd, loopbackSet, loopback_loop, "Local Loopback"); - unspec_hwtype.title = NLS_CATSAVE (catfd, loopbackSet, loopback_unspec, "UNSPEC"); + loop_hwtype.title = _("Local Loopback"); + unspec_hwtype.title = _("UNSPEC"); #if HAVE_HWSLIP - slip_hwtype.title = NLS_CATSAVE (catfd, slipSet, slip_slip, "Serial Line IP"); - cslip_hwtype.title = NLS_CATSAVE (catfd, slipSet, slip_cslip, "VJ Serial Line IP"); - slip6_hwtype.title = NLS_CATSAVE (catfd, slipSet, slip_slip6, "6-bit Serial Line IP"); - cslip6_hwtype.title = NLS_CATSAVE (catfd, slipSet, slip_cslip6, "VJ 6-bit Serial Line IP"); - adaptive_hwtype.title = NLS_CATSAVE (catfd, slipSet, slip_adaptive, "Adaptive Serial Line IP"); + slip_hwtype.title = _("Serial Line IP"); + cslip_hwtype.title = _("VJ Serial Line IP"); + slip6_hwtype.title = _("6-bit Serial Line IP"); + cslip6_hwtype.title = _("VJ 6-bit Serial Line IP"); + adaptive_hwtype.title = _("Adaptive Serial Line IP"); #endif #if HAVE_HWETHER - ether_hwtype.title = NLS_CATSAVE (catfd, etherSet, ether_ether, "Ethernet"); + ether_hwtype.title = _("Ethernet"); #endif #if HAVE_HWASH - ash_hwtype.title = NLS_CATSAVE (catfd, ashSet, ash_hw, "Ash"); + ash_hwtype.title = _("Ash"); #endif #if HAVE_HWFDDI - fddi_hwtype.title = NLS_CATSAVE (catfd, fddiSet, fddi_fddi, "Fiber Distributed Data Interface"); + fddi_hwtype.title = _("Fiber Distributed Data Interface"); #endif #if HAVE_HWHIPPI - hippi_hwtype.title = NLS_CATSAVE (catfd, hippiSet, hippi_hippi, "HIPPI"); + hippi_hwtype.title = _("HIPPI"); #endif #if HAVE_HWAX25 - ax25_hwtype.title = NLS_CATSAVE (catfd, ax25Set, ax25_hw, "AMPR AX.25"); + ax25_hwtype.title = _("AMPR AX.25"); #endif #if HAVE_HWROSE - rose_hwtype.title = NLS_CATSAVE (catfd, roseSet, rose_hw, "AMPR ROSE"); + rose_hwtype.title = _("AMPR ROSE"); #endif #if HAVE_HWNETROM - netrom_hwtype.title = NLS_CATSAVE (catfd, netromSet, netrom_hw, "AMPR NET/ROM"); + netrom_hwtype.title = _("AMPR NET/ROM"); #endif #if HAVE_HWTUNNEL - tunnel_hwtype.title = NLS_CATSAVE (catfd, tunnelSet, tunnel_hw, "IPIP Tunnel"); + tunnel_hwtype.title = _("IPIP Tunnel"); #endif #if HAVE_HWPPP - ppp_hwtype.title = NLS_CATSAVE (catfd, pppSet, ppp_ppp, "Point-to-Point Protocol"); + ppp_hwtype.title = _("Point-to-Point Protocol"); #endif #if HAVE_HWHDLCLAPB - hdlc_hwtype.title = NLS_CATSAVE (catfd, hdlcSet, hdlc_hw, "(Cisco)-HDLC"); - lapb_hwtype.title = NLS_CATSAVE (catfd, lapbSet, lapb_hw, "LAPB"); + hdlc_hwtype.title = _("(Cisco)-HDLC"); + lapb_hwtype.title = _("LAPB"); #endif #if HAVE_HWARC - arcnet_hwtype.title = NLS_CATSAVE (catfd, arcnetSet, arcnet_arcnet, "1.5Mbps ARCnet"); + arcnet_hwtype.title = _("1.5Mbps ARCnet"); #endif #if HAVE_HWFR - dlci_hwtype.title = NLS_CATSAVE(catfd, dlciSet, dlci_hw, "Frame Relay DLCI"); - frad_hwtype.title = NLS_CATSAVE(catfd, fradSet, frad_hw, "Frame Relay Access Device"); + dlci_hwtype.title = _("Frame Relay DLCI"); + frad_hwtype.title = _("Frame Relay Access Device"); #endif #if HAVE_HWSIT - sit_hwtype.title = NLS_CATSAVE(catfd, sitSet, sit_hw, "IPv6-in-IPv4"); + sit_hwtype.title = _("IPv6-in-IPv4"); #endif sVhwinit = 1; } @@ -41,8 +41,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" extern int h_errno; /* some netdb.h versions don't export this */ @@ -120,7 +119,7 @@ INET_rresolve(char *name, struct sockaddr_in *sin, int numeric) /* Grmpf. -FvK */ if (sin->sin_family != AF_INET) { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, inetSet, inet_debug1, "rresolve: unsupport address family %d !\n"), sin->sin_family); + fprintf(stderr, _("rresolve: unsupport address family %d !\n"), sin->sin_family); #endif errno = EAFNOSUPPORT; return(-1); @@ -200,7 +199,7 @@ INET_sprint(struct sockaddr *sap, int numeric) static char buff[128]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, inetSet, inet_none, "[NONE SET]", buff, 128)); + return strncpy (buff, _("[NONE SET]"), sizeof(buff)); if (INET_rresolve(buff, (struct sockaddr_in *) sap, numeric) != 0) return(NULL); return(buff); diff --git a/lib/inet6.c b/lib/inet6.c index e9ddd5d..076bfc5 100644 --- a/lib/inet6.c +++ b/lib/inet6.c @@ -3,13 +3,14 @@ * support functions for the net-tools. * (most of it copied from lib/inet.c 1.26). * - * Version: lib/inet6.c 0.01 1996-08-08 + * Version: lib/inet6.c 0.02 1998-07-01 * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation * * Modified: *960808 {0.01} Frank Strauss : adapted for IPv6 support + *980701 {0.02} Arnaldo C. Melo: GNU gettext instead of catgets * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -37,8 +38,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" extern int h_errno; /* some netdb.h versions don't export this */ @@ -70,7 +70,7 @@ INET6_rresolve(char *name, struct sockaddr_in6 *sin6, int numeric) /* Grmpf. -FvK */ if (sin6->sin6_family != AF_INET6) { #ifdef DEBUG - fprintf(stderr, NLS_CATGETS(catfd, inetSet, inet_debug1, "rresolve: unsupport address family %d !\n"), + fprintf(stderr, _("rresolve: unsupport address family %d !\n"), sin6->sin6_family); #endif errno = EAFNOSUPPORT; @@ -118,7 +118,7 @@ INET6_sprint(struct sockaddr *sap, int numeric) static char buff[128]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, inetSet, inet_none, "[NONE SET]", buff, 128)); + return strncpy (buff, _("[NONE SET]"), sizeof (buff)); if (INET6_rresolve(buff, (struct sockaddr_in6 *) sap, numeric) != 0) return(NULL); return(buff); diff --git a/lib/inet6_gr.c b/lib/inet6_gr.c index aea63fa..f54cc7d 100644 --- a/lib/inet6_gr.c +++ b/lib/inet6_gr.c @@ -1,3 +1,9 @@ +/* + Modifications: + 1998-07-01 - Arnaldo Carvalho de Melo - GNU gettext instead of catgets, + snprintf instead of sprintf +*/ + #include "config.h" #if HAVE_AFINET6 @@ -23,9 +29,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" #include "net-features.h" /* this is from linux/include/net/ndisc.h */ @@ -74,12 +78,11 @@ int rprint_fib6(int ext, int numeric) return 1; } - printf(NLS_CATGETS(catfd, inet6Set, inet6_table, "Kernel IPv6 routing table\n")); + printf(_("Kernel IPv6 routing table\n")); - printf(NLS_CATGETS(catfd, inet6Set, inet6_header2, - "Destination " - "Next Hop " - "Flags Metric Ref Use Iface\n")); + printf(_("Destination " + "Next Hop " + "Flags Metric Ref Use Iface\n")); while (fgets(buff, 1023, fp)) { @@ -98,20 +101,20 @@ int rprint_fib6(int ext, int numeric) #endif if (!(iflags & RTF_UP)) continue; /* Fetch and resolve the target address. */ - sprintf(addr6, "%s:%s:%s:%s:%s:%s:%s:%s", + snprintf(addr6, sizeof(addr6), "%s:%s:%s:%s:%s:%s:%s:%s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); inet6_aftype.input(1, addr6, (struct sockaddr *)&saddr6); - sprintf(addr6, "%s/%d", + snprintf(addr6, sizeof(addr6), "%s/%d", inet6_aftype.sprint((struct sockaddr *)&saddr6, 1), prefix_len); /* Fetch and resolve the nexthop address. */ - sprintf(naddr6, "%s:%s:%s:%s:%s:%s:%s:%s", + snprintf(naddr6, sizeof(naddr6), "%s:%s:%s:%s:%s:%s:%s:%s", naddr6p[0], naddr6p[1], naddr6p[2], naddr6p[3], naddr6p[4], naddr6p[5], naddr6p[6], naddr6p[7]); inet6_aftype.input(1, naddr6, (struct sockaddr *)&snaddr6); - sprintf(naddr6, "%s", + snprintf(naddr6, sizeof(naddr6), "%s", inet6_aftype.sprint((struct sockaddr *)&snaddr6, 1)); /* Decode the flags. */ @@ -146,18 +149,16 @@ int rprint_cache6(int ext, int numeric) return 1; } - printf(NLS_CATGETS(catfd, inet6ndSet, inet6_ndtable, "Kernel IPv6 Neighbour Cache\n")); + printf(_("Kernel IPv6 Neighbour Cache\n")); if (ext == 2) - printf(NLS_CATGETS(catfd, inet6ndSet, inet6_ndheader2, - "Neighbour " - "HW Address " - "Iface Flags Ref State\n")); + printf(_("Neighbour " + "HW Address " + "Iface Flags Ref State\n")); else - printf(NLS_CATGETS(catfd, inet6ndSet, inet6_ndheader2, - "Neighbour " - "HW Address " - "Iface Flags Ref State Stale(sec) Delete(sec)\n")); + printf(_("Neighbour " + "HW Address " + "Iface Flags Ref State Stale(sec) Delete(sec)\n")); while (fgets(buff, 1023, fp)) @@ -170,16 +171,17 @@ int rprint_cache6(int ext, int numeric) haddrp[0], haddrp[1], haddrp[2], haddrp[3], haddrp[4], haddrp[5]); /* Fetch and resolve the nexthop address. */ - sprintf(addr6, "%s:%s:%s:%s:%s:%s:%s:%s", + snprintf(addr6, sizeof(addr6), "%s:%s:%s:%s:%s:%s:%s:%s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); inet6_aftype.input(1, addr6, (struct sockaddr *)&saddr6); - sprintf(addr6, "%s/%d", + snprintf(addr6, sizeof(addr6), "%s/%d", inet6_aftype.sprint((struct sockaddr *)&saddr6, numeric), prefix_len); /* Fetch the hardware address. */ - sprintf(haddr, "%s:%s:%s:%s:%s:%s", haddrp[0],haddrp[1],haddrp[2], haddrp[3],haddrp[4],haddrp[5]); + snprintf(haddr, sizeof(haddr), "%s:%s:%s:%s:%s:%s", + haddrp[0],haddrp[1],haddrp[2], haddrp[3],haddrp[4],haddrp[5]); /* Decode the flags. */ flags[0] = '\0'; @@ -217,7 +219,7 @@ int rprint_cache6(int ext, int numeric) strcpy(statestr,"IN TIMER"); break; default: - sprintf(statestr,"UNKNOWN %02x",state); + snprintf(statestr,sizeof (statestr),"UNKNOWN %02x",state); break; } diff --git a/lib/inet6_sr.c b/lib/inet6_sr.c index 388d49d..988d46d 100644 --- a/lib/inet6_sr.c +++ b/lib/inet6_sr.c @@ -1,3 +1,8 @@ +/* + Modifications: + 1998-07-01 - Arnaldo Carvalho de Melo - GNU gettext instead of catgets +*/ + #include "config.h" #if HAVE_AFINET6 @@ -25,9 +30,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" #include "net-features.h" extern struct aftype inet6_aftype; @@ -37,9 +40,9 @@ static int skfd = -1; static int usage(void) { - fprintf(stderr,"Usage: inet6_route [-vF] del Target\n"); - fprintf(stderr," inet6_route [-vF] add Target [gw Gw] [metric M] [[dev] If]\n"); - fprintf(stderr," inet6_route [-FC] flush NOT supported\n"); + fprintf(stderr,_("Usage: inet6_route [-vF] del Target\n")); + fprintf(stderr,_(" inet6_route [-vF] add Target [gw Gw] [metric M] [[dev] If]\n")); + fprintf(stderr,_(" inet6_route [-FC] flush NOT supported\n")); return(E_USAGE); } @@ -176,7 +179,7 @@ static int INET6_setroute(int action, int options, char **args) int INET6_rinput(int action, int options, char **args) { if (action == RTACTION_FLUSH) { - fprintf(stderr,"Flushing `inet6' routing table not supported\n"); + fprintf(stderr,_("Flushing `inet6' routing table not supported\n")); return(usage()); } if ((*args == NULL) || (action == RTACTION_HELP)) diff --git a/lib/inet_gr.c b/lib/inet_gr.c index 324ccd3..308c445 100644 --- a/lib/inet_gr.c +++ b/lib/inet_gr.c @@ -1,3 +1,8 @@ +/* + Modifications: + 1998-07-01 - Arnaldo Carvalho de Melo - GNU gettext instead of catgets +*/ + #include "config.h" #if HAVE_AFINET @@ -18,9 +23,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" #include "net-features.h" #include "proc.h" @@ -42,21 +45,18 @@ int rprint_fib(int ext, int numeric) return 1; } - printf(NLS_CATGETS(catfd, inetSet, inet_table, "Kernel IP routing table\n")); + printf(_("Kernel IP routing table\n")); if (ext == 1) - printf(NLS_CATGETS(catfd, inetSet, inet_header1, - "Destination Gateway Genmask " - "Flags Metric Ref Use Iface\n")); + printf(_("Destination Gateway Genmask " + "Flags Metric Ref Use Iface\n")); if (ext == 2) - printf(NLS_CATGETS(catfd, inetSet, inet_header2, - "Destination Gateway Genmask " - "Flags MSS Window irtt Iface\n")); + printf(_("Destination Gateway Genmask " + "Flags MSS Window irtt Iface\n")); if (ext >= 3) - printf(NLS_CATGETS(catfd, inetSet, inet_header3, - "Destination Gateway Genmask " - "Flags Metric Ref Use Iface " - "MSS Window irtt\n")); + printf(_("Destination Gateway Genmask " + "Flags Metric Ref Use Iface " + "MSS Window irtt\n")); irtt=0; window=0; @@ -171,18 +171,15 @@ int rprint_cache(int ext, int numeric) } if (ext == 1) - printf(NLS_CATGETS(catfd, inetSet, inet_header1, - "Destination Gateway Source " - "Flags Metric Ref Use Iface\n")); + printf(_("Destination Gateway Source " + "Flags Metric Ref Use Iface\n")); if (ext == 2) - printf(NLS_CATGETS(catfd, inetSet, inet_header2, - "Destination Gateway Source " - "Flags MSS Window irtt Iface\n")); + printf(_("Destination Gateway Source " + "Flags MSS Window irtt Iface\n")); if (ext >= 3) - printf(NLS_CATGETS(catfd, inetSet, inet_header3, - "Destination Gateway Source " - "Flags Metric Ref Use Iface " - "MSS Window irtt HH Arp\n")); + printf(_("Destination Gateway Source " + "Flags Metric Ref Use Iface " + "MSS Window irtt HH Arp\n")); fmt = proc_gen_fmt(_PATH_PROCNET_ROUTE, fp, "Iface", "%16s", diff --git a/lib/inet_sr.c b/lib/inet_sr.c index 67d8013..d741973 100644 --- a/lib/inet_sr.c +++ b/lib/inet_sr.c @@ -1,3 +1,8 @@ +/* + Modifications: + 1998-07-01 - Arnaldo Carvalho de Melo - GNU gettext instead of catgets +*/ + #include "config.h" #if HAVE_AFINET @@ -21,9 +26,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" #include "net-features.h" #if HAVE_NEW_ADDRT @@ -41,12 +44,12 @@ static int skfd = -1; static int usage(void) { - fprintf(stderr,"Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]\n"); - fprintf(stderr," inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]\n"); - fprintf(stderr," [netmask N] [mss Mss] [window W] [irtt I]\n"); - fprintf(stderr," [mod] [dyn] [reinstate] [[dev] If]\n"); - fprintf(stderr," inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject\n"); - fprintf(stderr," inet_route [-FC] flush NOT aupported\n"); + fprintf(stderr,_("Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]\n")); + fprintf(stderr,_(" inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]\n")); + fprintf(stderr,_(" [netmask N] [mss Mss] [window W] [irtt I]\n")); + fprintf(stderr,_(" [mod] [dyn] [reinstate] [[dev] If]\n")); + fprintf(stderr,_(" inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject\n")); + fprintf(stderr,_(" inet_route [-FC] flush NOT aupported\n")); return(E_USAGE); } @@ -157,8 +160,7 @@ static int INET_setroute(int action, int options, char **args) return (E_LOOKUP); } if (isnet) { - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_cant_use, - "route: %s: cannot use a NETWORK as gateway!\n"), + fprintf(stderr, _("route: %s: cannot use a NETWORK as gateway!\n"), gateway); return (E_OPTERR); } @@ -175,7 +177,7 @@ static int INET_setroute(int action, int options, char **args) args++; if(rt.rt_mss<64||rt.rt_mss>32768) { - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_MSS, "route: Invalid MSS.\n")); + fprintf(stderr, _("route: Invalid MSS.\n")); return(E_OPTERR); } continue; @@ -189,7 +191,7 @@ static int INET_setroute(int action, int options, char **args) args++; if(rt.rt_window<128) { - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_window, "route: Invalid window.\n")); + fprintf(stderr, _("route: Invalid window.\n")); return(E_OPTERR); } continue; @@ -206,7 +208,7 @@ static int INET_setroute(int action, int options, char **args) #if 0 /* FIXME: do we need to check anything of this? */ if(rt.rt_irtt<1||rt.rt_irtt> (120*HZ)) { - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_irtt, "route: Invalid initial rtt.\n")); + fprintf(stderr, _("route: Invalid initial rtt.\n")); return(E_OPTERR); } #endif @@ -266,19 +268,16 @@ static int INET_setroute(int action, int options, char **args) if (mask_in_addr(rt)) { __u32 mask = ~ntohl(mask_in_addr(rt)); if ((rt.rt_flags & RTF_HOST) && mask != 0xffffffff) { - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_netmask1, - "route: netmask %.8x doesn't make sense with host route\n"), mask); + fprintf(stderr, _("route: netmask %.8x doesn't make sense with host route\n"), mask); return(E_OPTERR); } if (mask & (mask+1)) { - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_netmask2, - "route: bogus netmask %s\n"), netmask); + fprintf(stderr, _("route: bogus netmask %s\n"), netmask); return(E_OPTERR); } mask = ((struct sockaddr_in *) &rt.rt_dst)->sin_addr.s_addr; if (mask & ~mask_in_addr(rt)) { - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_netmask3, - "route: netmask doesn't match route address\n")); + fprintf(stderr, _("route: netmask doesn't match route address\n")); return(E_OPTERR); } } @@ -316,11 +315,11 @@ static int INET_setroute(int action, int options, char **args) int INET_rinput(int action, int options, char **args) { if (action == RTACTION_FLUSH) { - fprintf(stderr,"Flushing `inet' routing table not supported\n"); + fprintf(stderr,_("Flushing `inet' routing table not supported\n")); return(usage()); } if (options & FLAG_CACHE) { - fprintf(stderr,"Modifying `inet' routing cache not supported\n"); + fprintf(stderr,_("Modifying `inet' routing cache not supported\n")); return(usage()); } if ((*args == NULL) || (action == RTACTION_HELP)) @@ -9,6 +9,9 @@ * Public License as published by the Free Software * Foundation; either version 2 of the License, or (at * your option) any later version. + * Modifications: + * 1998-07-01 - Arnaldo Carvalho de Melo - GNU gettext instead of catgets, + * snprintf instead of sprintf */ #include "config.h" @@ -27,8 +30,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" #if (IPX_NODE_LEN != 6) #error "IPX_NODE_LEN != 6" @@ -48,15 +50,15 @@ IPX_print(unsigned char *ptr) break; if (t && ntohl(sipx->sipx_network)) - sprintf(buff,"%08lX:%02X%02X%02X%02X%02X%02X", + snprintf(buff,sizeof(buff),"%08lX:%02X%02X%02X%02X%02X%02X", (long int)ntohl(sipx->sipx_network), (int)sipx->sipx_node[0],(int)sipx->sipx_node[1], (int)sipx->sipx_node[2],(int)sipx->sipx_node[3], (int)sipx->sipx_node[4],(int)sipx->sipx_node[5]); else if (!t && ntohl(sipx->sipx_network)) - sprintf(buff,"%08lX", (long int)ntohl(sipx->sipx_network)); + snprintf(buff,sizeof(buff),"%08lX", (long int)ntohl(sipx->sipx_network)); else if (t && !ntohl(sipx->sipx_network)) - sprintf(buff,"%02X%02X%02X%02X%02X%02X", + snprintf(buff,sizeof(buff),"%02X%02X%02X%02X%02X%02X", (int)sipx->sipx_node[0],(int)sipx->sipx_node[1], (int)sipx->sipx_node[2],(int)sipx->sipx_node[3], (int)sipx->sipx_node[4],(int)sipx->sipx_node[5]); @@ -73,7 +75,7 @@ IPX_sprint(struct sockaddr *sap, int numeric) static char buf[64]; if (sap->sa_family != AF_IPX) - return(NLS_CATBUFF (catfd, ipxSet, ipx_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof (buf)); return(IPX_print(sap->sa_data)); } diff --git a/lib/ipx_gr.c b/lib/ipx_gr.c index 91110df..42a5cb9 100644 --- a/lib/ipx_gr.c +++ b/lib/ipx_gr.c @@ -1,4 +1,9 @@ /* support for ap->rresolv missing */ +/* + Modifications: + 1998-07-01 - Arnaldo Carvalho de Melo - GNU gettext instead of catgets, + snprintf instead of sprintf +*/ #include "config.h" @@ -17,8 +22,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" /* UGLY */ @@ -34,15 +38,14 @@ int IPX_rprint(int options) struct aftype *ap; struct sockaddr sa; - printf(NLS_CATGETS(catfd, ipxSet, ipx_table, "Kernel IPX routing table\n")); /* xxx */ + printf(_("Kernel IPX routing table\n")); /* xxx */ if ((ap = get_afntype(AF_IPX)) == NULL) { EINTERN("lib/ipx_rt.c","AF_IPX missing"); return(-1); } - printf(NLS_CATGETS(catfd, ipxSet, ipx_header1, - "Destination Router Net Router Node\n")); + printf(_("Destination Router Net Router Node\n")); if ((fp = fopen(_PATH_PROCNET_IPX_ROUTE, "r")) == NULL) { perror(_PATH_PROCNET_IPX_ROUTE); diff --git a/lib/ipx_sr.c b/lib/ipx_sr.c index dc458e4..74fb591 100644 --- a/lib/ipx_sr.c +++ b/lib/ipx_sr.c @@ -19,8 +19,7 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" #include "net-features.h" @@ -40,7 +39,7 @@ static int usage(void) int IPX_rinput(int action, int ext, char **args) { - fprintf(stderr,"IPX: this needs to be written\n"); + fprintf(stderr,_("IPX: this needs to be written\n")); return(0); } #endif /* HAVE_AFIPX */ diff --git a/lib/loopback.c b/lib/loopback.c index ae2b04b..8c9f4c1 100644 --- a/lib/loopback.c +++ b/lib/loopback.c @@ -6,6 +6,9 @@ * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation * + * Modifications: + * 1998-07-01 - Arnaldo Carvalho de Melo - GNU gettext instead of catgets + * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software @@ -25,9 +28,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" /* Display an UNSPEC address. */ static char * @@ -53,7 +54,7 @@ pr_sunspec(struct sockaddr *sap) static char buf[64]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, loopbackSet, loopback_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof (buf)); return(pr_unspec(sap->sa_data)); } diff --git a/lib/masq_info.c b/lib/masq_info.c index 477cbba..339ee88 100644 --- a/lib/masq_info.c +++ b/lib/masq_info.c @@ -17,6 +17,8 @@ * Jos Vos' ipfwadm 2.0beta1 *950218 {0.02} Bernd Eckenfels: <linux/if.h> added * + *980405 {0.03} Arnaldo Carvalho: i18n CATGETS -> gettext + * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software @@ -44,8 +46,7 @@ #include "pathnames.h" #include "version.h" #include "config.h" -#include "net-locale.h" - +#include "intl.h" #include "net-features.h" #if HAVE_FW_MASQUERADE @@ -203,13 +204,13 @@ int ip_masq_info(int numeric, int ext) ntotal += nread; if (ntotal > 0) { - printf(NLS_CATGETS(catfd, libSet, lib_masq, "IP masquerading entries\n")); + printf(_("IP masquerading entries\n")); switch(ext) { case 1: - printf(NLS_CATGETS(catfd, libSet, lib_masq_tit1, "prot expire source destination ports\n")); + printf(_("prot expire source destination ports\n")); break; default: - printf(NLS_CATGETS(catfd, libSet, lib_masq_tit2, "prot expire initseq delta prevd source destination ports\n")); + printf(_("prot expire initseq delta prevd source destination ports\n")); break; } for (i = 0; i < ntotal; i++) diff --git a/lib/net-features.h b/lib/net-features.h index fd38669..dcd6889 100644 --- a/lib/net-features.h +++ b/lib/net-features.h @@ -11,6 +11,7 @@ *960201 {0.01} Bernd Eckenfels: creation *960202 {0.02} Bernd Eckenfels: HW and AF added *960322 {0.03} Bernd Eckenfels: moved into the NET-LIB + *980630 {0.04} Arnaldo Carvalho de Melo: changed NLS for I18N * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -135,11 +136,11 @@ static char *Features= /* ---------------------------------------------------- */ -#if NLS - "+NLS" +#if I18N + "+I18N" #else - "-NLS" -#endif /* NLS */ + "-I18N" +#endif /* I18N */ "\nAF:" diff --git a/lib/net-locale.h b/lib/net-locale.h deleted file mode 100644 index e87911e..0000000 --- a/lib/net-locale.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * lib/net-locale.h Headerfile for the NLS functions - * - * NET-LIB - * - * Version: lib/net-locale.h 0.51 (1996-03-22) - * - * Author: Bernd Eckenfels <net-tools@lina.inka.de> - * Copyright 1995-1996 Bernd Eckebnfels, Germany - * - * Modifications: - *960125 {0.50} Bernd Eckenfels: included Header, reformated - *960322 {0.51} Bernd Eckenfels: moved into lib/ - * - */ -#ifndef NET_LOCALE_H -#define NET_LOCALE_H - -#if NLS -# include <locale.h> -# include <nl_types.h> - -# ifndef EXTERN -# define EXTERN -# else -# undef EXTERN -# define EXTERN extern -# endif - - EXTERN nl_catd catfd; - - char *strsave (char *); - char *str_in_buff (char *, int, char *); - -# define NLS_CATINIT catinit (); -# define NLS_CATCLOSE(catfd) catclose (catfd); -# define NLS_CATGETS(catfd, arg1, arg2, fmt) \ - catgets ((catfd), (arg1), (arg2), (fmt)) -# define NLS_CATSAVE(catfd, arg1, arg2, fmt) \ - strsave (catgets ((catfd), (arg1), (arg2), (fmt))) -# define NLS_CATBUFF(catfd, arg1, arg2, fmt, buf, len) \ - str_in_buff (buf, len, catgets ((catfd), (arg1), (arg2), (fmt))) -# include "nettools-nls.h" -#else -# define NLS_CATINIT -# define NLS_CATCLOSE(catfd) -# define NLS_CATGETS(catfd, arg1, arg2, fmt) fmt -# define NLS_CATSAVE(catfd, arg1, arg2, fmt) fmt -# define NLS_CATBUFF(catfd, arg1, arg2, fmt, buf, len) strcpy (buf, fmt) -#endif - -#endif /* NET_LOCALE_H */ diff --git a/lib/net-support.h b/lib/net-support.h index 3830b26..2b97d5f 100644 --- a/lib/net-support.h +++ b/lib/net-support.h @@ -136,11 +136,12 @@ extern char afname[]; #define EINTERN(file, text) fprintf(stderr, \ "%s: Internal Error `%s'.\n",file,text); -#define ENOSUPP(A,B) fprintf(stderr, NLS_CATGETS(catfd, libSet, lib_nofeature, \ - "%s: feature `%s' not supported.\nPlease recompile `net-tools' with newer kernel source or full configuration.\n"),A,B) +#define ENOSUPP(A,B) fprintf(stderr,\ + _("%s: feature `%s' not supported.\n" \ + "Please recompile `net-tools' with "\ + "newer kernel source or full configuration.\n"),A,B) -#define ESYSNOT(A,B) fprintf(stderr, NLS_CATGETS(catfd, libSet, lib_sysnot, \ - "%s: no support for `%s' on this system.\n"),A,B) +#define ESYSNOT(A,B) fprintf(stderr, _("%s: no support for `%s' on this system.\n"),A,B) #define E_NOTFOUND 8 #define E_SOCK 7 diff --git a/lib/netrom.c b/lib/netrom.c index aaac576..1963dbf 100644 --- a/lib/netrom.c +++ b/lib/netrom.c @@ -2,7 +2,7 @@ * lib/netrom.c This file contains an implementation of the "NET/ROM" * support functions for the NET-2 base distribution. * - * Version: @(#)netrom.c 1.20 12/16/93 + * Version: @(#)netrom.c 1.21 07/01/98 * * NOTE: I will redo this module as soon as I got the libax25.a * library sorted out. This library contains some useful @@ -11,6 +11,11 @@ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation + * + * Changes: + * 980701 {1.21} Arnaldo Carvalho de Melo - GNU gettext instead of catgets, + * strncpy instead of strcpy for + * i18n strings * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -36,15 +41,12 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" static char netrom_errmsg[128]; - extern struct aftype netrom_aftype; - static char * NETROM_print(unsigned char *ptr) { @@ -68,7 +70,7 @@ NETROM_sprint(struct sockaddr *sap, int numeric) { char buf[64]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, netromSet, netrom_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof (buf)); return(NETROM_print(((struct sockaddr_ax25 *)sap)->sax25_call.ax25_call)); } @@ -90,7 +92,7 @@ NETROM_input(int type, char *bufp, struct sockaddr *sap) c = *bufp++; if (islower(c)) c = toupper(c); if (! (isupper(c) || isdigit(c))) { - strcpy(netrom_errmsg, NLS_CATGETS (catfd, netromSet, netrom_debug1, "Invalid callsign")); + strncpy(netrom_errmsg, _("Invalid callsign"), sizeof(netrom_errmsg)); #ifdef DEBUG fprintf(stderr, "netrom_input(%s): %s !\n", netrom_errmsg, orig); #endif @@ -103,7 +105,7 @@ NETROM_input(int type, char *bufp, struct sockaddr *sap) /* Callsign too long? */ if ((i == 6) && (*bufp != '-') && (*bufp != '\0')) { - strcpy(netrom_errmsg, NLS_CATGETS (catfd, netromSet, netrom_debug2, "Callsign too long")); + strncpy(netrom_errmsg, _("Callsign too long"), sizeof(netrom_errmsg)); #ifdef DEBUG fprintf(stderr, "netrom_input(%s): %s !\n", netrom_errmsg, orig); #endif diff --git a/lib/netrom_gr.c b/lib/netrom_gr.c index f9cb3f5..9ddf448 100644 --- a/lib/netrom_gr.c +++ b/lib/netrom_gr.c @@ -2,12 +2,16 @@ * lib/netrom_gr.c This file contains an implementation of the NET/ROM * route support functions. * - * Version: lib/netrom_gr.c 0.01 (1996-02-15) + * Version: lib/netrom_gr.c 0.02 (1998-07-01) * * Author: Bernd Eckenfels, <ecki@lina.inka.de> * Copyright 1999 Bernd Eckenfels, Germany * base on Code from Jonathan Naylor <jsn@Cs.Nott.AC.UK> * + * Changes: + * 980701 {0.02} Arnaldo Carvalho de Melo GNU gettext instead of catgets + * + * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software @@ -22,8 +26,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" /* UGLY */ @@ -38,11 +41,11 @@ int NETROM_rprint(int options) if(f1==NULL||f2==NULL) { - printf(NLS_CATGETS(catfd, netstatSet, netstat_nonetrom, "NET/ROM not configured in this system.\n")); /* xxx */ + printf(_("NET/ROM not configured in this system.\n")); /* xxx */ return 1; } - printf(NLS_CATGETS(catfd, netstatSet, netstat_netrom, "Kernel NET/ROM routing table\n")); /* xxx */ - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_netrom, "Destination Mnemonic Quality Neighbour Iface\n")); /* xxx */ + printf(_("Kernel NET/ROM routing table\n")); /* xxx */ + printf(_("Destination Mnemonic Quality Neighbour Iface\n")); /* xxx */ fgets(buffer,256,f1); while(fgets(buffer,256,f1)) { diff --git a/lib/netrom_sr.c b/lib/netrom_sr.c index 3bdf0f9..7a19abf 100644 --- a/lib/netrom_sr.c +++ b/lib/netrom_sr.c @@ -20,27 +20,28 @@ #include "version.h" #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" #include "net-features.h" extern struct aftype netrom_aftype; /* static int skfd = -1; */ +/* acme: orphaned... */ +#if 0 static int usage(void) { - fprintf(stderr,"netrom usage\n"); + fprintf(stderr,_("netrom usage\n")); return(E_USAGE); } +#endif int NETROM_rinput(int action, int ext, char **args) { - fprintf(stderr,"NET/ROM: this needs to be written\n"); + fprintf(stderr,_("NET/ROM: this needs to be written\n")); return(0); } #endif /* HAVE_AFNETROM */ @@ -2,12 +2,15 @@ * lib/ppp.c This file contains the SLIP support for the NET-2 base * distribution. * - * Version: @(#)slip.c 1.10 10/07/93 + * Version: @(#)slip.c 1.12 01/07/98 * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation * * Modified by Alan Cox, May 94 to cover NET-3 + * + * Changes: + * 980701 {1.12} Arnaldo Carvalho de Melo - GNU gettext instead of catgets * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -33,15 +36,13 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" /* Start the PPP encapsulation on the file descriptor. */ static int do_ppp(int fd) { - fprintf(stderr,NLS_CATGETS(catfd, pppSet, ppp_cant_start, "You cannot start PPP with this program.\n")); + fprintf(stderr,_("You cannot start PPP with this program.\n")); return -1; } diff --git a/lib/ppp_ac.c b/lib/ppp_ac.c index e2bb2d3..8e6985f 100644 --- a/lib/ppp_ac.c +++ b/lib/ppp_ac.c @@ -30,14 +30,12 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - +#include "intl.h" /* Start the VJ-SLIP encapsulation on the file descriptor. */ int PPP_activate(int fd) { - fprintf(stderr,"Sorry, use pppd!\n"); /* FIXME */ + fprintf(stderr,_("Sorry, use pppd!\n")); /* FIXME */ return(-1); } @@ -33,8 +33,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" #if __GLIBC__ >= 2 #include <netrose/rose.h> @@ -49,7 +48,7 @@ ROSE_print(unsigned char *ptr) { static char buff[12]; - sprintf(buff,"%02x%02x%02x%02x%02x",ptr[0],ptr[1],ptr[2],ptr[3],ptr[4]); + snprintf(buff,sizeof(buff),"%02x%02x%02x%02x%02x",ptr[0],ptr[1],ptr[2],ptr[3],ptr[4]); buff[10] = '\0'; return(buff); } @@ -58,10 +57,9 @@ ROSE_print(unsigned char *ptr) static char * ROSE_sprint(struct sockaddr *sap, int numeric) { - static char buf[64]; - if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, roseSet, rose_none, "[NONE SET]", buf, 64)); + return _("[NONE SET]"); + return(ROSE_print(((struct sockaddr_rose *)sap)->srose_addr.rose_addr)); } @@ -77,7 +75,7 @@ ROSE_input(int type, char *bufp, struct sockaddr *sap) /* Node address the correct length ? */ if (strlen(bufp)!=10) { - strcpy(ROSE_errmsg, NLS_CATGETS (catfd, roseSet, rose_debug2, "Node address must be ten digits")); + strcpy(ROSE_errmsg, _("Node address must be ten digits")); #ifdef DEBUG fprintf(stderr, "rose_input(%s): %s !\n", ROSE_errmsg, orig); #endif @@ -115,10 +113,9 @@ ROSE_herror(char *text) static char * ROSE_hprint(struct sockaddr *sap) { - static char buf[64]; - if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, roseSet, rose_none, "[NONE SET]", buf, 64)); + return _("[NONE SET]"); + return(ROSE_print(((struct sockaddr_rose *)sap)->srose_addr.rose_addr)); } diff --git a/lib/rose_gr.c b/lib/rose_gr.c index b599ec3..182c720 100644 --- a/lib/rose_gr.c +++ b/lib/rose_gr.c @@ -36,8 +36,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" int ROSE_rprint(int options) { @@ -47,11 +46,11 @@ int ROSE_rprint(int options) if(f==NULL) { - printf(NLS_CATGETS(catfd, netstatSet, netstat_norose, "ROSE not configured in this system.\n")); /* xxx */ + printf(_("ROSE not configured in this system.\n")); /* xxx */ return 1; } - printf(NLS_CATGETS(catfd, netstatSet, netstat_rose, "Kernel ROSE routing table\n")); /* xxx */ - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_rose, "Destination Iface Use\n")); /* xxx */ + printf(_("Kernel ROSE routing table\n")); /* xxx */ + printf(_("Destination Iface Use\n")); /* xxx */ fgets(buffer,256,f); while(fgets(buffer,256,f)) { diff --git a/lib/setroute.c b/lib/setroute.c index f55633f..482f1c1 100644 --- a/lib/setroute.c +++ b/lib/setroute.c @@ -30,7 +30,7 @@ #include "pathnames.h" #include "version.h" #include "config.h" -#include "net-locale.h" +#include "intl.h" extern struct aftype unspec_aftype; extern struct aftype unix_aftype; @@ -75,12 +75,12 @@ route_edit(int action, const char *afname, int options, char **argv) ap = get_aftype(afname); if (!ap) { - fprintf(stderr,NLS_CATGETS(catfd, netstatSet, netstat_route_no_support, "Address family `%s' not supported.\n"),afname); + fprintf(stderr,_("Address family `%s' not supported.\n"),afname); return(E_OPTERR); } if (!ap->rinput) { - fprintf(stderr,NLS_CATGETS(catfd, netstatSet, netstat_type_no_route, "No routing for address family `%s'.\n"),ap->name); + fprintf(stderr,_("No routing for address family `%s'.\n"),ap->name); return(E_OPTERR); } @@ -32,9 +32,6 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - struct hwtype sit_hwtype = { "sit", NULL, /*"IPv6-in-IPv4",*/ ARPHRD_SIT, 0, @@ -32,8 +32,6 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" struct hwtype slip_hwtype = { diff --git a/lib/slip_ac.c b/lib/slip_ac.c index 586d282..2d78efb 100644 --- a/lib/slip_ac.c +++ b/lib/slip_ac.c @@ -34,8 +34,6 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" /* Set the line discipline of a terminal line. */ @@ -29,7 +29,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" - +#include "intl.h" extern struct hwtype tr_hwtype; @@ -40,7 +40,7 @@ pr_tr(unsigned char *ptr) { static char buff[64]; - sprintf(buff, "%02X:%02X:%02X:%02X:%02X:%02X", + snprintf(buff, sizeof(buff), "%02X:%02X:%02X:%02X:%02X:%02X", (ptr[0] & 0377), (ptr[1] & 0377), (ptr[2] & 0377), (ptr[3] & 0377), (ptr[4] & 0377), (ptr[5] & 0377) ); @@ -78,7 +78,7 @@ in_tr(char *bufp, struct sockaddr *sap) else if (c >= 'A' && c <= 'F') val = c - 'A' + 10; else { #ifdef DEBUG - fprintf(stderr, "in_tr(%s): invalid token ring address!\n", orig); + fprintf(stderr, _("in_tr(%s): invalid token ring address!\n"), orig); #endif errno = EINVAL; return(-1); @@ -90,7 +90,7 @@ in_tr(char *bufp, struct sockaddr *sap) else if (c >= 'A' && c <= 'F') val |= c - 'A' + 10; else { #ifdef DEBUG - fprintf(stderr, "in_tr(%s): invalid token ring address!\n", orig); + fprintf(stderr, _("in_tr(%s): invalid token ring address!\n"), orig); #endif errno = EINVAL; return(-1); @@ -102,7 +102,7 @@ in_tr(char *bufp, struct sockaddr *sap) if (*bufp == ':') { if (i == TR_ALEN) { #ifdef DEBUG - fprintf(stderr, "in_tr(%s): trailing : ignored!\n", + fprintf(stderr, _("in_tr(%s): trailing : ignored!\n"), orig) #endif ; /* nothing */ @@ -114,7 +114,7 @@ in_tr(char *bufp, struct sockaddr *sap) /* That's it. Any trailing junk? */ if ((i == TR_ALEN) && (*bufp != '\0')) { #ifdef DEBUG - fprintf(stderr, "in_tr(%s): trailing junk!\n", orig); + fprintf(stderr, _("in_tr(%s): trailing junk!\n"), orig); errno = EINVAL; return(-1); #endif diff --git a/lib/tunnel.c b/lib/tunnel.c index 4867e4a..4a72d8f 100644 --- a/lib/tunnel.c +++ b/lib/tunnel.c @@ -18,9 +18,6 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" - extern struct hwtype ether_hwtype; @@ -27,8 +27,7 @@ #include <unistd.h> #include "net-support.h" #include "pathnames.h" -#define EXTERN -#include "net-locale.h" +#include "intl.h" /* Display an UNSPEC address. */ @@ -55,7 +54,7 @@ UNSPEC_sprint(struct sockaddr *sap, int numeric) static char buf[64]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, unixSet, unix_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof(buf)); return(UNSPEC_print(sap->sa_data)); } @@ -77,7 +76,7 @@ UNIX_sprint(struct sockaddr *sap, int numeric) static char buf[64]; if (sap->sa_family == 0xFFFF || sap->sa_family == 0) - return(NLS_CATBUFF (catfd, unixSet, unix_none, "[NONE SET]", buf, 64)); + return strncpy (buf, _("[NONE SET]"), sizeof(buf)); return(UNIX_print(sap->sa_data)); } diff --git a/man/Makefile b/man/Makefile index f29d675..e4ec7cd 100644 --- a/man/Makefile +++ b/man/Makefile @@ -5,12 +5,15 @@ # NET-3 Networking Distribution for the LINUX operating # system. # -# Version: Makefile 0.01 (1996-03-22) +# Version: Makefile 0.02 (1998-07-01) # -# Author: Bernd Eckenfels <net-tools@lina.inka.de> +# Authors: Bernd Eckenfels <net-tools@lina.inka.de> +# Arnaldo Carvalhoa de Melo <acme@conectiva.com.br> # Copyright 1995-1996 Bernd Eckebnfels, Germany +# 1998 Arnaldo Carvalho de Melo, Brazil # #960322 {0.01} Bernd Eckenfels: creation to make main Makefile cleaner +#980701 {0.02} Arnaldo C. Melo: making the main Makefile *more* cleaner :) # # This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General @@ -19,6 +22,7 @@ # your option) any later version. # +INSTALL=install all: @@ -28,4 +32,23 @@ clean: clobber: clean +install: + LANGS=`ls -d * | grep -v Makefile` ; \ + for LANG in $$LANGS; do \ + cd $$LANG; \ + for SECTION in 1 8; do \ + if [ "$$LANG" = "en_US" ] ; then \ + MAN_DIR=${BASEDIR}/usr/man/man$$SECTION; \ + else \ + MAN_DIR=${BASEDIR}/usr/man/$$LANG/man$$SECTION; \ + fi ; \ + $(INSTALL) -d -m 755 -o 0 -g 0 $$MAN_DIR; \ + CMDS=`ls *.$$SECTION`; \ + for CMD in $$CMDS; do \ + $(INSTALL) -m 644 -o 0 -g 0 $$CMD $$MAN_DIR; \ + done; \ + done; \ + cd ..; \ + done + # End of man/Makefile. diff --git a/man/en_US.88591/arp.8 b/man/en_US/arp.8 index b6dc42b..b6dc42b 100644 --- a/man/en_US.88591/arp.8 +++ b/man/en_US/arp.8 diff --git a/man/en_US.88591/dnsdomainname.1 b/man/en_US/dnsdomainname.1 index 1f45128..1f45128 100644 --- a/man/en_US.88591/dnsdomainname.1 +++ b/man/en_US/dnsdomainname.1 diff --git a/man/en_US.88591/domainname.1 b/man/en_US/domainname.1 index 1f45128..1f45128 100644 --- a/man/en_US.88591/domainname.1 +++ b/man/en_US/domainname.1 diff --git a/man/en_US.88591/ethers.5 b/man/en_US/ethers.5 index f3ba116..f3ba116 100644 --- a/man/en_US.88591/ethers.5 +++ b/man/en_US/ethers.5 diff --git a/man/en_US.88591/hostname.1 b/man/en_US/hostname.1 index aee2da0..aee2da0 100644 --- a/man/en_US.88591/hostname.1 +++ b/man/en_US/hostname.1 diff --git a/man/en_US.88591/ifconfig.8 b/man/en_US/ifconfig.8 index b849d02..72876ac 100644 --- a/man/en_US.88591/ifconfig.8 +++ b/man/en_US/ifconfig.8 @@ -160,10 +160,7 @@ Set the multicast flag on the interface. This should not normally be needed as the drivers set the flag correctly themselves. .TP .B address -The address to be assigned to this interface. - -For Inet addresses you may use address/prefixlength to specify the default -netmask. +The IP address to be assigned to this interface. .TP .B txqueuelen length Set the length of the transmit queue of the device. It is useful to set this diff --git a/man/en_US.88591/netstat.8 b/man/en_US/netstat.8 index a43ff59..a43ff59 100644 --- a/man/en_US.88591/netstat.8 +++ b/man/en_US/netstat.8 diff --git a/man/en_US.88591/nisdomainname.1 b/man/en_US/nisdomainname.1 index 1f45128..1f45128 100644 --- a/man/en_US.88591/nisdomainname.1 +++ b/man/en_US/nisdomainname.1 diff --git a/man/en_US.88591/rarp.8 b/man/en_US/rarp.8 index b3e9586..b3e9586 100644 --- a/man/en_US.88591/rarp.8 +++ b/man/en_US/rarp.8 diff --git a/man/en_US.88591/route.8 b/man/en_US/route.8 index 744fe36..16cab17 100644 --- a/man/en_US.88591/route.8 +++ b/man/en_US/route.8 @@ -11,7 +11,7 @@ route \- show / manipulate the IP routing table family] .B add .RB [ \-net | \-host ] -target[/prefix] +target .RB [ netmask Nm] .RB [ gw @@ -117,11 +117,9 @@ deletes a route. adds a route. .TP -.B target [/prefix] +.B target The destination network or host. You can provide IP addresses in dotted decimal or host/network names. -Prefix is the optional network prefix length attached to targetx, which can -be used instead of the netmask parameter. .TP .B netmask Nm diff --git a/man/en_US.88591/ypdomainname.1 b/man/en_US/ypdomainname.1 index 1f45128..1f45128 100644 --- a/man/en_US.88591/ypdomainname.1 +++ b/man/en_US/ypdomainname.1 diff --git a/man/fr_FR.88591/arp.8 b/man/fr_FR/arp.8 index 045846c..045846c 100644 --- a/man/fr_FR.88591/arp.8 +++ b/man/fr_FR/arp.8 diff --git a/man/fr_FR.88591/dnsdomainname.1 b/man/fr_FR/dnsdomainname.1 index 1f45128..1f45128 100644 --- a/man/fr_FR.88591/dnsdomainname.1 +++ b/man/fr_FR/dnsdomainname.1 diff --git a/man/fr_FR.88591/domainname.1 b/man/fr_FR/domainname.1 index 1f45128..1f45128 100644 --- a/man/fr_FR.88591/domainname.1 +++ b/man/fr_FR/domainname.1 diff --git a/man/fr_FR.88591/hostname.1 b/man/fr_FR/hostname.1 index da31f87..da31f87 100644 --- a/man/fr_FR.88591/hostname.1 +++ b/man/fr_FR/hostname.1 diff --git a/man/fr_FR.88591/ifconfig.8 b/man/fr_FR/ifconfig.8 index 9551667..9551667 100644 --- a/man/fr_FR.88591/ifconfig.8 +++ b/man/fr_FR/ifconfig.8 diff --git a/man/fr_FR.88591/ipfw.8 b/man/fr_FR/ipfw.8 index 6f847cc..6f847cc 100644 --- a/man/fr_FR.88591/ipfw.8 +++ b/man/fr_FR/ipfw.8 diff --git a/man/fr_FR.88591/netstat.8 b/man/fr_FR/netstat.8 index fa7caa2..fa7caa2 100644 --- a/man/fr_FR.88591/netstat.8 +++ b/man/fr_FR/netstat.8 diff --git a/man/fr_FR.88591/nisdomainname.1 b/man/fr_FR/nisdomainname.1 index 1f45128..1f45128 100644 --- a/man/fr_FR.88591/nisdomainname.1 +++ b/man/fr_FR/nisdomainname.1 diff --git a/man/fr_FR.88591/rarp.8 b/man/fr_FR/rarp.8 index c7ab1c0..c7ab1c0 100644 --- a/man/fr_FR.88591/rarp.8 +++ b/man/fr_FR/rarp.8 diff --git a/man/fr_FR.88591/route.8 b/man/fr_FR/route.8 index f1d2d6b..f1d2d6b 100644 --- a/man/fr_FR.88591/route.8 +++ b/man/fr_FR/route.8 diff --git a/man/fr_FR.88591/ypdomainname.1 b/man/fr_FR/ypdomainname.1 index 1f45128..1f45128 100644 --- a/man/fr_FR.88591/ypdomainname.1 +++ b/man/fr_FR/ypdomainname.1 diff --git a/man/pt_BR/arp.8 b/man/pt_BR/arp.8 new file mode 100644 index 0000000..41c8fd6 --- /dev/null +++ b/man/pt_BR/arp.8 @@ -0,0 +1,177 @@ +.TH ARP 8 "22 de junho de 1996" "net-tools" "Manual do Programador Linux" +.SH NOME +arp \- manipula o cache ARP do sistema +.SH SINOPSE +.B arp +.RB [ \-vn ] +.RB [ "\-H tipo" ] +.RB [ "-i if" ] +.B -a +.RB [ máquina ] +.PP +.B arp +.RB [ \-v ] +.RB [ "\-i if" ] +.B "\-d máquina" +.RB [ pub ] +.RB [ nopub ] +.PP +.B arp +.RB [ \-v ] +.RB [ "\-H tipo" ] +.RB [ "\-i if" ] +.B -s máquina endereço_hardware +.RB [ temp ] +.RB [ nopub ] +.PP +.B arp +.RB [ \-v ] +.RB [ "\-H tipo" ] +.RB [ "\-i if" ] +.B -s máquina endereço_hardware +.RB [ "netmask nm" ] +.B pub +.PP +.B arp +.RB [ \-v ] +.RB [ "\-H tipo" ] +.RB [ "\-i if" ] +.B -Ds máquina ifa +.RB [ "netmask nm" ] +.B pub +.PP +.B arp +.RB [ \-vnD ] +.RB [ "\-H tipo" ] +.RB [ "-i if" ] +.B -f arquivo + +.SH DESCRIÇÃO +.B arp +manipula o cache ARP do kernel de várias maneiras. As principais opções +são remoção de uma entrada de mapeamento de endereço e configuração manual +de um endereço. Para propósitos de depuração, o programa +.B arp +também permite um dump completo do cache ARP. +.SH OPÇÕES +.TP +.B "\-v, \-\-verbose" +Mostra ao usuário o que está acontecendo, de modo detalhado. +.TP +.B "\-n, \-\-numeric" +mostra endereços numéricos, ao invés de tentar determinar os nomes simbólicos da +máquina, porta e usuário. +.TP +.B "\-H type, \-\-hw-type type" +Quando configurando ou lendo o cache ARP, este parâmetro opcional informa ao +.B arp +que classe de entradas devem ser verificadas. O valor padrão deste parâmetro é +.B ether +(i.e. código de hardware 0x01 para Ethernet IEEE 802.3 10Mbps). +Outros valores podem incluir tecnologias de rede como +.RB "ARCnet (" arcnet ")" +, +.RB "PROnet (" pronet ")" +, +.RB "AX.25 (" ax25 ")" +e +.RB "NET/ROM (" netrom ")." +.TP +.B "\-a [máquina], \-\-display [máquina]" +Mostra as entradas das máquinas especificadas. Se o parâmetro +.B máquina +não for usado, +.B todas +as entradas serão mostradas. +.TP +.B "\-d máquina, \-\-delete máquina" +Remove quaisquer entradas para a máquina especificada. Isto pode ser +usado se a máquina indicada for desligada, por exemplo. Nos kernels +mais recentes o +.BR arp (1) +suporta a especificação de +.B pub +ou +.B nopub +para decidir se uma entrada pública ou privada deve ser removida. Se você +não informar uma destas flags as duas entradas serão removidas. +.TP +.B "\-D, \-\-use-device" +Usa o endereço de hardware da interface +.BR ifa +.TP +.B "\-i If, \-\-device If" +Seleciona uma interface. Quando mostrando o cache ARP somente entradas iguais +à interface serão mostradas. Configura uma entrada ARP permanente ou +temporária que será usada no dispositivo especificado. Se nenhum dispositivo for +informado, o kernel descobre o dispositivo a partir da tabela de roteamento. +Para entradas +.B pub +a interface especificada é a interface na qual as requisições ARP serão +respondidas. +.br +.B NOTA: +Deve ser diferente da interface para a qual os pacotes IP serão roteados. +.TP +.B "\-s máquina endereço_hardware, \-\-set máquina" +Cria manualmente uma entrada de mapeamento de endereço ARP para a máquina +.B máquina +com endereço de hardware configurado para +.B endereço_hardware. +O formato do endereço de hardware depende da classe de hardware, mas +para a maioria das classes pode-se assumir que a apresentação usual pode +ser usada. Para a classe Ethernet, são 6 bytes em hexadecimal, separados +por dois pontos (:). Quando adicionando entradas proxy arp (isto é, aquelas +com a flag +.BR púb lico +setadas) uma +.B netmask +pode ser especificada para o proxy arp de uma subrede inteira. +Proxy arp para rotear redes inteiras não é um bom protocolo, mas algumas +vezes é útil, então é suportado. Se a flag +.B temp +não for fornecida, as entradas serão permanentemente armazenadas no cache ARP. +.TP +.B "\-f arquivo, \-\-file arquivo" +Similar à opção +.B \-s +só que desta vez as informações de endereços são obtidas a partir do arquivo +.B arquivo. +Isto pode ser usado se entradas ARP para muitas máquinas tiverem que ser +configuradas. O nome do arquivo de dados é freqüentemente +.IR /etc/ethers , +mas isto não é oficial. +.sp 1 +O formato deste arquivo é simples; ele somente contém linhas de texto ASCII com +um nome de máquina e um endereço de hardware separados por um espaço em branco. +Adicionalmente as flags +.BR "pub" , " nopub" , " temp" " and" " netmask" +podem ser usadas. +.LP +Em todos os lugares onde uma +.B máquina +é esperada, você também pode informar um +.B "endereço IP" +em notação decimal separada por pontos. +.LP +Cada entrada completa no cache ARP será marcada com uma flag +.BR C . +Entradas permanentes são marcadas com um +.B M +e entradas publicadas tem uma flag +.BR P . +.SH ARQUIVOS +.I /proc/net/arp, +.br +.I /etc/networks +.br +.I /etc/hosts +.br +.I /etc/ethers +.SH AUTOR +Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> com muitas melhorias +feitas pelo mantenedor do net-tools, Bernd Eckenfels <net-tools@lina.inka.de>. +Tradução para a língua portuguesa feita por +Arnaldo Carvalho de Melo <acme@conectiva.com.br> em 11/abril/1998. +Revisado por +Jorge Luiz Godoy Filho <jorge@bestway.com.br> em 15/abril/1998. diff --git a/man/pt_BR/dnsdomainname.1 b/man/pt_BR/dnsdomainname.1 new file mode 100644 index 0000000..1f45128 --- /dev/null +++ b/man/pt_BR/dnsdomainname.1 @@ -0,0 +1 @@ +.so man1/hostname.1 diff --git a/man/pt_BR/domainname.1 b/man/pt_BR/domainname.1 new file mode 100644 index 0000000..1f45128 --- /dev/null +++ b/man/pt_BR/domainname.1 @@ -0,0 +1 @@ +.so man1/hostname.1 diff --git a/man/pt_BR/hostname.1 b/man/pt_BR/hostname.1 new file mode 100644 index 0000000..fe00879 --- /dev/null +++ b/man/pt_BR/hostname.1 @@ -0,0 +1,191 @@ +.TH HOSTNAME 1 "28 de janeiro de 1996" "net-tools" "Manual do Programador Linux" + +.SH NOME +hostname \- mostra ou configura o nome da máquina +.BR +domainname \- mostra ou configura o nome do domínio NIS/YP +.BR +dnsdomainname \- mostra o nome do domínio DNS +.BR +nisdomainname \- mostra ou configura o nome do domínio NIS/YP +.BR +ypdomainname \- mostra ou configura o nome do domínio NIS/YP + +.SH SINOPSE +.B hostname +.RB [ \-v ] +.RB [ \-a ] +.RB [ \-\-alias ] +.RB [ \-d ] +.RB [ \-\-domain ] +.RB [ \-f ] +.RB [ \-\-fqdn ] +.RB [ \-i ] +.RB [ \-\-ip-address ] +.RB [ \-\-long ] +.RB [ \-s ] +.RB [ \-\-short ] +.RB [ \-y ] +.RB [ \-\-yp ] +.RB [ \-\-nis ] + +.PP +.B hostname +.RB [ \-v ] +.RB [ \-F\ arquivo ] +.RB [ \-\-file\ arquivo ] +.RB [ máquina ] + +.PP +.B domainname +.RB [ \-v ] +.RB [ \-F\ filename ] +.RB [ \-\-file\ nome_arquivo ] +.RB [ nome ] + +.PP +.B hostname +.RB [ \-v ] +.RB [ \-h ] +.RB [ \-\-help ] +.RB [ \-V ] +.RB [ \-\-version ] + +.PP +.B dnsdomainname +.RB [ \-v ] +.LP +.B nisdomainname +.RB [ \-v ] +.LP +.B ypdomainname +.RB [ \-v ] + +.SH DESCRIÇÃO +.B hostname +é o programa usado para configurar ou mostrar o nome corrente da máquina +ou o domínio do sistema. Este nome é usado por muitos dos programas de +rede para identificar a máquina. O nome do domínio também é usado pelo +NIS/YP. + +.SS "OBTER NOME" +Quando chamado sem argumentos o programa mostra os nomes correntes: + +.LP +.B hostname +mostrará o nome do sistema conforme retornado pela função +.BR gethostname (2). + + +.LP +.B "domainname, nisdomainname, ypdomainname" +mostrará o nome do sistema conforme retornado pela função +.BR getdomainname (2). +Isto também é conhecido como o nome de domínio YP/NIS do sistema. + +.LP +.B dnsdomainname +mostrara a parte do domínio do FQDN (Nome de domínio completamente qualificado). +O FQDN do sistema é retornado pelo comando +.BR "hostname \-\-fqdn" . + +.SS "CONFIGURAR NOME" +Quando chamado com um argumento ou com a opção +.B \-\-file +, o comando configura o nome da máquina ou do domínio NIS/YP. + +.LP +Note que somente o super usuário pode mudar os nomes. + +.LP +Nao é possível configurar o FQDN ou o nome do domínio DNS com o comando +.B dnsdomainname +(veja +.B "O FQDN" +abaixo). + +.LP +O nome da máquina é normalmente configurado durante a inicialização do sistema, +em +.I /etc/rc.d/rc.inet1 +ou +.I /etc/init.d/boot +(normalmente lendo o conteúdo de um arquivo que contém o nome da máquina, ex.: +.IR /etc/hostname ). + +.SS O FQDN +Você não pode mudar o FQDN (conforme retornado por +.BR "hostname \-\-fqdn" ) +ou o nome do domínio DNS (conforme retornado por +.BR "dnsdomainname" ) +com este comando. O FQDN do sistema é o nome que o +.BR resolver (3) +retorna para o nome da máquina. + +.LP +Tecnicamente: O FQDN é o nome retornado pelo +.BR gethostbyname (2) +para o nome retornado pelo +.BR gethostname (2). +O nome do domínio DNS é a parte após o primeiro ponto. +.LP +Portanto isto depende da configuração (normalmente em +.IR /etc/host.conf ) +para que você possa mudá-lo. Normalmente (se o arquivo hosts for lido antes +do DNS ou NIS) você pode mudá-lo em +.IR /etc/hosts . + + +.SH OPÇÕES +.TP +.I "\-a, \-\-alias" +Mostra o alias da máquina (se usado). +.TP +.I "\-d, \-\-domain" +Mostra o nome do domínio DNS. Não use o comando +.B domainname +para obter o nome do domínio DNS porque ele mostrará o nome do domínio NIS e +não o nome do domínio DNS. Use +.BR dnsdomainname . +.TP +.I "\-F, \-\-file arquivo" +Leia o nome da máquina a partir do arquivo especificado. Comentários (linhas +começando com um `#') são ignorados. +.TP +.I "\-f, \-\-fqdn, \-\-long" +Mostra o FQDN (Nome de Domínio Completamente Qualificado). Um FQDN consiste de +um nome curto de máquina e do nome do domínio DNS. A menos que você esteja +usando bind ou NIS para resolução de nomes você pode mudar o FQDN e o nome +do domínio DNS (que é parte do FQDN) no arquivo \fI/etc/hosts\fR. +.TP +.I "\-h, \-\-help" +Mostra uma mensagem sobre como utilizar o comando e termina. +.TP +.I "\-i, \-\-ip-address" +Mostra o(s) endereço(s) IP da máquina. +.TP +.I "\-s, \-\-short" +Mostra o nome curto da máquina. É o nome da máquina até o primeiro ponto. +.TP +.I "\-V, \-\-version" +Mostra informação de versão na saída padrão e termina com sucesso. +.TP +.I "\-v, \-\-verbose" +Mostra uma saída detalhada do que está acontecendo. +.TP +.I "\-y, \-\-yp, \-\-nis" +Mostra o nome do domínio NIS. Se um parâmetro for especificado (ou +.B \-\-file arquivo +) então o root também pode configurar um novo domínio NIS. +.SH ARQUIVOS +.B /etc/hosts +.SH AUTOR +Peter Tobias, <tobias@et-inf.fho-emden.de> +.BR +Bernd Eckenfels, <net-tools@lina.inka.de> (NIS e página man). +.BR +Arnaldo Carvalho de Melo, <acme@conectiva.com.br> Tradução para a língua +portuguesa. +.BR +Jorge Luiz Godoy Filho, <jorge@bestway.com.br> Revisão. +.BR diff --git a/man/pt_BR/ifconfig.8 b/man/pt_BR/ifconfig.8 new file mode 100644 index 0000000..4f4eec5 --- /dev/null +++ b/man/pt_BR/ifconfig.8 @@ -0,0 +1,162 @@ +.TH IFCONFIG 8 "10 de fevereiro de 1996" "net-tools" "Manual do Programador Linux" +.SH NOME +ifconfig \- configura uma interface de rede +.SH SINOPSE +.B "ifconfig [interface]" +.br +.B "ifconfig interface [aftype] opções | endereços ..." +.SH DESCRIÇÃO +.B ifconfig +é usado para configurar (e posteriormente manter) as interfaces de +rede. É usado durante o boot para configurar a maioria delas para +um estado usável. Depois disto, é normalmente somente necessário +durante depurações ou quando for necessária uma configuração fina +do sistema. +.LP +Se nenhum argumento for informado, +.B ifconfig +somente mostra o estado das interfaces correntemente definidas. Se +um argumento +.B interface +for informado, ele mostra somente o estado da interface informada. De +outra forma ele assume que os parâmetros devem ser configurados. +.SH Famílias de Endereçamento +Se o primeiro argumento após o nome da interface for reconhecido +como um nome de uma família de endereçamento suportada, esta família +de endereçamento é usada na decodificação e apresentação de todos +os endereços de protocolos. Atualmente as famílias de endereçamento +suportadas incluem +.B inet +(TCP/IP, default) +.B ax25 +(AMPR Packet Radio), +.B ddp +(Appletalk Phase 2), +.B ipx +(Novell IPX) and +.B netrom +(AMPR Packet radio). +.SH OPÇÕES +.TP +.B interface +O nome da interface de rede. Usualmente é um nome como +.B eth0 +, +.B sl3 +ou algo parecido: um nome de driver de dispositivo seguido por um +número. +.TP +.B up +Esta flag causa a ativação da interface. É especificada +implicitamente se a interface receber um novo endereço (veja +abaixo). +.TP +.B down +Esta flag desativa o driver desta interface, é útil quando alguma +coisa começar a ter problemas. +.TP +.B "[\-]arp" +Habilita ou desabilita o uso do protocolo ARP para esta interface. Se +o sinal de menos (\-) estiver presente a opção é desligada. +.TP +.B "[\-]trailers" +Habilita ou desabilita o uso de trailer em frames Ethernet. Não é +utilizada na implementação atual do pacote net-tools. +.TP +.B "[\-]allmulti" +Habilita ou desabilita o modo +.B promiscuous +da interface. Isto significa que todos os frames passarão pela camada +de rede do kernel, permitindo monitoração da rede. +.TP +.B "metric N" +Este parâmetro configura a métrica da interface. Não é usado atualmente, +mas será implementado no futuro. +.TP +.B "mtu N" +Este parâmetro configura a Unidade Máxima de Transferência (MTU) de uma +interface. Para Ethernet é um número entre 1000-2000 (o padrão é +1500). Para SLIP, use algo entre 200 e 4096. Note que a implementação +atual não manipula fragmentação IP ainda, então é melhor configurar +a MTU com um tamanho adequado! +.TP +.B "dstaddr addr" +Configura o endereço IP do "outro lado" no caso de um link Ponto-A-Ponto, +como PPP. Esta palavra-chave tornou-se obsoleta e deve ser usada a nova +palavra-chave +.BR pointopoint . +.TP +.B "netmask addr" +Configura a máscara de rede IP para esta interface. Este valor assume o +padrão usual das classes A, B ou C (deduzindo-o a partir do endereço +IP da interface), mas pode ser configurado para qualquer valor para o +uso de sub-redes. + +.TP +.B "irq addr" +Configura a linha de interrupção (IRQ) usada por este dispositivo. Muitos +dispositivos não suportam configuração dinâmica de IRQ. +.TP +.B "[-]broadcast [endereço]" +Se o argumento endereço for informado, configura o endereço de protocolo +broadcast para esta interface. De outra forma ele somente configura a flag +.B IFF_BROADCAST +da interface. Se a palavra-chave for precedida por um sinal de menos +.B (-) +, então a flag é removida. +.TP +.B "[-]pointopoint [endereço]" +Esta palavra-chave habilita o modo +.B ponto-a-ponto +da interface, significando que ela é um link direto entre duas máquinas +sem ninguém ouvindo (ou, pelo menos nós esperamos que este seja o caso +:-) +.BR +Se o argumento endereço for informado, configura o endereço de protocolo +do outro lado do link, exatamente como a palavra-chave obsoleta +.B dstaddr +faz. De outra forma, ela somente configura a flag +.B IFF_POINTOPOINT +da interface. Se a palavra-chave for precedida por um sinal de menos +.B (-) +, então a flag é removida. +.TP +.B "hw" +Configura o endereço de hardware para esta interface, se o driver do +dispositivo suportar esta operação. A palavra-chave deve ser seguida +pelo nome da classe do hardware e o equivalente em ASCII do endereço +de hardware. As classes de hardware atualmente suportadas incluem +.B ether +(Ethernet), +.B ax25 +(AMPR AX.25), +.B ARCnet +e +.B netrom +(AMPR NET/ROM). +.TP +.B multicast +Inicializa a flag de multicast para a interface. Normalmente, isto não será +necessário já que os drivers ajustam as flags corretas por si só. +.TP +.B endereço +O nome ou endereço IP da máquina (um nome de máquina será traduzido para +um endereço IP) da interface. Este parâmetro é necessário, apesar +da sintaxe atualmente não requisitá-lo. +.SH ARQUIVOS +.I /proc/net/socket +.br +.I /proc/net/dev +.br +.I /etc/init.d/network +.SH BUGS +Os endereços appletalk DDP e IPX serão mostrados, mas não podem ser alterados +com este comando. +.SH AUTORES +Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> +Alan Cox, <Alan.Cox@linux.org> +.SH TRADUÇÃO E REVISÃO PARA A LÍNGUA PORTUGUESA +Arnaldo Carvalho de Melo <acme@conectiva.com.br> (tradução) +.BR +Jorge Luiz Godoy Filho <jorge@bestway.com.br> (revisão) + diff --git a/man/pt_BR/netstat.8 b/man/pt_BR/netstat.8 new file mode 100644 index 0000000..dd18a2b --- /dev/null +++ b/man/pt_BR/netstat.8 @@ -0,0 +1,462 @@ +.\" +.\" netstat.8 +.\" +.\" Original: (mdw@tc.cornell.edu & dc6iq@insu1.etec.uni-karlsruhe.de) +.\" +.\" Modificado por: Bernd.Eckenfels@inka.de +.\" Traduzido para português por Arnaldo Carvalho de Melo <acme@conectiva.com.br> +.\" Revisado por Jorge Luiz Godoy Filho <jorge@bestway.com.br> +.\" +.TH NETSTAT 8 "19 de maio de 1997" "net-tools" "Manual do Programador Linux" + +.SH NOME +netstat \- Mostra conexões de rede, tabelas de roteamento, estatísticas de interface e conexões +mascaradas. +.SH SINOPSE + +.B netstat +.RB [ \-venaoc ] +.RB [ \-\-tcp | \-t ] +.RB [ \-\-udp | \-u ] +.RB [ \-\-raw | \-w ] +.RB [ \-\-unix | \-u ] +.RB [ \-\-inet | \-\-ip ] +.RB [ \-\-ax25 ] +.RB [ \-\-ipx ] +.RB [ \-\-netrom ] + +.PP + +.B netstat +.RB [ \-veenc ] +.RB [ \-\-inet ] +.RB [ \-\-ipx ] +.RB [ \-\-netrom ] +.RB [ \-\-ddp ] +.RB [ \-\-ax25 ] +.RB { \-\-route | \-r } + +.PP + +.B netstat +.RB [ \-veenac ] +.RB { \-\-interfaces | \-i } +.RI [ iface ] + +.PP + +.B netstat +.RB [ \-enc ] +.RB { \-\-masquerade | \-M } + +.PP + +.B netstat +.\".RB [ \-cn ] +.RB { \-\-statistics | \-s } + +.PP + +.B netstat +.RB { \-V | \-\-version } +.RB { \-h | \-\-help } + +.PP +.SH DESCRIÇÃO +.B netstat +mostra informações do subsistema de rede do Linux. + +.SS "(sem opções)" +Você pode ver o estado das conexões de rede através da listagem dos sockets +abertos. Esta é a operação padrão: se você não especificar nenhuma +família de endereços, os sockets ativos de todas as famílias de endereços +configuradas serão mostrados. Com +.B -e +você obterá informações adicionais (userid). Com a chave +.B -v +você poderá fazer com que o netstat reclame sobre famílias de endereços +conhecidas que não sejam suportadas pelo kernel. A opção +.B -o +mostra algumas informações adicionais sobre temporizadores de rede. +.B -a +mostra todos os sockets, incluindo sockets de servidores. A família de +endereços +.B inet +mostrará sockets raw, udp e tcp. + +.SS "\-r, \-\-route" +Com a opção +.BR \-r ", " \-\-route +você obterá as tabelas de roteamento do kernel no mesmo formato usado por +.BR "route -e" . +.B "netstat -er" +usará o formato de apresentação do comando +.BR route . +Por favor veja +.BR route (8) +para maiores detalhes. + +.SS "\-i, \-\-interface \fIiface\fI" +Se você usar a opção +.BR -i ", " --interfaces +, uma tabela de todas (ou da +.IR iface +especificada) as interfaces de rede será mostrada. A saída usa o formato +.B "ifconfig -e" +, e é descrita em +.BR ifconfig (8). +.B "netstat -ei" +mostrará uma tabela ou uma entrada de interface como +.B ifconfig +mostra. Com a chave +.B -a +, você pode incluir interfaces que não estejam configuradas (i.e. não tem +a flag +.BR U = UP +configurada). + +.SS "\-M, \-\-masquerade" + +Uma lista de todas as sessões mascaradas também pode ser vista. Com a chave +.B -e +você pode incluir mais algumas informações sobre numeração sequencial e deltas +, causados por reescritas de dados em sessões FTP (comando PORT). +O suporte a mascaramento é usado para esconder máquinas em endereços de +rede não oficiais do resto do mundo, como descrito em +.BR ipfw (4), ipfwadm "(8) e ipfw (8). + +.SS "\-s, \-\-statistics" + +Mostra estatísticas sobre o subsistema de rede do kernel do Linux, que +são lidas a partir de +.IR /proc/net/snmp . + +.PP +.SH OPÇÕES +.SS "\-v, \-\-verbose" +Informa ao usuário o que está ocorrendo, sendo detalhado. Especialmente +mostra algumas informações úteis sobre famílias de endereços não +configuradas. + +.SS "\-n, \-\-numeric" +Mostra endereços numéricos, sem tentar resolver os nomes da máquina, porta ou +usuário. + +.SS "\-A, \-\-af \fIfamília\fI" +Usa um método diferente para configurar as famílias de endereços. +.I família +é uma lista de palavras-chave de famílias de endereços separadas por vírgulas +(',') como +.BR inet , +.BR unix , +.BR ipx , +.BR ax25 , +.B netrom +e +.BR ddp . +Tem o mesmo efeito de usar as opções longas +.BR \-\-inet , +.BR \-\-unix , +.BR \-\-ipx , +.BR \-\-ax25 , +.B \-\-netrom +e +.BR \-\-ddp. + +.SS "\-c, \-\-continuous" +Isto fará com que +.B netstat +mostre a tabela selecionada a cada segundo, continuamente na tela até que +você o interrompa. + +.PP +.SH SAÍDA + +.PP +.SS Conexões Internet Ativas \fR(TCP, UDP, RAW)\fR + +.SS "Proto" +O protocolo (tcp, udp, raw) usado pelo socket. + +.SS "Recv-Q" +O contador de bytes não copiados pelo programa conectado a este socket. + +.SS "Send-Q" +O contador de bytes não confirmados pela máquina remota. + +.SS "Endereço Local" +O endereço local (nome da máquina local) e o numero da porta do socket. A menos +que a chave +.B -n +seja especificada o endereço do socket será resolvido para seu nome de máquina +canônico e o número da porta será traduzido para o serviço correspondente. + +.SS "Endereço Remoto" +O endereço remoto (nome da máquina remota) e o número da porta do socket. Como +com o endereço local, a chave +.B -n +desliga a resolução do nome da máquina e do serviço. + +.SS "Estado" +O estado do socket. Uma vez que não existem estados no modo RAW e normalmente +nenhum estado é usado em UDP, esta linha pode ser deixada em branco. Normalmente +ele pode assumir um de vários valores: +.TP +.I +ESTABELECIDO +O socket tem uma conexão estabelecida. +.TP +.I +SYN_SENT +O socket está ativamente tentando estabelecer uma conexão. +.TP +.I +SYN_RECV +A conexão está sendo inicializada. +.TP +.I +FIN_WAIT1 +O socket está fechado e a conexão está terminando. +.TP +.I +FIN_WAIT2 +A conexão está fechada e o socket está esperando por uma terminação pela +máquina remota. +.TP +.I +TIME_WAIT +O socket está esperando após o fechamento por uma retransmissão da terminação +pelo lado remoto. +.TP +.I +FECHADO +O socket não está sendo usado. +.TP +.I +CLOSE_WAIT +O lado remoto terminou, esperando pelo fechamento do socket. +.TP +.I +ÚLTIMO_ACK +O lado remoto terminou, e o socket está fechado. Esperando por uma +confirmação. +.TP +.I +OUVINDO +O socket está ouvindo por conexões. Estes socket são somente mostrados se +a chave +.BR -a , --listening +for especificada. +.TP +.I +FECHANDO +Ambos os sockets estão terminados mas nós ainda não enviamos todos os nossos +dados. +.TP +.I +DESCONHECIDO +O estado do socket é desconhecido. + +.SS "Usuário" +O nome ou UID do dono do socket. + +.SS "Temporizador" +(precisa ser escrito) + + +.PP +.SS UNIX domain sockets Ativos + + +.SS "Proto" +O protocolo (normalmente unix) usado pelo socket. + +.SS "CntRef" +O contador de referências (i.e. processos conectados via este socket). + +.SS "Flags" +As flags mostradas são SO_ACCEPTON (mostrada como +.BR ACC ), +SO_WAITDATA +.RB ( W ) +ou SO_NOSPACE +.RB ( N ). +SO_ACCECPTON +é usada para sockets não-conectados se seus processos correspondentes +estiverem esperando por uma solicitação de conexão. As demais flags não +são de interesse comum. + +.SS "Tipos" +Há diversos tipos de acesso a sockets: +.TP +.I +SOCK_DGRAM +O socket é usado no modo de Datagramas (sem conexão). +.TP +.I +SOCK_STREAM +É um socket usado quando há conexões (stream socket). +.TP +.I +SOCK_RAW +É usado como o socket básico (raw socket). +.TP +.I +SOCK_RDM +Este é usado para confirmação de entrega de mensagens. +.TP +.I +SOCK_SEQPACKET +É um socket para um pacote sequencial. +.TP +.I +SOCK_PACKET +Socket para acesso da interface BÁSICA. +.TP +.I +UNKNOWN +Quem sabe o que nos trará o futuro? Preencha aqui :-) + +.PP +.SS "Estados" +Este campo conterá uma das seguintes palavras-chave: +.TP +.I +FREE +Este socket não está alocado. +.TP +.I +LISTENING +O socket está aguardando por uma solicitação de conexão. São mostrados +apenas se as opções +.BR -a , --listening +forem selecionadas. +.TP +.I +CONNECTING +O socket está por estabelecer uma conexão. +.TP +.I +CONNECTED +O socket está conectado. +.TP +.I +DISCONNECTING +O socket está desconectado. +.TP +.I +(nada) +O socket não está conectado a nenhum outro. +.TP +.I +UNKNOWN +Isto não deve acontecer nunca. + +.SS "Path" +Mostra o caminho (path) do processo do qual está tratando esse socket. + +.PP +.SS Sockets IPX ativos + +(Isso precisa ser feito por alguém que saiba fazê-lo.) + +.PP +.SS Sockets NET/ROM ativos + +(Isso precisa ser feito por alguém que saiba fazê-lo.) + +.PP +.SS Sockets AX.25 ativos + +(Isso precisa ser feito por alguém que saiba fazê-lo.) + +.PP +.SH FILES +.ta +.I /etc/services +-- O arquivo de "tradução" (correspondência) entre socket e serviço. + +.I /proc/net/dev +-- Informações de dispositivos. + +.I /proc/net/snmp +-- Estatísticas da rede. + +.I /proc/net/raw +-- Informação sobre o socket BÁSICO (RAW). + +.I /proc/net/tcp +-- Informação sobre o socket TCP. + +.I /proc/net/udp +-- Informação sobre o socket UDP. + +.I /proc/net/unix +-- Informação sobre o socket de domínio Unix. + +.I /proc/net/ipx +-- Informação sobre o socket IPX. + +.I /proc/net/ax25 +-- Informação sobre o socket AX25. + +.I /proc/net/appletalk +-- Informação sobre o socket DDP (Appletalk). + +.I /proc/net/nr +-- Informação sobre o socket NET/ROM. + +.I /proc/net/route +-- Informação sobre os roteamentos IP realizados pelo kernel + +.I /proc/net/ax25_route +-- Informação sobre os roteamentos AX25 realizados pelo kernel + +.I /proc/net/ipx_route +-- Informação sobre os roteamentos IPX realizados pelo kernel + +.I /proc/net/nr_nodes +-- Lista de nós NET/ROM do kernel + +.I /proc/net/nr_neigh +-- "Vizinhos" NET/ROM do kernel + +.I /proc/net/ip_masquerade +-- Conexões mascaradas do kernel + +.fi + +.PP +.SH VEJA TAMBÉM +.BR route (8), +.BR ifconfig (8), +.BR ipfw (4), +.BR ipfw (8), +.BR ipfwadm (8) + +.PP +.SH BUGS +Ocasionalmente informações estranhas podem surgir se um socket mudar +enquanto é visualizado. Isso é incomum. +.br +As opções descritas para +.B netstat -i +foram descritas como deverão funcionar após alguma limpeza da liberação +BETA do pacote net-tools. + +.PP +.SH AUTORES +A interface com o usuário foi escrita por Fred Baumgarten +<dc6iq@insu1.etec.uni-karlsruhe.de> a página do manual basicamente +por Matt Welsh <mdw@tc.cornell.edu>. Foi atualizada por +Alan Cox <Alan.Cox@linux.org> mas poderia ter sido feita com um pouco +mais de trabalho. +.BR +.LP +A página do manual e os comandos incluídos no pacote net-tools +foram totalmente reescritos desde Bernd Eckenfels +<ecki@linux.de>. +.BR +.SH TRADUÇÃO E REVISÃO PARA PORTUGUÊS +Traduzido para o português por Arnaldo Carvalho de Melo +<acme@conectiva.com.br> e Jorge Luiz Godoy Filho <jorge@bestway.com.br>. diff --git a/man/pt_BR/nisdomainname.1 b/man/pt_BR/nisdomainname.1 new file mode 100644 index 0000000..1f45128 --- /dev/null +++ b/man/pt_BR/nisdomainname.1 @@ -0,0 +1 @@ +.so man1/hostname.1 diff --git a/man/pt_BR/rarp.8 b/man/pt_BR/rarp.8 new file mode 100644 index 0000000..100950f --- /dev/null +++ b/man/pt_BR/rarp.8 @@ -0,0 +1,70 @@ +.TH RARP 8 "10 de fevereiro de 1996" "net-tools" "Manual do Programador Linux" +.SH NOME +rarp \- manipula a tabela RARP do sistema +.SH SINOPSE +.B "rarp [-v] [-t tipo] -a [máquina]" +.br +.B "rarp [-v] -d máquina ..." +.br +.B "rarp [-v] [-t tipo] -s máquina endereço_hardware" +.SH DESCRIÇÃO +.B Rarp +manipula as tabelas RARP do kernel de varias formas. As opções principais +são limpar uma entrada de mapeamento de endereços e manualmente configurar uma. +Para propósitos de depuração, o programa +.B arp +também permite um dump completo da tabela ARP. +.SH OPÇÕES +.TP +.B \-v +Informe o usuário o que esta acontecendo, sendo detalhado. +.TP +.B "\-t tipo" +quando configurando ou lendo a tabela RARP, este parâmetro opcional informa ao +.B rarp +que classe de entradas devem ser verificadas. O valor default para este parâmetro +é +.B ether +(i.e. código de hardware +.B 0x01 +para +.B "IEEE 802.3 10Mbps Ethernet." +Outros valores podem incluir tecnologias de rede como +.B AX.25 (ax25) +e +.B NET/ROM (netrom). +.TP +.B "\-a [máquina]" +Mostra as entradas dos máquinas especificadas. Se o +Mostra as entradas das máquinas especificadas. Se o parâmetro +.B máquina +não for usado +.B todas +as entradas serão mostradas. +.TP +.B "\-d máquina" +Remove a(s) entrada(s) para a máquina especificada. Isto pode ser usado se a +máquina indicada for desligada, por exemplo. +.TP +.B "\-s máquina endereço_hardware" +Cria um mapeamento de endereços RARP para a máquina +.B máquina +com endereço de hardware configurado para +.B endereço_hardware +. O formato do endereço de hardware depende da classe do hardware, mas +para a maioria das classes você pode assumir que a apresentação usual pode +ser usada. Para a classe Ethernet, são 6 bytes em hexadecimal, separados +por dois pontos (:). +.SH ATENÇÃO +Alguns arquivos (principalmente Suns velhas) assumem que a máquina respondendo +ao query ARP também podem oferecer outros serviços de boot remoto. Portanto +nunca adiciona gratuitamente entradas rarp a menos que deseje encontrar a fúria +do administrador da rede. +.SH ARQUIVOS +.I /proc/net/rarp, +.SH AUTORES +Ross D. Martin, <martin@trcsun3.eas.asu.edu> +.br +Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> +.SH TRADUÇÃO +Arnaldo Carvalho de Melo <acme@conectiva.com.br> - 13/04/1998 diff --git a/man/pt_BR/route.8 b/man/pt_BR/route.8 new file mode 100644 index 0000000..b4ece6d --- /dev/null +++ b/man/pt_BR/route.8 @@ -0,0 +1,327 @@ +.TH ROUTE 8 "27 Jan 1996" "net-tools" "Manual do Programador Linux" +.SH NOME +route \- mostra / manipula a tabela de roteamento IP +.SH SINOPSE +.B route +.RB [ \-vnee ] +.TP +.B route +.RB [ \-v ] +.B add +.RB [ \-net | \-host ] +Alvo +.RB [ netmask +Nm] +.RB [ gw +Gw] +.RB [ metric +N] +.RB [ mss +M] +.RB [ window +W] +.RB [ irtt +I] +.RB [ reject ] +.RB [ mod ] +.RB [ dyn ] +.RB [ reinstate ] +.RB [[ dev ] +If] +.TP +.B route +.RB [ \-v ] +.B del +.RB [ \-net | \-host ] +Alvo +.RB [ gw +Gw] +.RB [ netmask +Nm] +.RB [ metric +N] +.RB [[ dev ] +If] +.TP +.B route +.RB [ \-V ] +.RB [ \-\-version ] +.RB [ \-h ] +.RB [ \--help ] +.SH DESCRICAO +.B Route +manipula a tabela de roteamento IP do kernel. Seu principal uso é +configurar rotas estáticas para hosts ou redes especificadas através de +uma interface, após a mesma ter sido configurada com o programa +.BR ifconfig (8) +. + +.SH OPÇÕES +.TP +.B \-v +flag para detalhamento (não usada). + +.TP +.B \-n +mostra endereços numéricos, sem tentar resolver o nomes simbólicos das +máquinas. Útil se você esta tentando determinar por que a rota para o seu +servidor de nomes sumiu. + +.TP +.B \-e +use o formato +.BR netstat (8) +na apresentação da tabela de roteamento. +.B \-ee +produzira uma linha bem grande com todos os parâmetros da tabela de roteamento. + +.TP +.B \-net +o +.B Alvo +é o endereço de uma rede (encontrado no arquivo +.I /etc/networks +pela função +.BR getnetbyname (2) +). + +.TP +.B -host +é o endereço de uma máquina (descoberto com a função +.BR gethostbyname (2) +). + +.TP +.B (nenhum) +displays the kernel routing table. The layout can be changed with +mostra a tabela de roteamento do kernel. O layout pode ser alterado com +.B \-e +e +.B \-ee +. + +.TP +.B del +remove uma rota. + +.TP +.B add +adiciona uma rota. + +.TP +.B Alvo +A máquina ou rede destino. Você pode fornecer endereços IP em formato +decimal separado por pontos ou nomes de máquinas/redes. + +.TP +.B netmask Nm +modificador para especificar a mascara de rede da rota a ser adicionada. +Somente faz sentido para uma rota para uma rede e quanto o endereço +.B Alvo +é valido com relação a mascara especificada. Se nenhuma mascara de rede +for especificada, o comando +.B route +descobre-a, desta forma, para a maioria das configurações normais você não +precisa especificar uma mascara de rede. + +.TP +.B gw Gw +Quaisquer pacotes IP para a rede/máquina destino serão roteadas através +do gateway/roteador especificado. +.B NOTA: +O gateway especificado deve ser alcançável antes deste comando. Isto +normalmente significa que você terá que configurar uma rota estática para +o gateway antes de emitir este comando. Se você especificar o endereço +de uma de suas interfaces locais, isto será usado para decidir sobre +qual interface deve ser usada para rotear os pacotes. Isto esta disponível +para manter compatibilidade com os sistemas baseados em BSD. + +.TP +.B metric M +Configura o campo de métrica na tabela de roteamento, usado em daemons +para roteamento dinâmico. + +.TP +.B mss M +Especifica o Tamanho Máximo do Segmento TCP em Bytes (MSS) para conexões +TCP através desta rota. Isto é normalmente usado somente para otimização +fina de configurações de roteamento. O default é 536. + +.TP +.B window W +Especifica o tamanho da janela TCP para conexões TCP através desta rota. +Tipicamente somente usado para redes AX.25 e em drivers incapazes de +de tratar frames back to back. + +.TP +.B irtt I +Especifica o tempo de ida e volta inicial (irtt) para conexões TCP através +desta rota. Tipicamente usado somente em redes AX.25. O numero é especificado +em milisegundos (1-12000). Se omitido o default da RFC 1122 de 300ms é usado. + +.TP +.B reject +Instala uma rota de bloqueio, que forçará falha na procura por esta rota. +Exemplo de utilização: bloquear rotas antes do uso da rota default. +Isto não é firewalling. + +.TP +.B mod, dyn, reinstate +Instala uma rota modificada ou dinâmica. Ambas as flags são geralmente somente +configuradas por um daemon de roteamento. Somente para propósitos de diagnostico. + +.TP +.B dev If +Força a associação da rota com o dispositivo especificado, pois o kernel +de outra forma tentara determinar o dispositivo por conta própria +(através da checagem de rotas e especificações de dispositivos já existentes +e onde a rota esta adicionada). + +If +.B dev If +é a última opção na linha de comando, a palavra +.B dev +pode ser omitida, pois é o default. De outra forma a ordem dos outros +modificadores do route (metric - netmask - gw - dev) não importa. + +.SH EXEMPLOS +.TP +.B route add -net 127.0.0.0 +Adiciona a entrada para a interface loopback normal, usando mascara igual +a 255.0.0.0 (rede classe A, determinada a partir do endereço de destino), +associada ao dispositivo "lo" (assumindo que este dispositivo tenha sido +previamente configurado com o +.BR ifconfig (8)). + +.TP +.B route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0 +Adiciona uma rota para a rede 192.56.76.x através da interface "eth0". O +modificador de mascara classe C não é realmente necessário aqui por que +192.* é um endereço IP de classe C. A palavra "dev" pode ser omitida aqui. + +.TP +.B route add default gw mango-gw +Adiciona uma rota default (que será usada se nenhuma outra rota for encontrada). +Todos os pacotes que usarem esta rota serão passados para a máquina "mango-gw". +O dispositivo que será utilizado para esta rota depende de como é possível +alcançar "mango-gw" - a rota estática para "mango-gw" terá que ser configurada +previamente. + +.TP +.B route add ipx4 sl0 +Adiciona uma rota para a máquina "ipx4" através da interface SLIP (assumindo +que "ipx4" é a máquina SLIP). + +.TP +.B route add -net 192.57.66.0 netmask 255.255.255.0 gw ipx4 +Este comando adiciona a rede "192.57.66.x" para ser alcançada através da +rota anterior através da interface SLIP. + +.TP +.B route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0 +Isto é bem obscura, documentada para que as pessoas saibam como usá-la. +Configura para que todas as rotas IP classe D (multicast) vão através da +interface "eth0". Esta é a linha de configuração normal a ser usada com +um kernel multicast. + +.TP +.B route add 10.0.0.0 netmask 255.0.0.0 reject +Esta instala uma rota de rejeição para a rede privada "10.x.x.x" + +.LP +.SH SAÍDA +A saída da tabela de roteamento do kernel é organizada nas seguintes colunas +.TP +.B Destino +A rede ou máquina de destino. +.TP +.B Roteador +A máquina roteador ou '*' se nenhuma estiver configurada. +.TP +.B Mascara Genérica +A mascara para a rede destino. '255.255.255.255' para uma máquina de destino, +'0.0.0.0' para a rota +.B default +. +.TP +.B Flags +Os flags possíveis são +.br +.B U +(rota esta +.BR Up ) +.br +.B H +(alvo é uma +.BR máquina ) +.br +.B G +(use +.BR roteador ) +.br +.B R +.RB ( reinstate +rota para roteamento dinâmico) +.br +.B D +Instalada +.RB ( Dinamicamente +por um daemon ou por redirecionamento) +.br +.B M +.RB ( Modificada +por daemon de roteamento ou redirecionamento) +.br +.B ! +Rota +.RB ( rejeitada +) +.TP +.B Metric +A 'distância' até o alvo (geralmente contada em hops). Não é utilizada pelos +kernels recentes, somente daemons de roteamento podem usa-la. +.TP +.B Ref +Numero de referências a esta rota. Não usado no kernel do Linux, sempre 0. +.TP +.B Uso +Contagem de procuras por esta rota. Nos kernels recentes estes números são +bem baixos, pois os sockets tem seu próprio cache e não precisam procurar +por rotas. +.TP +.B Iface +Interface através da qual os pacotes IP serão enviados. +.TP +.B MSS +Tamanho máximo de segmento default para conexões TCP através desta rota. +.TP +.B Window +Tamanho de janela default para conexões TCP através desta rota. +.TP +.B irtt +RTT (Tempo de Ida e Volta) Inicial. O kernel usa isto para inferir os melhores +parâmetros do protocolo TCP sem esperar por respostas (possivelmente lentas). +.LP +.SH ARQUIVOS +.I /proc/net/route +.br +.I /etc/networks +.br +.I /etc/hosts +.br +.I /etc/init.d/network +.LP +.SH VEJA TAMBÉM +.I ifconfig(8), netstat(8), arp(8) +.LP +.SH HISTÓRICO +.B Route +para o linux foi originalmente escrito por Fred N. van Kempen, +<waltje@uwalt.nl.mugnet.org> e depois modificado por Johannes Stille e +Linus Torvalds para a versão pl15. Alan Cox adicionou as opções para +mss e window no kernel 1.1.22. O suporte a irtt (compartilhado com o +netstat) foi feito por Bernd Eckenfels. +.SH TRADUÇÃO +Arnaldo Carvalho de Melo <acme@conectiva.com.br> - 13/04/1998 +.SH BUGS +nenhum :) diff --git a/man/pt_BR/ypdomainname.1 b/man/pt_BR/ypdomainname.1 new file mode 100644 index 0000000..1f45128 --- /dev/null +++ b/man/pt_BR/ypdomainname.1 @@ -0,0 +1 @@ +.so man1/hostname.1 @@ -17,7 +17,6 @@ * * Tuned for NET3 by: * Alan Cox, <A.Cox@swansea.ac.uk> - * * Copyright (c) 1993 Fred Baumgarten * * Modified: @@ -43,6 +42,8 @@ * (relly needs to be kernel hooked but * this will do in the meantime) * minor header file misplacement tidy up. + *980411 {1.34} Arnaldo Carvalho i18n: catgets -> gnu gettext, substitution + * of sprintf for snprintf * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -73,7 +74,7 @@ #include "pathnames.h" #include "version.h" #include "config.h" -#include "net-locale.h" +#include "intl.h" #include "sockets.h" #include "interface.h" @@ -99,7 +100,7 @@ typedef enum { #include "lib/net-features.h" char *Release = RELEASE, - *Version = "netstat 1.26 (1998-03-02)", + *Version = "netstat 1.34 (1998-06-29)", *Signature = "Fred Baumgarten <dc6iq@insu1.etec.uni-karlsruhe.de> and Alan Cox."; @@ -201,9 +202,9 @@ netlink_print(void) } if (flag_ver) { - printf(NLS_CATGETS(catfd, netstatSet, netstat_nlp_title, "Netlink Kernel Messages")); + printf(_("Netlink Kernel Messages")); if (flag_cnt) - printf(NLS_CATGETS(catfd, netstatSet, netstat_nlp_cnt, " (continous)")); + printf(_(" (continous)")); printf("\n"); } @@ -213,7 +214,7 @@ netlink_print(void) return(-1); } if (ret != sizeof(buf)) { - EINTERN("netstat.c", "netlink message size mismatch"); + EINTERN("netstat.c", _("netlink message size mismatch")); return(-1); } @@ -278,10 +279,10 @@ netlink_print(void) #if HAVE_AFNETROM static const char *netrom_state[]= { - "LISTENING", - "CONN SENT", - "DISC SENT", - "ESTABLISHED" + N_("LISTENING"), + N_("CONN SENT"), + N_("DISC SENT"), + N_("ESTABLISHED") }; static int netrom_info(void) @@ -304,8 +305,8 @@ static int netrom_info(void) return(0); } - printf(NLS_CATGETS(catfd, netstatSet, netstat_netrom, "Activate NET/ROM sockets\n")); - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_netrom, "User Dest Source Device State Vr/Vs Send-Q Recv-Q\n")); + printf(_("Activate NET/ROM sockets\n")); + printf(_("User Dest Source Device State Vr/Vs Send-Q Recv-Q\n")); fgets(buffer,256,f); while (fgets(buffer,256,f)) { @@ -317,7 +318,7 @@ static int netrom_info(void) printf("%-9s %-9s %-9s %-6s %-11s %02d/%02d %-6d %-6d\n", buffer,buffer+10,buffer+20, dev, - netrom_state[st], + _(netrom_state[st]), vr,vs,sendq,recvq); } fclose(f); @@ -344,17 +345,17 @@ enum { static const char *tcp_state[] = { "", - "ESTABLISHED", - "SYN_SENT", - "SYN_RECV", - "FIN_WAIT1", - "FIN_WAIT2", - "TIME_WAIT", - "CLOSE", - "CLOSE_WAIT", - "LAST_ACK", - "LISTEN", - "CLOSING" + N_("ESTABLISHED"), + N_("SYN_SENT"), + N_("SYN_RECV"), + N_("FIN_WAIT1"), + N_("FIN_WAIT2"), + N_("TIME_WAIT"), + N_("CLOSE"), + N_("CLOSE_WAIT"), + N_("LAST_ACK"), + N_("LISTEN"), + N_("CLOSING") }; static void tcp_do_one(int lnr, const char *line) @@ -389,7 +390,7 @@ static void tcp_do_one(int lnr, const char *line) addr6p[4], addr6p[5], addr6p[6], addr6p[7], addr6p[8], addr6p[9], addr6p[10], addr6p[11], addr6p[12], addr6p[13], addr6p[14], addr6p[15]); - sprintf(addr6, "%s%s:%s%s:%s%s:%s%s:%s%s:%s%s:%s%s:%s%s", + snprintf(addr6, sizeof(addr6), "%s%s:%s%s:%s%s:%s%s:%s%s:%s%s:%s%s:%s%s", addr6p[3], addr6p[2], addr6p[1], addr6p[0], addr6p[7], addr6p[6], addr6p[5], addr6p[4], addr6p[11], addr6p[10], addr6p[9], addr6p[8], @@ -401,7 +402,7 @@ static void tcp_do_one(int lnr, const char *line) addr6p[4], addr6p[5], addr6p[6], addr6p[7], addr6p[8], addr6p[9], addr6p[10], addr6p[11], addr6p[12], addr6p[13], addr6p[14], addr6p[15]); - sprintf(addr6, "%s%s:%s%s:%s%s:%s%s:%s%s:%s%s:%s%s:%s%s", + snprintf(addr6, sizeof(addr6), "%s%s:%s%s:%s%s:%s%s:%s%s:%s%s:%s%s:%s%s", addr6p[3], addr6p[2], addr6p[1], addr6p[0], addr6p[7], addr6p[6], addr6p[5], addr6p[4], addr6p[11], addr6p[10], addr6p[9], addr6p[8], @@ -420,13 +421,12 @@ static void tcp_do_one(int lnr, const char *line) } if (num < 11) { - fprintf(stderr, "warning, got bogus tcp line.\n"); + fprintf(stderr, _("warning, got bogus tcp line.\n")); return; } if ((ap = get_afntype(((struct sockaddr *)&localaddr)->sa_family)) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_netstat, - "netstat: unsupported address family %d !\n"), + fprintf(stderr, _("netstat: unsupported address family %d !\n"), ((struct sockaddr *)&localaddr)->sa_family); return; } @@ -441,14 +441,14 @@ static void tcp_do_one(int lnr, const char *line) strcpy(local_addr, ap->sprint((struct sockaddr *)&localaddr, flag_not)); strcpy(rem_addr, ap->sprint((struct sockaddr *)&remaddr, flag_not)); if (flag_all || rem_port) { - sprintf(buffer, "%s", get_sname(htons(local_port), "tcp", flag_not)); + snprintf(buffer, sizeof (buffer), "%s", get_sname(htons(local_port), "tcp", flag_not)); if ((strlen(local_addr) + strlen(buffer)) > 22) local_addr[22-strlen(buffer)] = '\0'; strcat(local_addr, ":"); strcat(local_addr, buffer); - sprintf(buffer, "%s", get_sname(htons(rem_port), "tcp", flag_not)); + snprintf(buffer, sizeof(buffer), "%s", get_sname(htons(rem_port), "tcp", flag_not)); if ((strlen(rem_addr) + strlen(buffer)) > 22) rem_addr[22-strlen(buffer)] = '\0'; @@ -460,24 +460,21 @@ static void tcp_do_one(int lnr, const char *line) if (flag_opt) switch (timer_run) { case 0: - sprintf(timers, NLS_CATGETS(catfd, netstatSet, netstat_off, - "off (0.00/%ld)"), retr); + snprintf(timers, sizeof(timers), _("off (0.00/%ld)"), retr); break; case 1: - sprintf(timers, NLS_CATGETS(catfd, netstatSet, netstat_on, - "on (%2.2f/%ld)"), - (double)time_len / 100, retr); + snprintf(timers, sizeof(timers), _("on (%2.2f/%ld)"), + (double)time_len / 100, retr); break; default: - sprintf(timers, NLS_CATGETS(catfd, netstatSet, netstat_unkn, - "unkn-%d (%2.2f/%ld)"), - timer_run, (double)time_len / 100, retr); + snprintf(timers, sizeof(timers), _("unkn-%d (%2.2f/%ld)"), + timer_run, (double)time_len / 100, retr); break; } printf("tcp %6ld %6ld %-23s %-23s %-12s", - rxq, txq, local_addr, rem_addr, tcp_state[state]); + rxq, txq, local_addr, rem_addr, _(tcp_state[state])); if (flag_exp > 1) { if (!flag_not && ((pw = getpwuid(uid)) != NULL)) @@ -530,14 +527,14 @@ static void udp_do_one(int lnr, const char *line) sscanf(local_addr, "%4s%4s%4s%4s%4s%4s%4s%4s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); - sprintf(addr6, "%s:%s:%s:%s:%s:%s:%s:%s", + snprintf(addr6, sizeof(addr6), "%s:%s:%s:%s:%s:%s:%s:%s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); inet6_aftype.input(1, addr6, (struct sockaddr *)&localaddr); sscanf(rem_addr, "%4s%4s%4s%4s%4s%4s%4s%4s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); - sprintf(addr6, "%s:%s:%s:%s:%s:%s:%s:%s", + snprintf(addr6, sizeof(addr6), "%s:%s:%s:%s:%s:%s:%s:%s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); inet6_aftype.input(1, addr6, (struct sockaddr *)&remaddr); @@ -558,20 +555,19 @@ static void udp_do_one(int lnr, const char *line) more[0] = '\0'; if (num < 10) { - fprintf(stderr, "warning, got bogus udp line.\n"); + fprintf(stderr, _("warning, got bogus udp line.\n")); return; } if ((ap = get_afntype(((struct sockaddr *)&localaddr)->sa_family)) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_netstat, - "netstat: unsupported address family %d !\n"), + fprintf(stderr, _("netstat: unsupported address family %d !\n"), ((struct sockaddr *)&localaddr)->sa_family); return; } switch (state) { case TCP_ESTABLISHED: - udp_state = "ESTABLISHED"; + udp_state = _("ESTABLISHED"); break; case TCP_CLOSE: @@ -579,7 +575,7 @@ static void udp_do_one(int lnr, const char *line) break; default: - udp_state = "UNKNOWN"; + udp_state = _("UNKNOWN"); break; } @@ -598,13 +594,13 @@ static void udp_do_one(int lnr, const char *line) if (flag_all || localaddr.sin_addr.s_addr) #endif { - sprintf(buffer, "%s", get_sname(htons(local_port), "udp", flag_not)); + snprintf(buffer, sizeof(buffer), "%s", get_sname(htons(local_port), "udp", flag_not)); if ((strlen(local_addr) + strlen(buffer)) > 22) local_addr[22-strlen(buffer)] = '\0'; strcat(local_addr, ":"); strcat(local_addr, buffer); - sprintf(buffer, "%s", get_sname(htons(rem_port), "udp", flag_not)); + snprintf(buffer, sizeof(buffer), "%s", get_sname(htons(rem_port), "udp", flag_not)); if ((strlen(rem_addr) + strlen(buffer)) > 22) rem_addr[22-strlen(buffer)] = '\0'; @@ -614,21 +610,15 @@ static void udp_do_one(int lnr, const char *line) timers[0] = '\0'; if (flag_opt) switch (timer_run) { case 0: - sprintf(timers, NLS_CATGETS(catfd, netstatSet, netstat_off2, - "off (0.00/%ld) %c"), - retr, timer_queued); + snprintf(timers, sizeof(timers), _("off (0.00/%ld) %c"), retr, timer_queued); break; case 1: - sprintf(timers, NLS_CATGETS(catfd, netstatSet, netstat_on2, - "on (%2.2f/%ld) %c"), - (double)time_len / 100, retr, timer_queued); + snprintf(timers, sizeof(timers), _("on (%2.2f/%ld) %c"), (double)time_len / 100, retr, timer_queued); break; default: - sprintf(timers, NLS_CATGETS(catfd, netstatSet, netstat_unkn2, - "unkn-%d (%2.2f/%ld) %c"), - timer_run, (double)time_len / 100, + snprintf(timers, sizeof(timers), _("unkn-%d (%2.2f/%ld) %c"), timer_run, (double)time_len / 100, retr, timer_queued); break; } @@ -681,14 +671,14 @@ static void raw_do_one(int lnr, const char *line) sscanf(local_addr, "%4s%4s%4s%4s%4s%4s%4s%4s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); - sprintf(addr6, "%s:%s:%s:%s:%s:%s:%s:%s", + snprintf(addr6, sizeof(addr6), "%s:%s:%s:%s:%s:%s:%s:%s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); inet6_aftype.input(1, addr6, (struct sockaddr *)&localaddr); sscanf(rem_addr, "%4s%4s%4s%4s%4s%4s%4s%4s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); - sprintf(addr6, "%s:%s:%s:%s:%s:%s:%s:%s", + snprintf(addr6, sizeof(addr6), "%s:%s:%s:%s:%s:%s:%s:%s", addr6p[0], addr6p[1], addr6p[2], addr6p[3], addr6p[4], addr6p[5], addr6p[6], addr6p[7]); inet6_aftype.input(1, addr6, (struct sockaddr *)&remaddr); @@ -705,16 +695,12 @@ static void raw_do_one(int lnr, const char *line) } #if HAVE_AFINET6 if ((ap = get_afntype(localaddr.sin6_family)) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_netstat, - "netstat: unsupported address family %d !\n"), - localaddr.sin6_family); + fprintf(stderr, _("netstat: unsupported address family %d !\n"), localaddr.sin6_family); return; } #else if ((ap = get_afntype(localaddr.sin_family)) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_netstat, - "netstat: unsupported address family %d !\n"), - localaddr.sin_family); + fprintf(stderr, _("netstat: unsupported address family %d !\n"), localaddr.sin_family); return; } #endif @@ -723,7 +709,7 @@ static void raw_do_one(int lnr, const char *line) more[0] = '\0'; if (num < 10) { - fprintf(stderr, "warning, got bogus raw line.\n"); + fprintf(stderr, _("warning, got bogus raw line.\n")); return; } @@ -743,13 +729,13 @@ static void raw_do_one(int lnr, const char *line) if (flag_all || localaddr.sin_addr.s_addr) #endif { - sprintf(buffer, "%s", get_sname(htons(local_port), "raw", flag_not)); + snprintf(buffer, sizeof(buffer), "%s", get_sname(htons(local_port), "raw", flag_not)); if ((strlen(local_addr) + strlen(buffer)) > 22) local_addr[22-strlen(buffer)] = '\0'; strcat(local_addr, ":"); strcat(local_addr, buffer); - sprintf(buffer, "%s", get_sname(htons(rem_port), "raw", flag_not)); + snprintf(buffer, sizeof(buffer), "%s", get_sname(htons(rem_port), "raw", flag_not)); if ((strlen(rem_addr) + strlen(buffer)) > 22) rem_addr[22-strlen(buffer)] = '\0'; @@ -759,21 +745,16 @@ static void raw_do_one(int lnr, const char *line) timers[0] = '\0'; if (flag_opt) switch (timer_run) { case 0: - sprintf(timers, NLS_CATGETS(catfd, netstatSet, netstat_off3, - "off (0.00/%ld) %c"), - retr, timer_queued); + snprintf(timers, sizeof(timers), _("off (0.00/%ld) %c"), retr, timer_queued); break; case 1: - sprintf(timers, NLS_CATGETS(catfd, netstatSet, netstat_on3, - "on (%2.2f/%ld) %c"), - (double)time_len / 100, retr, - timer_queued); - break; + snprintf(timers, sizeof(timers), _("on (%2.2f/%ld) %c"), (double)time_len / 100, + retr, timer_queued); + break; default: - sprintf(timers, NLS_CATGETS(catfd, netstatSet, netstat_unkn3, - "unkn-%d (%2.2f/%ld) %c"), + snprintf(timers, sizeof(timers), _("unkn-%d (%2.2f/%ld) %c"), timer_run, (double)time_len / 100, retr, timer_queued); break; @@ -822,7 +803,7 @@ static void unix_do_one(int nr, const char *line) num = sscanf(line, "%p: %lX %lX %lX %X %X %s %s", &d, &refcnt, &proto, &flags, &type, &state, inode, path); if (num < 6) { - fprintf(stderr, "warning, got bogus unix line.\n"); + fprintf(stderr, _("warning, got bogus unix line.\n")); return; } @@ -844,32 +825,32 @@ static void unix_do_one(int nr, const char *line) switch(type) { case SOCK_STREAM: - ss_type = "STREAM"; + ss_type = _("STREAM"); break; case SOCK_DGRAM: - ss_type = "DGRAM"; + ss_type = _("DGRAM"); break; case SOCK_RAW: - ss_type = "RAW"; + ss_type = _("RAW"); break; case SOCK_RDM: - ss_type = "RDM"; + ss_type = _("RDM"); break; case SOCK_SEQPACKET: - ss_type = "SEQPACKET"; + ss_type = _("SEQPACKET"); break; default: - ss_type = "UNKNOWN"; + ss_type = _("UNKNOWN"); } switch(state) { case SS_FREE: - ss_state = "FREE"; + ss_state = _("FREE"); break; case SS_UNCONNECTED: @@ -878,26 +859,26 @@ static void unix_do_one(int nr, const char *line) * for something. */ if (flags & SO_ACCEPTCON) { - ss_state = "LISTENING"; + ss_state = _("LISTENING"); } else { ss_state = ""; } break; case SS_CONNECTING: - ss_state = "CONNECTING"; + ss_state = _("CONNECTING"); break; case SS_CONNECTED: - ss_state = "CONNECTED"; + ss_state = _("CONNECTED"); break; case SS_DISCONNECTING: - ss_state = "DISCONNECTING"; + ss_state = _("DISCONNECTING"); break; default: - ss_state = "UNKNOWN"; + ss_state = _("UNKNOWN"); } strcpy(ss_flags, "[ "); @@ -915,12 +896,11 @@ static int unix_info(void) { - printf(NLS_CATGETS(catfd, netstatSet, netstat_unix, "Active UNIX domain sockets ")); /* xxx */ - if (flag_all) printf(NLS_CATGETS(catfd, netstatSet, netstat_servers, "(including servers)")); /* xxx */ - else printf(NLS_CATGETS(catfd, netstatSet, netstat_noservers, "(w/o servers)")); /* xxx */ + printf(_("Active UNIX domain sockets ")); /* xxx */ + if (flag_all) printf(_("(including servers)")); /* xxx */ + else printf(_("(w/o servers)")); /* xxx */ - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_unix, - "\nProto RefCnt Flags Type State I-Node Path\n")); /* xxx */ + printf(_("\nProto RefCnt Flags Type State I-Node Path\n")); /* xxx */ { INFO_GUTS(_PATH_PROCNET_UNIX, "AF UNIX", unix_do_one); @@ -937,11 +917,11 @@ static int ax25_info(void) int st,vs,vr,sendq,recvq; static char *ax25_state[5]= { - "LISTENING", - "SABM SENT", - "DISC SENT", - "ESTABLISHED", - "RECOVERY" + N_("LISTENING"), + N_("SABM SENT"), + N_("DISC SENT"), + N_("ESTABLISHED"), + N_("RECOVERY") }; if(!(f=fopen(_PATH_PROCNET_AX25, "r"))) { @@ -956,8 +936,8 @@ static int ax25_info(void) else return(0); } - printf(NLS_CATGETS(catfd, netstatSet, netstat_ax25, "Activate AX.25 sockets\n")); - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_ax25, "Dest Source Device State Vr/Vs Send-Q Recv-Q\n")); + printf(_("Activate AX.25 sockets\n")); + printf(_("Dest Source Device State Vr/Vs Send-Q Recv-Q\n")); fgets(buffer,256,f); while(fgets(buffer,256,f)) { @@ -968,7 +948,7 @@ static int ax25_info(void) printf("%-9s %-9s %-6s %-11s %02d/%02d %-6d %-6d\n", buffer,buffer+10, dev, - ax25_state[st], + _(ax25_state[st]), vr,vs,sendq,recvq); } fclose(f); @@ -1006,11 +986,9 @@ static int ipx_info(void) else return(0); } - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_ipx, - "Active IPX sockets\nProto Recv-Q Send-Q Local Address Foreign Address State")); /* xxx */ + printf(_("Active IPX sockets\nProto Recv-Q Send-Q Local Address Foreign Address State")); /* xxx */ if (flag_exp>1) - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_ipx2, - " User")); /* xxx */ + printf(_(" User")); /* xxx */ printf("\n"); if ((ap = get_afntype(AF_IPX)) == NULL) { EINTERN("netstat.c","AF_IPX missing"); @@ -1047,7 +1025,7 @@ static int ipx_info(void) switch(state) { case TCP_ESTABLISHED: - st = "ESTAB"; + st = _("ESTAB"); break; case TCP_CLOSE: @@ -1055,20 +1033,20 @@ static int ipx_info(void) break; default: - st = "UNK."; + st = _("UNK."); break; } /* Fetch and resolve the Source */ (void)ap->input(4,sad,&sa); strcpy(buf, ap->sprint(&sa, flag_not)); - sprintf(sad,"%s:%04X",buf,sport); + snprintf(sad,sizeof(sad),"%s:%04X",buf,sport); if (!nc) { /* Fetch and resolve the Destination */ (void)ap->input(4,dad,&sa); strcpy(buf, ap->sprint(&sa, flag_not)); - sprintf(dad,"%s:%04X",buf,dport); + snprintf(dad,sizeof(dad),"%s:%04X",buf,dport); } else strcpy(dad,"-"); printf("IPX %6ld %6ld %-26s %-26s %-5s", txq, rxq, sad, dad, st); @@ -1097,7 +1075,7 @@ ife_print(struct interface *ptr) printf("%6lu %6lu %6lu %6lu ", ptr->stats.tx_packets, ptr->stats.tx_errors, ptr->stats.tx_dropped, ptr->stats.tx_fifo_errors); - if (ptr->flags == 0) printf(NLS_CATGETS(catfd, netstatSet, netstat_noflags, "[NO FLAGS]")); + if (ptr->flags == 0) printf(_("[NO FLAGS]")); if (ptr->flags & IFF_ALLMULTI) printf("A"); if (ptr->flags & IFF_BROADCAST) printf("B"); if (ptr->flags & IFF_DEBUG) printf("D"); @@ -1118,14 +1096,12 @@ iface_info(void) char buffer[256]; FILE *fd; - printf(NLS_CATGETS(catfd, netstatSet, netstat_interface, "Kernel Interface table\n")); - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_iface, - "Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags\n")); + printf(_("Kernel Interface table\n")); + printf(_("Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags\n")); /* Create a channel to the NET kernel. */ if ((skfd = sockets_open()) < 0) { perror("socket"); - NLS_CATCLOSE(catfd) exit(1); } @@ -1142,8 +1118,7 @@ iface_info(void) *sep = 0; while (*name == ' ') name++; if (if_fetch(name, &ife) < 0) { - fprintf(stderr, NLS_CATGETS(catfd, ifconfigSet, - ifconfig_unkn, "%s: unknown interface.\n"), + fprintf(stderr, _("%s: unknown interface.\n"), name); continue; } @@ -1163,7 +1138,6 @@ static void version(void) { printf("%s\n%s\n%s\n%s\n", Release, Version, Signature, Features); - NLS_CATCLOSE(catfd) exit(1); } @@ -1171,26 +1145,25 @@ version(void) static void usage(void) { - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage1, "usage: netstat [-veenNcCF] [<Af>] -r netstat {-V|--version|-h|--help}\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage2, " netstat [-vnNcaeo] [<Socket>]\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage3, " netstat { [-veenNac] -i | [-vnNc] -L | [-cnNe] -M }\n\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage4, " -r, --route display routing table\n")); /* xxx */ - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage5, " -L, --netlink display netlink kernel messages\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage6, " -i, --interfaces display interface table\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage7, " -M, --masquerade display masqueraded connections\n\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage8, " -v, --verbose be verbose\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage9, " -n, --numeric dont resolve names\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage10, " -e, --extend display other/more informations\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage11, " -c, --continuous continuous listing\n\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage12, " -a, --all, --listening display all\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage13, " -o, --timers display timers\n\n")); - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage14, "<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n")); + fprintf(stderr, _("usage: netstat [-veenNcCF] [<Af>] -r netstat {-V|--version|-h|--help}\n")); + fprintf(stderr, _(" netstat [-vnNcaeo] [<Socket>]\n")); + fprintf(stderr, _(" netstat { [-veenNac] -i | [-vnNc] -L | [-cnNe] -M }\n\n")); + fprintf(stderr, _(" -r, --route display routing table\n")); /* xxx */ + fprintf(stderr, _(" -L, --netlink display netlink kernel messages\n")); + fprintf(stderr, _(" -i, --interfaces display interface table\n")); + fprintf(stderr, _(" -M, --masquerade display masqueraded connections\n\n")); + fprintf(stderr, _(" -v, --verbose be verbose\n")); + fprintf(stderr, _(" -n, --numeric dont resolve names\n")); + fprintf(stderr, _(" -e, --extend display other/more informations\n")); + fprintf(stderr, _(" -c, --continuous continuous listing\n\n")); + fprintf(stderr, _(" -a, --all, --listening display all\n")); + fprintf(stderr, _(" -o, --timers display timers\n\n")); + fprintf(stderr, _("<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n")); #if HAVE_AFINET6 - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage15, "<Af>= -A {inet|inet6|ipx|netrom|ddp|ax25},... --inet --inet6 --ipx --netrom --ddp --ax25\n")); + fprintf(stderr, _("<Af>= -A {inet|inet6|ipx|netrom|ddp|ax25},... --inet --inet6 --ipx --netrom --ddp --ax25\n")); #else - fprintf(stderr, NLS_CATGETS(catfd, netstatSet, netstat_usage15, "<Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n")); + fprintf(stderr, _("<Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n")); #endif - NLS_CATCLOSE(catfd) exit(1); } @@ -1228,11 +1201,10 @@ int main {NULL, 0, 0, 0} }; -#if NLS - setlocale (LC_MESSAGES, ""); - catfd = catopen ("nettools", MCLoadBySet); +#if I18N + bindtextdomain("net-tools", "/usr/share/locale"); + textdomain("net-tools"); #endif - getroute_init(); /* Set up AF routing support */ afname[0]='\0'; @@ -1244,16 +1216,12 @@ int main EINTERN("netstat.c","longopts 1 range"); break; } - if (aftrans_opt(longopts[lop].name)) { - NLS_CATCLOSE(catfd) + if (aftrans_opt(longopts[lop].name)) exit(1); - } break; case 'A': - if (aftrans_opt(optarg)) { - NLS_CATCLOSE(catfd) + if (aftrans_opt(optarg)) exit(1); - } break; case 'L': flag_nlp++; @@ -1314,10 +1282,8 @@ int main flag_raw++; break; case 'x': - if (aftrans_opt("unix")) { - NLS_CATCLOSE(catfd) + if (aftrans_opt("unix")) exit(1); - } break; case '?': case 'h': @@ -1344,7 +1310,6 @@ int main ENOSUPP("netstat.c","RT_NETLINK"); i=-1; #endif - NLS_CATCLOSE(catfd) return(i); } if (flag_mas) { @@ -1362,7 +1327,6 @@ int main ENOSUPP("netstat.c","FW_MASQUERADE"); i=-1; #endif - NLS_CATCLOSE(catfd) return(i); } if (flag_rou) { @@ -1385,7 +1349,6 @@ int main if (i || !flag_cnt) break; sleep(1); } - NLS_CATCLOSE(catfd) return(i); } @@ -1395,25 +1358,21 @@ int main if (!flag_cnt || i) break; sleep(1); } - NLS_CATCLOSE(catfd) return(i); } for (;;) { if (!flag_arg || flag_tcp || flag_udp || flag_raw) { #if HAVE_AFINET - printf(NLS_CATGETS(catfd, netstatSet, netstat_internet, "Active Internet connections ")); /* xxx */ - if (flag_all) printf(NLS_CATGETS(catfd, netstatSet, netstat_servers, "(including servers)")); /* xxx */ - else printf(NLS_CATGETS(catfd, netstatSet, netstat_noservers, "(w/o servers)")); /* xxx */ + printf(_("Active Internet connections ")); /* xxx */ + if (flag_all) printf(_("(including servers)")); /* xxx */ + else printf(_("(w/o servers)")); /* xxx */ - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_internet, - "\nProto Recv-Q Send-Q Local Address Foreign Address State ")); /* xxx */ + printf(_("\nProto Recv-Q Send-Q Local Address Foreign Address State ")); /* xxx */ if (flag_exp > 1) - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_internet2, - " User ")); /* xxx */ + printf(_(" User ")); /* xxx */ if (flag_opt) - printf(NLS_CATGETS(catfd, netstatSet, netstat_header_internet3, - " Timer")); /* xxx */ + printf(_(" Timer")); /* xxx */ printf("\n"); #else if (flag_arg) { @@ -1425,24 +1384,24 @@ int main #if HAVE_AFINET if (!flag_arg || flag_tcp) { i = tcp_info(); - if (i) { NLS_CATCLOSE(catfd) return(i); } + if (i) return(i); } if (!flag_arg || flag_udp) { i = udp_info(); - if (i) { NLS_CATCLOSE(catfd) return(i); } + if (i) return(i); } if (!flag_arg || flag_raw) { i = raw_info(); - if (i) { NLS_CATCLOSE(catfd) return(i); } + if (i) return(i); } #endif if (!flag_arg || flag_unx) { #if HAVE_AFUNIX i = unix_info(); - if (i) { NLS_CATCLOSE(catfd) return(i); } + if (i) return(i); #else if (flag_arg) { i=1; ENOSUPP("netstat","AF UNIX"); } @@ -1452,7 +1411,7 @@ int main if(!flag_arg || flag_ipx) { #if HAVE_AFIPX i = ipx_info(); - if(i) { NLS_CATCLOSE(catfd) return(i); } + if(i) return(i); #else if (flag_arg) { i=1; ENOSUPP("netstat","AF IPX"); } @@ -1462,7 +1421,7 @@ int main if(!flag_arg || flag_ax25) { #if HAVE_AFAX25 i = ax25_info(); - if(i) { NLS_CATCLOSE(catfd) return(i); } + if(i) return(i); #else if (flag_arg) { i=1; ENOSUPP("netstat","AF AX25"); } @@ -1472,7 +1431,7 @@ int main if(!flag_arg || flag_netrom) { #if HAVE_AFNETROM i = netrom_info(); - if(i) { NLS_CATCLOSE(catfd) return(i); } + if(i) return(i); #else if (flag_arg) { i=1; ENOSUPP("netstat","AF NETROM"); } @@ -1482,7 +1441,5 @@ int main if (!flag_cnt || i) break; sleep(1); } - - NLS_CATCLOSE(catfd) return(i); } diff --git a/nls/Makefile b/nls/Makefile deleted file mode 100644 index 4ae6db3..0000000 --- a/nls/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -SUBDIRS= en_US.88591 fr_FR.88591 de_DE.88591 -GENCATNEW= gencat -new -GENCAT= gencat - -USE_NLS := $(shell grep -s 'define NLS 1' ../config.h) - -ifneq ($(USE_NLS),) - -all: catalogs ../nettools-nls.h - -else - -all: - @echo "Skipping NLS Generation!" - -endif - -../nettools-nls.h: nettools.m - ${GENCATNEW} /dev/null nettools.m -h ../nettools-nls.h - -nettools.m: en_US.88591/nettools.cat - -catalogs: de_DE.88591/nettools.cat fr_FR.88591/nettools.cat \ - en_US.88591/nettools.cat - -en_US.88591/nettools.cat: en_US.88591/*.m - @echo en_US.88591 - @cat en_US.88591/*.m > nettools.m - @if [ -f en_US.88591/nettools.cat ]; then \ - ${GENCAT} en_US.88591/nettools.cat nettools.m; \ - else \ - ${GENCATNEW} en_US.88591/nettools.cat nettools.m; \ - fi - -fr_FR.88591/nettools.cat: fr_FR.88591/*.m - @echo fr_FR.88591 - @cat fr_FR.88591/*.m > nettools.m - @if [ -f fr_FR.88591/nettools.cat ]; then \ - ${GENCAT} fr_FR.88591/nettools.cat nettools.m; \ - else \ - ${GENCATNEW} fr_FR.88591/nettools.cat nettools.m; \ - fi - -de_DE.88591/nettools.cat: de_DE.88591/*.m - @echo de_DE.88591 - @cat de_DE.88591/*.m > nettools.m - @if [ -f de_DE.88591/nettools.cat ]; then \ - ${GENCAT} de_DE.88591/nettools.cat nettools.m; \ - else \ - ${GENCATNEW} de_DE.88591/nettools.cat nettools.m; \ - fi - -clean: - for i in ${SUBDIRS} ; \ - do \ - rm -f $$i/*~ $$i/*.orig $$i/DEADJOE ; \ - rm -f $$i/nettools.cat ; \ - done; \ - rm -f ../nettools-nls.h *~ *.orig DEADJOE nettools.m - -clobber: clean diff --git a/nls/de_DE.88591/README b/nls/de_DE.88591/README deleted file mode 100644 index d01b01f..0000000 --- a/nls/de_DE.88591/README +++ /dev/null @@ -1,4 +0,0 @@ -German Language Catalougs - -Date: Wed, 23 Aug 1995 13:55:44 +0200 -From: Michael Schmidt <michael@muc.de> diff --git a/nls/de_DE.88591/arcnet.m b/nls/de_DE.88591/arcnet.m deleted file mode 100644 index c871b7c..0000000 --- a/nls/de_DE.88591/arcnet.m +++ /dev/null @@ -1,20 +0,0 @@ -$set 10 #arcnet - -$ #_none Original Message:([NONE SET]) -# [NICHTS GESETZT] - -$ #_debug1 Original Message:(in_arcnet(%s): invalid arcnet address!\n) -# in_arcnet(%s): ungültige Arcnet-Adresse!\n - -$ #_debug2 Original Message:(in_arcnet(%s): invalid arcnet address!\n) -# in_arcnet(%s): ungültige Arcnet-Adresse!\n - -$ #_debug3 Original Message:(in_arcnet(%s): trailing : ignored!\n) -# in_arcnet(%s): am Ende : ignoriert!\n - -$ #_debug4 Original Message:(in_arcnet(%s): trailing junk!\n) -# in_arcnet(%s): Unsinn am Ende!\n - -$ #_arcnet Original Message:(1.5Mbps ARCnet) -# 1.5Mbps ARCnet - diff --git a/nls/de_DE.88591/arp.m b/nls/de_DE.88591/arp.m deleted file mode 100644 index 0118734..0000000 --- a/nls/de_DE.88591/arp.m +++ /dev/null @@ -1,70 +0,0 @@ -$set 3 #arp - -$ #_hostname Original Message:(arp: need host name\n) -# arp: benötige Rechnernamen\n - -$ #_no_arp Original Message:(No ARP entry for %s\n) -# Kein ARP-Eintrag für %s\n - -$ #_need_hw Original Message:(arp: need hardware address\n) -# arp: benötige Hardware-Adresse\n - -$ #_invalidhw Original Message:(arp: invalid hardware address\n) -# arp: ungültige Hardware-Adresse\n - -$ #_cant_open Original Message:(arp: cannot open etherfile %s !\n) -# arp: kann Ether-Datei %s nicht öffnen!\n - -$ #_formaterr Original Message:(arp: format error on line %u of etherfile %s !\n) -# arp: Formatfehler in Zeile %u der Ether-Datei %s !\n - -$ #_cant_set Original Message:(arp: cannot set entry on line %u of etherfile %s !\n) -# arp: kann Eintrag in Zeile %u der Ether-Datei %s nicht setzen!\n - -$ #_address Original Message:(Address\t\tHW type\t\tHW address\t Flags Mask\t\t Iface\n) -# Adresse\t\tHW typ\t\tHW adresse\t Flags Maske\t\t Iface\n - -$ #_wrong_af Original Message:(arp: %s: kernel only supports '-p inet'.\n) -# arp: %s: kernel unterstützt nur 'inet'.\n - -$ #_sum Original Message:(Entries: %d\tSkiped: %d\tFound: %d\n) -# Einträge: %d\tÜbersprungen: %d\tGefunden: %d\n - -$ #_usage1 Original Message:(Usage: arp [-vn] [-H type] [-i if] -a [hostname]\n) -# Benutzung: arp [-vn] [-H typ] [-i if] -a [rechnername]\n - -$ #_usage2 Original Message:( arp [-v] [-i if] -d hostname [pub]\n) -# arp [-v] [-i if] -d rechnername [pub]\n - -$ #_usage3 Original Message:( arp [-v] [-H type] [-i if] -s hostname hw_addr [temp] [trail]\n) -# arp [-v] [-H typ] [-i if] -s rechnername hw_addr [temp] [trail]\n - -$ #_usage4 Original Message:( arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub [trail]\n) -# arp [-v] [-H typ] [-i if] -s r.name hw_addr [netmask nm] pub [trail]\n - -$ #_usage5 Original Message:( arp [-vn] [-H type] [-i if] -f filename\n) -# arp [-vn] [-H typ] [-i if] -f dateiname\n - -$ #_hw_not_supp Original Message:(%s: hardware type not supported!\n) -# %s: Hardwaretyp nicht unterstützt!\n - -$ #_fam_not_supp Original Message:(%s: address family not supported!\n) -# %s: Adressfamilie nicht unterstützt!\n - -$ #_unkn_addr Original Message:(arp: %s: unknown address family.\n) -# arp: %s: unbekannte Adressfamilie.\n - -$ #_unkn_hw Original Message:(arp: %s: unknown hardware type.\n) -# arp: %s: unbekannter Hardwaretyp.\n - -$ #_none Original Message:(arp: in %d entries no match found.\n) -# arp: In %d Einträgen kein Treffer.\n - -$ #_wrong_hw Original Message:(arp: %s: hardware type without ARP support.\n) -# arp: %s: keine ARP Unterstützung für diesen Hardwaretyp.\n - -$ #_einv_pub Original Message:(Probably destination is reached via ARP Interface. See arp(8)\n) -# Wahrscheinlich ist Ziel über ARP Interface erreichbar. Näheres in arp(8).\n - -$ #_einv_nopub Original Message:(Probably destination is on different Interface. See arp(8)\n) -# Wahrscheinlich ist Ziel auf anderem Interface erreichbar. Näheres in arp(8)\n diff --git a/nls/de_DE.88591/ax25.m b/nls/de_DE.88591/ax25.m deleted file mode 100644 index 1f3365b..0000000 --- a/nls/de_DE.88591/ax25.m +++ /dev/null @@ -1,17 +0,0 @@ -$set 11 #ax25 - -$ #_none Original Message:([NONE SET]) -# [NICHTS GESETZT] - -$ #_debug1 Original Message:(Invalid callsign) -# Ungültiges Rufzeichen - -$ #_debug2 Original Message:(Callsign too long) -# Rufzeichen zu lang - -$ #_hw Original Message:(AMPR AX.25) -# AMPR AX.25 - -$ #_ax25 Original Message:(AMPR AX.25) -# AMPR AX.25 - diff --git a/nls/de_DE.88591/ddp.m b/nls/de_DE.88591/ddp.m deleted file mode 100644 index d7ce54a..0000000 --- a/nls/de_DE.88591/ddp.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 12 #ddp - -$ #_none Original Message:([NONE SET]) -# [NICHTS GESETZT] - -$ #_ddp Original Message:(Appletalk DDP) -# Appletalk DDP - -$ #_notyet Original Message:(Routing table for `ddp' not yet supported.\n) -# Routingtabelle für `ddp' noch nicht unterstützt.\n diff --git a/nls/de_DE.88591/ether.m b/nls/de_DE.88591/ether.m deleted file mode 100644 index aa9b665..0000000 --- a/nls/de_DE.88591/ether.m +++ /dev/null @@ -1,20 +0,0 @@ -$set 13 #ether - -$ #_none Original Message:([NONE SET]) -# [NICHTS GESETZT] - -$ #_debug1 Original Message:(in_ether(%s): invalid ether address!\n) -# in_ether(%s): ungültige Ethernet-Adresse!\n - -$ #_debug2 Original Message:(in_ether(%s): invalid ether address!\n) -# in_ether(%s): ungültige Ethernet-Adresse!\n - -$ #_debug3 Original Message:(in_ether(%s): trailing : ignored!\n) -# in_ether(%s): am Ende : ignoriert!\n - -$ #_debug4 Original Message:(in_ether(%s): trailing junk!\n) -# in_ether(%s): Unsinn am Ende!\n - -$ #_ether Original Message:(10Mbps Ethernet) -# 10Mbps Ethernet - diff --git a/nls/de_DE.88591/hostname.m b/nls/de_DE.88591/hostname.m deleted file mode 100644 index f364f5d..0000000 --- a/nls/de_DE.88591/hostname.m +++ /dev/null @@ -1,103 +0,0 @@ -$set 5 #hostname - -$ #_root Original Message:(%s: you must be root to change the host name\n) -# %s: Nur root darf den Rechnernamen ändern\n - -$ #_toolong Original Message:(%s: name too long\n) -# %s: Name zu lang\n - -$ #_nodns1 Original Message:(%s: You can't change the DNS domain name with this command\n) -# %s: Sie können den DNS-Name nicht mit diesem Befehl ändern\n - -$ #_nodns2 Original Message:(\nUnless you are using bind or NIS for host lookups you can change the DNS\n) -# \nWenn Sie nicht bind oder NIS benutzen, können Sie den DNS-Domainname,\n - -$ #_nodns3 Original Message:(domain name (which is part of the FQDN) in the /etc/hosts file.\n) -# welcher Teil des FQDN ist, in /etc/hosts ändern.\n - -$ #_cant_open Original Message:(%s: can't open `%s'\n) -# %s: kann `%s' nicht öffnen\n - -$ #_usage1 Original Message:(Usage: hostname [-v] {hostname|-F file} set hostname (from file)\n) -# Benutzung: hostname [-v] {hostname|-F datei} setzt rechnername (aus datei)\n - -$ #_usage2 Original Message:( domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n) -# domainname [-v] {nisdomain|-F datei} setzt NIS domainname (aus datei)\n - -$ #_usage3 Original Message:( hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name\n) -# hostname [-v] [-d|-f|-s|-a|-i|-y] zeigt formatierte Namen an\n - -$ #_usage4 Original Message:( hostname [-v] display hostname\n\n) -# hostname [-v] zeigt Rechnername an\n\n - -$ #_usage5 Original Message:( hostname -V|--version|-h|--help print info and exit\n\n) -# hostname -V|--version|-h|--help gibt Info aus und beendet sich\n\n - -$ #_usage6 Original Message:( dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n\n) -# dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n\n - -$ #_usage7 Original Message:( -s, --short short host name\n) -# -s, --short kurzer Rechnername\n - -$ #_usage8 Original Message:( -a, --alias alias names\n) -# -a, --alias alias Namen\n - -$ #_usage9 Original Message:( -i, --ip-address addresses for the hostname\n) -# -i, --ip-address Adressen der Rechnernamen\n - -$ #_usage10 Original Message:( -f, --fqdn, --long long host name (FQDN)\n) -# -f, --fqdn, --long langer Rechnername (FQDN)\n - -$ #_usage11 Original Message:( -d, --domain DNS domain name\n) -# -d, --domain DNS Domainname\n - -$ #_usage12 Original Message:( -y, --yp, --nis NIS/YP domainname\n) -# -y, --yp, --nis NIS/YP Domainname\n - -$ #_usage13 Original Message:( -F, --file read hostname or nis domainname from given File\n\n) -# -F, --file lese Rechnernamen oder NIS Domainnamen aus Datei\n\n - -$ #_usage14 Original Message:( This comand can get or set the hostname or the NIS domainname. You can\n) -# Dieses Programm kann den Rechnernamen und den NIS-Domainnamen setzen und\n - -$ #_usage15 Original Message:( also get the DNS domain or the FQDN (fully qualified domain name).\n) -# auslesen. Ausserdem kann es die DNS Domain oder den FQDN auslesen.\n - -$ #_usage16 Original Message:( Unless you are using bind or NIS for host lookups you can change the\n) -# Wenn Sie nicht bind oder NIS benutzen, können Sie den FQDN (Vollständig\n - -$ #_usage17 Original Message:( FQDN (Fully Qualified Domain Name) and the DNS domain name (which is\n) -# qualifizierter Domain-Name) und den DNS-Domainnamen (welcher Teil\n - -$ #_usage18 Original Message:( part of the FQDN) in the /etc/hosts file.\n) -# des FQDN ist) in /etc/hosts ändern.\n - -$ #_verb_set Original Message:( Setting hostname to `%s'\n) -# Setze Rechnername auf `%s'\n - -$ #_verb_res Original Message:(Resolving `%s' ...\n) -# Ermittle `%s' ...\n - -$ #_verb_fnd Original Message:(Result: h_name=`%s'\n) -# Ergebnis: h_name=`%s'\n - -$ #_verb_ali Original Message:(Result: h_aliases=`%s'\n) -# Ergebnis: h_aliases=`%s'\n - -$ #_verb_ipn Original Message:(Result: h_addr_list=`%s'\n) -# Ergebnis: h_addr_list=`%s'\n - -$ #_verb_get Original Message:(gethostname()=`%s'\n) -# gethostname()=`%s'\n - -$ #_verb_dset Original Message:(Setting domainname to `%s'\n) -# Setze NIS Domainname auf `%s'\n - -$ #_verb_dget Original Message:(getdomainname()=`%s'\n) -# getdomainname()=%s'\n - -$ #_dname_root Original Message:(%s: you must be root to change the domain name\n) -# %s: Sie müssen root sein um den Domainnamen zu ändern\n - -$ #_dname_toolong Original Message:(%s: name too long\n) -# %s: Domainname ist zu lang\n diff --git a/nls/de_DE.88591/ifconfig.m b/nls/de_DE.88591/ifconfig.m deleted file mode 100644 index 6fa8123..0000000 --- a/nls/de_DE.88591/ifconfig.m +++ /dev/null @@ -1,76 +0,0 @@ -$set 1 #ifconfig - -$ #_over Original Message:(overruns) -# Überholungen - -$ #_compress Original Message:(compressed) -# komprimiert - -$ #_link Original Message:(%-8.8s Link encap:%s ) -# %-8.8s Link encap:%s - -$ #_hw Original Message:(HWaddr %s) -# HW-Adr %s - -$ #_adr Original Message:(\n %s addr:%s) -# \n %s Adr: %s - -$ #_pap Original Message:( P-t-P:%s ) -# P-t-P:%s - -$ #_bcast Original Message:( Bcast:%s ) -# Bcast:%s - -$ #_mask Original Message:(Mask:%s\n) -# Maske:%s\n - -$ #_etherII Original Message:( IPX/Ethernet II addr:%s\n) -# IPX/Ethernet II Adresse:%s\n - -$ #_SNAP Original Message:( IPX/Ethernet SNAP addr:%s\n) -# IPX/Ethernet SNAP Adresse:%s\n - -$ #_8022 Original Message:( IPX/Ethernet 802.2 addr:%s\n) -# IPX/Ethernet 802.2 Adresse:%s\n - -$ #_8023 Original Message:( IPX/Ethernet 802.3 addr:%s\n) -# IPX/Ethernet 802.3 Adresse:%s\n - -$ #_talk Original Message:( EtherTalk Phase 2 addr:%s\n) -# EtherTalk Phase 2 Adresse:%s\n - -$ #_noflags Original Message:([NO FLAGS] ) -# [KEINE OPTIONEN] - -$ #_mtu Original Message:( MTU:%d Metric:%d\n) -# MTU:%d Metrik:%d\n - -$ #_rx Original Message:(RX packets:%u errors:%u dropped:%u %s:%u\n) -# RX Packete:%u Fehler:%u verloren:%u %s:%u\n - -$ #_tx Original Message:(TX packets:%u errors:%u dropped:%u %s:%u\n) -# TX Packete:%u Fehler:%u verloren:%u %s:%u\n - -$ #_interrupt Original Message:(Interrupt:%d ) -# Unterbrechung:%d - -$ #_base Original Message:(Base address:0x%x ) -# Basisadresse:0x%x - -$ #_mem Original Message:(Memory:%lx-%lx ) -# Speicher:%lx-%lx - -$ #_dma Original Message:(DMA chan:%x ) -# DMA Kanal:%x - -$ #_unkn Original Message:(%s: unknown interface.\n) -# %s: unbekannte Schnittstelle.\n - -$ #_usage1 Original Message:(Usage: ifconfig [-a] [-i] [-v] interface\n) -# Usage: ifconfig [-a] [-i] [-v] Schnittstelle\n - -$ #_usage2 Original Message:( [inet address]\n) -# [inet Adresse]\n - -$ #_usage3 Original Message:( [hw] [ax25 address]\n) -# [hw] [ax25 Adresse]\n diff --git a/nls/de_DE.88591/inet.m b/nls/de_DE.88591/inet.m deleted file mode 100644 index 6c2a07b..0000000 --- a/nls/de_DE.88591/inet.m +++ /dev/null @@ -1,25 +0,0 @@ -$set 14 #inet - -$ #_debug1 Original Message:(rresolve: unsupport address family %d !\n) -# rresolve: Adressfamilie %d nicht unterstützt !\n - -$ #_none Original Message:([NONE SET]) -# [NICHTS GESETZT] - -$ #_darpa Original Message:(DARPA Internet) -# DARPA Internet - -$ #_table Original Message:(Kernel IP routing table\n) -# Kernel IP Routing-Tabelle\n - -$ #_header1 Original Message:(Destination Gateway Genmask Flags Metric Ref Use Iface\n) -# Ziel Gateway Maske Optn Metrik Ref Ben Iface\n - -$ #_header2 Original Message:(Destination Gateway Genmask Flags MSS Window irtt Iface\n) -# Ziel Gateway Maske Optn MSS Fenster irtt Iface\n - -$ #_header3 Original Message:(Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt\n) -# Ziel Gateway Maske Optn Metrik Ref Ben Iface MSS Fenst. irtt\n - -$ #_route Original Message:(unsupported address family %d !\n) -# Adressfamilie %d nicht unterstützt!\n diff --git a/nls/de_DE.88591/ipfw.m b/nls/de_DE.88591/ipfw.m deleted file mode 100644 index 0623cc5..0000000 --- a/nls/de_DE.88591/ipfw.m +++ /dev/null @@ -1,343 +0,0 @@ -$set 9 #ipfw - -$ #_ipf_blocking Original Message:(blocking) -# blockiert - -$ #_ipf_fwding Original Message:(forwarding) -# weiterleitend - -$ #_ipf_accnting Original Message:(accounting) -# abrechnend - -$ #_ipf_msqrading Original Message:(masquerading) -# verkleidend - -$ #_usage1 Original Message:(usage:\tipfw [-ndhcVr] [--version] [--help]\n\t [--numeric] [--count] [--reset] [--debug] [--append]\n) -# usage:\tipfw [-ndhcVr] [--version] [--help]\n\t [--numeric] [--count] [--reset] [--debug] [--append]\n - -$ #_usage2 Original Message:(\tipfw p[olicy] {b[locking]|f[orwarding]} {accept|deny|reject}\n) -# \tipfw p[olicy] {b[locking]|f[orwarding]} {accept|deny|reject}\n - -$ #_usage3 Original Message:(\tipfw [-nrc] l[ist] {b[locking]|f[orwarding]|a[ccounting]}\n) -# \tipfw [-nrc] l[ist] {b[locking]|f[orwarding]|a[ccounting]}\n - -$ #_usage4 Original Message:(\tipfw f[lush] {b[locking]|f[orwarding]|a[ccounting]}\n) -# \tipfw f[lush] {b[locking]|f[orwarding]|a[ccounting]}\n - -$ #_usage5 Original Message:(\tipfw {a[dd]|d[el]} {b[locking]|f[orwarding]} {accept|deny|reject} \n\t Type [iface Addr] from Src to Dst [flags Flags]\n) -# \tipfw {a[dd]|d[el]} {b[locking]|f[orwarding]} {accept|deny|reject} \n\t Type [iface Addr] from Src to Dst [flags Flags]\n - -$ #_usage6 Original Message:(\tipfw c[heck] {b[locking]|f[orwarding]}\n\t Type [iface Addr] from Src to Dst [flags Flags]\n) -# \tipfw c[heck] {b[locking]|f[orwarding]}\n\t Type [iface Addr] from Src to Dst [flags Flags]\n - -$ #_usage7 Original Message:(\tipfw {a[dd]|d[el]} a[ccounting]\n\t Type [iface Addr] from Src to Dst [flags Flags]\n) -# \tipfw {a[dd]|d[el]} a[ccounting]\n\t Type [iface Addr] from Src to Dst [flags Flags]\n - -$ #_usage8 Original Message:(\tipfw z[ero] {b[locking]|f[orwarding]|a[ccounting]}\n) -# \tipfw z[ero] {b[locking]|f[orwarding]|a[ccounting]}\n - -$ #_usage9 Original Message:(\tipfw {a[dd]|d[el]} m[asquerade] Type from Src to Dst\n\n) -# \tipfw {a[dd]|d[el]} m[asquerade] Type from Src to Dst\n\n - -$ #_usage10 Original Message:(\tType={udp|tcp}:\t\tFlags={bidir|syn|ack|prn} ...\n) -# \tType={udp|tcp}:\t\tFlags={bidir|syn|ack|prn} ...\n - -$ #_usage11 Original Message:(\tSrc,Dst={1.2.3.4/24|Host|Netname} [[Port1:Port2] Port3 ... Port10]\n\n) -# \tSrc,Dst={1.2.3.4/24|Host|Netname} [[Port1:Port2] Port3 ... Port10]\n\n - -$ #_usage12 Original Message:(\tType={icmp}:\t\tFlags={bidir,prn}\n) -# \tType={icmp}:\t\tFlags={bidir,prn}\n - -$ #_usage13 Original Message:(\tSrc={1.2.3.4/24|Host|Netname} [[Type1:Type2] Type3 ... Type10]\n) -# \tSrc={1.2.3.4/24|Host|Netname} [[Type1:Type2] Type3 ... Type10]\n - -$ #_usage14 Original Message:(\tDst={1.2.3.4/24|Host|Netname}\n\n) -# \tDst={1.2.3.4/24|Host|Netname}\n\n - -$ #_usage15 Original Message:(\tType={all}:\t\tFlags={bidir,prn}\n) -# \tType={all}:\t\tFlags={bidir,prn}\n - -$ #_usage16 Original Message:() -# \tSrc,Dst={1.2.3.4/24|Host|Netname}\n - -$ #_range_set Original Message:(ipfw: range flag set but only %d ports\n) -# ipfw: Bereichsoption gesetzt, aber nur %d Ports\n - -$ #_unkn Original Message:(unknown command (%d) passed to do_setsockopt - bye!\n) -# unbekannter Befehl (%d) an do_setsockopt - tschüssi!\n - -$ #_ip Original Message:(ip header length %d, should be %d\n) -# ip Headerlänge %d, sollte %d sein\n - -$ #_data_ip Original Message:(data = struct iphdr : struct %shdr {\n) -# data = struct iphdr : struct %shdr {\n - -$ #_data_ipfw Original Message:(data = struct ip_fw {\n) -# data = struct ip_fw {\n - -$ #_accept Original Message:(\taccept ) -# \taccept - -$ #_deny Original Message:(\tdeny ) -# \tdeny - -$ #_univ Original Message:(\tuniversal\n) -# \tuniversal\n - -$ #_missing Original Message:(ipfw: missing protocol name\n) -# ipfw: Protokollname fehlt\n - -$ #_illegal Original Message:(illegal protocol name \"%s\"\n) -# ungültiger Protokollname "%s"\n - -$ #_missing_ip Original Message:(ipfw: missing ip address\n) -# ipfw: IP-Adresse fehlt\n - -$ #_periods Original Message:(ipfw: two periods in a row in ip address (%s)\n) -# ipfw: zwei Punkte hintereinander in IP-Adresse (%s)\n - -$ #_unkn_host Original Message:(ipfw: unknown host \"%s\"\n) -# ipfw: unbekannter Rechner "%s"\n - -$ #_addr_length Original Message:(ipfw: hostentry addr length = %d, expected %d) -# ipfw: Rechnereintrag Adreßlänge = %d, erwartet %d - -$ #_matched Original Message:(ipfw: Only %d fields matched in IP address!\n) -# ipfw: Nur %d Felder gefunden in IP-Adresse!\n - -$ #_too_large Original Message:(ipfw: number too large in ip address (%s)\n) -# ipfw: Zahl zu groß in IP-Adresse (%s)\n - -$ #_inc_format Original Message:(ipfw: incorrect ip address format \"%s\" (expected 3 periods)\n) -# ipfw: ungültiges IP-Adreßformat "%s" (habe 3 Punkte erwartet)\n - -$ #_not_allowed Original Message:(ipfw: ip netmask not allowed here (%s)\n) -# ipfw: IP-Netzmaske hier nicht erlaubt (%s)\n - -$ #_missing_mask Original Message:(ipfw: missing mask value (%s)\n) -# ipfw: fehlender Maskenwert (%s)\n - -$ #_non_num Original Message:(ipfw: non-numeric mask value (%s)\n) -# ipfw: nichtnumerischer Maskenwert (%s)\n - -$ #_junk_mask Original Message:(ipfw: junk after mask (%s)\n) -# ipfw: Schrott hinter Maske (%s)\n - -$ #_out_range Original Message:(ipfw: mask length value out of range (%s)\n) -# ipfw: Maskenlänge nicht im gültigen Bereich (%s)\n - -$ #_junk_ip Original Message:(ipfw: junk after ip address (%s)\n) -# ipfw: Schrott hinter IP-Adresse (%s)\n - -$ #_illegal_port Original Message:(ipfw: illegal port number (%s)\n) -# ipfw: ungültige Portnummer (%s)\n - -$ #_portnum_out Original Message:(ipfw: port number out of range (%d)\n) -# ipfw: Portnummer nicht im gültigen Bereich (%d)\n - -$ #_unkn_service Original Message:(ipfw: unknown %s service \"%s\"\n) -# ipfw: unbekannter %s Dienst "%s"\n - -$ #_too_port Original Message:(ipfw: too many port numbers (max %d, got at least %d, next parm="%s")\n) -# ipfw: zuviele Portnummern (max %d, bekam mindestens %d, nächster Wert="%s")\n - -$ #_port_ranges Original Message:(port ranges are only allowed for the first port value pair (%s)\n) -# Portbereiche sind nur für das erste Portwertepaar erlaubt (%s)\n - -$ #_no_range Original Message:(ipfw: port range not allowed here (%s)\n) -# ipfw: Portbereich hier nicht erlaubt (%s)\n - -$ #_missing_port Original Message:(ipfw: missing port number%s\n) -# ipfw: fehlende Portnummer\n - -$ #_nomore_port Original Message:(ipfw: not enough port numbers (expected %d, got %d)\n) -# ipfw: nicht genügend viele Portnummern (erwartet %d, bekam %d)\n - -$ #_check_blocking Original Message:(blocking) -# blocking - -$ #_check_forwarding Original Message:(forwarding) -# forwarding - -$ #_check Original Message:(check %s ) -# check %s - -$ #_only_check Original Message:(ipfw: can only check TCP or UDP packets\n) -# ipfw: kann nur TCP- oder UDP-Packete überprüfen\n - -$ #_missing_from Original Message:(ipfw: missing \"from\" keyword\n) -# ipfw: fehlendes "from"\n - -$ #_expect_from Original Message:(ipfw: expected \"from\" keyword, got \"%s\"\n) -# ipfw: habe "from" erwartet, bekam "%s"\n - -$ #_missing_to Original Message:(ipfw: missing \"to\" keyword\n) -# ipfw: fehlendes "to"\n - -$ #_expect_to Original Message:(ipfw: expected \"to\" keyword, got \"%s\"\n) -# ipfw: habe "to" erwaretet, bekam "%s"\n - -$ #_paq_accept Original Message:(packet accepted by %s firewall\n) -# Packet von %s Firewall akzeptiert\n - -$ #_blocking Original Message:(blocking) -# blocking - -$ #_forwarding Original Message:(forwarding) -# forwarding - -$ #_paq_reject Original Message:(packet rejected by %s firewall\n) -# Packet von %s Firewall abgewiesen\n - -$ #_extra Original Message:(ipfw: extra parameters at end of command () -# ipfw: überflüssige Parameter am Ende des Befehls ( - -$ #_usage21 Original Message:(usage: ipfirewall add %s ...\n) -# usage: ipfirewall add %s ...\n - -$ #_add Original Message:(add %s ) -# add %s - -$ #_missing_acc Original Message:(ipfw: missing \"accept\" or \"deny\" keyword\n) -# ipfw: fehlendes "accept" oder "deny"\n - -$ #_expect_acc Original Message:(ipfw: expected \"accept\", \"deny\" or \"reject\", got \"%s\"\n) -# ipfw: habe "accept", "deny" oder "reject" erwartet, bekam "%s"\n - -$ #_missing_proto Original Message:(ipfw: missing protocol name.\n) -# ipfw: fehlender Protokollname.\n - -$ #_missing_iface Original Message:(ipfw: missing interface address.\n) -# ipfw: fehlender Schnittstellenname.\n - -$ #_invalid_iface Original Message:(Invalid interface address.\n) -# Ungültige Schnittstellenadresse.\n - -$ #_missing_from2 Original Message:(ipfw: missing \"from\" keyword\n) -# ipfw: fehlendes "from"\n - -$ #_expect_from2 Original Message:(ipfw: expected \"from\", got \"%s\"\n) -# ipfw: habe "from" erwartet, bekam "%s"\n - -$ #_missing_to2 Original Message:(ipfw: missing \"to\" keyword\n) -# ipfw: fehlendes "to"\n - -$ #_expect_to2 Original Message:(ipfw: expected \"to\", got \"%s\"\n) -# ipfw: habe "to" erwartet, bekam "%s"\n - -$ #_extra2 Original Message:(ipfw: extra parameters at end of command () -# ipfw: überflüssige Parameter am Ende des Befehls ( - -$ #_usage22 Original Message:(usage: ipfirewall delete %s ...\n) -# usage: ipfirewall delete %s ...\n - -$ #_delete Original Message:(delete %s ) -# delete %s - -$ #_missing_acc2 Original Message:(ipfw: missing \"accept\" or \"deny\" keyword\n) -# ipfw: fehlendes "accept" oder "deny"\n - -$ #_expect_acc2 Original Message:(ipfw: expected \"accept\" or \"deny\", got \"%s\"\n) -# ipfw: habe "accept" oder "deny" erwartet, bekam "%s"\n - -$ #_missing_proto2 Original Message:(ipfw: missing protocol name.\n) -# ipfw: fehlender Protokollname.\n - -$ #_missing_iface2 Original Message:(ipfw: missing interface address.\n) -# ipfw: fehlende Schnittstellenadresse.\n - -$ #_invalid_iface2 Original Message:(Invalid interface address.\n) -# Ungültige Schnittstellenadresse.\n - -$ #_missing_from3 Original Message:(ipfw: missing \"from\" keyword\n) -# ipfw: fehlendes "from"\n - -$ #_expect_from3 Original Message:(ipfw: expected \"from\", got \"%s\"\n) -# ipfw: habe "from" erwartet, bekam "%s"\n - -$ #_missing_to3 Original Message:(ipfw: missing \"to\" keyword\n) -# ipfw: fehlendes "to"\n - -$ #_expect_to3 Original Message:(ipfw: expected \"to\", got \"%s\"\n) -# ipfw: habe "to" erwartet, bekam "%s"\n - -$ #_extra3 Original Message:(ipfw: extra parameters at end of command () -# ipfw: überflüssige Parameter am Ende des Befehls ( - -$ #_anywhere Original Message:(anywhere) -# irgendwo - -$ #_bytes Original Message:( Packets Bytes ) -# Packete Bytes - -$ #_proto Original Message:(Type Proto Flags From To Iface Ports\n) -# Type Proto Flags From To Iface Ports\n - -$ #_list_accept Original Message:(accept ) -# accept - -$ #_list_deny Original Message:(deny ) -# deny - -$ #_list_any Original Message:(any) -# any - -$ #_expect_kwds Original Message:(blocking, forwarding or accounting keyword expected.\n) -# blocking, forwarding oder accounting erwartet.\n - -$ #_found_kwds Original Message:(Found '%s': 'blocking', 'forwarding' or 'accounting' keyword expected.\n) -# Habe gefunden '%s': 'blocking', 'forwarding' oder 'accounting' erwartet.\n - -$ #_raw_socket Original Message:(ipfw: raw socket creation) -# ipfw: raw socket creation - -$ #_expect_main_blocking Original Message:(ipfw: expected \"blocking\" or \"forwarding\".\n) -# ipfw: habe "blocking" oder "forwarding" erwartet.\n - -$ #_expect_main_accept Original Message:(ipfw: expected \"accept\", \"deny\" or \"reject\".\n) -# ipfw: habe "accept", "deny" oder "reject" erwartet.\n - -$ #_expect_main_accounting Original Message:(ipfw: expected \"accounting\", \"blocking\" or \"forwarding\".\n) -# ipfw: habe "accounting", "blocking" oder "forwarding" erwartet.\n - -$ #_illegal_check Original Message:(ipfw: illegal `check' keyword: %s\n) -# ipfw: ungültiges `check': %s\n - -$ #_main_missing Original Message:((missing)) -# (fehlt) - -$ #_unkn_cmd Original Message:(ipfw: unknown command `%s'\n\n) -# ipfw: unbekannter Befehl `%s'\n\n - -$ #_unkn_kwd Original Message:(ipfw: unknown `%s' keyword: `%s'\n) -# ipfw: unbekanntes `%s' Schlüsselwort: `%s'\n - -$ #_reject Original Message:(\treject ) -# \treject - -$ #_badflag Original Message:(ipfw: \"%s\" flag only applicable to TCP rules\n) -# ipfw: "%s" flag only applicable to TCP rules\n - -$ #_missing_fromi Original Message:(ipfw: missing \"from\" or \"iface\" keyword\n) -# ipfw: missing "from" or "iface" keyword\n - -$ #_paq_deny Original Message:(packet denied by %s firewall\n) -# packet denied by %s firewall\n - -$ #_list_reject Original Message:(reject ) -# reject - -$ #_dp_deny Original Message:(Default policy: deny\n) -# Default policy: deny\n - -$ #_dp_accept Original Message:(Default policy: accept\n) -# Default policy: accept\n - -$ #_dp_reject Original Message:(Default policy: reject\n) -# Default policy: reject\n - -$ #_no_support Original Message:(ipfw: no support for `%s'. Please recompile with newer Kernel.\n) -# ipfw: no support for `%s'. Please recompile with newer Kernel.\n - -$ #_list_account Original Message:(account ) -# account diff --git a/nls/de_DE.88591/ipx.m b/nls/de_DE.88591/ipx.m deleted file mode 100644 index 731e455..0000000 --- a/nls/de_DE.88591/ipx.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 15 #ipx - -$ #_none Original Message:([NONE SET]) -# [NICHTS GESETZT] - -$ #_ipx Original Message:(IPX) -# IPX - -$ #_notyet Original Message:(Routing table for `ipx' not yet supported.\n) -# Routingtabelle für `ipx' noch nicht unterstützt.\n diff --git a/nls/de_DE.88591/lib.m b/nls/de_DE.88591/lib.m deleted file mode 100644 index a16f2dd..0000000 --- a/nls/de_DE.88591/lib.m +++ /dev/null @@ -1,22 +0,0 @@ -$set 22 #lib - -$ #_unknown_af Original Message:(Unknown address family `%s'.\n) -# Unbekannte Adressfamilie `%s'.\n - -$ #_toomuch_af Original Message:(Too much address family arguments.\n) -# Zu viele Adressfamilien angegeben.\n - -$ #_nofeature Original Message:(%s: feature `%s' not supported. Please recompile with newer kernel.\n) -# %s: Merkmal `%s' nicht unterstützt. Bitte mit neum Kernel übersetzen.\n - -$ #_sysnot Original Message:(%s: no support for `%s' on this system.\n) -# %s: no support for `%s' on this system.\n - -$ #_masq Original Message:(IP masquerading entries\n) -# IP masquerading entries\n - -$ #_masq_tit1 Original Message:(prot expire source destination ports\n) -# prot expire source destination ports\n - -$ #_masq_tit2 Original Message:(prot expire initseq delta prevd source destination ports\n) -# prot expire initseq delta prevd source destination ports\n diff --git a/nls/de_DE.88591/loopback.m b/nls/de_DE.88591/loopback.m deleted file mode 100644 index 2a5852f..0000000 --- a/nls/de_DE.88591/loopback.m +++ /dev/null @@ -1,11 +0,0 @@ -$set 16 #loopback - -$ #_none Original Message:([NONE SET]) -# [NICHTS GESETZT] - -$ #_unspec Original Message:(UNSPEC) -# UNSPEZIFIZIERT - -$ #_loop Original Message:(Local Loopback) -# Lokaler Loopback - diff --git a/nls/de_DE.88591/netrom.m b/nls/de_DE.88591/netrom.m deleted file mode 100644 index f449796..0000000 --- a/nls/de_DE.88591/netrom.m +++ /dev/null @@ -1,20 +0,0 @@ -$set 20 #netrom - -$ #_none Original Message:([NONE SET]) -# [NICHTS GESETZT] - -$ #_debug1 Original Message:(Invalid callsign) -# Ungültiges Rufzeichen - -$ #_debug2 Original Message:(Callsign too long) -# Rufzeichen zu lang - -$ #_hw Original Message:(AMPR NET/ROM) -# AMPR NET/ROM - -$ #_netrom Original Message:(AMPR NET/ROM) -# AMPR NET/ROM - -$ #_notyet Original Message:(Routing table for `netrom' not yet supported.\n) -# Routing table for `netrom' not yet supported.\n - diff --git a/nls/de_DE.88591/netstat.m b/nls/de_DE.88591/netstat.m deleted file mode 100644 index fb814e2..0000000 --- a/nls/de_DE.88591/netstat.m +++ /dev/null @@ -1,149 +0,0 @@ -$set 4 #netstat - -$ #_header Original Message:(Destination Gateway Genmask Flags Metric Ref Use Iface\n) -# Ziel Gateway Maske Optn Metrik Ref Ben Iface\n - -$ #_args Original Message:(%s -> %d args) -# %s -> %d Argumente - -$ #_netstat Original Message:(netstat: unsupported address family %d !\n) -# netstat: Adressfamilie %d nicht unterstützt !\n - -$ #_UNKN Original Message:(UNKNOWN) -# UNBEKANNT - -$ #_off Original Message:(off (0.00/%ld)) -# aus (0.00/%ld) - -$ #_on Original Message:(on (%2.2f/%ld)) -# an (%2.2f/%ld) - -$ #_unkn Original Message:(unkn-%d (%2.2f/%ld)) -# unbek-%d (%2.2f/%ld) - -$ #_off2 Original Message:(off (0.00/%ld) %c) -# aus (0.00/%ld) %c - -$ #_on2 Original Message:(on (%2.2f/%ld) %c) -# an (%2.2f/%ld) %c - -$ #_unkn2 Original Message:(unkn-%d (%2.2f/%ld) %c) -# unbek-%d (%2.2f/%ld) %c - -$ #_off3 Original Message:(off (0.00/%ld) %c) -# aus (0.00/%ld) %c - -$ #_on3 Original Message:(on (%2.2f/%ld) %c) -# an (%2.2f/%ld) %c - -$ #_unkn3 Original Message:(unkn-%d (%2.2f/%ld) %c) -# unbek-%d (%2.2f/%ld) %c - -$ #_unix Original Message:(Active UNIX domain sockets\n) -# Aktive UNIX Domain-Sockets\n - -$ #_header_unix Original Message:(Proto RefCnt Flags Type State Path\n) -# Proto RefAnz Optn Typ Zustand Pfad\n - -$ #_noflags Original Message:([NO FLAGS]) -# [KEINE OPTIONEN] - -$ #_interface Original Message:(Kernel Interface table\n) -# Kernel Schnittstellentabelle\n - -$ #_header_iface Original Message:(Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags\n) -# Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags\n - -$ #_unkn_iface Original Message:(%s: unknown interface.\n) -# %s: unbekannte Schnittstelle.\n - - -$ #_usage1 Original Message:(usage: netstat [-veenc] [<Af>] -r netstat {-V|--version|-h|--help}\n) -# usage: netstat [-veenc] [<Af>] -r netstat {-V|--version|-h|--help}\n - -$ #_usage2 Original Message:( netstat [-vncao] [<Socket>]\n) -# netstat [-vncao] [<Socket>]\n - -$ #_usage3 Original Message:( netstat { [-veenac] -i | [-vnc] -N | [-cne] -M }\n\n) -# netstat { [-veenac] -i | [-vnc] -N | [-cne] -M }\n\n - -$ #_usage4 Original Message:( -r, --routing display routing table\n) -# -r, --routing zeige Routingtabelle an\n - -$ #_usage5 Original Message:( -N, --netlink display netlink kernel messages\n) -# -N, --netlink zeige Netlink Kernelnachrichten an\n - -$ #_usage6 Original Message:( -i, --interfaces display interface table\n) -# -i, --interfaces zeige Interfacetabelle an\n - -$ #_usage7 Original Message:( -M, --masquerade display masqueraded connections\n\n) -# -M, --masquerade display masqueraded connections\n\n - -$ #_usage8 Original Message:( -v, --verbose be verbose\n) -# -v, --verbose sei gesprächig\n - -$ #_usage9 Original Message:( -n, --numeric dont resolve names\n) -# -n, --numeric Namen nur numerisch ausgeben\n - -$ #_usage10 Original Message:( -e, --extend display other/more informations\n) -# -e, --extend Andere/Mehr Infos ausgeben\n - -$ #_usage11 Original Message:( -c, --continous continous lising\n\n) -# -c, --continous Fortwährend anzeigen\n\n - -$ #_usage12 Original Message:( -a, --all, --listening display all\n) -# -a, --all, --listening Alle anzeigen\n - -$ #_usage13 Original Message:( -o, --timers display timers\n\n) -# -o, --timers Timer auch anzeigen\n\n - -$ #_usage14 Original Message:(<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n) -# <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n - -$ #_usage15 Original Message:(<Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n) -# <Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n - -$ #_internet Original Message:(Active Internet connections) -# Aktive Internetverbindungen - -$ #_servers Original Message:( (including servers)) -# (einschl. Server) - -$ #_header_internet Original Message:(\nProto Recv-Q Send-Q Local Address Foreign Address (State) User\n) -# \nProto Empf-Q Send-Q Lokale Adresse Fremde Adresse (Zustand) Benutzer\n - -$ #_header_ipx Original Message:(Active IPX sockets\nProto Recv-Q Send-Q Local Address Foreign Address (State) User\n) -# Aktive IPX-Sockets\nProto Empf-Q Send-Q Lokale Adresse Fremde Adresse (Zustand) Benutzer\n - -$ #_type_no_route Original Message:(No routing for address family `%s'.\n) -# Kein Routing für Adressfamilie `%s'.\n - -$ #_route_no_support Original Message:(Adress family `%s' not supported.\n) -# Adressfamilie `%s' noch nicht unterstützt.\n - -$ #_route_not_yet Original Message:(Address family `%s' Not yet supported.\n) -# Adaressfamilie `%s' noch nicht unterstützt.\n - -$ #_nlp_title Original Message:(Netlink Kernel Messages) -# Netlink Kernelnachrichten - -$ #_nlp_cnt Original Message:( (continous)) -# (fortwährend) - -$ #_noax25 Original Message:(AX.25 not configured in this system.\n) -# AX.25 not configured in this system.\n - -$ #_ax25 Original Message:(Kernel AX.25 routing table\n) -# Kernel AX.25 routing table\n - -$ #_header_ax25 Original Message:(Destination Iface Use\n) -# Destination Iface Use\n - -$ #_nonetrom Original Message:(NET/ROM not configured in this system.\n) -# NET/ROM not configured in this system.\n - -$ #_netrom Original Message:(Kernel NET/ROM routing table\n) -# Kernel NET/ROM routing table\n - -$ #_header_netrom Original Message:(Destination Mnemonic Quality Neighbour Iface\n) -# Destination Mnemonic Quality Neighbour Iface\n diff --git a/nls/de_DE.88591/plipconfig.m b/nls/de_DE.88591/plipconfig.m deleted file mode 100644 index 1a0789d..0000000 --- a/nls/de_DE.88591/plipconfig.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 6 #plipconfig - -$ #_usage1 Original Message:(Usage: plipconfig [-a] [-i] [-v] interface\n) -# Benutzung: plipconfig [-a] [-i] [-v] Schnittstelle\n - -$ #_usage2 Original Message:( [nibble NN] [trigger NN]\n) -# [nibble NN] [trigger NN]\n - -$ #_plip Original Message:(%s\tnibble %lu trigger %lu\n) -# %s\tnibble %lu trigger %lu\n diff --git a/nls/de_DE.88591/ppp.m b/nls/de_DE.88591/ppp.m deleted file mode 100644 index 999e0b3..0000000 --- a/nls/de_DE.88591/ppp.m +++ /dev/null @@ -1,8 +0,0 @@ -$set 17 #ppp - -$ #_cant_start Original Message:(You cannot start PPP with this program.\n) -# Sie können PPP mit diesem Programm nicht starten.\n - -$ #_ppp Original Message:(Point-Point Protocol) -# Punkt-zu-Punkt-Protokoll - diff --git a/nls/de_DE.88591/rarp.m b/nls/de_DE.88591/rarp.m deleted file mode 100644 index b64d8d6..0000000 --- a/nls/de_DE.88591/rarp.m +++ /dev/null @@ -1,22 +0,0 @@ -$set 7 #rarp - -$ #_invalid Original Message:(Invalid Ethernet address: %s\n) -# Ungültige Ethernet-Adresse: %s\n - -$ #_unkn_host Original Message:(rarp: %s: unknown host\n) -# rarp: %s: unbekannter Rechner\n - -$ #_noentry Original Message:(No ARP entry for %s\n) -# Kein ARP-Eintrag für %s\n - -$ #_usage1 Original Message:(Usage: rarp -a List Entries in cache. \n) -# Benutzung: rarp -a Gibt Einträge im Cache aus.\n - -$ #_usage2 Original Message:( rarp -d hostname Delete hostname from cache.\n) -# rarp -d Rechnername Löscht Einträge im Cache.\n - -$ #_usage3 Original Message:( rarp -s hostname hw_addr Add hostname to cache.\n) -# rarp -s Rechnername hw_Adresse Füge Rechnernamen zum Cache hinzu.\n - -$ #_unkn_hw Original Message:(rarp: %s: unknown hardware type.\n) -# rarp: %s: unbekannter Hardwaretyp.\n diff --git a/nls/de_DE.88591/route.m b/nls/de_DE.88591/route.m deleted file mode 100644 index d759e21..0000000 --- a/nls/de_DE.88591/route.m +++ /dev/null @@ -1,6 +0,0 @@ -$set 2 #route - -$ #_rresolve Original Message:(rresolve: unsupport address family %d !\n) -# rresolve: Adressfamilie nicht unterstützt: %d !\n - -$ #_usage1 Original Message:(Usage: route [-nvee] [-A inet|ipx|ddp|netrom],... route {--version|--help}
\ No newline at end of file diff --git a/nls/de_DE.88591/slattach.m b/nls/de_DE.88591/slattach.m deleted file mode 100644 index a6e46c1..0000000 --- a/nls/de_DE.88591/slattach.m +++ /dev/null @@ -1,46 +0,0 @@ -$set 8 #slattach - -$ #_user_unkn Original Message:(slattach: tty_lock: UUCP user %s unknown!\n) -# slattach: tty_lock: UUCP Benutzer %s unbekannt!\n - -$ #_drop Original Message:(slattach: tty_hangup(DROP): %s\n) -# slattach: tty_hangup(BEENDEN): %s\n - -$ #_raise Original Message:(slattach: tty_hangup(RAISE): %s\n) -# slattach: tty_hangup(STARTEN): %s\n - -$ #_cant_state Original Message:(slattach: tty_open: cannot get current state!\n) -# slattach: tty_open: kann aktuellen Zustand nicht bestimmen!\n - -$ #_cant_disc Original Message:(slattach: tty_open: cannot get current line disc!\n) -# slattach: tty_open: kann aktuelle Leitungsdisziplin nicht bestimmen!\n - -$ #_cant_raw Original Message:(slattach: tty_open: cannot set RAW mode!\n) -# slattach: tty_open: kann RAW-Modus nicht setzen!\n - -$ #_cant_bps Original Message:(slattach: tty_open: cannot set %s bps!\n) -# slattach: tty_open: kann Baudrate %s nicht setzen!\n - -$ #_cant_8n1 Original Message:(slattach: tty_open: cannot set 8N1 mode!\n) -# slattach: tty_open: kann 8N1-Modus nicht setzen!\n - -$ #_usage1 Original Message:(Usage: slattach [-ehlLmnqv] [-c cmd] [-s speed] [-p protocol] tty | -\n) -# Benutzung: slattach [-ehlLmnqv] [-c Bef] [-s Geschw] [-p Proto] tty | -\n - -$ #_unsupp Original Message:(slattach: unsupported protocol %s\n) -# slattach: Protokoll nicht unterstützt: %s\n - -$ #_started Original Message:(%s started) -# %s hat begonnen - -$ #_on Original Message:( on %s) -# auf %s - -$ #_iface Original Message:( interface %s\n) -# Schnittstelle %s\n - -$ #_locked Original Message:(slattach: /dev/%s already locked\n) -# slattach: /dev/%s bereits benutzt\n - -$ #_cant_pid Original Message:(slattach: cannot write PID to lock file\n) -# slattach: kann PID nicht ins lockfile schreiben\n diff --git a/nls/de_DE.88591/slip.m b/nls/de_DE.88591/slip.m deleted file mode 100644 index eceb4d3..0000000 --- a/nls/de_DE.88591/slip.m +++ /dev/null @@ -1,17 +0,0 @@ -$set 18 #slip - -$ #_slip Original Message:(Serial Line IP) -# Serial Line IP - -$ #_cslip Original Message:(VJ Serial Line IP) -# VJ Serial Line IP - -$ #_slip6 Original Message:(6-bit Serial Line IP) -# 6-Bit Serial Line IP - -$ #_cslip6 Original Message:(VJ 6-bit Serial Line IP) -# VJ 6-Bit Serial Line IP - -$ #_adaptive Original Message:(Adaptive Serial Line IP) -# Adaptive Serial Line IP - diff --git a/nls/de_DE.88591/tunnel.m b/nls/de_DE.88591/tunnel.m deleted file mode 100644 index 680ed3c..0000000 --- a/nls/de_DE.88591/tunnel.m +++ /dev/null @@ -1,4 +0,0 @@ -$set 21 #tunnel - -$ #_hw Original Message:(IPIP Tunnel) -# IPIP Tunnel diff --git a/nls/de_DE.88591/unix.m b/nls/de_DE.88591/unix.m deleted file mode 100644 index 5680ada..0000000 --- a/nls/de_DE.88591/unix.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 19 #unix - -$ #_none Original Message:([NONE SET]) -# [NICHT GESETZT] - -$ #_unix Original Message:(UNIX Domain) -# UNIX Domäne - -$ #_unspec Original Message:(UNSPEC) -# UNSPEZIFIZIERT diff --git a/nls/en_US.88591/arcnet.m b/nls/en_US.88591/arcnet.m deleted file mode 100644 index f134194..0000000 --- a/nls/en_US.88591/arcnet.m +++ /dev/null @@ -1,20 +0,0 @@ -$set 10 #arcnet - -$ #_none Original Message:([NONE SET]) -# [NONE SET] - -$ #_debug1 Original Message:(in_arcnet(%s): invalid arcnet address!\n) -# in_arcnet(%s): invalid arcnet address!\n - -$ #_debug2 Original Message:(in_arcnet(%s): invalid arcnet address!\n) -# in_arcnet(%s): invalid arcnet address!\n - -$ #_debug3 Original Message:(in_arcnet(%s): trailing : ignored!\n) -# in_arcnet(%s): trailing : ignored!\n - -$ #_debug4 Original Message:(in_arcnet(%s): trailing junk!\n) -# in_arcnet(%s): trailing junk!\n - -$ #_arcnet Original Message:(1.5Mbps ARCnet) -# 1.5Mbps ARCnet - diff --git a/nls/en_US.88591/arp.m b/nls/en_US.88591/arp.m deleted file mode 100644 index c08b240..0000000 --- a/nls/en_US.88591/arp.m +++ /dev/null @@ -1,70 +0,0 @@ -$set 3 #arp - -$ #_hostname Original Message:(arp: need host name\n) -# arp: need host name\n - -$ #_no_arp Original Message:(No ARP entry for %s\n) -# No ARP entry for %s\n - -$ #_need_hw Original Message:(arp: need hardware address\n) -# arp: need hardware address\n - -$ #_invalidhw Original Message:(arp: invalid hardware address\n) -# arp: invalid hardware address\n - -$ #_cant_open Original Message:(arp: cannot open etherfile %s !\n) -# arp: cannot open etherfile %s !\n - -$ #_formaterr Original Message:(arp: format error on line %u of etherfile %s !\n) -# arp: format error on line %u of etherfile %s !\n - -$ #_cant_set Original Message:(arp: cannot set entry on line %u of etherfile %s !\n) -# arp: cannot set entry on line %u of etherfile %s !\n - -$ #_address Original Message:(Address\t\tHW type\t\tHW address\t Flags Mask\t\t Iface\n) -# Address\t\tHW type\t\tHW address\t Flags Mask\t\t Iface\n - -$ #_wrong_af Original Message:(arp: %s: kernel only supports 'inet'.\n) -# arp: %s: kernel only supports 'inet'.\n - -$ #_sum Original Message:(Entries: %d\tSkiped: %d\tFound: %d\n) -# Entries: %d\tSkiped: %d\tFound: %d\n - -$ #_usage1 Original Message:(Usage: arp [-vn] [-H type] [-i if] -a [hostname]\n) -# Usage: arp [-vn] [-H type] [-i if] -a [hostname]\n - -$ #_usage2 Original Message:( arp [-v] [-i if] -d hostname [pub]\n) -# arp [-v] [-i if] -d hostname [pub]\n - -$ #_usage3 Original Message:( arp [-v] [-H type] [-i if] -s hostname hw_addr [temp] [trail]\n) -# arp [-v] [-H type] [-i if] -s hostname hw_addr [temp] [trail]\n - -$ #_usage4 Original Message:( arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub [trail]\n) -# arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub [trail]\n - -$ #_usage5 Original Message:( arp [-vn] [-H type] [-i if] -f filename\n) -# arp [-vn] [-H type] [-i if] -f filename\n - -$ #_hw_not_supp Original Message:(%s: hardware type not supported!\n) -# %s: hardware type not supported!\n - -$ #_fam_not_supp Original Message:(%s: address family not supported!\n) -# %s: address family not supported!\n - -$ #_unkn_addr Original Message:(arp: %s: unknown address family.\n) -# arp: %s: unknown address family.\n - -$ #_unkn_hw Original Message:(arp: %s: unknown hardware type.\n) -# arp: %s: unknown hardware type.\n - -$ #_none Original Message:(arp: in %d entries no match found.\n) -# arp: in %d entries no match found.\n - -$ #_wrong_hw Original Message:(arp: %s: hardware type without ARP support.\n) -# arp: %s: hardware type without ARP support.\n - -$ #_einv_pub Original Message:(Probably destination is reached via ARP Interface. See arp(8)\n) -# Probably destination is reached via ARP Interface. See arp(8)\n - -$ #_einv_nopub Original Message:(Probably destination is on different Interface. See arp(8)\n) -# Probably destination is on different Interface. See arp(8)\n diff --git a/nls/en_US.88591/ax25.m b/nls/en_US.88591/ax25.m deleted file mode 100644 index f5a5a37..0000000 --- a/nls/en_US.88591/ax25.m +++ /dev/null @@ -1,17 +0,0 @@ -$set 11 #ax25 - -$ #_none Original Message:([NONE SET]) -# [NONE SET] - -$ #_debug1 Original Message:(Invalid callsign) -# Invalid callsign - -$ #_debug2 Original Message:(Callsign too long) -# Callsign too long - -$ #_hw Original Message:(AMPR AX.25) -# AMPR AX.25 - -$ #_ax25 Original Message:(AMPR AX.25) -# AMPR AX.25 - diff --git a/nls/en_US.88591/ddp.m b/nls/en_US.88591/ddp.m deleted file mode 100644 index 8cc5008..0000000 --- a/nls/en_US.88591/ddp.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 12 #ddp - -$ #_none Original Message:([NONE SET]) -# [NONE SET] - -$ #_ddp Original Message:(Appletalk DDP) -# Appletalk DDP - -$ #_notyet Original Message:(Routing table for `ddp' not yet supported.\n) -# Routing table for `ddp' not yet supported.\n diff --git a/nls/en_US.88591/ether.m b/nls/en_US.88591/ether.m deleted file mode 100644 index 828214d..0000000 --- a/nls/en_US.88591/ether.m +++ /dev/null @@ -1,20 +0,0 @@ -$set 13 #ether - -$ #_none Original Message:([NONE SET]) -# [NONE SET] - -$ #_debug1 Original Message:(in_ether(%s): invalid ether address!\n) -# in_ether(%s): invalid ether address!\n - -$ #_debug2 Original Message:(in_ether(%s): invalid ether address!\n) -# in_ether(%s): invalid ether address!\n - -$ #_debug3 Original Message:(in_ether(%s): trailing : ignored!\n) -# in_ether(%s): trailing : ignored!\n - -$ #_debug4 Original Message:(in_ether(%s): trailing junk!\n) -# in_ether(%s): trailing junk!\n - -$ #_ether Original Message:(10Mbps Ethernet) -# 10Mbps Ethernet - diff --git a/nls/en_US.88591/hostname.m b/nls/en_US.88591/hostname.m deleted file mode 100644 index 83e7d7c..0000000 --- a/nls/en_US.88591/hostname.m +++ /dev/null @@ -1,103 +0,0 @@ -$set 5 #hostname - -$ #_root Original Message:(%s: you must be root to change the host name\n) -# %s: you must be root to change the host name\n - -$ #_toolong Original Message:(%s: name too long\n) -# %s: name too long\n - -$ #_nodns1 Original Message:(%s: You can't change the DNS domain name with this command\n) -# %s: You can't change the DNS domain name with this command\n - -$ #_nodns2 Original Message:(\nUnless you are using bind or NIS for host lookups you can change the DNS\n) -# \nUnless you are using bind or NIS for host lookups you can change the DNS\n - -$ #_nodns3 Original Message:(domain name (which is part of the FQDN) in the /etc/hosts file.\n) -# which is part of the FQDN) in the /etc/hosts file.\n - -$ #_cant_open Original Message:(%s: can't open `%s'\n) -# %s: can't open `%s'\n - -$ #_usage1 Original Message:(Usage: hostname [-v] {hostname|-F file} set hostname (from file)\n) -# Usage: hostname [-v] {hostname|-F file} set hostname (from file)\n - -$ #_usage2 Original Message:( domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n) -# domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n - -$ #_usage3 Original Message:( hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name\n) -# hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name\n - -$ #_usage4 Original Message:( hostname [-v] display hostname\n\n) -# hostname [-v] display hostname\n\n - -$ #_usage5 Original Message:( hostname -V|--version|-h|--help print info and exit\n\n) -# hostname -V|--version|-h|--help print info and exit\n\n - -$ #_usage6 Original Message:( dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n\n) -# dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n\n - -$ #_usage7 Original Message:( -s, --short short host name\n) -# -s, --short short host name\n - -$ #_usage8 Original Message:( -a, --alias alias names\n) -# -a, --alias alias names\n - -$ #_usage9 Original Message:( -i, --ip-address addresses for the hostname\n) -# -i, --ip-address addresses for the hostname\n - -$ #_usage10 Original Message:( -f, --fqdn, --long long host name (FQDN)\n) -# -f, --fqdn, --long long host name (FQDN)\n - -$ #_usage11 Original Message:( -d, --domain DNS domain name\n) -# -d, --domain DNS domain name\n - -$ #_usage12 Original Message:( -y, --yp, --nis NIS/YP domainname\n) -# -y, --yp, --nis NIS/YP domainname\n - -$ #_usage13 Original Message:( -F, --file read hostname or nis domainname from given File\n\n) -# -F, --file read hostname or nis domainname from given File\n\n - -$ #_usage14 Original Message:( This comand can get or set the hostname or the NIS domainname. You can\n) -# This comand can get or set the hostname or the NIS domainname. You can\n - -$ #_usage15 Original Message:( also get the DNS domain or the FQDN (fully qualified domain name).\n) -# also get the DNS domain or the FQDN (fully qualified domain name).\n - -$ #_usage16 Original Message:( Unless you are using bind or NIS for host lookups you can change the\n) -# Unless you are using bind or NIS for host lookups you can change the\n - -$ #_usage17 Original Message:( FQDN (Fully Qualified Domain Name) and the DNS domain name (which is\n) -# FQDN (Fully Qualified Domain Name) and the DNS domain name (which is\n - -$ #_usage18 Original Message:( part of the FQDN) in the /etc/hosts file.\n) -# part of the FQDN) in the /etc/hosts file.\n - -$ #_verb_set Original Message:(Setting hostname to `%s'\n) -# Setting hostname to `%s'\n - -$ #_verb_res Original Message:(Resolving `%s' ...\n) -# Resolving `%s' ...\n - -$ #_verb_fnd Original Message:(Result: h_name=`%s'\n) -# Result: h_name=`%s'\n - -$ #_verb_ali Original Message:(Result: h_aliases=`%s'\n) -# Result: h_aliases=`%s'\n - -$ #_verb_ipn Original Message:(Result: h_addr_list=`%s'\n) -# Result: h_addr_list=`%s'\n - -$ #_verb_get Original Message:(gethostname()=`%s'\n) -# gethostname()=`%s'\n - -$ #_verb_dset Original Message:(Setting domainname to %s'\n) -# Setting domainname to %s'\n - -$ #_verb_dget Original Message:(getdomainname()=%s'\n) -# getdomainname()=%s'\n - -$ #_dname_root Original Message:(%s: you must be root to change the domain name\n) -# %s: you must be root to change the domain name\n - -$ #_dname_toolong Original Message:(%s: name too long\n) -# %s: name too long\n diff --git a/nls/en_US.88591/ifconfig.m b/nls/en_US.88591/ifconfig.m deleted file mode 100644 index c173ebe..0000000 --- a/nls/en_US.88591/ifconfig.m +++ /dev/null @@ -1,76 +0,0 @@ -$set 1 #ifconfig - -$ #_over Original Message:(overruns) -# overruns - -$ #_compress Original Message:(compressed) -# compressed - -$ #_link Original Message:(%-8.8s Link encap:%s ) -# %-8.8s Link encap:%s - -$ #_hw Original Message:(HWaddr %s) -# HWaddr %s - -$ #_adr Original Message:(\n %s addr:%s) -# \n %s addr:%s - -$ #_pap Original Message:( P-t-P:%s ) -# P-t-P:%s - -$ #_bcast Original Message:( Bcast:%s ) -# Bcast:%s - -$ #_mask Original Message:(Mask:%s\n) -# Mask:%s\n - -$ #_etherII Original Message:( IPX/Ethernet II addr:%s\n) -# IPX/Ethernet II addr:%s\n - -$ #_SNAP Original Message:( IPX/Ethernet SNAP addr:%s\n) -# IPX/Ethernet SNAP addr:%s\n - -$ #_8022 Original Message:( IPX/Ethernet 802.2 addr:%s\n) -# IPX/Ethernet 802.2 addr:%s\n - -$ #_8023 Original Message:( IPX/Ethernet 802.3 addr:%s\n) -# IPX/Ethernet 802.3 addr:%s\n - -$ #_talk Original Message:( EtherTalk Phase 2 addr:%s\n) -# EtherTalk Phase 2 addr:%s\n - -$ #_noflags Original Message:([NO FLAGS] ) -# [NO FLAGS] - -$ #_mtu Original Message:( MTU:%d Metric:%d\n) -# MTU:%d Metric:%d\n - -$ #_rx Original Message:(RX packets:%u errors:%u dropped:%u %s:%u\n) -# RX packets:%u errors:%u dropped:%u %s:%u\n - -$ #_tx Original Message:(TX packets:%u errors:%u dropped:%u %s:%u\n) -# TX packets:%u errors:%u dropped:%u %s:%u\n - -$ #_interrupt Original Message:(Interrupt:%d ) -# Interrupt:%d - -$ #_base Original Message:(Base address:0x%x ) -# Base address:0x%x - -$ #_mem Original Message:(Memory:%lx-%lx ) -# Memory:%lx-%lx - -$ #_dma Original Message:(DMA chan:%x ) -# DMA chan:%x - -$ #_unkn Original Message:(%s: unknown interface.\n) -# %s: unknown interface.\n - -$ #_usage1 Original Message:(Usage: ifconfig [-a] [-i] [-v] interface\n) -# Usage: ifconfig [-a] [-i] [-v] interface\n - -$ #_usage2 Original Message:( [inet address]\n) -# [inet address]\n - -$ #_usage3 Original Message:( [hw] [ax25 address]\n) -# [hw] [ax25 address]\n diff --git a/nls/en_US.88591/inet.m b/nls/en_US.88591/inet.m deleted file mode 100644 index 30091b0..0000000 --- a/nls/en_US.88591/inet.m +++ /dev/null @@ -1,25 +0,0 @@ -$set 14 #inet - -$ #_debug1 Original Message:(rresolve: unsupport address family %d !\n) -# rresolve: unsupport address family %d !\n - -$ #_none Original Message:([NONE SET]) -# [NONE SET] - -$ #_darpa Original Message:(DARPA Internet) -# DARPA Internet - -$ #_table Original Message:(Kernel IP routing table\n) -# Kernel IP routing table\n - -$ #_header1 Original Message:(Destination Gateway Genmask Flags Metric Ref Use Iface\n) -# Destination Gateway Genmask Flags Metric Ref Use Iface\n - -$ #_header2 Original Message:(Destination Gateway Genmask Flags MSS Window irtt Iface\n) -# Destination Gateway Genmask Flags MSS Window irtt Iface\n - -$ #_header3 Original Message:(Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt\n) -# Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt\n - -$ #_route Original Message:(unsupported address family %d !\n) -# unsupported address family %d !\n diff --git a/nls/en_US.88591/ipfw.m b/nls/en_US.88591/ipfw.m deleted file mode 100644 index 609f81b..0000000 --- a/nls/en_US.88591/ipfw.m +++ /dev/null @@ -1,343 +0,0 @@ -$set 9 #ipfw - -$ #_ipf_blocking Original Message:(blocking) -# blocking - -$ #_ipf_fwding Original Message:(forwarding) -# forwarding - -$ #_ipf_accnting Original Message:(accounting) -# accounting - -$ #_ipf_msqrading Original Message:(masquerading) -# masquerading - -$ #_usage1 Original Message:(usage:\tipfw [-ndhcVr] [--version] [--help]\n\t [--numeric] [--count] [--reset] [--debug] [--append]\n) -# usage:\tipfw [-ndhcVr] [--version] [--help]\n\t [--numeric] [--count] [--reset] [--debug] [--append]\n - -$ #_usage2 Original Message:(\tipfw p[olicy] {b[locking]|f[orwarding]} {accept|deny|reject}\n) -# \tipfw p[olicy] {b[locking]|f[orwarding]} {accept|deny|reject}\n - -$ #_usage3 Original Message:(\tipfw [-nrc] l[ist] {b[locking]|f[orwarding]|a[ccounting]}\n) -# \tipfw [-nrc] l[ist] {b[locking]|f[orwarding]|a[ccounting]}\n - -$ #_usage4 Original Message:(\tipfw f[lush] {b[locking]|f[orwarding]|a[ccounting]}\n) -# \tipfw f[lush] {b[locking]|f[orwarding]|a[ccounting]}\n - -$ #_usage5 Original Message:(\tipfw {a[dd]|d[el]} {b[locking]|f[orwarding]} {accept|deny|reject} \n\t Type [iface Addr] from Src to Dst [flags Flags]\n) -# \tipfw {a[dd]|d[el]} {b[locking]|f[orwarding]} {accept|deny|reject} \n\t Type [iface Addr] from Src to Dst [flags Flags]\n - -$ #_usage6 Original Message:(\tipfw c[heck] {b[locking]|f[orwarding]}\n\t Type [iface Addr] from Src to Dst [flags Flags]\n) -# \tipfw c[heck] {b[locking]|f[orwarding]}\n\t Type [iface Addr] from Src to Dst [flags Flags]\n - -$ #_usage7 Original Message:(\tipfw {a[dd]|d[el]} a[ccounting]\n\t Type [iface Addr] from Src to Dst [flags Flags]\n) -# \tipfw {a[dd]|d[el]} a[ccounting]\n\t Type [iface Addr] from Src to Dst [flags Flags]\n - -$ #_usage8 Original Message:(\tipfw z[ero] {b[locking]|f[orwarding]|a[ccounting]}\n) -# \tipfw z[ero] {b[locking]|f[orwarding]|a[ccounting]}\n - -$ #_usage9 Original Message:(\tipfw {a[dd]|d[el]} m[asquerade] Type from Src to Dst\n\n) -# \tipfw {a[dd]|d[el]} m[asquerade] Type from Src to Dst\n\n - -$ #_usage10 Original Message:(\tType={udp|tcp}:\t\tFlags={bidir|syn|ack|prn} ...\n) -# \tType={udp|tcp}:\t\tFlags={bidir|syn|ack|prn} ...\n - -$ #_usage11 Original Message:(\tSrc,Dst={1.2.3.4/24|Host|Netname} [[Port1:Port2] Port3 ... Port10]\n\n) -# \tSrc,Dst={1.2.3.4/24|Host|Netname} [[Port1:Port2] Port3 ... Port10]\n\n - -$ #_usage12 Original Message:(\tType={icmp}:\t\tFlags={bidir,prn}\n) -# \tType={icmp}:\t\tFlags={bidir,prn}\n - -$ #_usage13 Original Message:(\tSrc={1.2.3.4/24|Host|Netname} [[Type1:Type2] Type3 ... Type10]\n) -# \tSrc={1.2.3.4/24|Host|Netname} [[Type1:Type2] Type3 ... Type10]\n - -$ #_usage14 Original Message:(\tDst={1.2.3.4/24|Host|Netname}\n\n) -# \tDst={1.2.3.4/24|Host|Netname}\n\n - -$ #_usage15 Original Message:(\tType={all}:\t\tFlags={bidir,prn}\n) -# \tType={all}:\t\tFlags={bidir,prn}\n - -$ #_usage16 Original Message:() -# \tSrc,Dst={1.2.3.4/24|Host|Netname}\n - -$ #_range_set Original Message:(ipfw: range flag set but only %d ports\n) -# ipfw: range flag set but only %d ports\n - -$ #_unkn Original Message:(unknown command (%d) passed to do_setsockopt - bye!\n) -# unknown command (%d) passed to do_setsockopt - bye!\n - -$ #_ip Original Message:(ip header length %d, should be %d\n) -# ip header length %d, should be %d\n - -$ #_data_ip Original Message:(data = struct iphdr : struct %shdr {\n) -# data = struct iphdr : struct %shdr {\n - -$ #_data_ipfw Original Message:(data = struct ip_fw {\n) -# data = struct ip_fw {\n - -$ #_accept Original Message:(\taccept ) -# \taccept - -$ #_deny Original Message:(\tdeny ) -# \tdeny - -$ #_univ Original Message:(\tuniversal\n) -# \tuniversal\n - -$ #_missing Original Message:(ipfw: missing protocol name\n) -# ipfw: missing protocol name\n - -$ #_illegal Original Message:(illegal protocol name \"%s\"\n) -# illegal protocol name "%s"\n - -$ #_missing_ip Original Message:(ipfw: missing ip address\n) -# ipfw: missing ip address\n - -$ #_periods Original Message:(ipfw: two periods in a row in ip address (%s)\n) -# ipfw: two periods in a row in ip address (%s)\n - -$ #_unkn_host Original Message:(ipfw: unknown host \"%s\"\n) -# ipfw: unknown host "%s"\n - -$ #_addr_length Original Message:(ipfw: hostentry addr length = %d, expected %d) -# ipfw: hostentry addr length = %d, expected %d - -$ #_matched Original Message:(ipfw: Only %d fields matched in IP address!\n) -# ipfw: Only %d fields matched in IP address!\n - -$ #_too_large Original Message:(ipfw: number too large in ip address (%s)\n) -# ipfw: number too large in ip address (%s)\n - -$ #_inc_format Original Message:(ipfw: incorrect ip address format \"%s\" (expected 3 periods)\n) -# ipfw: incorrect ip address format "%s" (expected 3 periods)\n - -$ #_not_allowed Original Message:(ipfw: ip netmask not allowed here (%s)\n) -# ipfw: ip netmask not allowed here (%s)\n - -$ #_missing_mask Original Message:(ipfw: missing mask value (%s)\n) -# ipfw: missing mask value (%s)\n - -$ #_non_num Original Message:(ipfw: non-numeric mask value (%s)\n) -# ipfw: non-numeric mask value (%s)\n - -$ #_junk_mask Original Message:(ipfw: junk after mask (%s)\n) -# ipfw: junk after mask (%s)\n - -$ #_out_range Original Message:(ipfw: mask length value out of range (%s)\n) -# ipfw: mask length value out of range (%s)\n - -$ #_junk_ip Original Message:(ipfw: junk after ip address (%s)\n) -# ipfw: junk after ip address (%s)\n - -$ #_illegal_port Original Message:(ipfw: illegal port number (%s)\n) -# ipfw: illegal port number (%s)\n - -$ #_portnum_out Original Message:(ipfw: port number out of range (%d)\n) -# ipfw: port number out of range (%d)\n - -$ #_unkn_service Original Message:(ipfw: unknown %s service \"%s\"\n) -# ipfw: unknown %s service "%s"\n - -$ #_too_port Original Message:(ipfw: too many port numbers (max %d, got at least %d, next parm="%s")\n) -# ipfw: too many port numbers (max %d, got at least %d, next parm="%s")\n - -$ #_port_ranges Original Message:(port ranges are only allowed for the first port value pair (%s)\n) -# port ranges are only allowed for the first port value pair (%s)\n - -$ #_no_range Original Message:(ipfw: port range not allowed here (%s)\n) -# ipfw: port range not allowed here (%s)\n - -$ #_missing_port Original Message:(ipfw: missing port number%s\n) -# ipfw: missing port number%s\n - -$ #_nomore_port Original Message:(ipfw: not enough port numbers (expected %d, got %d)\n) -# ipfw: not enough port numbers (expected %d, got %d)\n - -$ #_check_blocking Original Message:(blocking) -# blocking - -$ #_check_forwarding Original Message:(forwarding) -# forwarding - -$ #_check Original Message:(check %s ) -# check %s - -$ #_only_check Original Message:(ipfw: can only check TCP or UDP packets\n) -# ipfw: can only check TCP or UDP packets\n - -$ #_missing_from Original Message:(ipfw: missing \"from\" keyword\n) -# ipfw: missing "from" keyword\n - -$ #_expect_from Original Message:(ipfw: expected \"from\" keyword, got \"%s\"\n) -# ipfw: expected "from" keyword, got "%s"\n - -$ #_missing_to Original Message:(ipfw: missing \"to\" keyword\n) -# ipfw: missing "to" keyword\n - -$ #_expect_to Original Message:(ipfw: expected \"to\" keyword, got \"%s\"\n) -# ipfw: expected "to" keyword, got "%s"\n - -$ #_paq_accept Original Message:(packet accepted by %s firewall\n) -# packet accepted by %s firewall\n - -$ #_blocking Original Message:(blocking) -# blocking - -$ #_forwarding Original Message:(forwarding) -# forwarding - -$ #_paq_reject Original Message:(packet rejected by %s firewall\n) -# packet rejected by %s firewall\n - -$ #_extra Original Message:(ipfw: extra parameters at end of command () -# ipfw: extra parameters at end of command ( - -$ #_usage21 Original Message:(usage: ipfirewall add %s ...\n) -# usage: ipfirewall add %s ...\n - -$ #_add Original Message:(add %s ) -# add %s - -$ #_missing_acc Original Message:(ipfw: missing \"accept\" or \"deny\" keyword\n) -# ipfw: missing "accept" or "deny" keyword\n - -$ #_expect_acc Original Message:(ipfw: expected \"accept\", \"deny\" or \"reject\", got \"%s\"\n) -# ipfw: expected "accept", "deny" or "reject", got "%s"\n - -$ #_missing_proto Original Message:(ipfw: missing protocol name.\n) -# ipfw: missing protocol name.\n - -$ #_missing_iface Original Message:(ipfw: missing interface address.\n) -# ipfw: missing interface address.\n - -$ #_invalid_iface Original Message:(Invalid interface address.\n) -# Invalid interface address.\n - -$ #_missing_from2 Original Message:(ipfw: missing \"from\" keyword\n) -# ipfw: missing "from" keyword\n - -$ #_expect_from2 Original Message:(ipfw: expected \"from\", got \"%s\"\n) -# ipfw: expected "from", got "%s"\n - -$ #_missing_to2 Original Message:(ipfw: missing \"to\" keyword\n) -# ipfw: missing "to" keyword\n - -$ #_expect_to2 Original Message:(ipfw: expected \"to\", got \"%s\"\n) -# ipfw: expected "to", got "%s"\n - -$ #_extra2 Original Message:(ipfw: extra parameters at end of command () -# ipfw: extra parameters at end of command ( - -$ #_usage22 Original Message:(usage: ipfirewall delete %s ...\n) -# usage: ipfirewall delete %s ...\n - -$ #_delete Original Message:(delete %s ) -# delete %s - -$ #_missing_acc2 Original Message:(ipfw: missing \"accept\" or \"deny\" keyword\n) -# ipfw: missing "accept" or "deny" keyword\n - -$ #_expect_acc2 Original Message:(ipfw: expected \"accept\" or \"deny\", got \"%s\"\n) -# ipfw: expected "accept" or "deny", got "%s"\n - -$ #_missing_proto2 Original Message:(ipfw: missing protocol name.\n) -# ipfw: missing protocol name.\n - -$ #_missing_iface2 Original Message:(ipfw: missing interface address.\n) -# ipfw: missing interface address.\n - -$ #_invalid_iface2 Original Message:(Invalid interface address.\n) -# Invalid interface address.\n - -$ #_missing_from3 Original Message:(ipfw: missing \"from\" keyword\n) -# ipfw: missing "from" keyword\n - -$ #_expect_from3 Original Message:(ipfw: expected \"from\", got \"%s\"\n) -# ipfw: expected "from", got "%s"\n - -$ #_missing_to3 Original Message:(ipfw: missing \"to\" keyword\n) -# ipfw: missing "to" keyword\n - -$ #_expect_to3 Original Message:(ipfw: expected \"to\", got \"%s\"\n) -# ipfw: expected "to", got "%s"\n - -$ #_extra3 Original Message:(ipfw: extra parameters at end of command () -# ipfw: extra parameters at end of command ( - -$ #_anywhere Original Message:(anywhere) -# anywhere - -$ #_bytes Original Message:( Packete Bytes ) -# Packete Bytes - -$ #_proto Original Message:(Type Proto Flags From To Iface Ports\n) -# Type Proto Flags From To Iface Ports\n - -$ #_list_accept Original Message:(accept ) -# accept - -$ #_list_deny Original Message:(deny) -# deny - -$ #_list_any Original Message:(any) -# any - -$ #_expect_kwds Original Message:(blocking, forwarding or accounting keyword expected.\n) -# blocking, forwarding or accounting keyword expected.\n - -$ #_found_kwds Original Message:(Found '%s': 'blocking', 'forwarding' or 'accounting' keyword expected.\n) -# Found '%s': 'blocking', 'forwarding' or 'accounting' keyword expected.\n - -$ #_raw_socket Original Message:(ipfw: raw socket creation) -# ipfw: raw socket creation - -$ #_expect_main_blocking Original Message:(ipfw: expected \"blocking\" or \"forwarding\".\n) -# ipfw: expected "blocking" or "forwarding".\n - -$ #_expect_main_accept Original Message:(ipfw: expected \"accept\", \"deny\" or \"reject\".\n) -# ipfw: expected "accept", "deny" or "reject".\n - -$ #_expect_main_accounting Original Message:(ipfw: expected \"accounting\", \"blocking\" or \"forwarding\".\n) -# ipfw: expected "accounting", "blocking" or "forwarding".\n - -$ #_illegal_check Original Message:(ipfw: illegal `check' keyword: %s\n) -# ipfw: illegal `check' keyword: %s\n - -$ #_main_missing Original Message:((missing)) -# (missing) - -$ #_unkn_cmd Original Message:(ipfw: unknown command `%s'\n\n) -# ipfw: unknown command `%s'\n\n - -$ #_unkn_kwd Original Message:(ipfw: unknown `%s' keyword: `%s'\n) -# ipfw: unknown `%s' keyword: `%s'\n - -$ #_reject Original Message:(\treject ) -# \treject - -$ #_badflag Original Message:(ipfw: \"%s\" flag only applicable to TCP rules\n) -# ipfw: "%s" flag only applicable to TCP rules\n - -$ #_missing_fromi Original Message:(ipfw: missing \"from\" or \"iface\" keyword\n) -# ipfw: missing "from" or "iface" keyword\n - -$ #_paq_deny Original Message:(packet denied by %s firewall\n) -# packet denied by %s firewall\n - -$ #_list_reject Original Message:(reject ) -# reject - -$ #_dp_deny Original Message:(Default policy: deny\n) -# Default policy: deny\n - -$ #_dp_accept Original Message:(Default policy: accept\n) -# Default policy: accept\n - -$ #_dp_reject Original Message:(Default policy: reject\n) -# Default policy: reject\n - -$ #_no_support Original Message:(ipfw: no support for `%s'. Please recompile with newer Kernel.\n) -# ipfw: no support for `%s'. Please recompile with newer Kernel.\n - -$ #_list_account Original Message:(account ) -# account diff --git a/nls/en_US.88591/ipx.m b/nls/en_US.88591/ipx.m deleted file mode 100644 index 4de2983..0000000 --- a/nls/en_US.88591/ipx.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 15 #ipx - -$ #_none Original Message:([NONE SET]) -# [NONE SET] - -$ #_ipx Original Message:(IPX) -# IPX - -$ #_notyet Original Message:(Routing table for `ipx' not yet supported.\n) -# Routing table for `ipx' not yet supported.\n diff --git a/nls/en_US.88591/lib.m b/nls/en_US.88591/lib.m deleted file mode 100644 index 41c9818..0000000 --- a/nls/en_US.88591/lib.m +++ /dev/null @@ -1,22 +0,0 @@ -$set 22 #lib - -$ #_unknown_af Original Message:(Unknown address family `%s'.\n) -# Unknown address family `%s'.\n - -$ #_toomuch_af Original Message:(Too much address family arguments.\n) -# Too much address family arguments.\n - -$ #_nofeature Original Message:(%s: feature `%s' not supported. Please recompile with newer kernel.\n) -# %s: feature `%s' not supported. Please recompile with newer kernel.\n - -$ #_sysnot Original Message:(%s: no support for `%s' on this system.\n) -# %s: no support for `%s' on this system.\n - -$ #_masq Original Message:(IP masquerading entries\n) -# IP masquerading entries\n - -$ #_masq_tit1 Original Message:(prot expire source destination ports\n) -# prot expire source destination ports\n - -$ #_masq_tit2 Original Message:(prot expire initseq delta prevd source destination ports\n) -# prot expire initseq delta prevd source destination ports\n diff --git a/nls/en_US.88591/loopback.m b/nls/en_US.88591/loopback.m deleted file mode 100644 index cbe3709..0000000 --- a/nls/en_US.88591/loopback.m +++ /dev/null @@ -1,11 +0,0 @@ -$set 16 #loopback - -$ #_none Original Message:([NONE SET]) -# [NONE SET] - -$ #_unspec Original Message:(UNSPEC) -# UNSPEC - -$ #_loop Original Message:(Local Loopback) -# Local Loopback - diff --git a/nls/en_US.88591/netrom.m b/nls/en_US.88591/netrom.m deleted file mode 100644 index 07d4ae2..0000000 --- a/nls/en_US.88591/netrom.m +++ /dev/null @@ -1,20 +0,0 @@ -$set 20 #netrom - -$ #_none Original Message:([NONE SET]) -# [NONE SET] - -$ #_debug1 Original Message:(Invalid callsign) -# Invalid callsign - -$ #_debug2 Original Message:(Callsign too long) -# Callsign too long - -$ #_hw Original Message:(AMPR NetROM) -# AMPR NET/ROM - -$ #_netrom Original Message:(AMPR NET/ROM) -# AMPR NET/ROM - -$ #_notyet Original Message:(Routing table for `netrom' not yet supported.\n) -# Routing table for `netrom' not yet supported.\n - diff --git a/nls/en_US.88591/netstat.m b/nls/en_US.88591/netstat.m deleted file mode 100644 index 2e5249a..0000000 --- a/nls/en_US.88591/netstat.m +++ /dev/null @@ -1,145 +0,0 @@ -$set 4 #netstat - -$ #_args Original Message:(%s -> %d args) -# %s -> %d args - -$ #_netstat Original Message:(netstat: unsupported address family %d !\n) -# netstat: unsupported address family %d !\n - -$ #_UNKN Original Message:(UNKNOWN) -# UNKNOWN - -$ #_off Original Message:(off (0.00/%ld)) -# off (0.00/%ld) - -$ #_on Original Message:(on (%2.2f/%ld)) -# on (%2.2f/%ld) - -$ #_unkn Original Message:(unkn-%d (%2.2f/%ld)) -# unkn-%d (%2.2f/%ld) - -$ #_off2 Original Message:(off (0.00/%ld) %c) -# off (0.00/%ld) %c - -$ #_on2 Original Message:(on (%2.2f/%ld) %c) -# on (%2.2f/%ld) %c - -$ #_unkn2 Original Message:(unkn-%d (%2.2f/%ld) %c) -# unkn-%d (%2.2f/%ld) %c - -$ #_off3 Original Message:(off (0.00/%ld) %c) -# off (0.00/%ld) %c - -$ #_on3 Original Message:(on (%2.2f/%ld) %c) -# on (%2.2f/%ld) %c - -$ #_unkn3 Original Message:(unkn-%d (%2.2f/%ld) %c) -# unkn-%d (%2.2f/%ld) %c - -$ #_unix Original Message:(Active UNIX domain sockets\n) -# Active UNIX domain sockets\n - -$ #_header_unix Original Message:(Proto RefCnt Flags Type State Path\n) -# Proto RefCnt Flags Type State Path\n - -$ #_noflags Original Message:([NO FLAGS]) -# [NO FLAGS] - -$ #_interface Original Message:(Kernel Interface table\n) -# Kernel Interface table\n - -$ #_header_iface Original Message:(Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags\n) -# Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags\n - -$ #_unkn_iface Original Message:(%s: unknown interface.\n) -# %s: unknown interface.\n - -$ #_usage1 Original Message:(usage: netstat [-veenc] [<Af>] -r netstat {-V|--version|-h|--help}\n) -# usage: netstat [-veenc] [<Af>] -r netstat {-V|--version|-h|--help}\n - -$ #_usage2 Original Message:( netstat [-vncao] [<Socket>]\n) -# netstat [-vncao] [<Socket>]\n - -$ #_usage3 Original Message:( netstat { [-veenac] -i | [-vnc] -N | [-cne] -M }\n\n) -# netstat { [-veenac] -i | [-vnc] -N | [-cne] -M }\n\n - -$ #_usage4 Original Message:( -r, --routing display routing table\n) -# -r, --routing display routing table\n - -$ #_usage5 Original Message:( -N, --netlink display netlink kernel messages\n) -# -N, --netlink display netlink kernel messages\n - -$ #_usage6 Original Message:( -i, --interfaces display interface table\n) -# -i, --interfaces display interface table\n - -$ #_usage7 Original Message:( -M, --masquerade display masqueraded connections\n\n) -# -M, --masquerade display masqueraded connections\n\n - -$ #_usage8 Original Message:( -v, --verbose be verbose\n) -# -v, --verbose be verbose\n - -$ #_usage9 Original Message:( -n, --numeric dont resolve names\n) -# -n, --numeric dont resolve names\n - -$ #_usage10 Original Message:( -e, --extend display other/more informations\n) -# -e, --extend display other/more informations\n - -$ #_usage11 Original Message:( -c, --continous continous lising\n\n) -# -c, --continous continous lising\n\n - -$ #_usage12 Original Message:( -a, --all, --listening display all\n) -# -a, --all, --listening display all\n - -$ #_usage13 Original Message:( -o, --timers display timers\n\n) -# -o, --timers display timers\n\n - -$ #_usage14 Original Message:(<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n) -# <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n - -$ #_usage15 Original Message:(<Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n) -# <Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n - -$ #_internet Original Message:(Active Internet connections) -# Active Internet connections - -$ #_servers Original Message:( (including servers)) -# (including servers) - -$ #_header_internet Original Message:(\nProto Recv-Q Send-Q Local Address Foreign Address (State) User\n) -# \nProto Recv-Q Send-Q Local Address Foreign Address (State) User\n - -$ #_header_ipx Original Message:(Active IPX sockets\nProto Recv-Q Send-Q Local Address Foreign Address (State) User\n) -# Active IPX sockets\nProto Recv-Q Send-Q Local Address Foreign Address (State) User\n - -$ #_type_no_route Original Message:(No routing for address family `%s'.\n) -# No routing for address family `%s'.\n - -$ #_route_no_support Original Message:(Adress family `%s' not supported.\n) -# Adress family `%s' not supported.\n - -$ #_route_not_yet Original Message:(Address family `%s' Not yet supported.\n) -# Address family `%s' Not yet supported.\n - -$ #_nlp_title Original Message:(Netlink Kernel Messages) -# Netlink Kernel Messages - -$ #_nlp_cnt Original Message:( (continous)) -# (continous) - -$ #_noax25 Original Message:(AX.25 not configured in this system.\n) -# AX.25 not configured in this system.\n - -$ #_ax25 Original Message:(Kernel AX.25 routing table\n) -# Kernel AX.25 routing table\n - -$ #_header_ax25 Original Message:(Destination Iface Use\n) -# Destination Iface Use\n - -$ #_nonetrom Original Message:(NET/ROM not configured in this system.\n) -# NET/ROM not configured in this system.\n - -$ #_netrom Original Message:(Kernel NET/ROM routing table\n) -# Kernel NET/ROM routing table\n - -$ #_header_netrom Original Message:(Destination Mnemonic Quality Neighbour Iface\n) -# Destination Mnemonic Quality Neighbour Iface\n diff --git a/nls/en_US.88591/plipconfig.m b/nls/en_US.88591/plipconfig.m deleted file mode 100644 index 2a306ae..0000000 --- a/nls/en_US.88591/plipconfig.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 6 #plipconfig - -$ #_usage1 Original Message:(Usage: plipconfig [-a] [-i] [-v] interface\n) -# Usage: plipconfig [-a] [-i] [-v] interface\n - -$ #_usage2 Original Message:( [nibble NN] [trigger NN]\n) -# [nibble NN] [trigger NN]\n - -$ #_plip Original Message:(%s\tnibble %lu trigger %lu\n) -# %s\tnibble %lu trigger %lu\n diff --git a/nls/en_US.88591/ppp.m b/nls/en_US.88591/ppp.m deleted file mode 100644 index cc8b653..0000000 --- a/nls/en_US.88591/ppp.m +++ /dev/null @@ -1,8 +0,0 @@ -$set 17 #ppp - -$ #_cant_start Original Message:(You cannot start PPP with this program.\n) -# You cannot start PPP with this program.\n - -$ #_ppp Original Message:(Point-Point Protocol) -# Point-Point Protocol - diff --git a/nls/en_US.88591/rarp.m b/nls/en_US.88591/rarp.m deleted file mode 100644 index 14ca914..0000000 --- a/nls/en_US.88591/rarp.m +++ /dev/null @@ -1,22 +0,0 @@ -$set 7 #rarp - -$ #_invalid Original Message:(Invalid Ethernet address: %s\n) -# Invalid Ethernet address: %s\n - -$ #_unkn_host Original Message:(rarp: %s: unknown host\n) -# rarp: %s: unknown host\n - -$ #_noentry Original Message:(No ARP entry for %s\n) -# No ARP entry for %s\n - -$ #_usage1 Original Message:(Usage: rarp -a List Entries in cache. \n) -# Usage: rarp -a List Entries in cache. \n - -$ #_usage2 Original Message:( rarp -d hostname Delete hostname from cache.\n) -# rarp -d hostname Delete hostname from cache.\n - -$ #_usage3 Original Message:( rarp -s hostname hw_addr Add hostname to cache.\n) -# rarp -s hostname hw_addr Add hostname to cache.\n - -$ #_unkn_hw Original Message:(rarp: %s: unknown hardware type.\n) -# rarp: %s: unknown hardware type.\n diff --git a/nls/en_US.88591/route.m b/nls/en_US.88591/route.m deleted file mode 100644 index 1dc0417..0000000 --- a/nls/en_US.88591/route.m +++ /dev/null @@ -1,55 +0,0 @@ -$set 2 #route - -$ #_rresolve Original Message:(rresolve: unsupport address family %d !\n) -# rresolve: unsupport address family %d !\n - -$ #_usage1 Original Message:(Usage: route [-nvee] [-A inet|ipx|ddp|netrom],... route {--version|--help}\n\n) -# Usage: route [-nvee] [-A inet|ipx|ddp|netrom],... route {--version|--help}\n\n - -$ #_usage2 Original Message:( route [-v] del {-net|-host} Target [gw Gateway] [netmask Nm]\n) -# route [-v] del {-net|-host} Target [gw Gateway] [netmask Nm]\n - -$ #_usage3 Original Message:( [metric N] [[dev] If]\n\n) -# [metric N] [[dev] If]\n\n - -$ #_usage4 Original Message:( route [-v] add {-net|-host} Target [gw Gateway] [netmask Nm]\n) -# route [-v] add {-net|-host} Target [gw Gateway] [netmask Nm]\n - -$ #_usage5 Original Message:( [metric N] [mss M] [window W] [irtt I] [reject]\n) -# [metric N] [mss M] [window W] [irtt I] [reject]\n - -$ #_usage6 Original Message:( [mod] [dyn] [reinstate] [[dev] If]\n) -# [mod] [dyn] [reinstate] [[dev] If]\n - -$ #_table Original Message:(Kernel routing table\n) -# Kernel routing table\n - -$ #_cant_use Original Message:(route: %s: cannot use a NETWORK as gateway!\n) -# route: %s: cannot use a NETWORK as gateway!\n - -$ #_MSS Original Message:(route: Invalid MSS.\n) -# route: Invalid MSS.\n - -$ #_window Original Message:(route: Invalid window.\n) -# route: Invalid window.\n - -$ #_irtt Original Message:(route: Invalid initial rtt.\n) -# route: Invalid initial rtt.\n - -$ #_netmask1 Original Message:(route: netmask doesn't make sense with host route\n) -# route: netmask doesn't make sense with host route\n - -$ #_netmask2 Original Message:(route: bogus netmask %s\n) -# route: bogus netmask %s\n - -$ #_netmask3 Original Message:(route: netmask doesn't match route address\n) -# route: netmask doesn't match route address\n - -$ #_fam_not_supp Original Message:(%s: address family not supported!\n) -# %s: address family not supported!\n - -$ #_af_no_route Original Message:(route: %s: address family doesn't support routing.\n) -# route: %s: address family doesn't support routing.\n - -$ #_wrong_af Original Message:(route: %s: command only supports 'inet' AF.\n) -# route: %s: command only supports 'inet' AF.\n diff --git a/nls/en_US.88591/slattach.m b/nls/en_US.88591/slattach.m deleted file mode 100644 index 0b71870..0000000 --- a/nls/en_US.88591/slattach.m +++ /dev/null @@ -1,46 +0,0 @@ -$set 8 #slattach - -$ #_user_unkn Original Message:(slattach: tty_lock: UUCP user %s unknown!\n) -# slattach: tty_lock: UUCP user %s unknown!\n - -$ #_drop Original Message:(slattach: tty_hangup(DROP): %s\n) -# slattach: tty_hangup(DROP): %s\n - -$ #_raise Original Message:(slattach: tty_hangup(RAISE): %s\n) -# slattach: tty_hangup(RAISE): %s\n - -$ #_cant_state Original Message:(slattach: tty_open: cannot get current state!\n) -# slattach: tty_open: cannot get current state!\n - -$ #_cant_disc Original Message:(slattach: tty_open: cannot get current line disc!\n) -# slattach: tty_open: cannot get current line disc!\n - -$ #_cant_raw Original Message:(slattach: tty_open: cannot set RAW mode!\n) -# slattach: tty_open: cannot set RAW mode!\n - -$ #_cant_bps Original Message:(slattach: tty_open: cannot set %s bps!\n) -# slattach: tty_open: cannot set %s bps!\n - -$ #_cant_8n1 Original Message:(slattach: tty_open: cannot set 8N1 mode!\n) -# slattach: tty_open: cannot set 8N1 mode!\n - -$ #_usage1 Original Message:(Usage: slattach [-ehlLmnqv] [-c cmd] [-s speed] [-p protocol] tty | -\n) -# Usage: slattach [-ehlLmnqv] [-c cmd] [-s speed] [-p protocol] tty | -\n - -$ #_unsupp Original Message:(slattach: unsupported protocol %s\n) -# slattach: unsupported protocol %s\n - -$ #_started Original Message:(%s started) -# %s started - -$ #_on Original Message:( on %s) -# on %s - -$ #_iface Original Message:( interface %s\n) -# interface %s\n - -$ #_locked Original Message:(slattach: /dev/%s already locked\n) -# slattach: /dev/%s already locked\n - -$ #_cant_pid Original Message:(slattach: cannot write PID to lock file\n) -# slattach: cannot write PID to lock file\n diff --git a/nls/en_US.88591/slip.m b/nls/en_US.88591/slip.m deleted file mode 100644 index 7157fb5..0000000 --- a/nls/en_US.88591/slip.m +++ /dev/null @@ -1,17 +0,0 @@ -$set 18 #slip - -$ #_slip Original Message:(Serial Line IP) -# Serial Line IP - -$ #_cslip Original Message:(VJ Serial Line IP) -# VJ Serial Line IP - -$ #_slip6 Original Message:(6-bit Serial Line IP) -# 6-bit Serial Line IP - -$ #_cslip6 Original Message:(VJ 6-bit Serial Line IP) -# VJ 6-bit Serial Line IP - -$ #_adaptive Original Message:(Adaptive Serial Line IP) -# Adaptive Serial Line IP - diff --git a/nls/en_US.88591/tunnel.m b/nls/en_US.88591/tunnel.m deleted file mode 100644 index 680ed3c..0000000 --- a/nls/en_US.88591/tunnel.m +++ /dev/null @@ -1,4 +0,0 @@ -$set 21 #tunnel - -$ #_hw Original Message:(IPIP Tunnel) -# IPIP Tunnel diff --git a/nls/en_US.88591/unix.m b/nls/en_US.88591/unix.m deleted file mode 100644 index c09687f..0000000 --- a/nls/en_US.88591/unix.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 19 #unix - -$ #_none Original Message:([NONE SET]) -# [NONE SET] - -$ #_unix Original Message:(UNIX Domain) -# UNIX Domain - -$ #_unspec Original Message:(UNSPEC) -# UNSPEC diff --git a/nls/fr_FR.88591/arcnet.m b/nls/fr_FR.88591/arcnet.m deleted file mode 100644 index 1547b23..0000000 --- a/nls/fr_FR.88591/arcnet.m +++ /dev/null @@ -1,20 +0,0 @@ -$set 10 #arcnet - -$ #_none Original Message:([NONE SET]) -# [PAS DEFINI] - -$ #_debug1 Original Message:(in_arcnet(%s): invalid arcnet address!\n) -# in_arcnet(%s): adresse arcnet incorrecte !\n - -$ #_debug2 Original Message:(in_arcnet(%s): invalid arcnet address!\n) -# in_arcnet(%s): adresse arcnet incorrecte !\n - -$ #_debug3 Original Message:(in_arcnet(%s): trailing : ignored!\n) -# in_arcnet(%s): ignore le reste !\n - -$ #_debug4 Original Message:(in_arcnet(%s): trailing junk!\n) -# in_arcnet(%s): détruit le reste !\n - -$ #_arcnet Original Message:(1.5Mbps ARCnet) -# ARCnet à 1.5Mbps - diff --git a/nls/fr_FR.88591/arp.m b/nls/fr_FR.88591/arp.m deleted file mode 100644 index e734911..0000000 --- a/nls/fr_FR.88591/arp.m +++ /dev/null @@ -1,70 +0,0 @@ -$set 3 #arp - -$ #_hostname Original Message:(arp: need host name\n) -# arp: nécessite un nom d'hôte\n - -$ #_no_arp Original Message:(No ARP entry for %s\n) -# Pas d'entrée ARP pour %s\n - -$ #_need_hw Original Message:(arp: need hardware address\n) -# arp: nécessite une adresse matérielle\n - -$ #_invalidhw Original Message:(arp: invalid hardware address\n) -# arp: adresse matérielle invalide\n - -$ #_cant_open Original Message:(arp: cannot open etherfile %s !\n) -# arp: ne peut ouvrir le fichier %s !\n - -$ #_formaterr Original Message:(arp: format error on line %u of etherfile %s !\n) -# arp: erreur de format à la ligne %u du fichier %s !\n - -$ #_cant_set Original Message:(arp: cannot set entry on line %u of etherfile %s !\n) -# arp: ne peut pas définir l'entrée à la ligne %u du fichier %s !\n - -$ #_address Original Message:(Address\t\tHW type\t\tHW address\t Flags Mask\t\t Iface\n) -# Address\t\tHW type\t\tHW address\t Flags Mask\t\t Iface\n - -$ #_wrong_af Original Message:(arp: %s: kernel only supports 'inet'.\n) -# arp: %s: kernel only supports 'inet'.\n - -$ #_sum Original Message:(Entries: %d\tSkiped: %d\tFound: %d\n) -# Entries: %d\tSkiped: %d\tFound: %d\n - -$ #_usage1 Original Message:(Usage: arp [-vn] [-H type] [-i if] -a [hostname]\n) -# Usage: arp [-vn] [-H type] [-i if] -a [hostname]\n - -$ #_usage2 Original Message:( arp [-v] [-i if] -d hostname [pub]\n) -# arp [-v] [-i if] -d hostname [pub]\n - -$ #_usage3 Original Message:( arp [-v] [-H type] [-i if] -s hostname hw_addr [temp] [trail]\n) -# arp [-v] [-H type] [-i if] -s hostname hw_addr [temp] [trail]\n - -$ #_usage4 Original Message:( arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub [trail]\n) -# arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub [trail]\n - -$ #_usage5 Original Message:( arp [-vn] [-H type] [-i if] -f filename\n) -# arp [-vn] [-H type] [-i if] -f filename\n - -$ #_hw_not_supp Original Message:(%s: hardware type not supported!\n) -# %s: type de matériel pas supporté!\n - -$ #_fam_not_supp Original Message:(%s: address family not supported!\n) -# %s: famille d'adresse pas supportée !\n - -$ #_unkn_addr Original Message:(arp: %s: unknown address family.\n) -# arp: %s: famille d'adresse inconnue.\n - -$ #_unkn_hw Original Message:(arp: %s: unknown hardware type.\n) -# arp: %s: type de matériel inconnu.\n - -$ #_none Original Message:(arp: in %d entries no match found.\n) -# arp: in %d entries no match found.\n - -$ #_wrong_hw Original Message:(arp: %s: hardware type without ARP support.\n) -# arp: %s: hardware type without ARP support.\n - -$ #_einv_pub Original Message:(Probably destination is reached via ARP Interface. See arp(8)\n) -# Probably destination is reached via ARP Interface. See arp(8)\n - -$ #_einv_nopub Original Message:(Probably destination is on different Interface. See arp(8)\n) -# Probably destination is on different Interface. See arp(8)\n diff --git a/nls/fr_FR.88591/ax25.m b/nls/fr_FR.88591/ax25.m deleted file mode 100644 index 90da30d..0000000 --- a/nls/fr_FR.88591/ax25.m +++ /dev/null @@ -1,17 +0,0 @@ -$set 11 #ax25 - -$ #_none Original Message:([NONE SET]) -# [PAS DEFINI] - -$ #_debug1 Original Message:(Invalid callsign) -# Donnée incorrecte - -$ #_debug2 Original Message:(Callsign too long) -# Donnée trop longue - -$ #_hw Original Message:(AMPR AX.25) -# AMPR AX.25 - -$ #_ax25 Original Message:(AMPR AX.25) -# AMPR AX.25 - diff --git a/nls/fr_FR.88591/ddp.m b/nls/fr_FR.88591/ddp.m deleted file mode 100644 index 77eca5d..0000000 --- a/nls/fr_FR.88591/ddp.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 12 #ddp - -$ #_none Original Message:([NONE SET]) -# [PAS DEFINI] - -$ #_ddp Original Message:(Appletalk DDP) -# DDP Appletalk - -$ #_notyet Original Message:(Routing table for `ddp' not yet supported.\n) -# Routing table for `ddp' not yet supported.\n diff --git a/nls/fr_FR.88591/ether.m b/nls/fr_FR.88591/ether.m deleted file mode 100644 index c3d6378..0000000 --- a/nls/fr_FR.88591/ether.m +++ /dev/null @@ -1,20 +0,0 @@ -$set 13 #ether - -$ #_none Original Message:([NONE SET]) -# [PAS DEFINI] - -$ #_debug1 Original Message:(in_ether(%s): invalid ether address!\n) -# in_ether(%s): Adresse Ethernet incorrecte !\n - -$ #_debug2 Original Message:(in_ether(%s): invalid ether address!\n) -# in_ether(%s): Adresse Ethernet incorrecte !\n - -$ #_debug3 Original Message:(in_ether(%s): trailing : ignored!\n) -# in_ether(%s): le reste est ignoré !\n - -$ #_debug4 Original Message:(in_ether(%s): trailing junk!\n) -# in_ether(%s): le reste est détruit !\n - -$ #_ether Original Message:(10Mbps Ethernet) -# Ethernet à 10Mbps - diff --git a/nls/fr_FR.88591/hostname.m b/nls/fr_FR.88591/hostname.m deleted file mode 100644 index 1b7b9e1..0000000 --- a/nls/fr_FR.88591/hostname.m +++ /dev/null @@ -1,103 +0,0 @@ -$set 5 #hostname - -$ #_root Original Message:(%s: you must be root to change the host name\n) -# %s: vous devez etre super-utilisateur pour changer le nom d'hôte\n - -$ #_toolong Original Message:(%s: name too long\n) -# %s: nom trop long\n - -$ #_nodns1 Original Message:(%s: You can't change the DNS domain name with this command\n) -# %s: Vous ne pouvez pas changer le nom de domainde DNS avec cette commande\n - -$ #_nodns2 Original Message:(\nUnless you are using bind or NIS for host lookups you can change the DNS\n) -# \nSauf si vous utilisez `bind' ou NIS pour la recherche des hôtes, vous pouvez changer le nom\n - -$ #_nodns3 Original Message:(domain name (which is part of the FQDN) in the /etc/hosts file.\n) -# de domaine DNS (qui fait partie de FQDN) dans le fichier /etc/hosts.\n - -$ #_cant_open Original Message:(%s: can't open `%s'\n) -# %s: ne peut ouvrir `%s'\n - -$ #_usage1 Original Message:(Usage: hostname [-v] {hostname|-F file} set hostname (from file)\n) -# Usage: hostname [-v] {hostname|-F file} set hostname (from file)\n - -$ #_usage2 Original Message:( domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n) -# domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n - -$ #_usage3 Original Message:( hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name\n) -# hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name\n - -$ #_usage4 Original Message:( hostname [-v] display hostname\n\n) -# hostname [-v] display hostname\n\n - -$ #_usage5 Original Message:( hostname -V|--version|-h|--help print info and exit\n\n) -# hostname -V|--version|-h|--help print info and exit\n\n - -$ #_usage6 Original Message:( dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n\n) -# dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n\n - -$ #_usage7 Original Message:( -s, --short short host name\n) -# -s, --short short host name\n - -$ #_usage8 Original Message:( -a, --alias alias names\n) -# -a, --alias alias names\n - -$ #_usage9 Original Message:( -i, --ip-address addresses for the hostname\n) -# -i, --ip-address addresses for the hostname\n - -$ #_usage10 Original Message:( -f, --fqdn, --long long host name (FQDN)\n) -# -f, --fqdn, --long long host name (FQDN)\n - -$ #_usage11 Original Message:( -d, --domain DNS domain name\n) -# -d, --domain DNS domain name\n - -$ #_usage12 Original Message:( -y, --yp, --nis NIS/YP domainname\n) -# -y, --yp, --nis NIS/YP domainname\n - -$ #_usage13 Original Message:( -F, --file read hostname or nis domainname from given File\n\n) -# -F, --file read hostname or nis domainname from given File\n\n - -$ #_usage14 Original Message:( This comand can get or set the hostname or the NIS domainname. You can\n) -# This comand can get or set the hostname or the NIS domainname. You can\n - -$ #_usage15 Original Message:( also get the DNS domain or the FQDN (fully qualified domain name).\n) -# also get the DNS domain or the FQDN (fully qualified domain name).\n - -$ #_usage16 Original Message:( Unless you are using bind or NIS for host lookups you can change the\n) -# Unless you are using bind or NIS for host lookups you can change the\n - -$ #_usage17 Original Message:( FQDN (Fully Qualified Domain Name) and the DNS domain name (which is\n) -# FQDN (Fully Qualified Domain Name) and the DNS domain name (which is\n - -$ #_usage18 Original Message:( part of the FQDN) in the /etc/hosts file.\n) -# part of the FQDN) in the /etc/hosts file.\n - -$ #_verb_set Original Message:( Setting hostname to `%s'\n) -# Setting hostname to `%s'\n - -$ #_verb_res Original Message:(Resolving `%s' ...\n) -# Resolving `%s' ...\n - -$ #_verb_fnd Original Message:(Result: h_name=`%s'\n) -# Result: h_name=`%s'\n - -$ #_verb_ali Original Message:(Result: h_aliases=`%s'\n) -# Result: h_aliases=`%s'\n - -$ #_verb_ipn Original Message:(Result: h_addr_list=`%s'\n) -# Result: h_addr_list=`%s'\n - -$ #_verb_get Original Message:(gethostname()=`%s'\n) -# gethostname()=`%s'\n - -$ #_verb_dset Original Message:(Setting domainname to %s'\n) -# Setting domainname to %s'\n - -$ #_verb_dget Original Message:(getdomainname()=%s'\n) -# getdomainname()=%s'\n - -$ #_dname_root Original Message:(%s: you must be root to change the domain name\n) -# %s: you must be root to change the domain name\n - -$ #_dname_toolong Original Message:(%s: name too long\n) -# %s: name too long\n diff --git a/nls/fr_FR.88591/ifconfig.m b/nls/fr_FR.88591/ifconfig.m deleted file mode 100644 index 5ad7e89..0000000 --- a/nls/fr_FR.88591/ifconfig.m +++ /dev/null @@ -1,76 +0,0 @@ -$set 1 #ifconfig - -$ #_over Original Message:(overruns) -# expirés - -$ #_compress Original Message:(compressed) -# compressés - -$ #_link Original Message:(%-8.8s Link encap:%s ) -# %-8.8s Type de lien:%s - -$ #_hw Original Message:(HWaddr %s) -# adresse ethernet %s - -$ #_adr Original Message:(\n %s addr:%s) -# \n adr %s:%s - -$ #_pap Original Message:( P-t-P:%s ) -# P-à-P:%s - -$ #_bcast Original Message:( Bcast:%s ) -# Diffusion:%s - -$ #_mask Original Message:(Mask:%s\n) -# Masque:%s\n - -$ #_etherII Original Message:( IPX/Ethernet II addr:%s\n) -# IPX/Ethernet II adr:%s\n - -$ #_SNAP Original Message:( IPX/Ethernet SNAP addr:%s\n) -# IPX/Ethernet SNAP adr:%s\n - -$ #_8022 Original Message:( IPX/Ethernet 802.2 addr:%s\n) -# IPX/Ethernet 802.2 adr:%s\n - -$ #_8023 Original Message:( IPX/Ethernet 802.3 addr:%s\n) -# IPX/Ethernet 802.3 adr:%s\n - -$ #_talk Original Message:( EtherTalk Phase 2 addr:%s\n) -# EtherTalk Phase 2 adr:%s\n - -$ #_noflags Original Message:([NO FLAGS] ) -# [PAS D'OPTIONS] - -$ #_mtu Original Message:( MTU:%d Metric:%d\n) -# MTU:%d Métrique:%d\n - -$ #_rx Original Message:(RX packets:%u errors:%u dropped:%u %s:%u\n) -# RX paquets:%u erreurs:%u perdus:%u %s:%u\n - -$ #_tx Original Message:(TX packets:%u errors:%u dropped:%u %s:%u\n) -# TX paquets:%u erreurs:%u perdus:%u %s:%u\n - -$ #_interrupt Original Message:(Interrupt:%d ) -# Interruption:%d - -$ #_base Original Message:(Base address:0x%x ) -# Adresse de base:0x%x - -$ #_mem Original Message:(Memory:%lx-%lx ) -# Mémoire:%lx-%lx - -$ #_dma Original Message:(DMA chan:%x ) -# Canal DMA:%x - -$ #_unkn Original Message:(%s: unknown interface.\n) -# %s: interface inconnue.\n - -$ #_usage1 Original Message:(Usage: ifconfig [-a] [-i] [-v] interface\n) -# Syntaxe: ifconfig [-a] [-i] [-v] interface\n - -$ #_usage2 Original Message:( [inet address]\n) -# [[inet] adresse inet]\n - -$ #_usage3 Original Message:( [hw] [ax25 address]\n) -# [hw] [adresse ax25]\n diff --git a/nls/fr_FR.88591/inet.m b/nls/fr_FR.88591/inet.m deleted file mode 100644 index f41d2d0..0000000 --- a/nls/fr_FR.88591/inet.m +++ /dev/null @@ -1,25 +0,0 @@ -$set 14 #inet - -$ #_debug1 Original Message:(rresolve: unsupport address family %d !\n) -# rresolve: famille d'adresse pas supportée %d !\n - -$ #_none Original Message:([NONE SET]) -# [PAS DEFINI] - -$ #_darpa Original Message:(DARPA Internet) -# DARPA Internet - -$ #_table Original Message:(Kernel IP routing table\n) -# Table de routage IP noyau\n - -$ #_header1 Original Message:(Destination Gateway Genmask Flags Metric Ref Use Iface\n) -# Destination Gateway Genmask Flags Metric Ref Use Iface\n - -$ #_header2 Original Message:(Destination Gateway Genmask Flags MSS Window irtt Iface\n) -# Destination Gateway Genmask Flags MSS Window irtt Iface\n - -$ #_header3 Original Message:(Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt\n) -# Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt\n - -$ #_route Original Message:(unsupported address family %d !\n) -# unsupported address family %d !\n diff --git a/nls/fr_FR.88591/ipfw.m b/nls/fr_FR.88591/ipfw.m deleted file mode 100644 index 7f4a78d..0000000 --- a/nls/fr_FR.88591/ipfw.m +++ /dev/null @@ -1,343 +0,0 @@ -$set 9 #ipfw - -$ #_ipf_blocking Original Message:(blocking) -# blocage - -$ #_ipf_fwding Original Message:(forwarding) -# renvoi - -$ #_ipf_accnting Original Message:(accounting) -# comptabilité - -$ #_ipf_msqrading Original Message:(masquerading) -# déguisement - -$ #_usage1 Original Message:(usage:\tipfw [-ndhcVr] [--version] [--help]\n\t [--numeric] [--count] [--reset] [--debug] [--append]\n) -# usage:\tipfw [-ndhcVr] [--version] [--help]\n\t [--numeric] [--count] [--reset] [--debug] [--append]\n - -$ #_usage2 Original Message:(\tipfw p[olicy] {b[locking]|f[orwarding]} {accept|deny|reject}\n) -# \tipfw p[olicy] {b[locking]|f[orwarding]} {accept|deny|reject}\n - -$ #_usage3 Original Message:(\tipfw [-nrc] l[ist] {b[locking]|f[orwarding]|a[ccounting]}\n) -# \tipfw [-nrc] l[ist] {b[locking]|f[orwarding]|a[ccounting]}\n - -$ #_usage4 Original Message:(\tipfw f[lush] {b[locking]|f[orwarding]|a[ccounting]}\n) -# \tipfw f[lush] {b[locking]|f[orwarding]|a[ccounting]}\n - -$ #_usage5 Original Message:(\tipfw {a[dd]|d[el]} {b[locking]|f[orwarding]} {accept|deny|reject} \n\t Type [iface Addr] from Src to Dst [flags Flags]\n) -# \tipfw {a[dd]|d[el]} {b[locking]|f[orwarding]} {accept|deny|reject} \n\t Type [iface Addr] from Src to Dst [flags Flags]\n - -$ #_usage6 Original Message:(\tipfw c[heck] {b[locking]|f[orwarding]}\n\t Type [iface Addr] from Src to Dst [flags Flags]\n) -# \tipfw c[heck] {b[locking]|f[orwarding]}\n\t Type [iface Addr] from Src to Dst [flags Flags]\n - -$ #_usage7 Original Message:(\tipfw {a[dd]|d[el]} a[ccounting]\n\t Type [iface Addr] from Src to Dst [flags Flags]\n) -# \tipfw {a[dd]|d[el]} a[ccounting]\n\t Type [iface Addr] from Src to Dst [flags Flags]\n - -$ #_usage8 Original Message:(\tipfw z[ero] {b[locking]|f[orwarding]|a[ccounting]}\n) -# \tipfw z[ero] {b[locking]|f[orwarding]|a[ccounting]}\n - -$ #_usage9 Original Message:(\tipfw {a[dd]|d[el]} m[asquerade] Type from Src to Dst\n\n) -# \tipfw {a[dd]|d[el]} m[asquerade] Type from Src to Dst\n\n - -$ #_usage10 Original Message:(\tType={udp|tcp}:\t\tFlags={bidir|syn|ack|prn} ...\n) -# \tType={udp|tcp}:\t\tFlags={bidir|syn|ack|prn} ...\n - -$ #_usage11 Original Message:(\tSrc,Dst={1.2.3.4/24|Host|Netname} [[Port1:Port2] Port3 ... Port10]\n\n) -# \tSrc,Dst={1.2.3.4/24|Host|Netname} [[Port1:Port2] Port3 ... Port10]\n\n - -$ #_usage12 Original Message:(\tType={icmp}:\t\tFlags={bidir,prn}\n) -# \tType={icmp}:\t\tFlags={bidir,prn}\n - -$ #_usage13 Original Message:(\tSrc={1.2.3.4/24|Host|Netname} [[Type1:Type2] Type3 ... Type10]\n) -# \tSrc={1.2.3.4/24|Host|Netname} [[Type1:Type2] Type3 ... Type10]\n - -$ #_usage14 Original Message:(\tDst={1.2.3.4/24|Host|Netname}\n\n) -# \tDst={1.2.3.4/24|Host|Netname}\n\n - -$ #_usage15 Original Message:(\tType={all}:\t\tFlags={bidir,prn}\n) -# \tType={all}:\t\tFlags={bidir,prn}\n - -$ #_usage16 Original Message:() -# \tSrc,Dst={1.2.3.4/24|Host|Netname}\n - -$ #_range_set Original Message:(ipfw: range flag set but only %d ports\n) -# ipfw: intervalle d'options positionné mais seulement %d ports\n - -$ #_unkn Original Message:(ipfw: unknown command (%d) passed to do_setsockopt - bye!\n) -# ipfw: commande inconnue (%d) passée à do_setsockopt - bye !\n - -$ #_ip Original Message:(ip header length %d, should be %d\n) -# longueur de l'en-tête ip = %d, devrait être %d\n - -$ #_data_ip Original Message:(data = struct iphdr : struct %shdr {\n) -# donnée = struct iphdr : struct %shdr {\n - -$ #_data_ipfw Original Message:(data = struct ip_fw {\n) -# donnée = struct ip_fw {\n - -$ #_accept Original Message:(\taccept ) -# \taccepte - -$ #_deny Original Message:(\tdeny ) -# \trefuse - -$ #_univ Original Message:(\tuniversal\n) -# \tuniversel\n - -$ #_missing Original Message:(ipfw: missing protocol name\n) -# ipfw: nom du protocole manquant\n - -$ #_illegal Original Message:(illegal protocol name \"%s\"\n) -# nom de protocole pas autorisé "%s"\n - -$ #_missing_ip Original Message:(ipfw: missing ip address\n) -# ipfw: adresse IP manquante\n - -$ #_periods Original Message:(ipfw: two periods in a row in ip address (%s)\n) -# ipfw: deux points finaux dans une adresse ip (%s)\n - -$ #_unkn_host Original Message:(ipfw: unknown host \"%s\"\n) -# ipfw: hôte inconnu "%s"\n - -$ #_addr_length Original Message:(ipfw: hostentry addr length = %d, expected %d (i.e. sizeof(struct in_addr))\n) -# ipfw: longueur adresse hôte = %d, attendu %d (i.e. sizeof(struct in_addr))\n - -$ #_matched Original Message:(ipfw: Only %d fields matched in IP address!\n) -# ipfw: Seulement %d champs corrects dans l'adresse IP !\n - -$ #_too_large Original Message:(ipfw: number too large in ip address (%s)\n) -# ipfw: nombre trop grand dans l'adresse IP (%s)\n - -$ #_inc_format Original Message:(ipfw: incorrect ip address format \"%s\" (expected 3 periods)\n) -# ipfw: format d'adresse IP incorrect "%s" (3 points)\n - -$ #_not_allowed Original Message:(ipfw: ip netmask not allowed here (%s)\n) -# ipfw: masque de réseau IP pas autorisé ici (%s)\n - -$ #_missing_mask Original Message:(ipfw: missing mask value (%s)\n) -# ipfw: il manque la valeur du masque (%s)\n - -$ #_non_num Original Message:(ipfw: non-numeric mask value (%s)\n) -# ipfw: valeur du masque pas numérique (%s)\n - -$ #_junk_mask Original Message:(ipfw: junk after mask (%s)\n) -# ipfw: détruit après le masque (%s)\n - -$ #_out_range Original Message:(ipfw: mask length value out of range (%s)\n) -# ipfw: longueur de masque en dehors des limites (%s)\n - -$ #_junk_ip Original Message:(ipfw: junk after ip address (%s)\n) -# ipfw: détruit après l'adresse IP (%s)\n - -$ #_illegal_port Original Message:(ipfw: illegal port number (%s)\n) -# ipfw: numéro de port incorrect (%s)\n - -$ #_portnum_out Original Message:(ipfw: port number out of range (%d)\n) -# ipfw: numéro de port en dehors des limites (%d)\n - -$ #_unkn_service Original Message:(ipfw: unknown %s service \"%s\"\n) -# ipfw: service %s inconnu "%s"\n - -$ #_too_port Original Message:(ipfw: too many port numbers (max %d, got at least %d, next parm=\"%s\")\n) -# ipfw: trop de numéros de port (max %d, eu au moins %d, prochain parm="%s")\n - -$ #_port_ranges Original Message:(ipfw: port ranges are only allowed for the first port value pair (%s)\n) -# ipfw: les intervalles de num. de ports sont permis seulement pour la première paire (%s)\n - -$ #_no_range Original Message:(ipfw: port range not allowed here (%s)\n) -# ipfw: intervalle de num. de ports pas autorisés (%s)\n - -$ #_missing_port Original Message:(ipfw: missing port number%s\n) -# ipfw: numéro%s de port manquant(s)\n - -$ #_nomore_port Original Message:(ipfw: not enough port numbers (expected %d, got %d)\n) -# ipfw: pas assez de numéros de ports (souhaité %d, eu %d)\n - -$ #_check_blocking Original Message:(blocking) -# blocage - -$ #_check_forwarding Original Message:(forwarding) -# renvoi - -$ #_check Original Message:(check %s ) -# vérifie le %s - -$ #_only_check Original Message:(ipfw: can only check TCP or UDP packets\n) -# ipfw: ne peut vérifier que les paquets TCP ou UDP\n - -$ #_missing_from Original Message:(ipfw: missing \"from\" keyword\n) -# ipfw: il manque le mot clé "from"\n - -$ #_expect_from Original Message:(ipfw: expected \"from\" keyword, got \"%s\"\n) -# ipfw: mot clé attendu "from", eu "%s"\n - -$ #_missing_to Original Message:(ipfw: missing \"to\" keyword\n) -# ipfw: il manque le mot clé "to"\n - -$ #_expect_to Original Message:(ipfw: expected \"to\" keyword, got \"%s\"\n) -# ipfw: mot clé attendu "to", eu "%s"\n - -$ #_paq_accept Original Message:(packet accepted by %s firewall\n) -# paquet accepté par le firewall %s\n - -$ #_paq_reject Original Message:(packet rejected by %s firewall\n) -# paquet rejeté par le firewall %s\n - -$ #_blocking Original Message:(blocking) -# blocage - -$ #_forwarding Original Message:(forwarding) -# renvoi - -$ #_extra Original Message:(ipfw: extra parameters at end of command () -# ipfw: paramètres en trop à la fin de la commande ( - -$ #_usage21 Original Message:(usage: ipfirewall add %s ...\n) -# Syntaxe: ipfirewall add %s ...\n - -$ #_add Original Message:(add %s ) -# ajoute (add) %s - -$ #_missing_acc Original Message:(ipfw: missing \"accept\" or \"deny\" keyword\n) -# ipfw: il manque les mots clés "accept" ou "deny"\n - -$ #_expect_acc Original Message:(ipfw: expected \"accept\", \"deny\" or \"reject\", got \"%s\"\n) -# ipfw: mots clés attendus "accept", "deny" ou "reject", eu "%s"\n - -$ #_missing_proto Original Message:(ipfw: missing protocol name.\n) -# ipfw: il manque le nom du protocole.\n - -$ #_missing_iface Original Message:(ipfw: missing interface address.\n) -# ipfw: il manque l'adresse de l'interface.\n - -$ #_invalid_iface Original Message:(Invalid interface address.\n) -# Adresse d'interface incorrecte.\n - -$ #_missing_from2 Original Message:(ipfw: missing \"from\" keyword\n) -# ipfw: il manque le mot clé "from"\n - -$ #_expect_from2 Original Message:(ipfw: expected \"from\", got \"%s\"\n) -# ipfw: mot clé attendu "from", eu "%s"\n - -$ #_missing_to2 Original Message:(ipfw: missing \"to\" keyword\n) -# ipfw: il manque le mot clé "to"\n - -$ #_expect_to2 Original Message:(ipfw: expected \"to\", got \"%s\"\n) -# ipfw: mot clé attendu "to", eu "%s"\n - -$ #_extra2 Original Message:(ipfw: extra parameters at end of command () -# ipfw: paramètres en trop à la fin de la commande ( - -$ #_usage22 Original Message:(usage: ipfirewall delete %s ...\n) -# Syntaxe: ipfirewall delete %s ...\n - -$ #_delete Original Message:(delete %s ) -# supprime (delete) %s - -$ #_missing_acc2 Original Message:(ipfw: missing \"accept\" or \"deny\" keyword\n) -# ipfw: il manque les mots clés "accept" ou "deny"\n - -$ #_expect_acc2 Original Message:(ipfw: expected \"accept\" or \"deny\", got \"%s\"\n) -# ipfw: mots clés attendus "accept" ou "deny", eu "%s"\n - -$ #_missing_proto2 Original Message:(ipfw: missing protocol name.\n) -# ipfw: il manque le nom du protocole.\n - -$ #_missing_iface2 Original Message:(ipfw: missing interface address.\n) -# ipfw: il manque l'adresse de l'interface.\n - -$ #_invalid_iface2 Original Message:(Invalid interface address.\n) -# Adresse d'interface incorrecte.\n - -$ #_missing_from3 Original Message:(ipfw: missing \"from\" keyword\n) -# ipfw: il manque le mot clé "from"\n - -$ #_expect_from3 Original Message:(ipfw: expected \"from\", got \"%s\"\n) -# ipfw: mot clé attendu "from", eu "%s"\n - -$ #_missing_to3 Original Message:(ipfw: missing \"to\" keyword\n) -# ipfw: il manque le mot clé "to"\n - -$ #_expect_to3 Original Message:(ipfw: expected \"to\", got \"%s\"\n) -# ipfw: expected "to", got "%s"\n - -$ #_extra3 Original Message:(ipfw: extra parameters at end of command () -# ipfw: paramètres en trop à la fin de la commande ( - -$ #_anywhere Original Message:(anywhere) -# partout - -$ #_bytes Original Message:( Packete Bytes ) -# Paquets octets - -$ #_proto Original Message:(Type Proto Flags From To Iface Ports\n) -# Type Proto Flags From To Iface Ports\n - -$ #_list_accept Original Message:(accept ) -# accepte - -$ #_list_deny Original Message:(deny ) -# refuse - -$ #_list_any Original Message:(any) -# quelconque - -$ #_expect_kwds Original Message:(blocking, forwarding or accounting keyword expected.\n) -# mots clés attendus : `blocking', `forwarding' ou `accounting'.\n - -$ #_found_kwds Original Message:(Found '%s': 'blocking', 'forwarding' or 'accounting' keyword expected.\n) -# Trouvé '%s': mots clés 'blocking', 'forwarding' ou 'accounting' attendus.\n - -$ #_raw_socket Original Message:(ipfw: raw socket creation) -# ipfw: création d'une prise de type `raw' - -$ #_expect_main_blocking Original Message:(ipfw: expected \"blocking\" or \"forwarding\".\n) -# ipfw: "blocking" ou "forwarding" attendus.\n - -$ #_expect_main_accept Original Message:(ipfw: expected \"accept\", \"deny\" or \"reject\".\n) -# ipfw: "accept", "deny" ou "reject" attendus.\n - -$ #_expect_main_accounting Original Message:(ipfw: expected \"accounting\", \"blocking\" or \"forwarding\".\n) -# ipfw: "accounting", "blocking" ou "forwarding" attendus.\n - -$ #_illegal_check Original Message:(ipfw: illegal `check' keyword: %s\n) -# ipfw: mot clé `check' incorrect: %s\n - -$ #_main_missing Original Message:((missing)) -# (manquant) - -$ #_unkn_cmd Original Message:(ipfw: unknown command `%s'\n\n) -# ipfw: commande inconnue `%s'\n\n - -$ #_unkn_kwd Original Message:(ipfw: unknown `%s' keyword: `%s'\n) -# ipfw: mot clé inconnu pour `%s': `%s'\n - -$ #_reject Original Message:(\treject ) -# \treject - -$ #_badflag Original Message:(ipfw: \"%s\" flag only applicable to TCP rules\n) -# ipfw: "%s" flag only applicable to TCP rules\n - -$ #_missing_fromi Original Message:(ipfw: missing \"from\" or \"iface\" keyword\n) -# ipfw: missing "from" or "iface" keyword\n - -$ #_paq_deny Original Message:(packet denied by %s firewall\n) -# packet denied by %s firewall\n - -$ #_list_reject Original Message:(reject ) -# reject - -$ #_dp_deny Original Message:(Default policy: deny\n) -# Default policy: deny\n - -$ #_dp_accept Original Message:(Default policy: accept\n) -# Default policy: accept\n - -$ #_dp_reject Original Message:(Default policy: reject\n) -# Default policy: reject\n - -$ #_no_support Original Message:(ipfw: no support for `%s'. Please recompile with newer Kernel.\n) -# ipfw: no support for `%s'. Please recompile with newer Kernel.\n - -$ #_list_account Original Message:(account ) -# account diff --git a/nls/fr_FR.88591/ipx.m b/nls/fr_FR.88591/ipx.m deleted file mode 100644 index 2c4a214..0000000 --- a/nls/fr_FR.88591/ipx.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 15 #ipx - -$ #_none Original Message:([NONE SET]) -# [PAS DEFINI] - -$ #_ipx Original Message:(IPX) -# IPX - -$ #_notyet Original Message:(Routing table for `ipx' not yet supported.\n) -# Routing table for `ipx' not yet supported.\n diff --git a/nls/fr_FR.88591/lib.m b/nls/fr_FR.88591/lib.m deleted file mode 100644 index 41c9818..0000000 --- a/nls/fr_FR.88591/lib.m +++ /dev/null @@ -1,22 +0,0 @@ -$set 22 #lib - -$ #_unknown_af Original Message:(Unknown address family `%s'.\n) -# Unknown address family `%s'.\n - -$ #_toomuch_af Original Message:(Too much address family arguments.\n) -# Too much address family arguments.\n - -$ #_nofeature Original Message:(%s: feature `%s' not supported. Please recompile with newer kernel.\n) -# %s: feature `%s' not supported. Please recompile with newer kernel.\n - -$ #_sysnot Original Message:(%s: no support for `%s' on this system.\n) -# %s: no support for `%s' on this system.\n - -$ #_masq Original Message:(IP masquerading entries\n) -# IP masquerading entries\n - -$ #_masq_tit1 Original Message:(prot expire source destination ports\n) -# prot expire source destination ports\n - -$ #_masq_tit2 Original Message:(prot expire initseq delta prevd source destination ports\n) -# prot expire initseq delta prevd source destination ports\n diff --git a/nls/fr_FR.88591/loopback.m b/nls/fr_FR.88591/loopback.m deleted file mode 100644 index 4ff7c36..0000000 --- a/nls/fr_FR.88591/loopback.m +++ /dev/null @@ -1,11 +0,0 @@ -$set 16 #loopback - -$ #_none Original Message:([NONE SET]) -# [PAS DEFINI] - -$ #_unspec Original Message:(UNSPEC) -# INDEFINI - -$ #_loop Original Message:(Local Loopback) -# Boucle locale - diff --git a/nls/fr_FR.88591/netrom.m b/nls/fr_FR.88591/netrom.m deleted file mode 100644 index c5bc087..0000000 --- a/nls/fr_FR.88591/netrom.m +++ /dev/null @@ -1,19 +0,0 @@ -$set 20 #netrom - -$ #_none Original Message:([NONE SET]) -# [PAS DEFINI] - -$ #_debug1 Original Message:(Invalid callsign) -# Donne incorrecte - -$ #_debug2 Original Message:(Callsign too long) -# Donne trop longue - -$ #_hw Original Message:(AMPR NET/ROM) -# AMPR NET/ROM - -$ #_netrom Original Message:(AMPR NET/ROM) -# AMPR NET/ROM - -$ #_notyet Original Message:(Routing table for `netrom' not yet supported.\n) -# Routing table for `netrom' not yet supported.\n diff --git a/nls/fr_FR.88591/netstat.m b/nls/fr_FR.88591/netstat.m deleted file mode 100644 index c96c7d5..0000000 --- a/nls/fr_FR.88591/netstat.m +++ /dev/null @@ -1,145 +0,0 @@ -$set 4 #netstat - -$ #_args Original Message:(%s -> %d args) -# %s -> %d args - -$ #_netstat Original Message:(netstat: unsupported address family %d !\n) -# netstat: famille d'adresse pas supporté %d !\n - -$ #_UNKN Original Message:(UNKNOWN) -# INCONNU - -$ #_off Original Message:(off (0.00/%ld)) -# off (0.00/%ld) - -$ #_on Original Message:(on (%2.2f/%ld)) -# on (%2.2f/%ld) - -$ #_unkn Original Message:(unkn-%d (%2.2f/%ld)) -# inconnu-%d (%2.2f/%ld) - -$ #_off2 Original Message:(off (0.00/%ld) %c) -# off (0.00/%ld) %c - -$ #_on2 Original Message:(on (%2.2f/%ld) %c) -# on (%2.2f/%ld) %c - -$ #_unkn2 Original Message:(unkn-%d (%2.2f/%ld) %c) -# inconnu-%d (%2.2f/%ld) %c - -$ #_off3 Original Message:(off (0.00/%ld) %c) -# off (0.00/%ld) %c - -$ #_on3 Original Message:(on (%2.2f/%ld) %c) -# on (%2.2f/%ld) %c - -$ #_unkn3 Original Message:(unkn-%d (%2.2f/%ld) %c) -# inconnu-%d (%2.2f/%ld) %c - -$ #_unix Original Message:(Active UNIX domain sockets\n) -# Prises du domaine UNIX actives\n - -$ #_header_unix Original Message:(Proto RefCnt Flags Type State Path\n) -# Proto CptRef Options Type Etat Chemin\n - -$ #_noflags Original Message:([NO FLAGS]) -# [PAS D'OPTIONS] - -$ #_interface Original Message:(Kernel Interface table\n) -# Table des interfaces du noyau\n - -$ #_header_iface Original Message:(Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags\n) -# Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Opts\n - -$ #_unkn_iface Original Message:(%s: unknown interface.\n) -# %s: interface inconnue.\n - -$ #_usage1 Original Message:(usage: netstat [-veenc] [<Af>] -r netstat {-V|--version|-h|--help}\n) -# usage: netstat [-veenc] [<Af>] -r netstat {-V|--version|-h|--help}\n - -$ #_usage2 Original Message:( netstat [-vncao] [<Socket>]\n) -# netstat [-vncao] [<Socket>]\n - -$ #_usage3 Original Message:( netstat { [-veenac] -i | [-vnc] -N | [-cne] -M }\n\n) -# netstat { [-veenac] -i | [-vnc] -N | [-cne] -M }\n\n - -$ #_usage4 Original Message:( -r, --routing display routing table\n) -# -r, --routing display routing table\n - -$ #_usage5 Original Message:( -N, --netlink display netlink kernel messages\n) -# -N, --netlink display netlink kernel messages\n - -$ #_usage6 Original Message:( -i, --interfaces display interface table\n) -# -i, --interfaces display interface table\n - -$ #_usage7 Original Message:( -M, --masquerade display masqueraded connections\n\n) -# -M, --masquerade display masqueraded connections\n\n - -$ #_usage8 Original Message:( -v, --verbose be verbose\n) -# -v, --verbose be verbose\n - -$ #_usage9 Original Message:( -n, --numeric dont resolve names\n) -# -n, --numeric dont resolve names\n - -$ #_usage10 Original Message:( -e, --extend display other/more informations\n) -# -e, --extend display other/more informations\n - -$ #_usage11 Original Message:( -c, --continous continous lising\n\n) -# -c, --continous continous lising\n\n - -$ #_usage12 Original Message:( -a, --all, --listening display all\n) -# -a, --all, --listening display all\n - -$ #_usage13 Original Message:( -o, --timers display timers\n\n) -# -o, --timers display timers\n\n - -$ #_usage14 Original Message:(<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n) -# <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n - -$ #_usage15 Original Message:(<Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n) -# <Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n - -$ #_internet Original Message:(Active Internet connections) -# Connexions Internet Actives - -$ #_servers Original Message:( (including servers)) -# (y compris les serveurs) - -$ #_header_internet Original Message:(\nProto Recv-Q Send-Q Local Address Foreign Address (State) User\n) -# \nProto Recv-Q Send-Q Adresse Locale Adresse Distante (Etat) Utilisateur\n - -$ #_header_ipx Original Message:(Active IPX sockets\nProto Recv-Q Send-Q Local Address Foreign Address (State) User\n) -# Prises IPX actives\nProto Recv-Q Send-Q Adresse Locale Adresse Distante (Etat) Utilisateur\n - -$ #_type_no_route Original Message:(No routing for address family `%s'.\n) -# No routing for address family `%s'.\n - -$ #_route_no_support Original Message:(Adress family `%s' not supported.\n) -# Adress family `%s' not supported.\n - -$ #_route_not_yet Original Message:(Address family `%s' Not yet supported.\n) -# Address family `%s' Not yet supported.\n - -$ #_nlp_title Original Message:(Netlink Kernel Messages) -# Netlink Kernel Messages - -$ #_nlp_cnt Original Message:( (continous)) -# (continous) - -$ #_noax25 Original Message:(AX.25 not configured in this system.\n) -# AX.25 not configured in this system.\n - -$ #_ax25 Original Message:(Kernel AX.25 routing table\n) -# Kernel AX.25 routing table\n - -$ #_header_ax25 Original Message:(Destination Iface Use\n) -# Destination Iface Use\n - -$ #_nonetrom Original Message:(NET/ROM not configured in this system.\n) -# NET/ROM not configured in this system.\n - -$ #_netrom Original Message:(Kernel NET/ROM routing table\n) -# Kernel NET/ROM routing table\n - -$ #_header_netrom Original Message:(Destination Mnemonic Quality Neighbour Iface\n) -# Destination Mnemonic Quality Neighbour Iface\n diff --git a/nls/fr_FR.88591/plipconfig.m b/nls/fr_FR.88591/plipconfig.m deleted file mode 100644 index f9d6265..0000000 --- a/nls/fr_FR.88591/plipconfig.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 6 #plipconfig - -$ #_usage1 Original Message:(Usage: plipconfig [-a] [-i] [-v] interface\n) -# Syntaxe: plipconfig [-a] [-i] [-v] interface\n - -$ #_usage2 Original Message:( [nibble NN] [trigger NN]\n) -# [nibble NN] [trigger NN]\n - -$ #_plip Original Message:(%s\tnibble %lu trigger %lu\n) -# %s\tdigit %lu déclenchement %lu\n diff --git a/nls/fr_FR.88591/ppp.m b/nls/fr_FR.88591/ppp.m deleted file mode 100644 index b4ba9de..0000000 --- a/nls/fr_FR.88591/ppp.m +++ /dev/null @@ -1,8 +0,0 @@ -$set 17 #ppp - -$ #_cant_start Original Message:(You cannot start PPP with this program.\n) -# Vous ne pouvez pas démarrer PPP avec ce programme.\n - -$ #_ppp Original Message:(Point-Point Protocol) -# Protocole Point-à-Point - diff --git a/nls/fr_FR.88591/rarp.m b/nls/fr_FR.88591/rarp.m deleted file mode 100644 index 0ad5974..0000000 --- a/nls/fr_FR.88591/rarp.m +++ /dev/null @@ -1,22 +0,0 @@ -$set 7 #rarp - -$ #_invalid Original Message:(Invalid Ethernet address: %s\n) -# Adresse Ethernet incorrecte: %s\n - -$ #_unkn_host Original Message:(rarp: %s: unknown host\n) -# rarp: %s: hôte inconnu\n - -$ #_noentry Original Message:(No ARP entry for %s\n) -# Pas d'entrée ARP pour %s\n - -$ #_usage1 Original Message:(Usage: rarp -a List Entries in cache. \n) -# Syntaxe: rarp -a Liste les entrées dans le cache. \n - -$ #_usage2 Original Message:( rarp -d hostname Delete hostname from cache.\n) -# rarp -d nom_d_hôte Efface le nom d'hôte du cache.\n - -$ #_usage3 Original Message:( rarp -s hostname hw_addr Add hostname to cache.\n) -# rarp -s nom_d_hôte adr_mat Ajoute le nom d'hôte dans le cache.\n - -$ #_unkn_hw Original Message:(rarp: %s: unknown hardware type.\n) -# rarp: %s: type de matériel inconnu.\n diff --git a/nls/fr_FR.88591/route.m b/nls/fr_FR.88591/route.m deleted file mode 100644 index b8fa1ca..0000000 --- a/nls/fr_FR.88591/route.m +++ /dev/null @@ -1,55 +0,0 @@ -$set 2 #route - -$ #_rresolve Original Message:(rresolve: unsupport address family %d !\n) -# rresolve: famille d'adresse pas supportée %d !\n - -$ #_usage1 Original Message:(Usage: route [-nvee] [-A inet|ipx|ddp|netrom],... route {--version|--help}\n\n) -# Usage: route [-nvee] [-A inet|ipx|ddp|netrom],... route {--version|--help}\n\n - -$ #_usage2 Original Message:( route [-v] del {-net|-host} Target [gw Gateway] [netmask Nm]\n) -# route [-v] del {-net|-host} Target [gw Gateway] [netmask Nm]\n - -$ #_usage3 Original Message:( [metric N] [[dev] If]\n\n) -# [metric N] [[dev] If]\n\n - -$ #_usage4 Original Message:( route [-v] add {-net|-host} Target [gw Gateway] [netmask Nm]\n) -# route [-v] add {-net|-host} Target [gw Gateway] [netmask Nm]\n - -$ #_usage5 Original Message:( [metric N] [mss M] [window W] [irtt I] [reject]\n) -# [metric N] [mss M] [window W] [irtt I] [reject]\n - -$ #_usage6 Original Message:( [mod] [dyn] [reinstate] [[dev] If]\n) -# [mod] [dyn] [reinstate] [[dev] If]\n - -$ #_table Original Message:(Kernel routing table\n) -# Table de routage noyau\n - -$ #_cant_use Original Message:(route: %s: cannot use a NETWORK as gateway!\n) -# route: %s: ne peut utiliser un RESEAU comme passerelle !\n - -$ #_MSS Original Message:(route: Invalid MSS.\n) -# route: MSS invalide.\n - -$ #_window Original Message:(route: Invalid window.\n) -# route: Taille de fenetre invalide.\n - -$ #_irtt Original Message:(route: Invalid initial rtt.\n) -# route: irtt invalide.\n - -$ #_netmask1 Original Message:(route: netmask doesn't make sense with host route\n) -# route: netmask n'a pas de sens avec une route vers un hôte\n - -$ #_netmask2 Original Message:(route: bogus netmask %s\n) -# route: mauvais netmask %s\n - -$ #_netmask3 Original Message:(route: netmask doesn't match route address\n) -# route: netmask ne correspond pas à l'adresse de route\n - -$ #_fam_not_supp Original Message:(%s: address family not supported!\n) -# %s: address family not supported!\n - -$ #_af_no_route Original Message:(route: %s: address family doesn't support routing.\n) -# route: %s: address family doesn't support routing.\n - -$ #_wrong_af Original Message:(route: %s: command only supports 'inet' AF.\n) -# route: %s: command only supports 'inet' AF.\n diff --git a/nls/fr_FR.88591/slattach.m b/nls/fr_FR.88591/slattach.m deleted file mode 100644 index 7ccea65..0000000 --- a/nls/fr_FR.88591/slattach.m +++ /dev/null @@ -1,46 +0,0 @@ -$set 8 #slattach - -$ #_user_unkn Original Message:(slattach: tty_lock: UUCP user %s unknown!\n) -# slattach: tty_lock: UUCP utilisateur %s inconnu !\n - -$ #_drop Original Message:(slattach: tty_hangup(DROP): %s\n) -# slattach: tty_hangup(TERMINAISON): %s\n - -$ #_raise Original Message:(slattach: tty_hangup(RAISE): %s\n) -# slattach: tty_hangup(OBTENTION): %s\n - -$ #_cant_state Original Message:(slattach: tty_open: cannot get current state!\n) -# slattach: tty_open: ne peut pas obtenir l'état courant !\n - -$ #_cant_disc Original Message:(slattach: tty_open: cannot get current line disc!\n) -# slattach: tty_open: ne peut pas obtenir la discipline de ligne courante !\n - -$ #_cant_raw Original Message:(slattach: tty_open: cannot set RAW mode!\n) -# slattach: tty_open: ne peut pas positionner le mode RAW !\n - -$ #_cant_bps Original Message:(slattach: tty_open: cannot set %s bps!\n) -# slattach: tty_open: ne peut pas positionner %s bps!\n - -$ #_cant_8n1 Original Message:(slattach: tty_open: cannot set 8N1 mode!\n) -# slattach: tty_open: ne peut pas définir le mode 8N1 !\n - -$ #_usage1 Original Message:(Usage: slattach [-ehlLmnqv] [-c cmd] [-s speed] [-p protocol] tty | -\n) -# Usage: slattach [-ehlLmnqv] [-c cmd] [-s vitesse] [-p protocole] tty | -\n - -$ #_unsupp Original Message:(slattach: unsupported protocol %s\n) -# slattach: protocole %s pas supporté\n - -$ #_started Original Message:(%s started) -# %s démarré - -$ #_on Original Message:( on %s) -# sur %s - -$ #_iface Original Message:( interface %s\n) -# interface %s\n - -$ #_locked Original Message:(slattach: /dev/%s already locked\n) -# slattach: /dev/%s already locked\n - -$ #_cant_pid Original Message:(slattach: cannot write PID to lock file\n) -# slattach: cannot write PID to lock file\n diff --git a/nls/fr_FR.88591/slip.m b/nls/fr_FR.88591/slip.m deleted file mode 100644 index 8045bc5..0000000 --- a/nls/fr_FR.88591/slip.m +++ /dev/null @@ -1,17 +0,0 @@ -$set 18 #slip - -$ #_slip Original Message:(Serial Line IP) -# Ligne Série IP - -$ #_cslip Original Message:(VJ Serial Line IP) -# Ligne Série `VJ' IP - -$ #_slip6 Original Message:(6-bit Serial Line IP) -# Ligne Série `6-bits' IP - -$ #_cslip6 Original Message:(VJ 6-bit Serial Line IP) -# Ligne Série `VJ 6-bits' IP - -$ #_adaptive Original Message:(Adaptive Serial Line IP) -# Ligne Série `Adaptative' IP - diff --git a/nls/fr_FR.88591/unix.m b/nls/fr_FR.88591/unix.m deleted file mode 100644 index f6eea1a..0000000 --- a/nls/fr_FR.88591/unix.m +++ /dev/null @@ -1,10 +0,0 @@ -$set 19 #unix - -$ #_none Original Message:([NONE SET]) -# [PAS DEFINI] - -$ #_unix Original Message:(UNIX Domain) -# Domaine UNIX - -$ #_unspec Original Message:(UNSPEC) -# INDEFINI diff --git a/po/Makefile b/po/Makefile new file mode 100644 index 0000000..193d7c4 --- /dev/null +++ b/po/Makefile @@ -0,0 +1,70 @@ +INSTALL= /usr/bin/install -c +INSTALL_PROGRAM= ${INSTALL} +INSTALL_DATA= ${INSTALL} -m 644 +INSTALLNLSDIR=${BASEDIR}/usr/share/locale + +TUPDATE = tupdate + +NLSPACKAGE = net-tools + +CATALOGS = pt_BR.mo + +POTFILES=../arp.c ../hostname.c ../ifconfig.c ../rarp.c \ + ../lib/ax25.c ../lib/activate.c ../lib/af.c \ + ../lib/arcnet.c ../lib/econet.c ../lib/ax25_gr.c \ + ../lib/ddp.c ../lib/ddp_gr.c ../lib/ether.c \ + ../lib/fddi.c ../lib/getroute.c ../lib/hw.c ../lib/inet.c \ + ../lib/inet6.c ../lib/inet6_gr.c ../lib/inet6_sr.c \ + ../lib/inet_gr.c ../lib/inet_sr.c ../lib/ipx.c \ + ../lib/ipx_gr.c ../lib/loopback.c ../lib/masq_info.c \ + ../lib/netrom.c ../lib/netrom_gr.c ../lib/netrom_sr.c \ + ../lib/ppp.c ../lib/ppp_ac.c ../lib/rose.c ../lib/rose_gr.c \ + ../lib/setroute.c ../lib/tr.c ../lib/unix.c ../netstat.c \ + ../route.c ../sockets.c ../statistics.c + +all: $(NLSPACKAGE).pot $(CATALOGS) + +$(NLSPACKAGE).pot: $(POTFILES) + xgettext --default-domain=$(NLSPACKAGE) \ + --add-comments --keyword=_ --keyword=N_ $(POTFILES) + if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \ + rm -f $(NLSPACKAGE).po; \ + else \ + mv $(NLSPACKAGE).po $(NLSPACKAGE).pot; \ + fi + + +update-po: Makefile + $(MAKE) $(NLSPACKAGE).pot + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + lang=`echo $$cat | sed 's/.mo//'`; \ + mv $$lang.po $$lang.old.po; \ + echo "$$lang:"; \ + if $(TUPDATE) $(NLSPACKAGE).pot $$lang.old.po > $$lang.po; then \ + rm -f $$lang.old.po; \ + else \ + echo "tupdate for $$cat failed!"; \ + rm -f $$lang.po; \ + mv $$lang.old.po $$lang.po; \ + fi; \ + done + +clean: + rm -f *mo $(NLSPACKAGE).pot + +distclean: clean + rm -f .depend Makefile + +depend: + +install: $(CATALOGS) + for n in $(CATALOGS); do \ + l=`basename $$n .mo`; \ + $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l; \ + $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l/LC_MESSAGES; \ + $(INSTALL) -m 644 $$n $(INSTALLNLSDIR)/$$l/LC_MESSAGES/net-tools.mo; \ + done + +%.mo: %.po + msgfmt -o $@ $< diff --git a/po/net-tools.pot b/po/net-tools.pot new file mode 100644 index 0000000..6b3f2e2 --- /dev/null +++ b/po/net-tools.pot @@ -0,0 +1,1839 @@ +msgid "" +msgstr "" +"Date: 1998-06-30 11:15:49-0300\n" +"From: root <root@plucky.conectiva.com.br>\n" +"Content-Type: text/plain; charset=\n" +"Xgettext-Options: --default-domain=net-tools --add-comments --keyword=_ --keyword=N_\n" +"Files: ../arp.c ../hostname.c ../ifconfig.c ../rarp.c ../lib/ax25.c ../lib/activate.c ../lib/af.c ../lib/arcnet.c ../lib/econet.c ../lib/ax25_gr.c ../lib/ddp.c ../lib/ddp_gr.c ../lib/ether.c ../lib/fddi.c ../lib/getroute.c ../lib/hw.c ../lib/inet.c ../lib/inet6.c ../lib/inet6_gr.c ../lib/inet6_sr.c ../lib/inet_gr.c ../lib/inet_sr.c ../lib/ipx.c ../lib/ipx_gr.c ../lib/loopback.c ../lib/masq_info.c ../lib/netrom.c ../lib/netrom_gr.c ../lib/netrom_sr.c ../lib/ppp.c ../lib/ppp_ac.c ../lib/rose.c ../lib/rose_gr.c ../lib/setroute.c ../lib/tr.c ../lib/unix.c ../netstat.c ../route.c ../sockets.c ../statistics.c\n" + +#. Resolve the host name. +#: ../arp.c:111 ../arp.c:304 +msgid "arp: need host name\n" +msgstr "" + +#: ../arp.c:217 ../arp.c:242 +msgid "No ARP entry for %s\n" +msgstr "" + +#: ../arp.c:318 +msgid "arp: need hardware address\n" +msgstr "" + +#: ../arp.c:327 +msgid "arp: invalid hardware address\n" +msgstr "" + +#: ../arp.c:422 +msgid "Probably route to destination points to interface. See arp(8)\n" +msgstr "" + +#: ../arp.c:424 +msgid "No ARP Support or route to destination points to other interface. See arp(8)\n" +msgstr "" + +#: ../arp.c:451 +msgid "arp: cannot open etherfile %s !\n" +msgstr "" + +#: ../arp.c:465 +msgid "arp: format error on line %u of etherfile %s !\n" +msgstr "" + +#: ../arp.c:471 +msgid "arp: cannot set entry on line %u of etherfile %s !\n" +msgstr "" + +#: ../arp.c:493 +msgid "Address\t\t\tHWtype\tHWaddress\t Flags Mask\t\t Iface\n" +msgstr "" + +#: ../arp.c:643 +msgid "Entries: %d\tSkipped: %d\tFound: %d\n" +msgstr "" + +#: ../arp.c:649 +msgid "arp: in %d entries no match found.\n" +msgstr "" + +#: ../arp.c:666 +msgid "Usage: arp [-vn] [-H type] [-i if] -a [hostname]\n" +msgstr "" + +#: ../arp.c:667 +msgid " arp [-v] [-i if] -d hostname [pub][nopub]\n" +msgstr "" + +#: ../arp.c:668 +msgid " arp [-v] [-H type] [-i if] -s hostname hw_addr [temp][nopub]\n" +msgstr "" + +#: ../arp.c:669 +msgid " arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub\n" +msgstr "" + +#: ../arp.c:670 +msgid " arp [-v] [-H type] [-i if] -Ds hostname if [netmask nm] pub\n" +msgstr "" + +#: ../arp.c:671 +msgid " arp [-vnD] [-H type] [-i if] -f filename\n" +msgstr "" + +#. Initialize variables... +#: ../arp.c:704 +msgid "%s: hardware type not supported!\n" +msgstr "" + +#: ../arp.c:708 +msgid "%s: address family not supported!\n" +msgstr "" + +#: ../arp.c:752 +msgid "arp: %s: unknown address family.\n" +msgstr "" + +#: ../arp.c:761 +msgid "arp: %s: unknown hardware type.\n" +msgstr "" + +#: ../arp.c:781 +msgid "arp: %s: kernel only supports 'inet'.\n" +msgstr "" + +#: ../arp.c:786 +msgid "arp: %s: hardware type without ARP support.\n" +msgstr "" + +#: ../hostname.c:63 +msgid "Setting hostname to `%s'\n" +msgstr "" + +#: ../hostname.c:68 +msgid "%s: you must be root to change the host name\n" +msgstr "" + +#: ../hostname.c:71 ../hostname.c:90 +msgid "%s: name too long\n" +msgstr "" + +#: ../hostname.c:82 +msgid "Setting domainname to `%s'\n" +msgstr "" + +#: ../hostname.c:87 +msgid "%s: you must be root to change the domain name\n" +msgstr "" + +#: ../hostname.c:105 +msgid "Resolving `%s' ...\n" +msgstr "" + +#: ../hostname.c:112 +msgid "Result: h_name=`%s'\n" +msgstr "" + +#: ../hostname.c:117 +msgid "Result: h_aliases=`%s'\n" +msgstr "" + +#: ../hostname.c:122 +msgid "Result: h_addr_list=`%s'\n" +msgstr "" + +#: ../hostname.c:174 +msgid "%s: can't open `%s'\n" +msgstr "" + +#: ../hostname.c:188 +msgid "Usage: hostname [-v] {hostname|-F file} set hostname (from file)\n" +msgstr "" + +#: ../hostname.c:189 +msgid " domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n" +msgstr "" + +#: ../hostname.c:190 +msgid " hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name\n" +msgstr "" + +#: ../hostname.c:191 +msgid "" +" hostname [-v] display hostname\n" +"\n" +msgstr "" + +#: ../hostname.c:192 +msgid "" +" hostname -V|--version|-h|--help print info and exit\n" +"\n" +msgstr "" + +#: ../hostname.c:193 +msgid "" +" dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n" +"\n" +msgstr "" + +#: ../hostname.c:194 +msgid " -s, --short short host name\n" +msgstr "" + +#: ../hostname.c:195 +msgid " -a, --alias alias names\n" +msgstr "" + +#: ../hostname.c:196 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr "" + +#: ../hostname.c:197 +msgid " -f, --fqdn, --long long host name (FQDN)\n" +msgstr "" + +#: ../hostname.c:198 +msgid " -d, --domain DNS domain name\n" +msgstr "" + +#: ../hostname.c:199 +msgid " -y, --yp, --nis NIS/YP domainname\n" +msgstr "" + +#: ../hostname.c:200 +msgid "" +" -F, --file read hostname or nis domainname from given File\n" +"\n" +msgstr "" + +#: ../hostname.c:201 +msgid " This comand can get or set the hostname or the NIS domainname. You can\n" +msgstr "" + +#: ../hostname.c:202 +msgid " also get the DNS domain or the FQDN (fully qualified domain name).\n" +msgstr "" + +#: ../hostname.c:203 +msgid " Unless you are using bind or NIS for host lookups you can change the\n" +msgstr "" + +#: ../hostname.c:204 +msgid " FQDN (Fully Qualified Domain Name) and the DNS domain name (which is\n" +msgstr "" + +#: ../hostname.c:205 +msgid " part of the FQDN) in the /etc/hosts file.\n" +msgstr "" + +#: ../hostname.c:283 +msgid "%s: You can't change the DNS domain name with this command\n" +msgstr "" + +#: ../hostname.c:284 +msgid "" +"\n" +"Unless you are using bind or NIS for host lookups you can change the DNS\n" +msgstr "" + +#: ../hostname.c:285 +msgid "domain name (which is part of the FQDN) in the /etc/hosts file.\n" +msgstr "" + +#: ../hostname.c:302 +msgid "gethostname()=`%s'\n" +msgstr "" + +#: ../hostname.c:319 +msgid "getdomainname()=`%s'\n" +msgstr "" + +#: ../ifconfig.c:150 +msgid "%-8.8s Link encap:%s " +msgstr "" + +#: ../ifconfig.c:156 +msgid "HWaddr %s " +msgstr "" + +#: ../ifconfig.c:159 +msgid "Media:%s%s" +msgstr "" + +#: ../ifconfig.c:160 +msgid "(auto)" +msgstr "" + +#: ../ifconfig.c:166 +msgid " %s addr:%s " +msgstr "" + +#: ../ifconfig.c:169 +msgid " P-t-P:%s " +msgstr "" + +#: ../ifconfig.c:172 +msgid " Bcast:%s " +msgstr "" + +#: ../ifconfig.c:174 +msgid " Mask:%s\n" +msgstr "" + +#: ../ifconfig.c:187 +msgid " inet6 addr: %s/%d" +msgstr "" + +#: ../ifconfig.c:189 +msgid " Scope:" +msgstr "" + +#: ../ifconfig.c:191 +msgid "Global" +msgstr "" + +#: ../ifconfig.c:192 +msgid "Link" +msgstr "" + +#: ../ifconfig.c:193 +msgid "Site" +msgstr "" + +#: ../ifconfig.c:194 +msgid "Compat" +msgstr "" + +#: ../ifconfig.c:195 +msgid "Host" +msgstr "" + +#: ../ifconfig.c:196 +msgid "Unknown" +msgstr "" + +#: ../ifconfig.c:211 +msgid " IPX/Ethernet II addr:%s\n" +msgstr "" + +#: ../ifconfig.c:214 +msgid " IPX/Ethernet SNAP addr:%s\n" +msgstr "" + +#: ../ifconfig.c:217 +msgid " IPX/Ethernet 802.2 addr:%s\n" +msgstr "" + +#: ../ifconfig.c:220 +msgid " IPX/Ethernet 802.3 addr:%s\n" +msgstr "" + +#: ../ifconfig.c:230 +msgid " EtherTalk Phase 2 addr:%s\n" +msgstr "" + +#: ../ifconfig.c:239 +msgid " econet addr:%s\n" +msgstr "" + +#: ../ifconfig.c:244 +msgid "[NO FLAGS] " +msgstr "" + +#: ../ifconfig.c:245 +msgid "UP " +msgstr "" + +#: ../ifconfig.c:246 +msgid "BROADCAST " +msgstr "" + +#: ../ifconfig.c:247 +msgid "DEBUG " +msgstr "" + +#: ../ifconfig.c:248 +msgid "LOOPBACK " +msgstr "" + +#: ../ifconfig.c:249 +msgid "POINTOPOINT " +msgstr "" + +#: ../ifconfig.c:250 +msgid "NOTRAILERS " +msgstr "" + +#: ../ifconfig.c:251 +msgid "RUNNING " +msgstr "" + +#: ../ifconfig.c:252 +msgid "NOARP " +msgstr "" + +#: ../ifconfig.c:253 +msgid "PROMISC " +msgstr "" + +#: ../ifconfig.c:254 +msgid "ALLMULTI " +msgstr "" + +#: ../ifconfig.c:255 +msgid "SLAVE " +msgstr "" + +#: ../ifconfig.c:256 +msgid "MASTER " +msgstr "" + +#: ../ifconfig.c:257 +msgid "MULTICAST " +msgstr "" + +#: ../ifconfig.c:258 +msgid " MTU:%d Metric:%d\n" +msgstr "" + +#: ../ifconfig.c:261 +msgid " txqueuelen:%d\n" +msgstr "" + +#: ../ifconfig.c:264 +msgid " txqueuelen not available\n" +msgstr "" + +#: ../ifconfig.c:270 +msgid "RX packets:%lu errors:%lu dropped:%lu overruns:%lu frame:%lu\n" +msgstr "" + +#: ../ifconfig.c:275 +msgid " compressed:%lu\n" +msgstr "" + +#: ../ifconfig.c:279 +msgid "TX packets:%lu errors:%lu dropped:%lu overruns:%lu carrier:%lu\n" +msgstr "" + +#: ../ifconfig.c:283 +msgid " Collisions:%lu " +msgstr "" + +#: ../ifconfig.c:285 +msgid "compressed:%lu " +msgstr "" + +#: ../ifconfig.c:292 +msgid "Interrupt:%d " +msgstr "" + +#. Only print devices using it for +#. I/O maps +#: ../ifconfig.c:295 +msgid "Base address:0x%x " +msgstr "" + +#: ../ifconfig.c:297 +msgid "Memory:%lx-%lx " +msgstr "" + +#: ../ifconfig.c:300 +msgid "DMA chan:%x " +msgstr "" + +#: ../ifconfig.c:327 ../ifconfig.c:337 ../ifconfig.c:352 ../ifconfig.c:373 ../netstat.c:1121 +msgid "%s: unknown interface.\n" +msgstr "" + +#: ../ifconfig.c:389 +msgid "Usage: ifconfig [-a] [-i] [-v] interface\n" +msgstr "" + +#: ../ifconfig.c:390 +msgid " [[family] address]\n" +msgstr "" + +#: ../ifconfig.c:392 +msgid " [add inet6address/prefixlen]\n" +msgstr "" + +#: ../ifconfig.c:394 +msgid " [del inet6address/prefixlen]\n" +msgstr "" + +#: ../ifconfig.c:396 +msgid " [tunnel aa.bb.cc.dd]\n" +msgstr "" + +#: ../ifconfig.c:399 +msgid " [[-]broadcast [aa.bb.cc.dd]]\n" +msgstr "" + +#: ../ifconfig.c:400 +msgid " [[-]pointopoint [aa.bb.cc.dd]]\n" +msgstr "" + +#: ../ifconfig.c:401 +msgid " [netmask aa.bb.cc.dd]\n" +msgstr "" + +#: ../ifconfig.c:402 +msgid " [dstaddr aa.bb.cc.dd]\n" +msgstr "" + +#: ../ifconfig.c:404 +msgid " [hw class address]\n" +msgstr "" + +#: ../ifconfig.c:405 +msgid " [metric NN] [mtu NN]\n" +msgstr "" + +#: ../ifconfig.c:406 +msgid " [[-]trailers] [[-]arp]\n" +msgstr "" + +#: ../ifconfig.c:407 +msgid " [[-]allmulti] [[-]promisc]\n" +msgstr "" + +#: ../ifconfig.c:408 +msgid " [multicast]\n" +msgstr "" + +#: ../ifconfig.c:409 +msgid " [mem_start NN] [io_addr NN] [irq NN]\n" +msgstr "" + +#: ../ifconfig.c:410 +msgid " [media type]\n" +msgstr "" + +#: ../ifconfig.c:412 +msgid " [txqueuelen len]\n" +msgstr "" + +#: ../ifconfig.c:414 +msgid " [up] [down] ...\n" +msgstr "" + +#: ../ifconfig.c:530 +msgid "Unknown media type.\n" +msgstr "" + +#: ../ifconfig.c:791 +msgid "%s: invalid %s address.\n" +msgstr "" + +#: ../ifconfig.c:880 +msgid "Address deletion not supported on this system.\n" +msgstr "" + +#: ../ifconfig.c:947 +msgid "Don't know how to set addresses for this family.\n" +msgstr "" + +#: ../rarp.c:37 +msgid "This kernel does not support RARP.\n" +msgstr "" + +#: ../rarp.c:76 +msgid "no RARP entry for %s.\n" +msgstr "" + +#: ../rarp.c:89 +msgid "%s: bad hardware address\n" +msgstr "" + +#: ../rarp.c:122 +msgid "rarp: cannot open file %s:%s.\n" +msgstr "" + +#: ../rarp.c:135 +msgid "rarp: format error at %s:%u\n" +msgstr "" + +#: ../rarp.c:140 ../rarp.c:280 +msgid "rarp: %s: unknown host\n" +msgstr "" + +#: ../rarp.c:143 +msgid "rarp: cannot set entry from %s:%u\n" +msgstr "" + +#: ../rarp.c:172 +msgid "Usage: rarp -a list entries in cache.\n" +msgstr "" + +#: ../rarp.c:173 +msgid " rarp -d hostname delete entry from cache.\n" +msgstr "" + +#: ../rarp.c:174 +msgid " rarp [-t hwtype] -s hostname hwaddr add entry to cache.\n" +msgstr "" + +#: ../rarp.c:175 +msgid " rarp -V display program version.\n" +msgstr "" + +#: ../rarp.c:229 +msgid "%s: illegal option mix.\n" +msgstr "" + +#: ../rarp.c:259 +msgid "rarp: %s: unknown hardware type.\n" +msgstr "" + +#: ../lib/arcnet.c:56 ../lib/ax25.c:72 ../lib/ax25.c:155 ../lib/ddp.c:51 ../lib/econet.c:54 ../lib/ether.c:59 ../lib/fddi.c:68 ../lib/inet.c:203 ../lib/inet6.c:121 ../lib/ipx.c:76 ../lib/loopback.c:56 ../lib/netrom.c:71 ../lib/rose.c:62 ../lib/rose.c:118 ../lib/unix.c:58 ../lib/unix.c:80 +msgid "[NONE SET]" +msgstr "" + +#: ../lib/ax25.c:94 ../lib/netrom.c:93 +msgid "Invalid callsign" +msgstr "" + +#. Callsign too long? +#: ../lib/ax25.c:107 ../lib/netrom.c:106 +msgid "Callsign too long" +msgstr "" + +#: ../lib/activate.c:70 +msgid "Hardware type `%s' not supported.\n" +msgstr "" + +#: ../lib/activate.c:74 +msgid "Cannot change line discipline to `%s'.\n" +msgstr "" + +#: ../lib/af.c:106 ../lib/hw.c:119 +msgid "UNSPEC" +msgstr "" + +#: ../lib/af.c:108 +msgid "UNIX Domain" +msgstr "" + +#: ../lib/af.c:111 +msgid "DARPA Internet" +msgstr "" + +#: ../lib/af.c:114 +msgid "IPv6" +msgstr "" + +#: ../lib/af.c:117 ../lib/hw.c:137 +msgid "AMPR AX.25" +msgstr "" + +#: ../lib/af.c:120 ../lib/hw.c:143 +msgid "AMPR NET/ROM" +msgstr "" + +#: ../lib/af.c:123 +msgid "IPX" +msgstr "" + +#: ../lib/af.c:126 +msgid "Appletalk DDP" +msgstr "" + +#: ../lib/af.c:129 +msgid "Econet" +msgstr "" + +#: ../lib/af.c:189 +msgid "Please don't supply more than one address family.\n" +msgstr "" + +#: ../lib/af.c:235 +msgid "Too much address family arguments.\n" +msgstr "" + +#: ../lib/af.c:246 +msgid "Unknown address family `%s'.\n" +msgstr "" + +#: ../lib/arcnet.c:82 ../lib/arcnet.c:94 +msgid "in_arcnet(%s): invalid arcnet address!\n" +msgstr "" + +#: ../lib/arcnet.c:106 +msgid "in_arcnet(%s): trailing : ignored!\n" +msgstr "" + +#. That's it. Any trailing junk? +#: ../lib/arcnet.c:118 +msgid "in_arcnet(%s): trailing junk!\n" +msgstr "" + +#: ../lib/ax25_gr.c:48 +msgid "AX.25 not configured in this system.\n" +msgstr "" + +#: ../lib/ax25_gr.c:51 +msgid "Kernel AX.25 routing table\n" +msgstr "" + +#: ../lib/ax25_gr.c:52 ../lib/rose_gr.c:54 +msgid "Destination Iface Use\n" +msgstr "" + +#: ../lib/ddp_gr.c:22 +msgid "Routing table for `ddp' not yet supported.\n" +msgstr "" + +#: ../lib/ether.c:85 ../lib/ether.c:97 +msgid "in_ether(%s): invalid ether address!\n" +msgstr "" + +#: ../lib/ether.c:109 +msgid "in_ether(%s): trailing : ignored!\n" +msgstr "" + +#. That's it. Any trailing junk? +#: ../lib/ether.c:121 +msgid "in_ether(%s): trailing junk!\n" +msgstr "" + +#: ../lib/fddi.c:94 ../lib/fddi.c:106 +msgid "in_fddi(%s): invalid fddi address!\n" +msgstr "" + +#: ../lib/fddi.c:118 +msgid "in_fddi(%s): trailing : ignored!\n" +msgstr "" + +#: ../lib/fddi.c:130 +msgid "in_fddi(%s): trailing junk!\n" +msgstr "" + +#: ../lib/getroute.c:99 ../lib/setroute.c:78 +msgid "Address family `%s' not supported.\n" +msgstr "" + +#: ../lib/getroute.c:105 ../lib/setroute.c:83 +msgid "No routing for address family `%s'.\n" +msgstr "" + +#: ../lib/hw.c:118 +msgid "Local Loopback" +msgstr "" + +#: ../lib/hw.c:121 +msgid "Serial Line IP" +msgstr "" + +#: ../lib/hw.c:122 +msgid "VJ Serial Line IP" +msgstr "" + +#: ../lib/hw.c:123 +msgid "6-bit Serial Line IP" +msgstr "" + +#: ../lib/hw.c:124 +msgid "VJ 6-bit Serial Line IP" +msgstr "" + +#: ../lib/hw.c:125 +msgid "Adaptive Serial Line IP" +msgstr "" + +#: ../lib/hw.c:128 +msgid "Ethernet" +msgstr "" + +#: ../lib/hw.c:131 +msgid "Ash" +msgstr "" + +#: ../lib/hw.c:134 +msgid "Fiber Distributed Data Interface" +msgstr "" + +#: ../lib/hw.c:140 +msgid "AMPR ROSE" +msgstr "" + +#: ../lib/hw.c:146 +msgid "IPIP Tunnel" +msgstr "" + +#: ../lib/hw.c:149 +msgid "Point-to-Point Protocol" +msgstr "" + +#: ../lib/hw.c:152 +msgid "1.5Mbps ARCnet" +msgstr "" + +#: ../lib/hw.c:155 +msgid "Frame Relay DLCI" +msgstr "" + +#: ../lib/hw.c:156 +msgid "Frame Relay Access Device" +msgstr "" + +#: ../lib/hw.c:159 +msgid "IPv6-in-IPv4" +msgstr "" + +#. Grmpf. -FvK +#: ../lib/inet.c:123 ../lib/inet6.c:73 +msgid "rresolve: unsupport address family %d !\n" +msgstr "" + +#: ../lib/inet6_gr.c:77 +msgid "Kernel IPv6 routing table\n" +msgstr "" + +#: ../lib/inet6_gr.c:79 +msgid "Destination Next Hop Flags Metric Ref Use Iface\n" +msgstr "" + +#: ../lib/inet6_gr.c:148 +msgid "Kernel IPv6 Neighbour Cache\n" +msgstr "" + +#: ../lib/inet6_gr.c:151 +msgid "Neighbour HW Address Iface Flags Ref State\n" +msgstr "" + +#: ../lib/inet6_gr.c:155 +msgid "Neighbour HW Address Iface Flags Ref State Stale(sec) Delete(sec)\n" +msgstr "" + +#: ../lib/inet6_sr.c:40 +msgid "Usage: inet6_route [-vF] del Target\n" +msgstr "" + +#: ../lib/inet6_sr.c:41 +msgid " inet6_route [-vF] add Target [gw Gw] [metric M] [[dev] If]\n" +msgstr "" + +#: ../lib/inet6_sr.c:42 +msgid " inet6_route [-FC] flush NOT supported\n" +msgstr "" + +#: ../lib/inet6_sr.c:179 +msgid "Flushing `inet6' routing table not supported\n" +msgstr "" + +#: ../lib/inet_gr.c:43 +msgid "Kernel IP routing table\n" +msgstr "" + +#: ../lib/inet_gr.c:46 +msgid "Destination Gateway Genmask Flags Metric Ref Use Iface\n" +msgstr "" + +#: ../lib/inet_gr.c:49 +msgid "Destination Gateway Genmask Flags MSS Window irtt Iface\n" +msgstr "" + +#: ../lib/inet_gr.c:52 +msgid "Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt\n" +msgstr "" + +#: ../lib/inet_gr.c:148 +msgid "Destination Gateway Source Flags Metric Ref Use Iface\n" +msgstr "" + +#: ../lib/inet_gr.c:151 +msgid "Destination Gateway Source Flags MSS Window irtt Iface\n" +msgstr "" + +#: ../lib/inet_gr.c:154 +msgid "Destination Gateway Source Flags Metric Ref Use Iface MSS Window irtt HH Arp\n" +msgstr "" + +#: ../lib/inet_sr.c:44 +msgid "Usage: inet_route [-vF] del {-host|-net} Target [gw Gw] [metric M] [[dev] If]\n" +msgstr "" + +#: ../lib/inet_sr.c:45 +msgid " inet_route [-vF] add {-host|-net} Target [gw Gw] [metric M]\n" +msgstr "" + +#: ../lib/inet_sr.c:46 +msgid " [netmask N] [mss Mss] [window W] [irtt I]\n" +msgstr "" + +#: ../lib/inet_sr.c:47 +msgid " [mod] [dyn] [reinstate] [[dev] If]\n" +msgstr "" + +#: ../lib/inet_sr.c:48 +msgid " inet_route [-vF] add {-host|-net} Target [metric M] reject\n" +msgstr "" + +#: ../lib/inet_sr.c:49 +msgid " inet_route [-FC] flush NOT supported\n" +msgstr "" + +#: ../lib/inet_sr.c:143 +msgid "route: %s: cannot use a NETWORK as gateway!\n" +msgstr "" + +#: ../lib/inet_sr.c:160 +msgid "route: Invalid MSS.\n" +msgstr "" + +#: ../lib/inet_sr.c:174 +msgid "route: Invalid window.\n" +msgstr "" + +#: ../lib/inet_sr.c:191 +msgid "route: Invalid initial rtt.\n" +msgstr "" + +#: ../lib/inet_sr.c:246 +msgid "route: netmask doesn't make sense with host route\n" +msgstr "" + +#: ../lib/inet_sr.c:250 +msgid "route: bogus netmask %s\n" +msgstr "" + +#: ../lib/inet_sr.c:255 +msgid "route: netmask doesn't match route address\n" +msgstr "" + +#: ../lib/inet_sr.c:293 +msgid "Flushing `inet' routing table not supported\n" +msgstr "" + +#: ../lib/inet_sr.c:297 +msgid "Modifying `inet' routing cache not supported\n" +msgstr "" + +#: ../lib/ipx_gr.c:37 +msgid "Kernel IPX routing table\n" +msgstr "" + +#: ../lib/ipx_gr.c:44 +msgid "Destination Router Net Router Node\n" +msgstr "" + +#: ../lib/masq_info.c:207 +msgid "IP masquerading entries\n" +msgstr "" + +#: ../lib/masq_info.c:210 +msgid "prot expire source destination ports\n" +msgstr "" + +#: ../lib/masq_info.c:213 +msgid "prot expire initseq delta prevd source destination ports\n" +msgstr "" + +#: ../lib/netrom_gr.c:41 +msgid "NET/ROM not configured in this system.\n" +msgstr "" + +#: ../lib/netrom_gr.c:44 +msgid "Kernel NET/ROM routing table\n" +msgstr "" + +#. xxx +#: ../lib/netrom_gr.c:45 +msgid "Destination Mnemonic Quality Neighbour Iface\n" +msgstr "" + +#: ../lib/netrom_sr.c:43 +msgid "NET/ROM: this needs to be written\n" +msgstr "" + +#: ../lib/ppp.c:44 +msgid "You cannot start PPP with this program.\n" +msgstr "" + +#: ../lib/ppp_ac.c:40 +msgid "Sorry, use pppd!\n" +msgstr "" + +#: ../lib/rose.c:79 +msgid "Node address must be ten digits" +msgstr "" + +#: ../lib/rose_gr.c:50 +msgid "ROSE not configured in this system.\n" +msgstr "" + +#: ../lib/rose_gr.c:53 +msgid "Kernel ROSE routing table\n" +msgstr "" + +#: ../lib/tr.c:82 ../lib/tr.c:94 +msgid "in_tr(%s): invalid token ring address!\n" +msgstr "" + +#: ../lib/tr.c:106 +msgid "in_tr(%s): trailing : ignored!\n" +msgstr "" + +#. That's it. Any trailing junk? +#: ../lib/tr.c:118 +msgid "in_tr(%s): trailing junk!\n" +msgstr "" + +#: ../netstat.c:205 +msgid "Netlink Kernel Messages" +msgstr "" + +#: ../netstat.c:207 +msgid " (continous)" +msgstr "" + +#: ../netstat.c:217 +msgid "netlink message size mismatch" +msgstr "" + +#: ../netstat.c:282 ../netstat.c:862 ../netstat.c:920 +msgid "LISTENING" +msgstr "" + +#: ../netstat.c:283 +msgid "CONN SENT" +msgstr "" + +#: ../netstat.c:284 ../netstat.c:922 +msgid "DISC SENT" +msgstr "" + +#: ../netstat.c:285 ../netstat.c:348 ../netstat.c:570 ../netstat.c:923 +msgid "ESTABLISHED" +msgstr "" + +#: ../netstat.c:308 +msgid "Activate NET/ROM sockets\n" +msgstr "" + +#: ../netstat.c:309 +msgid "User Dest Source Device State Vr/Vs Send-Q Recv-Q\n" +msgstr "" + +#: ../netstat.c:349 +msgid "SYN_SENT" +msgstr "" + +#: ../netstat.c:350 +msgid "SYN_RECV" +msgstr "" + +#: ../netstat.c:351 +msgid "FIN_WAIT1" +msgstr "" + +#: ../netstat.c:352 +msgid "FIN_WAIT2" +msgstr "" + +#: ../netstat.c:353 +msgid "TIME_WAIT" +msgstr "" + +#: ../netstat.c:354 +msgid "CLOSE" +msgstr "" + +#: ../netstat.c:355 +msgid "CLOSE_WAIT" +msgstr "" + +#: ../netstat.c:356 +msgid "LAST_ACK" +msgstr "" + +#: ../netstat.c:357 +msgid "LISTEN" +msgstr "" + +#: ../netstat.c:358 +msgid "CLOSING" +msgstr "" + +#: ../netstat.c:424 +msgid "warning, got bogus tcp line.\n" +msgstr "" + +#: ../netstat.c:429 ../netstat.c:563 ../netstat.c:698 ../netstat.c:703 +msgid "netstat: unsupported address family %d !\n" +msgstr "" + +#: ../netstat.c:463 +msgid "off (0.00/%ld)" +msgstr "" + +#: ../netstat.c:467 +msgid "on (%2.2f/%ld)" +msgstr "" + +#: ../netstat.c:472 +msgid "unkn-%d (%2.2f/%ld)" +msgstr "" + +#: ../netstat.c:558 +msgid "warning, got bogus udp line.\n" +msgstr "" + +#: ../netstat.c:578 ../netstat.c:848 ../netstat.c:881 +msgid "UNKNOWN" +msgstr "" + +#: ../netstat.c:613 ../netstat.c:748 +msgid "off (0.00/%ld) %c" +msgstr "" + +#: ../netstat.c:617 ../netstat.c:752 +msgid "on (%2.2f/%ld) %c" +msgstr "" + +#: ../netstat.c:621 ../netstat.c:757 +msgid "unkn-%d (%2.2f/%ld) %c" +msgstr "" + +#: ../netstat.c:712 +msgid "warning, got bogus raw line.\n" +msgstr "" + +#: ../netstat.c:806 +msgid "warning, got bogus unix line.\n" +msgstr "" + +#: ../netstat.c:828 +msgid "STREAM" +msgstr "" + +#: ../netstat.c:832 +msgid "DGRAM" +msgstr "" + +#: ../netstat.c:836 +msgid "RAW" +msgstr "" + +#: ../netstat.c:840 +msgid "RDM" +msgstr "" + +#: ../netstat.c:844 +msgid "SEQPACKET" +msgstr "" + +#: ../netstat.c:853 +msgid "FREE" +msgstr "" + +#: ../netstat.c:869 +msgid "CONNECTING" +msgstr "" + +#: ../netstat.c:873 +msgid "CONNECTED" +msgstr "" + +#: ../netstat.c:877 +msgid "DISCONNECTING" +msgstr "" + +#: ../netstat.c:899 +msgid "Active UNIX domain sockets " +msgstr "" + +#. xxx +#: ../netstat.c:900 ../netstat.c:1368 +msgid "(including servers)" +msgstr "" + +#. xxx +#: ../netstat.c:901 ../netstat.c:1369 +msgid "(w/o servers)" +msgstr "" + +#. xxx +#: ../netstat.c:903 +msgid "" +"\n" +"Proto RefCnt Flags Type State I-Node Path\n" +msgstr "" + +#: ../netstat.c:921 +msgid "SABM SENT" +msgstr "" + +#: ../netstat.c:924 +msgid "RECOVERY" +msgstr "" + +#: ../netstat.c:939 +msgid "Activate AX.25 sockets\n" +msgstr "" + +#: ../netstat.c:940 +msgid "Dest Source Device State Vr/Vs Send-Q Recv-Q\n" +msgstr "" + +#: ../netstat.c:989 +msgid "" +"Active IPX sockets\n" +"Proto Recv-Q Send-Q Local Address Foreign Address State" +msgstr "" + +#. xxx +#: ../netstat.c:991 +msgid " User" +msgstr "" + +#: ../netstat.c:1028 +msgid "ESTAB" +msgstr "" + +#: ../netstat.c:1036 +msgid "UNK." +msgstr "" + +#: ../netstat.c:1078 +msgid "[NO FLAGS]" +msgstr "" + +#: ../netstat.c:1099 +msgid "Kernel Interface table\n" +msgstr "" + +#: ../netstat.c:1100 +msgid "Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags\n" +msgstr "" + +#: ../netstat.c:1148 +msgid "usage: netstat [-veenNcCF] [<Af>] -r netstat {-V|--version|-h|--help}\n" +msgstr "" + +#: ../netstat.c:1149 +msgid " netstat [-vnNcaeo] [<Socket>]\n" +msgstr "" + +#: ../netstat.c:1150 +msgid "" +" netstat { [-veenNac] -i | [-vnNc] -L | [-cnNe] -M }\n" +"\n" +msgstr "" + +#: ../netstat.c:1151 +msgid " -r, --route display routing table\n" +msgstr "" + +#: ../netstat.c:1152 +msgid " -L, --netlink display netlink kernel messages\n" +msgstr "" + +#: ../netstat.c:1153 +msgid " -i, --interfaces display interface table\n" +msgstr "" + +#: ../netstat.c:1154 +msgid "" +" -M, --masquerade display masqueraded connections\n" +"\n" +msgstr "" + +#: ../netstat.c:1155 +msgid " -v, --verbose be verbose\n" +msgstr "" + +#: ../netstat.c:1156 +msgid " -n, --numeric dont resolve names\n" +msgstr "" + +#: ../netstat.c:1157 +msgid " -e, --extend display other/more informations\n" +msgstr "" + +#: ../netstat.c:1158 +msgid "" +" -c, --continuous continuous listing\n" +"\n" +msgstr "" + +#: ../netstat.c:1159 +msgid " -a, --all, --listening display all\n" +msgstr "" + +#: ../netstat.c:1160 +msgid "" +" -o, --timers display timers\n" +"\n" +msgstr "" + +#: ../netstat.c:1161 +msgid "<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n" +msgstr "" + +#: ../netstat.c:1163 +msgid "<Af>= -A {inet|inet6|ipx|netrom|ddp|ax25},... --inet --inet6 --ipx --netrom --ddp --ax25\n" +msgstr "" + +#: ../netstat.c:1165 +msgid "<Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n" +msgstr "" + +#: ../netstat.c:1367 +msgid "Active Internet connections " +msgstr "" + +#: ../netstat.c:1371 +msgid "" +"\n" +"Proto Recv-Q Send-Q Local Address Foreign Address State " +msgstr "" + +#: ../netstat.c:1373 +msgid " User " +msgstr "" + +#. xxx +#: ../netstat.c:1375 +msgid " Timer" +msgstr "" + +#: ../route.c:79 +msgid "Usage: route [-nNvee] [-FC] [Address_families] List kernel routing tables\n" +msgstr "" + +#: ../route.c:80 +msgid " route {-V|--version} Display command version and exit.\n" +msgstr "" + +#: ../route.c:81 +msgid " route {-h|--help} [Address_family] Usage Syntax for specified AF.\n" +msgstr "" + +#: ../route.c:82 +msgid "" +" route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.\n" +"\n" +msgstr "" + +#: ../route.c:83 +msgid " Address_families: inet,inet6,ddp,ipx,netrom,ax25\n" +msgstr "" + +#: ../route.c:84 +msgid " specify AF: -A af1,af2.. or --af1 --af2 or af_route\n" +msgstr "" + +#. We have no address families. +#: ../sockets.c:96 +msgid "No usable address families found.\n" +msgstr "" + +#. for each state +#: ../statistics.c:37 +msgid "ICMP input histogram:" +msgstr "" + +#: ../statistics.c:38 +msgid "ICMP output histogram:" +msgstr "" + +#: ../statistics.c:45 +msgid "Forwarding" +msgstr "" + +#: ../statistics.c:45 +msgid "Forwarding is %s" +msgstr "" + +#: ../statistics.c:46 +msgid "DefaultTTL" +msgstr "" + +#: ../statistics.c:46 +msgid "Default TTL is %d" +msgstr "" + +#: ../statistics.c:47 +msgid "InReceives" +msgstr "" + +#: ../statistics.c:47 +msgid "%d total packets received" +msgstr "" + +#: ../statistics.c:48 +msgid "InHdrErrors" +msgstr "" + +#: ../statistics.c:48 +msgid "%d with invalid headers" +msgstr "" + +#: ../statistics.c:49 +msgid "InAddrErrors" +msgstr "" + +#: ../statistics.c:49 +msgid "%d with invalid addresses" +msgstr "" + +#: ../statistics.c:50 +msgid "ForwDatagrams" +msgstr "" + +#: ../statistics.c:50 +msgid "%d forwarded" +msgstr "" + +#: ../statistics.c:51 +msgid "InUnknownProtos" +msgstr "" + +#: ../statistics.c:51 +msgid "%d with unknown protocol" +msgstr "" + +#: ../statistics.c:52 +msgid "InDiscards" +msgstr "" + +#: ../statistics.c:52 +msgid "%d incoming packets discarded" +msgstr "" + +#: ../statistics.c:53 +msgid "InDelivers" +msgstr "" + +#: ../statistics.c:53 +msgid "%d incoming packets delivered" +msgstr "" + +#: ../statistics.c:54 +msgid "OutRequests" +msgstr "" + +#: ../statistics.c:54 +msgid "%d requests sent out" +msgstr "" + +#. ? +#: ../statistics.c:55 +msgid "OutDiscards" +msgstr "" + +#: ../statistics.c:55 +msgid "%d outgoing packets dropped" +msgstr "" + +#: ../statistics.c:56 +msgid "OutNoRoutes" +msgstr "" + +#: ../statistics.c:56 +msgid "%d dropped because of missing route" +msgstr "" + +#: ../statistics.c:57 +msgid "ReasmTimeout" +msgstr "" + +#: ../statistics.c:57 +msgid "%d fragments dropped after timeout" +msgstr "" + +#: ../statistics.c:58 +msgid "ReasmReqds" +msgstr "" + +#: ../statistics.c:58 +msgid "%d reassemblies required" +msgstr "" + +#. ? +#: ../statistics.c:59 +msgid "ReasmOKs" +msgstr "" + +#: ../statistics.c:59 +msgid "%d packets reassembled ok" +msgstr "" + +#: ../statistics.c:60 +msgid "ReasmFails" +msgstr "" + +#: ../statistics.c:60 +msgid "%d packet reassembles failed" +msgstr "" + +#: ../statistics.c:61 +msgid "FragOKs" +msgstr "" + +#: ../statistics.c:61 +msgid "%d fragments received ok" +msgstr "" + +#: ../statistics.c:62 +msgid "FragFails" +msgstr "" + +#: ../statistics.c:62 +msgid "%d fragments failed" +msgstr "" + +#: ../statistics.c:63 +msgid "FragCreates" +msgstr "" + +#: ../statistics.c:63 +msgid "%d fragments created" +msgstr "" + +#: ../statistics.c:67 +msgid "InMsgs" +msgstr "" + +#: ../statistics.c:67 +msgid "%d ICMP messages received" +msgstr "" + +#: ../statistics.c:68 ../statistics.c:115 +msgid "InErrors" +msgstr "" + +#: ../statistics.c:68 +msgid "%d input ICMP message failed." +msgstr "" + +#: ../statistics.c:69 +msgid "InDestUnreachs" +msgstr "" + +#: ../statistics.c:69 ../statistics.c:82 +msgid "destination unreachable: %d" +msgstr "" + +#: ../statistics.c:70 +msgid "InTimeExcds" +msgstr "" + +#: ../statistics.c:70 +msgid "timeout in transit: %d" +msgstr "" + +#: ../statistics.c:71 +msgid "InParmProbs" +msgstr "" + +#: ../statistics.c:71 ../statistics.c:84 +msgid "wrong parameters: %d" +msgstr "" + +#: ../statistics.c:72 +msgid "InSrcQuenchs" +msgstr "" + +#: ../statistics.c:72 +msgid "source quenchs: %d" +msgstr "" + +#: ../statistics.c:73 +msgid "InRedirects" +msgstr "" + +#: ../statistics.c:73 +msgid "redirects: %d" +msgstr "" + +#: ../statistics.c:74 +msgid "InEchos" +msgstr "" + +#: ../statistics.c:74 +msgid "echo requests: %d" +msgstr "" + +#: ../statistics.c:75 +msgid "InEchoReps" +msgstr "" + +#: ../statistics.c:75 ../statistics.c:88 +msgid "echo replies: %d" +msgstr "" + +#: ../statistics.c:76 +msgid "InTimestamps" +msgstr "" + +#: ../statistics.c:76 +msgid "timestamp request: %d" +msgstr "" + +#: ../statistics.c:77 +msgid "InTimestampReps" +msgstr "" + +#: ../statistics.c:77 +msgid "timestamp reply: %d" +msgstr "" + +#: ../statistics.c:78 +msgid "InAddrMasks" +msgstr "" + +#: ../statistics.c:78 +msgid "address mask request: %d" +msgstr "" + +#. ? +#: ../statistics.c:79 +msgid "InAddrMaskReps" +msgstr "" + +#: ../statistics.c:79 +msgid "address mask replies" +msgstr "" + +#. ? +#: ../statistics.c:80 +msgid "OutMsgs" +msgstr "" + +#: ../statistics.c:80 +msgid "%d ICMP messages sent" +msgstr "" + +#: ../statistics.c:81 +msgid "OutErrors" +msgstr "" + +#: ../statistics.c:81 +msgid "%d ICMP messages failed" +msgstr "" + +#: ../statistics.c:82 +msgid "OutDestUnreachs" +msgstr "" + +#: ../statistics.c:83 +msgid "OutTimeExcds" +msgstr "" + +#: ../statistics.c:83 +msgid "time exceeded: %d" +msgstr "" + +#: ../statistics.c:84 +msgid "OutParmProbs" +msgstr "" + +#. ? +#: ../statistics.c:85 +msgid "OutSrcQuenchs" +msgstr "" + +#: ../statistics.c:85 +msgid "source quench: %d" +msgstr "" + +#: ../statistics.c:86 +msgid "OutRedirects" +msgstr "" + +#: ../statistics.c:86 +msgid "redirect: %d" +msgstr "" + +#: ../statistics.c:87 +msgid "OutEchos" +msgstr "" + +#: ../statistics.c:87 +msgid "echo request: %d" +msgstr "" + +#: ../statistics.c:88 +msgid "OutEchoReps" +msgstr "" + +#: ../statistics.c:89 +msgid "OutTimestamps" +msgstr "" + +#: ../statistics.c:89 +msgid "timestamp requests: %d" +msgstr "" + +#: ../statistics.c:90 +msgid "OutTimestampReps" +msgstr "" + +#: ../statistics.c:90 +msgid "timestamp replies: %d" +msgstr "" + +#: ../statistics.c:91 +msgid "OutAddrMasks" +msgstr "" + +#: ../statistics.c:91 +msgid "address mask requests: %d" +msgstr "" + +#: ../statistics.c:92 +msgid "OutAddrMaskReps" +msgstr "" + +#: ../statistics.c:92 +msgid "address mask replies: %d" +msgstr "" + +#: ../statistics.c:96 +msgid "RtoAlgorithm" +msgstr "" + +#: ../statistics.c:96 +msgid "RTO algorithm is %s" +msgstr "" + +#: ../statistics.c:97 +msgid "RtoMin" +msgstr "" + +#: ../statistics.c:98 +msgid "RtoMax" +msgstr "" + +#: ../statistics.c:99 +msgid "MaxConn" +msgstr "" + +#: ../statistics.c:100 +msgid "ActiveOpens" +msgstr "" + +#: ../statistics.c:100 +msgid "%d active opens" +msgstr "" + +#: ../statistics.c:101 +msgid "PassiveOpens" +msgstr "" + +#: ../statistics.c:101 +msgid "%d passive opens" +msgstr "" + +#: ../statistics.c:102 +msgid "AttemptFails" +msgstr "" + +#: ../statistics.c:102 +msgid "%d failed connection attempts" +msgstr "" + +#: ../statistics.c:103 +msgid "EstabResets" +msgstr "" + +#: ../statistics.c:103 +msgid "%d connection resets received" +msgstr "" + +#: ../statistics.c:104 +msgid "CurrEstab" +msgstr "" + +#: ../statistics.c:104 +msgid "%d connections established" +msgstr "" + +#: ../statistics.c:105 +msgid "InSegs" +msgstr "" + +#: ../statistics.c:105 +msgid "%d segments received" +msgstr "" + +#: ../statistics.c:106 +msgid "OutSegs" +msgstr "" + +#: ../statistics.c:106 +msgid "%d segments send out" +msgstr "" + +#: ../statistics.c:107 +msgid "RetransSegs" +msgstr "" + +#: ../statistics.c:107 +msgid "%d segments retransmited" +msgstr "" + +#: ../statistics.c:108 +msgid "InErrs" +msgstr "" + +#: ../statistics.c:108 +msgid "%d bad segments received." +msgstr "" + +#: ../statistics.c:109 +msgid "OutRsts" +msgstr "" + +#: ../statistics.c:109 +msgid "%d resets sent" +msgstr "" + +#: ../statistics.c:113 +msgid "InDatagrams" +msgstr "" + +#: ../statistics.c:113 +msgid "%d packets received" +msgstr "" + +#: ../statistics.c:114 +msgid "NoPorts" +msgstr "" + +#: ../statistics.c:114 +msgid "%d packets to unknown port received." +msgstr "" + +#: ../statistics.c:115 +msgid "%d packet receive errors" +msgstr "" + +#: ../statistics.c:116 +msgid "OutDatagrams" +msgstr "" + +#: ../statistics.c:116 +msgid "%d packets send" +msgstr "" + +#: ../statistics.c:183 +msgid "enabled" +msgstr "" + +#: ../statistics.c:183 +msgid "disabled" +msgstr "" + +#: ../statistics.c:223 +msgid "cannot open /proc/net/snmp" +msgstr "" + +#: ../statistics.c:238 +msgid "unknown title %s\n" +msgstr "" + +#: ../statistics.c:264 +msgid "error parsing /proc/net/snmp" +msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po new file mode 100644 index 0000000..be25483 --- /dev/null +++ b/po/pt_BR.po @@ -0,0 +1,1857 @@ +msgid "" +msgstr "" +"Date: 1998-06-30 11:15:49-0300\n" +"From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>\n" +"Content-Type: text/plain; charset=\n" +"Xgettext-Options: --default-domain=net-tools --add-comments --keyword=_ --keyword=N_\n" +"Files: ../arp.c ../hostname.c ../ifconfig.c ../rarp.c ../lib/ax25.c ../lib/activate.c ../lib/af.c ../lib/arcnet.c ../lib/econet.c ../lib/ax25_gr.c ../lib/ddp.c ../lib/ddp_gr.c ../lib/ether.c ../lib/fddi.c ../lib/getroute.c ../lib/hw.c ../lib/inet.c ../lib/inet6.c ../lib/inet6_gr.c ../lib/inet6_sr.c ../lib/inet_gr.c ../lib/inet_sr.c ../lib/ipx.c ../lib/ipx_gr.c ../lib/loopback.c ../lib/masq_info.c ../lib/netrom.c ../lib/netrom_gr.c ../lib/netrom_sr.c ../lib/ppp.c ../lib/ppp_ac.c ../lib/rose.c ../lib/rose_gr.c ../lib/setroute.c ../lib/tr.c ../lib/unix.c ../netstat.c ../route.c ../sockets.c ../statistics.c\n" + +#. Resolve the host name. +#: ../arp.c:111 ../arp.c:304 +msgid "arp: need host name\n" +msgstr "arp: preciso do nome da máquina\n" + +#: ../arp.c:217 ../arp.c:242 +msgid "No ARP entry for %s\n" +msgstr "Nenhuma entrada ARP para %s\n" + +#: ../arp.c:318 +msgid "arp: need hardware address\n" +msgstr "arp: preciso do endereço de hardware\n" + +#: ../arp.c:327 +msgid "arp: invalid hardware address\n" +msgstr "arp: endereço inválido de hardware\n" + +#: ../arp.c:422 +msgid "Probably route to destination points to interface. See arp(8)\n" +msgstr "Provavelmente a rota para o destino aponta para uma interface. Veja arp(8)\n" + +#: ../arp.c:424 +msgid "No ARP Support or route to destination points to other interface. See arp(8)\n" +msgstr "Sem suporte ARP ou rota para o destino aponta para outra interface. Veja arp(8)\n" + +#: ../arp.c:451 +msgid "arp: cannot open etherfile %s !\n" +msgstr "arp: não foi possível abrir o arquivo etherfile %s!\n" + +#: ../arp.c:465 +msgid "arp: format error on line %u of etherfile %s !\n" +msgstr "arp: erro de formato na linha %u do arquivo etherfile %s!\n" + +#: ../arp.c:471 +msgid "arp: cannot set entry on line %u of etherfile %s !\n" +msgstr "arp: não foi possível configurar a linha %u do arquivo etherfile %s!\n" + +#: ../arp.c:493 +msgid "Address\t\t\tHWtype\tHWaddress\t Flags Mask\t\t Iface\n" +msgstr "Endereço\t\tTipoHW\tEndereçoHW\t Flags Mascara\t\t Iface\n" + +#: ../arp.c:643 +msgid "Entries: %d\tSkipped: %d\tFound: %d\n" +msgstr "Entradas: %d\tIgnorada: %d\tEncontrada: %d\n" + +#: ../arp.c:649 +msgid "arp: in %d entries no match found.\n" +msgstr "arp: em %d entradas não foi encontrado.\n" + +#: ../arp.c:666 +msgid "Usage: arp [-vn] [-H type] [-i if] -a [hostname]\n" +msgstr "Uso: arp [-vn] [-H tipo] [-i if] -a [máquina]\n" + +#: ../arp.c:667 +msgid " arp [-v] [-i if] -d hostname [pub][nopub]\n" +msgstr " arp [-v] [-i if] -d máquina [pub][nopub]\n" + +#: ../arp.c:668 +msgid " arp [-v] [-H type] [-i if] -s hostname hw_addr [temp][nopub]\n" +msgstr " arp [-v] [-H tipo] [-i if] -s máquina endereço_hw [temp][nopub]\n" + +#: ../arp.c:669 +msgid " arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub\n" +msgstr " arp [-v] [-H tipo] [-i if] -s máquina endereço_hw [netmask nm] pub\n" + +#: ../arp.c:670 +msgid " arp [-v] [-H type] [-i if] -Ds hostname if [netmask nm] pub\n" +msgstr " arp [-v] [-H tipo] [-i if] -Ds máquina if [netmask nm] pub\n" + +#: ../arp.c:671 +msgid " arp [-vnD] [-H type] [-i if] -f filename\n" +msgstr " arp [-vnD] [-H tipo] [-i if] -f nome-arquivo\n" + +#. Initialize variables... +#: ../arp.c:704 +msgid "%s: hardware type not supported!\n" +msgstr "%s: tipo de hardware não suportado!\n" + +#: ../arp.c:708 +msgid "%s: address family not supported!\n" +msgstr "%s: família de endereços não suportada!\n" + +#: ../arp.c:752 +msgid "arp: %s: unknown address family.\n" +msgstr "arp: %s: família de endereços desconhecida.\n" + +#: ../arp.c:761 +msgid "arp: %s: unknown hardware type.\n" +msgstr "arp: %s: tipo de hardware desconhecido.\n" + +#: ../arp.c:781 +msgid "arp: %s: kernel only supports 'inet'.\n" +msgstr "arp: %s: kernel somente suporta ínet'.\n" + +#: ../arp.c:786 +msgid "arp: %s: hardware type without ARP support.\n" +msgstr "arp: %s: tipo de hardware sem suporte a ARP.\n" + +#: ../hostname.c:63 +msgid "Setting hostname to `%s'\n" +msgstr "Configurando nome da máquina para `%s'\n" + +#: ../hostname.c:68 +msgid "%s: you must be root to change the host name\n" +msgstr "%s: você deve ser root para mudar o nome da máquina\n" + +#: ../hostname.c:71 ../hostname.c:90 +msgid "%s: name too long\n" +msgstr "%s: nome muito longo\n" + +#: ../hostname.c:82 +msgid "Setting domainname to `%s'\n" +msgstr "Configurando nome do domínio para `%s'\n" + +#: ../hostname.c:87 +msgid "%s: you must be root to change the domain name\n" +msgstr "%s: você deve ser root para mudar o nome do domínio\n" + +#: ../hostname.c:105 +msgid "Resolving `%s' ...\n" +msgstr "Resolvendo `%s'...\n" + +#: ../hostname.c:112 +msgid "Result: h_name=`%s'\n" +msgstr "Resultado: h_name=`%s'\n" + +#: ../hostname.c:117 +msgid "Result: h_aliases=`%s'\n" +msgstr "Resultado: h_aliases=`%s'\n" + +#: ../hostname.c:122 +msgid "Result: h_addr_list=`%s'\n" +msgstr "Resultado: h_addr_list=`%s'\n" + +#: ../hostname.c:174 +msgid "%s: can't open `%s'\n" +msgstr "%s: não foi possível abrir `%s'\n" + +#: ../hostname.c:188 +msgid "Usage: hostname [-v] {hostname|-F file} set hostname (from file)\n" +msgstr "Uso: hostname [-v] {máquina|-F arquivo} configura nome da máquina (de arquivo)\n" + +#: ../hostname.c:189 +msgid " domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n" +msgstr " domainname [-v] {domínio-nis|-F arquivo} configura nome do domínio NIS (de arquivo)\n" + +#: ../hostname.c:190 +msgid " hostname [-v] [-d|-f|-s|-a|-i|-y] display formated name\n" +msgstr " hostname [-v] [-d|-f|-s|-a|-i|-y] mostra nome formatado\n" + +#: ../hostname.c:191 +msgid "" +" hostname [-v] display hostname\n" +"\n" +msgstr "" +" hostname [-v] mostra nome da máquina\n" +"\n" + +#: ../hostname.c:192 +msgid "" +" hostname -V|--version|-h|--help print info and exit\n" +"\n" +msgstr "" +" hostname -V|--version|-h|--help mostra informações e termina\n" +"\n" + +#: ../hostname.c:193 +msgid "" +" dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n" +"\n" +msgstr "" + +#: ../hostname.c:194 +msgid " -s, --short short host name\n" +msgstr " -s, --short nome curto da máquina\n" + +#: ../hostname.c:195 +msgid " -a, --alias alias names\n" +msgstr " -a, --alias aliases para a máquina\n" + +#: ../hostname.c:196 +msgid " -i, --ip-address addresses for the hostname\n" +msgstr " -i, --ip-address endereços da máquina\n" + +#: ../hostname.c:197 +msgid " -f, --fqdn, --long long host name (FQDN)\n" +msgstr " -f, --fqdn, --long nome longo da máquina (FQDN)\n" + +#: ../hostname.c:198 +msgid " -d, --domain DNS domain name\n" +msgstr " -d, --domain nome do domínio DNS\n" + +#: ../hostname.c:199 +msgid " -y, --yp, --nis NIS/YP domainname\n" +msgstr " -y, --yp, --nis nome do domínio NIS/YP\n" + +#: ../hostname.c:200 +msgid "" +" -F, --file read hostname or nis domainname from given File\n" +"\n" +msgstr "" +" -F, --file leia o nome da máquina ou do domínio NIS a partir de arquivo\n" + +#: ../hostname.c:201 +msgid " This comand can get or set the hostname or the NIS domainname. You can\n" +msgstr " Este comando pode obter ou configurar o nome da máquina ou do domínio NIS. Você" + +#: ../hostname.c:202 +msgid " also get the DNS domain or the FQDN (fully qualified domain name).\n" +msgstr " também pode ler o domínio DNS ou o FQDN (nome de domínio completamente qualificado).\n" + +#: ../hostname.c:203 +msgid " Unless you are using bind or NIS for host lookups you can change the\n" +msgstr " A menos que esteja usando bind ou NIS para resolução de nomes você pode mudar o\n" + +#: ../hostname.c:204 +msgid " FQDN (Fully Qualified Domain Name) and the DNS domain name (which is\n" +msgstr " FQDN (nome de domínio completamente qualificado) e nome do domínio DNS\n" + +#: ../hostname.c:205 +msgid " part of the FQDN) in the /etc/hosts file.\n" +msgstr " que é parte do FQDN) no arquivo /etc/hosts.\n" + +#: ../hostname.c:283 +msgid "%s: You can't change the DNS domain name with this command\n" +msgstr "%s: Você não pode mudar o nome do domínio DNS com este comando\n" + +#: ../hostname.c:284 +msgid "" +"\n" +"Unless you are using bind or NIS for host lookups you can change the DNS\n" +msgstr "" +"\n" +"A menos que esteja usando bind ou NIS para resolução de nomes você pode mudar\n" + +#: ../hostname.c:285 +msgid "domain name (which is part of the FQDN) in the /etc/hosts file.\n" +msgstr "o nome do domínio DNS (que é parte do FQDN) no arquivo /etc/hosts.\n" + +#: ../hostname.c:302 +msgid "gethostname()=`%s'\n" +msgstr "" + +#: ../hostname.c:319 +msgid "getdomainname()=`%s'\n" +msgstr "" + +#: ../ifconfig.c:150 +msgid "%-8.8s Link encap:%s " +msgstr "%-8.8s Encapsulamento do Link: %s " + +#: ../ifconfig.c:156 +msgid "HWaddr %s " +msgstr "Endereço de HW %s " + +#: ../ifconfig.c:159 +msgid "Media:%s%s" +msgstr "" + +#: ../ifconfig.c:160 +msgid "(auto)" +msgstr "" + +#: ../ifconfig.c:166 +msgid " %s addr:%s " +msgstr " %s endereço: %s " + +#: ../ifconfig.c:169 +msgid " P-t-P:%s " +msgstr " P-a-P:%s " + +#: ../ifconfig.c:172 +msgid " Bcast:%s " +msgstr "" + +#: ../ifconfig.c:174 +msgid " Mask:%s\n" +msgstr " Masc:%s\n" + +#: ../ifconfig.c:187 +msgid " inet6 addr: %s/%d" +msgstr " endereço inet6: %s/%d" + +#: ../ifconfig.c:189 +msgid " Scope:" +msgstr " Escopo:" + +#: ../ifconfig.c:191 +msgid "Global" +msgstr "" + +#: ../ifconfig.c:192 +msgid "Link" +msgstr "" + +#: ../ifconfig.c:193 +msgid "Site" +msgstr "" + +#: ../ifconfig.c:194 +msgid "Compat" +msgstr "" + +#: ../ifconfig.c:195 +msgid "Host" +msgstr "Máquina" + +#: ../ifconfig.c:196 +msgid "Unknown" +msgstr "Desconhecido" + +#: ../ifconfig.c:211 +msgid " IPX/Ethernet II addr:%s\n" +msgstr " Endereço IPX/Ethernet II:%s\n" + +#: ../ifconfig.c:214 +msgid " IPX/Ethernet SNAP addr:%s\n" +msgstr " Endereço IPX/Ethernet SNAP:%s\n" + +#: ../ifconfig.c:217 +msgid " IPX/Ethernet 802.2 addr:%s\n" +msgstr " Endereço IPX/Ethernet 802.2:%s\n" + +#: ../ifconfig.c:220 +msgid " IPX/Ethernet 802.3 addr:%s\n" +msgstr " Endereço IPX/Ethernet 802.3:%s\n" + +#: ../ifconfig.c:230 +msgid " EtherTalk Phase 2 addr:%s\n" +msgstr " Endereço EtherTalk fase 2:%s\n" + +#: ../ifconfig.c:239 +msgid " econet addr:%s\n" +msgstr " Endereço econet:%s\n" + +#: ../ifconfig.c:244 +msgid "[NO FLAGS] " +msgstr "[NENHUMA FLAG] " + +#: ../ifconfig.c:245 +msgid "UP " +msgstr "" + +#: ../ifconfig.c:246 +msgid "BROADCAST " +msgstr "" + +#: ../ifconfig.c:247 +msgid "DEBUG " +msgstr "" + +#: ../ifconfig.c:248 +msgid "LOOPBACK " +msgstr "" + +#: ../ifconfig.c:249 +msgid "POINTOPOINT " +msgstr "" + +#: ../ifconfig.c:250 +msgid "NOTRAILERS " +msgstr "" + +#: ../ifconfig.c:251 +msgid "RUNNING " +msgstr "" + +#: ../ifconfig.c:252 +msgid "NOARP " +msgstr "" + +#: ../ifconfig.c:253 +msgid "PROMISC " +msgstr "" + +#: ../ifconfig.c:254 +msgid "ALLMULTI " +msgstr "" + +#: ../ifconfig.c:255 +msgid "SLAVE " +msgstr "" + +#: ../ifconfig.c:256 +msgid "MASTER " +msgstr "" + +#: ../ifconfig.c:257 +msgid "MULTICAST " +msgstr "" + +#: ../ifconfig.c:258 +msgid " MTU:%d Metric:%d\n" +msgstr " MTU:%d Métrica:%d\n" + +#: ../ifconfig.c:261 +msgid " txqueuelen:%d\n" +msgstr "" + +#: ../ifconfig.c:264 +msgid " txqueuelen not available\n" +msgstr " txqueuelen não disponível\n" + +#: ../ifconfig.c:270 +msgid "RX packets:%lu errors:%lu dropped:%lu overruns:%lu frame:%lu\n" +msgstr "Pacotes RX:%lu erros:%lu descartados:%lu sobreposições:%lu frame:%lu\n" + +#: ../ifconfig.c:275 +msgid " compressed:%lu\n" +msgstr " compactados:%lu\n" + +#: ../ifconfig.c:279 +msgid "TX packets:%lu errors:%lu dropped:%lu overruns:%lu carrier:%lu\n" +msgstr "Pacotes TX:%lu erros:%lu descartados:%lu sobreposições:%lu portadora:%lu\n" + +#: ../ifconfig.c:283 +msgid " Collisions:%lu " +msgstr " Colisões:%lu" + +#: ../ifconfig.c:285 +msgid "compressed:%lu " +msgstr "compactados:%lu " + +#: ../ifconfig.c:292 +msgid "Interrupt:%d " +msgstr "IRQ:%d " + +#. Only print devices using it for +#. I/O maps +#: ../ifconfig.c:295 +msgid "Base address:0x%x " +msgstr "Endereço de E/S:0x%x " + +#: ../ifconfig.c:297 +msgid "Memory:%lx-%lx " +msgstr "Memória:%lx-%lx " + +#: ../ifconfig.c:300 +msgid "DMA chan:%x " +msgstr "Canal DMA:%x " + +#: ../ifconfig.c:327 ../ifconfig.c:337 ../ifconfig.c:352 ../ifconfig.c:373 ../netstat.c:1121 +msgid "%s: unknown interface.\n" +msgstr "%s: interface desconhecida.\n" + +#: ../ifconfig.c:389 +msgid "Usage: ifconfig [-a] [-i] [-v] interface\n" +msgstr "Uso: ifconfig [-a] [-i] [-v] interface\n" + +#: ../ifconfig.c:390 +msgid " [[family] address]\n" +msgstr " [[família] endereço]\n" + +#: ../ifconfig.c:392 +msgid " [add inet6address/prefixlen]\n" +msgstr " [add endereçoInet6/tamanhoPrefixo]\n" + +#: ../ifconfig.c:394 +msgid " [del inet6address/prefixlen]\n" +msgstr " [del endereçoInet6/tamanhoPrefixo]\n" + +#: ../ifconfig.c:396 +msgid " [tunnel aa.bb.cc.dd]\n" +msgstr "" + +#: ../ifconfig.c:399 +msgid " [[-]broadcast [aa.bb.cc.dd]]\n" +msgstr "" + +#: ../ifconfig.c:400 +msgid " [[-]pointopoint [aa.bb.cc.dd]]\n" +msgstr "" + +#: ../ifconfig.c:401 +msgid " [netmask aa.bb.cc.dd]\n" +msgstr "" + +#: ../ifconfig.c:402 +msgid " [dstaddr aa.bb.cc.dd]\n" +msgstr "" + +#: ../ifconfig.c:404 +msgid " [hw class address]\n" +msgstr " [hw classe endereço]\n" + +#: ../ifconfig.c:405 +msgid " [metric NN] [mtu NN]\n" +msgstr "" + +#: ../ifconfig.c:406 +msgid " [[-]trailers] [[-]arp]\n" +msgstr "" + +#: ../ifconfig.c:407 +msgid " [[-]allmulti] [[-]promisc]\n" +msgstr "" + +#: ../ifconfig.c:408 +msgid " [multicast]\n" +msgstr "" + +#: ../ifconfig.c:409 +msgid " [mem_start NN] [io_addr NN] [irq NN]\n" +msgstr "" + +#: ../ifconfig.c:410 +msgid " [media type]\n" +msgstr " [media tipo]\n" + +#: ../ifconfig.c:412 +msgid " [txqueuelen len]\n" +msgstr " [txqueuelen tamanho]\n" + +#: ../ifconfig.c:414 +msgid " [up] [down] ...\n" +msgstr "" + +#: ../ifconfig.c:530 +msgid "Unknown media type.\n" +msgstr "Tipo de meio desconhecido.\n" + +#: ../ifconfig.c:791 +msgid "%s: invalid %s address.\n" +msgstr "%s: endereço %s inválido.\n" + +#: ../ifconfig.c:880 +msgid "Address deletion not supported on this system.\n" +msgstr "Remoção de endereço não suportada neste sistema.\n" + +#: ../ifconfig.c:947 +msgid "Don't know how to set addresses for this family.\n" +msgstr "Não sei como configurar endereços para esta família.\n" + +#: ../rarp.c:37 +msgid "This kernel does not support RARP.\n" +msgstr "Este kernel não tem suporte a RARP.\n" + +#: ../rarp.c:76 +msgid "no RARP entry for %s.\n" +msgstr "Sem entrada RARP para %s.\n" + +#: ../rarp.c:89 +msgid "%s: bad hardware address\n" +msgstr "%s: endereço de hardware inválido\n" + +#: ../rarp.c:122 +msgid "rarp: cannot open file %s:%s.\n" +msgstr "rarp: não foi possível abrir o arquivo %s:%s.\n" + +#: ../rarp.c:135 +msgid "rarp: format error at %s:%u\n" +msgstr "rarp: erro de formato em %s:%u\n" + +#: ../rarp.c:140 ../rarp.c:280 +msgid "rarp: %s: unknown host\n" +msgstr "rarp: %s: máquina desconhecida\n" + +#: ../rarp.c:143 +msgid "rarp: cannot set entry from %s:%u\n" +msgstr "rarp: não é possível incluir uma entrada para %s:%u\n" + +#: ../rarp.c:172 +msgid "Usage: rarp -a list entries in cache.\n" +msgstr "Uso: rarp -a lista entradas no cache\n" + +#: ../rarp.c:173 +msgid " rarp -d hostname delete entry from cache.\n" +msgstr " rarp -d máquina remove entrada do cache\n" + +#: ../rarp.c:174 +msgid " rarp [-t hwtype] -s hostname hwaddr add entry to cache.\n" +msgstr " rarp [-t tipo-hw] -s máquina endereço-hw adiciona entrada ao cache\n" + +#: ../rarp.c:175 +msgid " rarp -V display program version.\n" +msgstr " rarp -V mostra versão do programa\n" + +#: ../rarp.c:229 +msgid "%s: illegal option mix.\n" +msgstr "%s: mistura ilegal de opções.\n" + +#: ../rarp.c:259 +msgid "rarp: %s: unknown hardware type.\n" +msgstr "rarp: %s: tipo desconhecido de hardware.\n" + +#: ../lib/arcnet.c:56 ../lib/ax25.c:72 ../lib/ax25.c:155 ../lib/ddp.c:51 ../lib/econet.c:54 ../lib/ether.c:59 ../lib/fddi.c:68 ../lib/inet.c:203 ../lib/inet6.c:121 ../lib/ipx.c:76 ../lib/loopback.c:56 ../lib/netrom.c:71 ../lib/rose.c:62 ../lib/rose.c:118 ../lib/unix.c:58 ../lib/unix.c:80 +msgid "[NONE SET]" +msgstr "[Nenhum configurado]" + +#: ../lib/ax25.c:94 ../lib/netrom.c:93 +msgid "Invalid callsign" +msgstr "Callsign inválido" + +#. Callsign too long? +#: ../lib/ax25.c:107 ../lib/netrom.c:106 +msgid "Callsign too long" +msgstr "Callsign muito longo" + +#: ../lib/activate.c:70 +msgid "Hardware type `%s' not supported.\n" +msgstr "O tipo de hardware `%s' não é suportado.\n" + +#: ../lib/activate.c:74 +msgid "Cannot change line discipline to `%s'.\n" +msgstr "Não foi possível mudar a disciplina da linha para `%s'.\n" + +#: ../lib/af.c:106 ../lib/hw.c:119 +msgid "UNSPEC" +msgstr "Não Especificado" + +#: ../lib/af.c:108 +msgid "UNIX Domain" +msgstr "" + +#: ../lib/af.c:111 +msgid "DARPA Internet" +msgstr "" + +#: ../lib/af.c:114 +msgid "IPv6" +msgstr "" + +#: ../lib/af.c:117 ../lib/hw.c:137 +msgid "AMPR AX.25" +msgstr "AX.25 AMPR" + +#: ../lib/af.c:120 ../lib/hw.c:143 +msgid "AMPR NET/ROM" +msgstr "NET/ROM AMPR" + +#: ../lib/af.c:123 +msgid "IPX" +msgstr "" + +#: ../lib/af.c:126 +msgid "Appletalk DDP" +msgstr "" + +#: ../lib/af.c:129 +msgid "Econet" +msgstr "" + +#: ../lib/af.c:189 +msgid "Please don't supply more than one address family.\n" +msgstr "Por favor não especifique mais que uma família de endereços.\n" + +#: ../lib/af.c:235 +msgid "Too much address family arguments.\n" +msgstr "Excesso no número de famílias de endereços.\n" + +#: ../lib/af.c:246 +msgid "Unknown address family `%s'.\n" +msgstr "Família de endereços `%s' desconhecida.\n" + +#: ../lib/arcnet.c:82 ../lib/arcnet.c:94 +msgid "in_arcnet(%s): invalid arcnet address!\n" +msgstr "in_arcnet(%s): endereço arcnet inválido!\n" + +#: ../lib/arcnet.c:106 +msgid "in_arcnet(%s): trailing : ignored!\n" +msgstr "in_arcnet(%s): trailing : ignorado!\n" + +#. That's it. Any trailing junk? +#: ../lib/arcnet.c:118 +msgid "in_arcnet(%s): trailing junk!\n" +msgstr "in_arcnet(%s): lixo no trailing!\n" + +#: ../lib/ax25_gr.c:48 +msgid "AX.25 not configured in this system.\n" +msgstr "O AX.25 não foi configurado neste sistema.\n" + +#: ../lib/ax25_gr.c:51 +msgid "Kernel AX.25 routing table\n" +msgstr "Tabela de roteamento AX.25 do kernel\n" + +#: ../lib/ax25_gr.c:52 ../lib/rose_gr.c:54 +msgid "Destination Iface Use\n" +msgstr "Destino Iface Uso\n" + +#: ../lib/ddp_gr.c:22 +msgid "Routing table for `ddp' not yet supported.\n" +msgstr "Tabela de roteamento para `ddp' ainda não suportada.\n" + +#: ../lib/ether.c:85 ../lib/ether.c:97 +msgid "in_ether(%s): invalid ether address!\n" +msgstr "in_ether(%s): endereco ether inválido!\n" + +#: ../lib/ether.c:109 +msgid "in_ether(%s): trailing : ignored!\n" +msgstr "in_ether(%s): trailing : ignorado!\n" + +#. That's it. Any trailing junk? +#: ../lib/ether.c:121 +msgid "in_ether(%s): trailing junk!\n" +msgstr "in_ether(%s): lixo no trailing!\n" + +#: ../lib/fddi.c:94 ../lib/fddi.c:106 +msgid "in_fddi(%s): invalid fddi address!\n" +msgstr "in_fddi(%S): endereço fddi inválido!\n" + +#: ../lib/fddi.c:118 +msgid "in_fddi(%s): trailing : ignored!\n" +msgstr "in_fddi(%s): trailing : ignorado!\n" + +#: ../lib/fddi.c:130 +msgid "in_fddi(%s): trailing junk!\n" +msgstr "in_fddi(%s): lixo no trailing!\n" + +#: ../lib/getroute.c:99 ../lib/setroute.c:78 +msgid "Address family `%s' not supported.\n" +msgstr "Família de endereços `%s' não suportada.\n" + +#: ../lib/getroute.c:105 ../lib/setroute.c:83 +msgid "No routing for address family `%s'.\n" +msgstr "Nenhum roteamento para a família `%s'\n" + +#: ../lib/hw.c:118 +msgid "Local Loopback" +msgstr "Loopback Local" + +#: ../lib/hw.c:121 +msgid "Serial Line IP" +msgstr "SLIP" + +#: ../lib/hw.c:122 +msgid "VJ Serial Line IP" +msgstr "SLIP VJ" + +#: ../lib/hw.c:123 +msgid "6-bit Serial Line IP" +msgstr "SLIP 6 bits" + +#: ../lib/hw.c:124 +msgid "VJ 6-bit Serial Line IP" +msgstr "SLIP VJ 6 bits" + +#: ../lib/hw.c:125 +msgid "Adaptive Serial Line IP" +msgstr "SLIP Adaptativo" + +#: ../lib/hw.c:128 +msgid "Ethernet" +msgstr "" + +#: ../lib/hw.c:131 +msgid "Ash" +msgstr "" + +#: ../lib/hw.c:134 +msgid "Fiber Distributed Data Interface" +msgstr "FDDI - Fibra Ótica" + +#: ../lib/hw.c:140 +msgid "AMPR ROSE" +msgstr "" + +#: ../lib/hw.c:146 +msgid "IPIP Tunnel" +msgstr "Túnel IPIP" + +#: ../lib/hw.c:149 +msgid "Point-to-Point Protocol" +msgstr "Protocolo Ponto-a-Ponto" + +#: ../lib/hw.c:152 +msgid "1.5Mbps ARCnet" +msgstr "ARCnet 1.5Mbps" + +#: ../lib/hw.c:155 +msgid "Frame Relay DLCI" +msgstr "" + +#: ../lib/hw.c:156 +msgid "Frame Relay Access Device" +msgstr "FRAD - Dispositivo de Acesso a Frame Relay" + +#: ../lib/hw.c:159 +msgid "IPv6-in-IPv4" +msgstr "IPv6 sobre IPv4" + +#. Grmpf. -FvK +#: ../lib/inet.c:123 ../lib/inet6.c:73 +msgid "rresolve: unsupport address family %d !\n" +msgstr "rresolve: família de endereços %d não suportada!\n" + +#: ../lib/inet6_gr.c:77 +msgid "Kernel IPv6 routing table\n" +msgstr "Tabela de Roteamento IPv6 do Kernel\n" + +#: ../lib/inet6_gr.c:79 +msgid "Destination Next Hop Flags Metric Ref Use Iface\n" +msgstr "Destino Próximo Roteador Flags Métrica Ref Uso Iface\n" + +#: ../lib/inet6_gr.c:148 +msgid "Kernel IPv6 Neighbour Cache\n" +msgstr "Cache de Vizinhos IPv6 do Kernel\n" + +#: ../lib/inet6_gr.c:151 +msgid "Neighbour HW Address Iface Flags Ref State\n" +msgstr "Vizinho Endereço de Hardware Iface Flags Ref Estado\n" + +#: ../lib/inet6_gr.c:155 +msgid "Neighbour HW Address Iface Flags Ref State Stale(sec) Delete(sec)\n" +msgstr "Vizinho Endereço de Hardware Iface Flags Ref Estado Stale(seg) Deletar(seg)\n" + +#: ../lib/inet6_sr.c:40 +msgid "Usage: inet6_route [-vF] del Target\n" +msgstr "Uso: inet6_route [-vF] del Alvo\n" + +#: ../lib/inet6_sr.c:41 +msgid " inet6_route [-vF] add Target [gw Gw] [metric M] [[dev] If]\n" +msgstr " inet6_route [-vF] add Alvo [gw Gw] [metric M] [[dev] If]\n" + +#: ../lib/inet6_sr.c:42 +msgid " inet6_route [-FC] flush NOT supported\n" +msgstr " inet6_route [-FC] flush NÃO suportado\n" + +#: ../lib/inet6_sr.c:179 +msgid "Flushing `inet6' routing table not supported\n" +msgstr "Limpeza da tabela de roteamento `inet6' não é suportada\n" + +#: ../lib/inet_gr.c:43 +msgid "Kernel IP routing table\n" +msgstr "Tabela de Roteamento IP do Kernel\n" + +#: ../lib/inet_gr.c:46 +msgid "Destination Gateway Genmask Flags Metric Ref Use Iface\n" +msgstr "Destino Roteador Máscara Genérica Flags Métrica Ref Uso Iface\n" + +#: ../lib/inet_gr.c:49 +msgid "Destination Gateway Genmask Flags MSS Window irtt Iface\n" +msgstr "Destino Roteador Máscara Genérica Flags MSS Janela irtt Iface\n" + +#: ../lib/inet_gr.c:52 +msgid "Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt\n" +msgstr "Destino Roteador Máscara Genérica Flags Métrica Ref Uso Iface MSS Janela irtt\n" + +#: ../lib/inet_gr.c:148 +msgid "Destination Gateway Source Flags Metric Ref Use Iface\n" +msgstr "Destino Roteador Origem Flags Métrica Ref Uso Iface\n" + +#: ../lib/inet_gr.c:151 +msgid "Destination Gateway Source Flags MSS Window irtt Iface\n" +msgstr "Destino Roteador Origem Flags MSS Janela irtt Iface\n" + +#: ../lib/inet_gr.c:154 +msgid "Destination Gateway Source Flags Metric Ref Use Iface MSS Window irtt HH Arp\n" +msgstr "Destino Roteador Origem Flags Métrica Ref Uso Iface MSS Janela irtt HH Arp\n" + +#: ../lib/inet_sr.c:44 +msgid "Usage: inet_route [-vF] del {-host|-net} Target [gw Gw] [metric M] [[dev] If]\n" +msgstr "Uso: inet_route [-vF] del {-host|-net} Endereço [gw Gw] [metric M] [[dev] If]\n" + +#: ../lib/inet_sr.c:45 +msgid " inet_route [-vF] add {-host|-net} Target [gw Gw] [metric M]\n" +msgstr " inet_route [-vF] add {-host|-net} Endereço [gw Gw] [metric M]\n" + +#: ../lib/inet_sr.c:46 +msgid " [netmask N] [mss Mss] [window W] [irtt I]\n" +msgstr "" + +#: ../lib/inet_sr.c:47 +msgid " [mod] [dyn] [reinstate] [[dev] If]\n" +msgstr "" + +#: ../lib/inet_sr.c:48 +msgid " inet_route [-vF] add {-host|-net} Target [metric M] reject\n" +msgstr " inet_route [-vF] add {-host|-net} Endereço [metric M] reject\n" + +#: ../lib/inet_sr.c:49 +msgid " inet_route [-FC] flush NOT supported\n" +msgstr " inet_route [-FC] flush NÃO suportado\n" + +#: ../lib/inet_sr.c:143 +msgid "route: %s: cannot use a NETWORK as gateway!\n" +msgstr "route: %s: não é possível usar uma REDE como roteador!\n" + +#: ../lib/inet_sr.c:160 +msgid "route: Invalid MSS.\n" +msgstr "route: MSS inválido.\n" + +#: ../lib/inet_sr.c:174 +msgid "route: Invalid window.\n" +msgstr "route: janela inválida.\n" + +#: ../lib/inet_sr.c:191 +msgid "route: Invalid initial rtt.\n" +msgstr "route: rtt inicial inválido.\n" + +#: ../lib/inet_sr.c:246 +msgid "route: netmask doesn't make sense with host route\n" +msgstr "route: uma netmask não faz sentido com uma rota para uma máquina\n" + +#: ../lib/inet_sr.c:250 +msgid "route: bogus netmask %s\n" +msgstr "route: netmask %s inválida\n" + +#: ../lib/inet_sr.c:255 +msgid "route: netmask doesn't match route address\n" +msgstr "route: a netmask não casa com o endereço de rede\n" + +#: ../lib/inet_sr.c:293 +msgid "Flushing `inet' routing table not supported\n" +msgstr "Não é suportado limpar a tabela de roteamento `inet'\n" + +#: ../lib/inet_sr.c:297 +msgid "Modifying `inet' routing cache not supported\n" +msgstr "Não é suportado modificar o cache de roteamento `inet'\n" + +#: ../lib/ipx_gr.c:37 +msgid "Kernel IPX routing table\n" +msgstr "Tabela de roteamento IPX do kernel\n" + +#: ../lib/ipx_gr.c:44 +msgid "Destination Router Net Router Node\n" +msgstr "Destino Rede Roteadora Nó Roteador\n" + +#: ../lib/masq_info.c:207 +msgid "IP masquerading entries\n" +msgstr "Entradas de IP mascarado\n" + +#: ../lib/masq_info.c:210 +msgid "prot expire source destination ports\n" +msgstr "prot expira origem destino portas\n" + +#: ../lib/masq_info.c:213 +msgid "prot expire initseq delta prevd source destination ports\n" +msgstr "prot expira seqinic delta prevd origem destino portas\n" + +#: ../lib/netrom_gr.c:41 +msgid "NET/ROM not configured in this system.\n" +msgstr "NET/ROM não configurado neste sistema.\n" + +#: ../lib/netrom_gr.c:44 +msgid "Kernel NET/ROM routing table\n" +msgstr "Tabela de roteamento NET/ROM do kernel\n" + +#. xxx +#: ../lib/netrom_gr.c:45 +msgid "Destination Mnemonic Quality Neighbour Iface\n" +msgstr "Destino Mnemônico Qualidade Vizinho Iface\n" + +#: ../lib/netrom_sr.c:43 +msgid "NET/ROM: this needs to be written\n" +msgstr "NET/ROM: isto precisa ser escrito\n" + +#: ../lib/ppp.c:44 +msgid "You cannot start PPP with this program.\n" +msgstr "Você não pode iniciar o PPP com este programa.\n" + +#: ../lib/ppp_ac.c:40 +msgid "Sorry, use pppd!\n" +msgstr "Desculpe, use o pppd!\n" + +#: ../lib/rose.c:79 +msgid "Node address must be ten digits" +msgstr "Endereço do nó deve ter dez digitos" + +#: ../lib/rose_gr.c:50 +msgid "ROSE not configured in this system.\n" +msgstr "ROSE não configurada neste sistema.\n" + +#: ../lib/rose_gr.c:53 +msgid "Kernel ROSE routing table\n" +msgstr "Tabela de roteamento ROSE do kernel" + +#: ../lib/tr.c:82 ../lib/tr.c:94 +msgid "in_tr(%s): invalid token ring address!\n" +msgstr "in_tr(%s): endereço token ring inválido!\n" + +#: ../lib/tr.c:106 +msgid "in_tr(%s): trailing : ignored!\n" +msgstr "in_tr(%s): trailing : ignorado!\n" + +#. That's it. Any trailing junk? +#: ../lib/tr.c:118 +msgid "in_tr(%s): trailing junk!\n" +msgstr "in_tr(%s): lixo no trailing!\n" + +#: ../netstat.c:205 +msgid "Netlink Kernel Messages" +msgstr "Mensagens Netlink do Kernel" + +#: ../netstat.c:207 +msgid " (continous)" +msgstr " (contínuo)" + +#: ../netstat.c:217 +msgid "netlink message size mismatch" +msgstr "tamanho da mensagem netlink não confere" + +#: ../netstat.c:282 ../netstat.c:862 ../netstat.c:920 +msgid "LISTENING" +msgstr "OUVINDO" + +#: ../netstat.c:283 +msgid "CONN SENT" +msgstr "CONN ENVIADO" + +#: ../netstat.c:284 ../netstat.c:922 +msgid "DISC SENT" +msgstr "DISC ENVIADO" + +#: ../netstat.c:285 ../netstat.c:348 ../netstat.c:570 ../netstat.c:923 +msgid "ESTABLISHED" +msgstr "ESTABELECIDA" + +#: ../netstat.c:308 +msgid "Activate NET/ROM sockets\n" +msgstr "Ative sockets NET/ROM\n" + +#: ../netstat.c:309 +msgid "User Dest Source Device State Vr/Vs Send-Q Recv-Q\n" +msgstr "Usuário Destino Origem Dispositivo Estado Vr/Vs Send-Q Recv-Q\n" + +#: ../netstat.c:349 +msgid "SYN_SENT" +msgstr "SYN_ENVIADO" + +#: ../netstat.c:350 +msgid "SYN_RECV" +msgstr "SYN_RECEBIDO" + +#: ../netstat.c:351 +msgid "FIN_WAIT1" +msgstr "ESPERA_FIN1" + +#: ../netstat.c:352 +msgid "FIN_WAIT2" +msgstr "ESPERA_FIN2" + +#: ../netstat.c:353 +msgid "TIME_WAIT" +msgstr "" + +#: ../netstat.c:354 +msgid "CLOSE" +msgstr "FECHAR" + +#: ../netstat.c:355 +msgid "CLOSE_WAIT" +msgstr "ESPERANDO_FECHAR" + +#: ../netstat.c:356 +msgid "LAST_ACK" +msgstr "ÚLTIMO_ACK" + +#: ../netstat.c:357 +msgid "LISTEN" +msgstr "OUÇA" + +#: ../netstat.c:358 +msgid "CLOSING" +msgstr "FECHANDO" + +#: ../netstat.c:424 +msgid "warning, got bogus tcp line.\n" +msgstr "atenção, recebi linha tcp inválida.\n" + +#: ../netstat.c:429 ../netstat.c:563 ../netstat.c:698 ../netstat.c:703 +msgid "netstat: unsupported address family %d !\n" +msgstr "netstat: família de protocolos %d não suportada!\n" + +#: ../netstat.c:463 +msgid "off (0.00/%ld)" +msgstr "desligado (0.00/%ld)" + +#: ../netstat.c:467 +msgid "on (%2.2f/%ld)" +msgstr "ligado (%2.2f/%ld)" + +#: ../netstat.c:472 +msgid "unkn-%d (%2.2f/%ld)" +msgstr "desconh.-%d (%2.2f/%ld)" + +#: ../netstat.c:558 +msgid "warning, got bogus udp line.\n" +msgstr "atenção, recebi linha udp inválida.\n" + +#: ../netstat.c:578 ../netstat.c:848 ../netstat.c:881 +msgid "UNKNOWN" +msgstr "DESCONHECIDA" + +#: ../netstat.c:613 ../netstat.c:748 +msgid "off (0.00/%ld) %c" +msgstr "desligado (0.00/%ld) %c" + +#: ../netstat.c:617 ../netstat.c:752 +msgid "on (%2.2f/%ld) %c" +msgstr "ligado (%2.2f/%ld) %c" + +#: ../netstat.c:621 ../netstat.c:757 +msgid "unkn-%d (%2.2f/%ld) %c" +msgstr "desconh.-%d (%2.2f/%ld) %c" + +#: ../netstat.c:712 +msgid "warning, got bogus raw line.\n" +msgstr "atenção, recebi linha raw inválida.\n" + +#: ../netstat.c:806 +msgid "warning, got bogus unix line.\n" +msgstr "atenção, recebi linha unix inválida.\n" + +#: ../netstat.c:828 +msgid "STREAM" +msgstr "" + +#: ../netstat.c:832 +msgid "DGRAM" +msgstr "" + +#: ../netstat.c:836 +msgid "RAW" +msgstr "" + +#: ../netstat.c:840 +msgid "RDM" +msgstr "" + +#: ../netstat.c:844 +msgid "SEQPACKET" +msgstr "" + +#: ../netstat.c:853 +msgid "FREE" +msgstr "LIVRE" + +#: ../netstat.c:869 +msgid "CONNECTING" +msgstr "CONECTANDO" + +#: ../netstat.c:873 +msgid "CONNECTED" +msgstr "CONECTADO" + +#: ../netstat.c:877 +msgid "DISCONNECTING" +msgstr "DESCONECTANDO" + +#: ../netstat.c:899 +msgid "Active UNIX domain sockets " +msgstr "Domain sockets UNIX ativos " + +#. xxx +#: ../netstat.c:900 ../netstat.c:1368 +msgid "(including servers)" +msgstr "(com os servidores)" + +#. xxx +#: ../netstat.c:901 ../netstat.c:1369 +msgid "(w/o servers)" +msgstr "(sem os servidores)" + +#. xxx +#: ../netstat.c:903 +msgid "" +"\n" +"Proto RefCnt Flags Type State I-Node Path\n" +msgstr "" +"\n" +"Proto CntRef Flags Tipo Estado I-Node Rota\n" + +#: ../netstat.c:921 +msgid "SABM SENT" +msgstr "SABM ENVIADO" + +#: ../netstat.c:924 +msgid "RECOVERY" +msgstr "RECUPERAÇÃO" + +#: ../netstat.c:939 +msgid "Activate AX.25 sockets\n" +msgstr "Ativar sockets AX.25\n" + +#: ../netstat.c:940 +msgid "Dest Source Device State Vr/Vs Send-Q Recv-Q\n" +msgstr "Destino Origem Dispositivo Estado Vr/Vs Send-Q Recv-Q\n" + +#: ../netstat.c:989 +msgid "" +"Active IPX sockets\n" +"Proto Recv-Q Send-Q Local Address Foreign Address State" +msgstr "" +"Sockets IPX ativos\n" +"Proto Recv-Q Send-Q Endereço Local Endereço Remoto Estado" + +#. xxx +#: ../netstat.c:991 +msgid " User" +msgstr " Usuário" + +#: ../netstat.c:1028 +msgid "ESTAB" +msgstr "" + +#: ../netstat.c:1036 +msgid "UNK." +msgstr "DESC." + +#: ../netstat.c:1078 +msgid "[NO FLAGS]" +msgstr "[SEM FLAGS]" + +#: ../netstat.c:1099 +msgid "Kernel Interface table\n" +msgstr "Tabela de Interfaces do Kernel\n" + +#: ../netstat.c:1100 +msgid "Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags\n" +msgstr "" + +#: ../netstat.c:1148 +msgid "usage: netstat [-veenNcCF] [<Af>] -r netstat {-V|--version|-h|--help}\n" +msgstr "uso: netstat [-veenNcCF] [<Af>] -r netstat {-V|--version|-h|--help}\n" + +#: ../netstat.c:1149 +msgid " netstat [-vnNcaeo] [<Socket>]\n" +msgstr " netstat [-vnNcaeo] [<Socket>]\n" + +#: ../netstat.c:1150 +msgid "" +" netstat { [-veenNac] -i | [-vnNc] -L | [-cnNe] -M }\n" +"\n" +msgstr "" + +#: ../netstat.c:1151 +msgid " -r, --route display routing table\n" +msgstr " -r, --route mostra tabela de roteamento\n" + +#: ../netstat.c:1152 +msgid " -L, --netlink display netlink kernel messages\n" +msgstr " -L, --netlink mostra mensagens netlink do kernel\n" + +#: ../netstat.c:1153 +msgid " -i, --interfaces display interface table\n" +msgstr " -i, --interfaces mostra tabela de interfaces\n" + +#: ../netstat.c:1154 +msgid "" +" -M, --masquerade display masqueraded connections\n" +"\n" +msgstr "" +" -M, --masquerade mostra conexões mascaradas\n" +"\n" + +#: ../netstat.c:1155 +msgid " -v, --verbose be verbose\n" +msgstr " -v, --verbose listagem detalhada\n" + +#: ../netstat.c:1156 +msgid " -n, --numeric dont resolve names\n" +msgstr " -n, --numeric não resolve nomes\n" + +#: ../netstat.c:1157 +msgid " -e, --extend display other/more informations\n" +msgstr " -e, --extend mostra outras/mais informações\n" + +#: ../netstat.c:1158 +msgid "" +" -c, --continuous continuous listing\n" +"\n" +msgstr " -c, --continuous listagem contínua\n\n" + +#: ../netstat.c:1159 +msgid " -a, --all, --listening display all\n" +msgstr " -a, --all, --listening mostra tudo\n" + +#: ../netstat.c:1160 +msgid "" +" -o, --timers display timers\n" +"\n" +msgstr "" +" -o, --timers mostra temporizadores\n\n" + +#: ../netstat.c:1161 +msgid "<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom\n" +msgstr "" + +#: ../netstat.c:1163 +msgid "<Af>= -A {inet|inet6|ipx|netrom|ddp|ax25},... --inet --inet6 --ipx --netrom --ddp --ax25\n" +msgstr "" + +#: ../netstat.c:1165 +msgid "<Af>= -A {inet|ipx|netrom|ddp|ax25},... --inet --ipx --netrom --ddp --ax25\n" +msgstr "" + +#: ../netstat.c:1367 +msgid "Active Internet connections " +msgstr "Conexões Internet Ativas " + +#: ../netstat.c:1371 +msgid "" +"\n" +"Proto Recv-Q Send-Q Local Address Foreign Address State " +msgstr "" +"\n" +"Proto Recv-Q Send-Q Endereço Local Endereço Remoto Estado " + +#: ../netstat.c:1373 +msgid " User " +msgstr " Usuário " + +#. xxx +#: ../netstat.c:1375 +msgid " Timer" +msgstr " Temporizador" + +#: ../route.c:79 +msgid "Usage: route [-nNvee] [-FC] [Address_families] List kernel routing tables\n" +msgstr "Uso: route [-nNvee] [-FC] [famílias_endereços] lista as tabelas de roteamento do kernel\n" + +#: ../route.c:80 +msgid " route {-V|--version} Display command version and exit.\n" +msgstr " route {-V|--version} Mostra a versão e termina.\n" + +#: ../route.c:81 +msgid " route {-h|--help} [Address_family] Usage Syntax for specified AF.\n" +msgstr " route {-h|--help} [famílias_endereços] Sintaxe usada para a família especificada.\n" + +#: ../route.c:82 +msgid "" +" route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.\n" +"\n" +msgstr "" +" route [-v] [-FC] {add|del|flush} ... Modifica tabela de roteamento da família.\n" +"\n" + +#: ../route.c:83 +msgid " Address_families: inet,inet6,ddp,ipx,netrom,ax25\n" +msgstr " famílias_endereços: inet,inet6,ddp,ipx,netrom,ax25\n" + +#: ../route.c:84 +msgid " specify AF: -A af1,af2.. or --af1 --af2 or af_route\n" +msgstr " especifique família: -A af1,af2.. ou --af1 --af2 ou af_route\n" + +#. We have no address families. +#: ../sockets.c:96 +msgid "No usable address families found.\n" +msgstr "Nenhuma família de endereços que possa ser usada foi encontrada.\n" + +#. for each state +#: ../statistics.c:37 +msgid "ICMP input histogram:" +msgstr "Histograma de entrada ICMP:" + +#: ../statistics.c:38 +msgid "ICMP output histogram:" +msgstr "Histograma de saída ICMP" + +#: ../statistics.c:45 +msgid "Forwarding" +msgstr "Repassagem" + +#: ../statistics.c:45 +msgid "Forwarding is %s" +msgstr "Repassagem está %s" + +#: ../statistics.c:46 +msgid "DefaultTTL" +msgstr "" + +#: ../statistics.c:46 +msgid "Default TTL is %d" +msgstr "Default TTL é %d" + +#: ../statistics.c:47 +msgid "InReceives" +msgstr "" + +#: ../statistics.c:47 +msgid "%d total packets received" +msgstr "%d total de pacotes recebidos" + +#: ../statistics.c:48 +msgid "InHdrErrors" +msgstr "" + +#: ../statistics.c:48 +msgid "%d with invalid headers" +msgstr "%d com cabeçalhos inválidos" + +#: ../statistics.c:49 +msgid "InAddrErrors" +msgstr "" + +#: ../statistics.c:49 +msgid "%d with invalid addresses" +msgstr "%d com endereços inválidos" + +#: ../statistics.c:50 +msgid "ForwDatagrams" +msgstr "" + +#: ../statistics.c:50 +msgid "%d forwarded" +msgstr "%d repassados" + +#: ../statistics.c:51 +msgid "InUnknownProtos" +msgstr "" + +#: ../statistics.c:51 +msgid "%d with unknown protocol" +msgstr "%d com protocolo desconhecido" + +#: ../statistics.c:52 +msgid "InDiscards" +msgstr "" + +#: ../statistics.c:52 +msgid "%d incoming packets discarded" +msgstr "%d pacotes entrantes descartados" + +#: ../statistics.c:53 +msgid "InDelivers" +msgstr "" + +#: ../statistics.c:53 +msgid "%d incoming packets delivered" +msgstr "%d pacotes entrantes despachados" + +#: ../statistics.c:54 +msgid "OutRequests" +msgstr "" + +#: ../statistics.c:54 +msgid "%d requests sent out" +msgstr "%d requisições enviadas" + +#. ? +#: ../statistics.c:55 +msgid "OutDiscards" +msgstr "" + +#: ../statistics.c:55 +msgid "%d outgoing packets dropped" +msgstr "%d pacotes saintes descartados" + +#: ../statistics.c:56 +msgid "OutNoRoutes" +msgstr "" + +#: ../statistics.c:56 +msgid "%d dropped because of missing route" +msgstr "%d descartados devido a falta de rota" + +#: ../statistics.c:57 +msgid "ReasmTimeout" +msgstr "" + +#: ../statistics.c:57 +msgid "%d fragments dropped after timeout" +msgstr "%d fragmentos descartados após estouro de tempo" + +#: ../statistics.c:58 +msgid "ReasmReqds" +msgstr "" + +#: ../statistics.c:58 +msgid "%d reassemblies required" +msgstr "%d remontagens requeridas" + +#. ? +#: ../statistics.c:59 +msgid "ReasmOKs" +msgstr "" + +#: ../statistics.c:59 +msgid "%d packets reassembled ok" +msgstr "%d pacotes remontados sem problemas" + +#: ../statistics.c:60 +msgid "ReasmFails" +msgstr "" + +#: ../statistics.c:60 +msgid "%d packet reassembles failed" +msgstr "%d remontagens de pacotes falharam" + +#: ../statistics.c:61 +msgid "FragOKs" +msgstr "" + +#: ../statistics.c:61 +msgid "%d fragments received ok" +msgstr "%d fragmentos recebidos sem problemas" + +#: ../statistics.c:62 +msgid "FragFails" +msgstr "" + +#: ../statistics.c:62 +msgid "%d fragments failed" +msgstr "%d fragmentos falharam" + +#: ../statistics.c:63 +msgid "FragCreates" +msgstr "" + +#: ../statistics.c:63 +msgid "%d fragments created" +msgstr "%d fragmentos criados" + +#: ../statistics.c:67 +msgid "InMsgs" +msgstr "" + +#: ../statistics.c:67 +msgid "%d ICMP messages received" +msgstr "%d mensagens ICMP recebidas" + +#: ../statistics.c:68 ../statistics.c:115 +msgid "InErrors" +msgstr "" + +#: ../statistics.c:68 +msgid "%d input ICMP message failed." +msgstr "%d mensagens ICMP entrantes falharam." + +#: ../statistics.c:69 +msgid "InDestUnreachs" +msgstr "" + +#: ../statistics.c:69 ../statistics.c:82 +msgid "destination unreachable: %d" +msgstr "destino não alcançável: %d" + +#: ../statistics.c:70 +msgid "InTimeExcds" +msgstr "" + +#: ../statistics.c:70 +msgid "timeout in transit: %d" +msgstr "estouro de tempo em trânsito: %d" + +#: ../statistics.c:71 +msgid "InParmProbs" +msgstr "" + +#: ../statistics.c:71 ../statistics.c:84 +msgid "wrong parameters: %d" +msgstr "parâmetros errados: %d" + +#: ../statistics.c:72 +msgid "InSrcQuenchs" +msgstr "" + +#: ../statistics.c:72 +msgid "source quenchs: %d" +msgstr "" + +#: ../statistics.c:73 +msgid "InRedirects" +msgstr "" + +#: ../statistics.c:73 +msgid "redirects: %d" +msgstr "redireções: %d" + +#: ../statistics.c:74 +msgid "InEchos" +msgstr "" + +#: ../statistics.c:74 +msgid "echo requests: %d" +msgstr "requisições de eco: %d" + +#: ../statistics.c:75 +msgid "InEchoReps" +msgstr "" + +#: ../statistics.c:75 ../statistics.c:88 +msgid "echo replies: %d" +msgstr "respostas de eco: %d" + +#: ../statistics.c:76 +msgid "InTimestamps" +msgstr "" + +#: ../statistics.c:76 +msgid "timestamp request: %d" +msgstr "requisições de timestamp: %d" + +#: ../statistics.c:77 +msgid "InTimestampReps" +msgstr "" + +#: ../statistics.c:77 +msgid "timestamp reply: %d" +msgstr "respostas a timestamps: %d" + +#: ../statistics.c:78 +msgid "InAddrMasks" +msgstr "" + +#: ../statistics.c:78 +msgid "address mask request: %d" +msgstr "requisições de mascara de endereço: %d" + +#. ? +#: ../statistics.c:79 +msgid "InAddrMaskReps" +msgstr "" + +#: ../statistics.c:79 +msgid "address mask replies" +msgstr "resposta a mascara de endereço" + +#. ? +#: ../statistics.c:80 +msgid "OutMsgs" +msgstr "" + +#: ../statistics.c:80 +msgid "%d ICMP messages sent" +msgstr "%d mensagens ICMP enviadas" + +#: ../statistics.c:81 +msgid "OutErrors" +msgstr "" + +#: ../statistics.c:81 +msgid "%d ICMP messages failed" +msgstr "%d mensagens ICMP falharam" + +#: ../statistics.c:82 +msgid "OutDestUnreachs" +msgstr "" + +#: ../statistics.c:83 +msgid "OutTimeExcds" +msgstr "" + +#: ../statistics.c:83 +msgid "time exceeded: %d" +msgstr "tempo excedido: %d" + +#: ../statistics.c:84 +msgid "OutParmProbs" +msgstr "" + +#. ? +#: ../statistics.c:85 +msgid "OutSrcQuenchs" +msgstr "" + +#: ../statistics.c:85 +msgid "source quench: %d" +msgstr "" + +#: ../statistics.c:86 +msgid "OutRedirects" +msgstr "" + +#: ../statistics.c:86 +msgid "redirect: %d" +msgstr "redireções: %d" + +#: ../statistics.c:87 +msgid "OutEchos" +msgstr "" + +#: ../statistics.c:87 +msgid "echo request: %d" +msgstr "requisições de eco: %d" + +#: ../statistics.c:88 +msgid "OutEchoReps" +msgstr "" + +#: ../statistics.c:89 +msgid "OutTimestamps" +msgstr "" + +#: ../statistics.c:89 +msgid "timestamp requests: %d" +msgstr "requisições de timestamp: %d" + +#: ../statistics.c:90 +msgid "OutTimestampReps" +msgstr "" + +#: ../statistics.c:90 +msgid "timestamp replies: %d" +msgstr "respostas a timestamp: %d" + +#: ../statistics.c:91 +msgid "OutAddrMasks" +msgstr "" + +#: ../statistics.c:91 +msgid "address mask requests: %d" +msgstr "requisições de máscara de endereço: %d" + +#: ../statistics.c:92 +msgid "OutAddrMaskReps" +msgstr "" + +#: ../statistics.c:92 +msgid "address mask replies: %d" +msgstr "respostas a máscara de endereço: %d" + +#: ../statistics.c:96 +msgid "RtoAlgorithm" +msgstr "" + +#: ../statistics.c:96 +msgid "RTO algorithm is %s" +msgstr "Algorítmo RTO é %s" + +#: ../statistics.c:97 +msgid "RtoMin" +msgstr "" + +#: ../statistics.c:98 +msgid "RtoMax" +msgstr "" + +#: ../statistics.c:99 +msgid "MaxConn" +msgstr "" + +#: ../statistics.c:100 +msgid "ActiveOpens" +msgstr "OpensAtivos" + +#: ../statistics.c:100 +msgid "%d active opens" +msgstr "%d opens ativos" + +#: ../statistics.c:101 +msgid "PassiveOpens" +msgstr "OpensPassivos" + +#: ../statistics.c:101 +msgid "%d passive opens" +msgstr "%d opens passivos" + +#: ../statistics.c:102 +msgid "AttemptFails" +msgstr "TentativasFalhas" + +#: ../statistics.c:102 +msgid "%d failed connection attempts" +msgstr "%d tentativas de conexão falharam" + +#: ../statistics.c:103 +msgid "EstabResets" +msgstr "" + +#: ../statistics.c:103 +msgid "%d connection resets received" +msgstr "%d resets de conexão recebidas" + +#: ../statistics.c:104 +msgid "CurrEstab" +msgstr "" + +#: ../statistics.c:104 +msgid "%d connections established" +msgstr "%d conexões estabelecidas" + +#: ../statistics.c:105 +msgid "InSegs" +msgstr "" + +#: ../statistics.c:105 +msgid "%d segments received" +msgstr "%d segmentos recebidos" + +#: ../statistics.c:106 +msgid "OutSegs" +msgstr "" + +#: ../statistics.c:106 +msgid "%d segments send out" +msgstr "%d segmentos enviados" + +#: ../statistics.c:107 +msgid "RetransSegs" +msgstr "" + +#: ../statistics.c:107 +msgid "%d segments retransmited" +msgstr "%d segmentos retransmitidos" + +#: ../statistics.c:108 +msgid "InErrs" +msgstr "" + +#: ../statistics.c:108 +msgid "%d bad segments received." +msgstr "%d segmentos ruins recebidos." + +#: ../statistics.c:109 +msgid "OutRsts" +msgstr "" + +#: ../statistics.c:109 +msgid "%d resets sent" +msgstr "%d resets enviados" + +#: ../statistics.c:113 +msgid "InDatagrams" +msgstr "" + +#: ../statistics.c:113 +msgid "%d packets received" +msgstr "%d pacotes recebidos" + +#: ../statistics.c:114 +msgid "NoPorts" +msgstr "" + +#: ../statistics.c:114 +msgid "%d packets to unknown port received." +msgstr "%d pacotes para portas desconhecidas recebidos." + +#: ../statistics.c:115 +msgid "%d packet receive errors" +msgstr "%d erros de recepção de pacotes" + +#: ../statistics.c:116 +msgid "OutDatagrams" +msgstr "" + +#: ../statistics.c:116 +msgid "%d packets send" +msgstr "%d pacotes enviados" + +#: ../statistics.c:183 +msgid "enabled" +msgstr "habilitado" + +#: ../statistics.c:183 +msgid "disabled" +msgstr "desabilitado" + +#: ../statistics.c:223 +msgid "cannot open /proc/net/snmp" +msgstr "não foi possível abrir /proc/net/snmp" + +#: ../statistics.c:238 +msgid "unknown title %s\n" +msgstr "título %s desconhecido\n" + +#: ../statistics.c:264 +msgid "error parsing /proc/net/snmp" +msgstr "erro lendo /proc/net/snmp" @@ -9,6 +9,7 @@ * rarp -f Add frop /etc/ethers * * Rewritten: Phil Blundell <Philip.Blundell@pobox.com> 1997-08-03 + * gettext instead of catgets: Arnaldo Carvalho de Melo <acme@conectiva.com.br> 1998-06-29 * */ @@ -29,14 +30,14 @@ #include <getopt.h> #include "config.h" -#include "net-locale.h" +#include "intl.h" #include "net-support.h" #include "version.h" #include "pathnames.h" -#define NO_RARP_MESSAGE "This kernel does not support RARP.\n" +static char no_rarp_message[] = N_("This kernel does not support RARP.\n"); -static char version_string[] = RELEASE "\nrarp 1.01 (1998-01-02)\n"; +static char version_string[] = RELEASE "\nrarp 1.02 (1998-06-30)\n"; static struct hwtype *hardware = NULL; @@ -63,7 +64,7 @@ static int rarp_delete(int fd, struct hostent *hp) case ENXIO: break; case ENODEV: - fputs(NO_RARP_MESSAGE, stderr); + fputs(_(no_rarp_message), stderr); return 1; default: perror("SIOCDRARP"); @@ -73,8 +74,7 @@ static int rarp_delete(int fd, struct hostent *hp) } if (found == 0) - printf(NLS_CATGETS(catfd, rarpSet, rarp_noentry, - "no RARP entry for %s.\n"), hp->h_name); + printf(_("no RARP entry for %s.\n"), hp->h_name); return 0; } @@ -87,7 +87,7 @@ static int rarp_set(int fd, struct hostent *hp, char *hw_addr) struct sockaddr sap; if (hardware->input(hw_addr, &sap)) { - fprintf(stderr, "%s: bad hardware address\n", hw_addr); + fprintf(stderr, _("%s: bad hardware address\n"), hw_addr); return 1; } @@ -102,7 +102,7 @@ static int rarp_set(int fd, struct hostent *hp, char *hw_addr) /* Call the kernel. */ if (ioctl(fd, SIOCSRARP, &req) < 0) { if (errno == ENODEV) - fputs(NO_RARP_MESSAGE, stderr); + fputs(_(no_rarp_message), stderr); else perror("SIOCSRARP"); return 1; @@ -120,8 +120,7 @@ static int rarp_file(int fd, const char *name) struct hostent *hp; if ((fp = fopen(name, "r")) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, - rarp_cant_open, "rarp: cannot open file %s:%s.\n"), name, strerror(errno)); + fprintf(stderr, _("rarp: cannot open file %s:%s.\n"), name, strerror(errno)); return -1; } @@ -134,20 +133,15 @@ static int rarp_file(int fd, const char *name) if ((addr = strtok(buff, "\n \t")) == NULL) continue; if ((host = strtok(NULL, "\n \t")) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_formaterr, - "rarp: format error at %s:%u\n"), - name, linenr); + fprintf(stderr, _("rarp: format error at %s:%u\n"), name, linenr); continue; } if ((hp = gethostbyname(host)) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_unkn_host, - "rarp: %s: unknown host\n"), host); + fprintf(stderr, _("rarp: %s: unknown host\n"), host); } if (rarp_set(fd,hp,addr) != 0) { - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_cant_set, - "rarp: cannot set entry from %s:%u\n"), - name, linenr); + fprintf(stderr, _("rarp: cannot set entry from %s:%u\n"), name, linenr); } } @@ -161,7 +155,7 @@ static int display_cache(void) char buffer[256]; if (fd == NULL) { if (errno == ENOENT) - fputs(NO_RARP_MESSAGE, stderr); + fputs(_(no_rarp_message), stderr); else perror(_PATH_PROCNET_RARP); return 1; @@ -176,17 +170,11 @@ static int display_cache(void) static void usage(void) { - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_usage1, - "Usage: rarp -a list entries in cache.\n")); - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_usage2, - " rarp -d hostname delete entry from cache.\n")); - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_usage3, - " rarp [-t hwtype] -s hostname hwaddr add entry to cache.\n")); - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_usage3a, - " rarp -f add entries from ethers.\n")); - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_usage4, - " rarp -V display program version.\n")); - NLS_CATCLOSE(catfd) + fprintf(stderr, _("Usage: rarp -a list entries in cache.\n")); + fprintf(stderr, _(" rarp -d hostname delete entry from cache.\n")); + fprintf(stderr, _(" rarp [-t hwtype] -s hostname hwaddr add entry to cache.\n")); + fprintf(stderr, _(" rarp -f add entries from ethers.\n")); + fprintf(stderr, _(" rarp -V display program version.\n")); exit(-1); } @@ -212,9 +200,9 @@ int main(int argc, char **argv) struct hostent *hp; int fd; -#if NLS - setlocale (LC_MESSAGES, ""); - catfd = catopen ("nettools", MCLoadBySet); +#if I18N + bindtextdomain("net-tools", "/usr/share/locale"); + textdomain("net-tools"); #endif #if HAVE_HWETHER @@ -231,7 +219,6 @@ int main(int argc, char **argv) usage(); case 'V': fprintf(stderr, version_string); - NLS_CATCLOSE(catfd) exit(1); break; case 'v': @@ -241,7 +228,7 @@ int main(int argc, char **argv) case 's': case 'd': if (mode) { - fprintf(stderr, "%s: illegal option mix.\n", argv[0]); + fprintf(stderr, _("%s: illegal option mix.\n"), argv[0]); usage(); } else { mode = (c == 'a'?MODE_DISPLAY:(c == 'd'?MODE_DELETE:MODE_SET)); @@ -271,10 +258,8 @@ int main(int argc, char **argv) } while (c != EOF); if (hardware == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_unkn_hw, - "rarp: %s: unknown hardware type.\n"), optarg); - NLS_CATCLOSE(catfd) - exit(1); + fprintf(stderr, _("rarp: %s: unknown hardware type.\n"), optarg); + exit(1); } switch (mode) { @@ -294,14 +279,11 @@ int main(int argc, char **argv) usage(); } if ((hp = gethostbyname(args[0])) == NULL) { - fprintf(stderr, NLS_CATGETS(catfd, rarpSet, rarp_unkn_host, - "rarp: %s: unknown host\n"), args[0]); - NLS_CATCLOSE(catfd) + fprintf(stderr, _("rarp: %s: unknown host\n"), args[0]); exit(1); } if (fd = socket(PF_INET, SOCK_DGRAM, 0), fd < 0) { - perror("socket"); - NLS_CATCLOSE(catfd) + perror("socket"); exit (1); } result = (mode == MODE_DELETE)?rarp_delete(fd, hp):rarp_set(fd, hp, args[1]); @@ -311,15 +293,12 @@ int main(int argc, char **argv) case MODE_ETHERS: if (nargs!=0 && nargs!=1) usage(); if (fd = socket(PF_INET, SOCK_DGRAM, 0), fd < 0) { - perror("socket"); - NLS_CATCLOSE(catfd) + perror("socket"); exit (1); } result = rarp_file(fd, nargs ? args[0] : _PATH_ETHERS); close(fd); } - - NLS_CATCLOSE(catfd) exit(result); } @@ -2,7 +2,7 @@ * route This file contains an implementation of the command * that manages the IP routing table in the kernel. * - * Version: route 1.94 (1997-09-21) + * Version: route 1.95 (1998-06-29) * * Maintainer: Bernd 'eckes' Eckenfels, <net-tools@lina.inka.de> * @@ -31,6 +31,7 @@ *960413 {1.91} Bernd Eckenfels: new RTACTION support+FLAG_CACHE/FIB *960426 {1.92} Bernd Eckenfels: FLAG_SYM/-N support *960823 {x.xx} Frank Strauss: INET6 stuff + *980629 {1.95} Arnaldo Carvalho de Melo: gettext instead of catgets * */ #include <sys/types.h> @@ -54,7 +55,7 @@ #include <ctype.h> #include "net-support.h" #include "config.h" -#include "net-locale.h" +#include "intl.h" #include "pathnames.h" #include "version.h" @@ -64,7 +65,7 @@ #include "lib/net-features.h" /* needs some of the system includes above! */ char *Release = RELEASE, - *Version = "route 1.94 (1997-09-21)"; + *Version = "route 1.95 (1998-06-29)"; int opt_n = 0; /* numerical output flag */ int opt_v = 0; /* debugging output flag */ @@ -75,19 +76,12 @@ struct aftype *ap; /* current address family */ static void usage(void) { - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_usage1, - "Usage: route [-nNvee] [-FC] [Address_families] List kernel routing tables\n")); - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_usage2, - " route {-V|--version} Display command version and exit.\n")); - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_usage3, - " route {-h|--help} [Address_family] Usage Syntax for specified AF.\n")); - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_usage4, - " route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.\n\n")); - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_usage5, - " Address_families: inet,inet6,ddp,ipx,netrom,ax25\n")); - fprintf(stderr, NLS_CATGETS(catfd, routeSet, route_usage6, - " specify AF: -A af1,af2.. or --af1 --af2 or af_route\n")); - NLS_CATCLOSE(catfd) + fprintf(stderr, _("Usage: route [-nNvee] [-FC] [Address_families] List kernel routing tables\n")); + fprintf(stderr, _(" route {-V|--version} Display command version and exit.\n")); + fprintf(stderr, _(" route {-h|--help} [Address_family] Usage Syntax for specified AF.\n")); + fprintf(stderr, _(" route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.\n\n")); + fprintf(stderr, _(" Address_families: inet,inet6,ddp,ipx,netrom,ax25\n")); + fprintf(stderr, _(" specify AF: -A af1,af2.. or --af1 --af2 or af_route\n")); exit(E_USAGE); } @@ -95,7 +89,6 @@ static void usage(void) static void version(void) { fprintf(stderr,"%s\n%s\n%s\n",Release,Version,Features); - NLS_CATCLOSE(catfd) exit(E_VERSION); } @@ -120,12 +113,10 @@ int main(int argc, char **argv) char **tmp; char *progname; int options; - -#if NLS - setlocale (LC_MESSAGES, ""); - catfd = catopen ("nettools", MCLoadBySet); +#if I18N + bindtextdomain("net-tools", "/usr/share/locale"); + textdomain("net-tools"); #endif - getroute_init(); /* Set up AF routing support */ setroute_init(); afname[0] = '\0'; @@ -160,10 +151,8 @@ int main(int argc, char **argv) EINTERN("route.c","longopts 1 range"); break; } - if ((i = aftrans_opt(longopts[lop].name))) { - NLS_CATCLOSE(catfd) + if ((i = aftrans_opt(longopts[lop].name))) exit(i); - } break; case 'C': opt_fc |= FLAG_CACHE; @@ -172,10 +161,8 @@ int main(int argc, char **argv) opt_fc |= FLAG_FIB; break; case 'A': - if ((i = aftrans_opt(optarg))) { - NLS_CATCLOSE(catfd) + if ((i = aftrans_opt(optarg))) exit(i); - } break; case 'V': version(); @@ -227,6 +214,5 @@ int main(int argc, char **argv) if (i == E_OPTERR) usage(); - NLS_CATCLOSE(catfd) return (i); } @@ -5,6 +5,7 @@ #include "config.h" #include "sockets.h" +#include "intl.h" int skfd = -1; /* generic raw socket desc. */ #if HAVE_AFIPX @@ -92,6 +93,6 @@ int sockets_open(void) #endif /* We have no address families. */ - fprintf(stderr, "No usable address families found.\n"); + fprintf(stderr, _("No usable address families found.\n")); return -1; } diff --git a/statistics.c b/statistics.c index a1da5a2..b02cae7 100644 --- a/statistics.c +++ b/statistics.c @@ -1,9 +1,12 @@ /* Copyright '97 by Andi Kleen. Subject to the GPL. */ +/* 19980630 - i18n - Arnaldo Carvalho de Melo <acme@conectiva.com.br> */ #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "config.h" +#include "intl.h" /* #define WARN 1 */ @@ -32,86 +35,86 @@ static int indent[] = { 4, 4, 8, 8, 4 }; /* for each state */ char *titles[] = { /* for each state */ NULL, NULL, - "ICMP input histogram:", - "ICMP output histogram:", + N_("ICMP input histogram:"), + N_("ICMP output histogram:"), NULL }; /* XXX check against the snmp mib rfc. */ struct entry Iptab[] = { - { "Forwarding", "Forwarding is %s", i_forward|I_STATIC }, - { "DefaultTTL", "Default TTL is %d", number|I_STATIC }, - { "InReceives", "%d total packets received", number }, - { "InHdrErrors", "%d with invalid headers", number }, - { "InAddrErrors", "%d with invalid addresses", number }, - { "ForwDatagrams", "%d forwarded", number }, - { "InUnknownProtos", "%d with unknown protocol", number }, - { "InDiscards", "%d incoming packets discarded", number }, - { "InDelivers", "%d incoming packets delivered", number }, - { "OutRequests", "%d requests sent out", number }, /*?*/ - { "OutDiscards", "%d outgoing packets dropped", number }, - { "OutNoRoutes", "%d dropped because of missing route", number }, - { "ReasmTimeout", "%d fragments dropped after timeout", number }, - { "ReasmReqds", "%d reassemblies required", number }, /* ? */ - { "ReasmOKs", "%d packets reassembled ok", number }, - { "ReasmFails", "%d packet reassembles failed", number }, - { "FragOKs", "%d fragments received ok", number }, - { "FragFails", "%d fragments failed", number }, - { "FragCreates", "%d fragments created", number } + { N_("Forwarding"), N_("Forwarding is %s"), i_forward|I_STATIC }, + { N_("DefaultTTL"), N_("Default TTL is %d"), number|I_STATIC }, + { N_("InReceives"), N_("%d total packets received"), number }, + { N_("InHdrErrors"), N_("%d with invalid headers"), number }, + { N_("InAddrErrors"), N_("%d with invalid addresses"), number }, + { N_("ForwDatagrams"), N_("%d forwarded"), number }, + { N_("InUnknownProtos"), N_("%d with unknown protocol"), number }, + { N_("InDiscards"), N_("%d incoming packets discarded"), number }, + { N_("InDelivers"), N_("%d incoming packets delivered"), number }, + { N_("OutRequests"), N_("%d requests sent out"), number }, /*?*/ + { N_("OutDiscards"), N_("%d outgoing packets dropped"), number }, + { N_("OutNoRoutes"), N_("%d dropped because of missing route"), number }, + { N_("ReasmTimeout"), N_("%d fragments dropped after timeout"), number }, + { N_("ReasmReqds"), N_("%d reassemblies required"), number }, /* ? */ + { N_("ReasmOKs"), N_("%d packets reassembled ok"), number }, + { N_("ReasmFails"), N_("%d packet reassembles failed"), number }, + { N_("FragOKs"), N_("%d fragments received ok"), number }, + { N_("FragFails"), N_("%d fragments failed"), number }, + { N_("FragCreates"), N_("%d fragments created"), number } }; struct entry Icmptab[] = { - { "InMsgs", "%d ICMP messages received", number }, - { "InErrors", "%d input ICMP message failed.", number }, - { "InDestUnreachs", "destination unreachable: %d", i_inp_icmp|I_TITLE }, - { "InTimeExcds", "timeout in transit: %d", i_inp_icmp|I_TITLE }, - { "InParmProbs", "wrong parameters: %d", i_inp_icmp|I_TITLE }, /*?*/ - { "InSrcQuenchs", "source quenchs: %d", i_inp_icmp|I_TITLE }, - { "InRedirects", "redirects: %d", i_inp_icmp|I_TITLE }, - { "InEchos", "echo requests: %d", i_inp_icmp|I_TITLE }, - { "InEchoReps", "echo replies: %d", i_inp_icmp|I_TITLE }, - { "InTimestamps", "timestamp request: %d", i_inp_icmp|I_TITLE }, - { "InTimestampReps", "timestamp reply: %d", i_inp_icmp|I_TITLE }, - { "InAddrMasks", "address mask request: %d", i_inp_icmp|I_TITLE }, /*?*/ - { "InAddrMaskReps", "address mask replies", i_inp_icmp|I_TITLE }, /*?*/ - { "OutMsgs", "%d ICMP messages sent", number }, - { "OutErrors", "%d ICMP messages failed", number }, - { "OutDestUnreachs", "destination unreachable: %d", i_outp_icmp|I_TITLE }, - { "OutTimeExcds", "time exceeded: %d", i_outp_icmp|I_TITLE }, - { "OutParmProbs", "wrong parameters: %d", i_outp_icmp|I_TITLE }, /*?*/ - { "OutSrcQuenchs", "source quench: %d", i_outp_icmp|I_TITLE }, - { "OutRedirects", "redirect: %d", i_outp_icmp|I_TITLE }, - { "OutEchos", "echo request: %d", i_outp_icmp|I_TITLE }, - { "OutEchoReps", "echo replies: %d", i_outp_icmp|I_TITLE }, - { "OutTimestamps", "timestamp requests: %d", i_outp_icmp|I_TITLE }, - { "OutTimestampReps", "timestamp replies: %d", i_outp_icmp|I_TITLE }, - { "OutAddrMasks", "address mask requests: %d", i_outp_icmp|I_TITLE }, - { "OutAddrMaskReps", "address mask replies: %d", i_outp_icmp|I_TITLE }, + { N_("InMsgs"), N_("%d ICMP messages received"), number }, + { N_("InErrors"), N_("%d input ICMP message failed."), number }, + { N_("InDestUnreachs"), N_("destination unreachable: %d"), i_inp_icmp|I_TITLE }, + { N_("InTimeExcds"), N_("timeout in transit: %d"), i_inp_icmp|I_TITLE }, + { N_("InParmProbs"), N_("wrong parameters: %d"), i_inp_icmp|I_TITLE }, /*?*/ + { N_("InSrcQuenchs"), N_("source quenchs: %d"), i_inp_icmp|I_TITLE }, + { N_("InRedirects"), N_("redirects: %d"), i_inp_icmp|I_TITLE }, + { N_("InEchos"), N_("echo requests: %d"), i_inp_icmp|I_TITLE }, + { N_("InEchoReps"), N_("echo replies: %d"), i_inp_icmp|I_TITLE }, + { N_("InTimestamps"), N_("timestamp request: %d"), i_inp_icmp|I_TITLE }, + { N_("InTimestampReps"), N_("timestamp reply: %d"), i_inp_icmp|I_TITLE }, + { N_("InAddrMasks"), N_("address mask request: %d"), i_inp_icmp|I_TITLE }, /*?*/ + { N_("InAddrMaskReps"), N_("address mask replies"), i_inp_icmp|I_TITLE }, /*?*/ + { N_("OutMsgs"), N_("%d ICMP messages sent"), number }, + { N_("OutErrors"), N_("%d ICMP messages failed"), number }, + { N_("OutDestUnreachs"), N_("destination unreachable: %d"), i_outp_icmp|I_TITLE }, + { N_("OutTimeExcds"), N_("time exceeded: %d"), i_outp_icmp|I_TITLE }, + { N_("OutParmProbs"), N_("wrong parameters: %d"), i_outp_icmp|I_TITLE }, /*?*/ + { N_("OutSrcQuenchs"), N_("source quench: %d"), i_outp_icmp|I_TITLE }, + { N_("OutRedirects"), N_("redirect: %d"), i_outp_icmp|I_TITLE }, + { N_("OutEchos"), N_("echo request: %d"), i_outp_icmp|I_TITLE }, + { N_("OutEchoReps"), N_("echo replies: %d"), i_outp_icmp|I_TITLE }, + { N_("OutTimestamps"), N_("timestamp requests: %d"), i_outp_icmp|I_TITLE }, + { N_("OutTimestampReps"), N_("timestamp replies: %d"), i_outp_icmp|I_TITLE }, + { N_("OutAddrMasks"), N_("address mask requests: %d"), i_outp_icmp|I_TITLE }, + { N_("OutAddrMaskReps"), N_("address mask replies: %d"), i_outp_icmp|I_TITLE }, }; struct entry Tcptab[] = { - { "RtoAlgorithm", "RTO algorithm is %s", i_rto_alg|I_STATIC }, - { "RtoMin", "", number }, - { "RtoMax", "", number }, - { "MaxConn", "", number }, - { "ActiveOpens", "%d active opens", number }, - { "PassiveOpens", "%d passive opens", number }, - { "AttemptFails", "%d failed connection attempts", number }, - { "EstabResets", "%d connection resets received", number }, - { "CurrEstab", "%d connections established", number }, - { "InSegs", "%d segments received", number }, - { "OutSegs", "%d segments send out", number }, - { "RetransSegs", "%d segments retransmited", number }, - { "InErrs", "%d bad segments received.", number }, - { "OutRsts", "%d resets sent", number }, + { N_("RtoAlgorithm"), N_("RTO algorithm is %s"), i_rto_alg|I_STATIC }, + { N_("RtoMin"), "", number }, + { N_("RtoMax"), "", number }, + { N_("MaxConn"), "", number }, + { N_("ActiveOpens"), N_("%d active opens"), number }, + { N_("PassiveOpens"), N_("%d passive opens"), number }, + { N_("AttemptFails"), N_("%d failed connection attempts"), number }, + { N_("EstabResets"), N_("%d connection resets received"), number }, + { N_("CurrEstab"), N_("%d connections established"), number }, + { N_("InSegs"), N_("%d segments received"), number }, + { N_("OutSegs"), N_("%d segments send out"), number }, + { N_("RetransSegs"), N_("%d segments retransmited"), number }, + { N_("InErrs"), N_("%d bad segments received."), number }, + { N_("OutRsts"), N_("%d resets sent"), number }, }; struct entry Udptab[] = { - { "InDatagrams", "%d packets received", number }, - { "NoPorts", "%d packets to unknown port received.", number }, - { "InErrors", "%d packet receive errors", number }, - { "OutDatagrams", "%d packets send", number }, + { N_("InDatagrams"), N_("%d packets received"), number }, + { N_("NoPorts"), N_("%d packets to unknown port received."), number }, + { N_("InErrors"), N_("%d packet receive errors"), number }, + { N_("OutDatagrams"), N_("%d packets send"), number }, }; struct tabtab { @@ -153,7 +156,7 @@ void printval(struct tabtab *tab, char *title, int val) ent = bsearch(&key, tab->tab, tab->size/sizeof(struct entry), sizeof(struct entry), cmpentries); if (!ent) { /* try our best */ - printf("%*s%s: %d\n", indent[state], "", title, val); + printf("%*s%s: %d\n", indent[state], "", _(title), val); return; } type = ent->type; @@ -168,22 +171,22 @@ void printval(struct tabtab *tab, char *title, int val) if (type & I_TITLE) { type &= ~I_TITLE; if (state != type) - printf("%*s%s\n", indent[state], "", titles[type]); + printf("%*s%s\n", indent[state], "", _(titles[type])); } buf[0] = '\0'; switch (type) { case number: - sprintf(buf, ent->out, val); + sprintf(buf, _(ent->out), val); break; case i_forward: type = normal; - sprintf(buf, ent->out, val == 2 ? "enabled" : "disabled"); + sprintf(buf, _(ent->out), val == 2 ? _("enabled") : _("disabled")); break; case i_outp_icmp: case i_inp_icmp: if (val > 0) { - sprintf(buf,ent->out, val); + sprintf(buf,_(ent->out), val); } break; case i_rto_alg: /* XXXX */ @@ -203,7 +206,7 @@ struct tabtab *newtable(struct tabtab *tabs, char *title) for (t = tabs; t->title; t++) if (!strcmp(title, t->title)) { - printf("%s:\n", title); + printf("%s:\n", _(title)); state = normal; return t; } @@ -218,7 +221,7 @@ void parsesnmp() f = fopen("/proc/net/snmp", "r"); if (!f) { - perror("cannot open /proc/net/snmp"); + perror(_("cannot open /proc/net/snmp")); return; } while (fgets(buf1,sizeof buf1,f)) { @@ -233,7 +236,7 @@ void parsesnmp() *sp = '\0'; tab = newtable(snmptabs, buf1); if (tab == NULL) { - UFWARN((printf("unknown title %s\n", buf1))); + UFWARN((printf(_("unknown title %s\n"), buf1))); continue; } np++; sp++; @@ -259,7 +262,7 @@ void parsesnmp() return; formaterr: - perror("error parsing /proc/net/snmp"); + perror(_("error parsing /proc/net/snmp")); return; } |