From e62afa7359d9734e57a843beac68cea138fd19cc Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 11 Dec 2011 23:00:10 +0000 Subject: Apply program name transformations also to remaining man page content. The config files are unaffected; if you need to resolve a name conflict for the config files, use --sysconfdir=/etc and --localstatedir=/var. --- ax25ipd/Makefile.am | 20 +++++ ax25ipd/ax25ipd.8 | 80 ------------------ ax25ipd/ax25ipd.conf.5 | 205 --------------------------------------------- ax25ipd/ax25ipd.conf.man | 205 +++++++++++++++++++++++++++++++++++++++++++++ ax25ipd/ax25ipd.man | 80 ++++++++++++++++++ ax25mond/Makefile.am | 20 +++++ ax25mond/ax25mond.8 | 19 ----- ax25mond/ax25mond.conf.5 | 30 ------- ax25mond/ax25mond.conf.man | 30 +++++++ ax25mond/ax25mond.man | 19 +++++ ax25rtd/Makefile.am | 48 +++++++++++ ax25rtd/ax25rtctl.8 | 76 ----------------- ax25rtd/ax25rtctl.man | 76 +++++++++++++++++ ax25rtd/ax25rtd.8 | 45 ---------- ax25rtd/ax25rtd.conf.5 | 144 ------------------------------- ax25rtd/ax25rtd.conf.man | 144 +++++++++++++++++++++++++++++++ ax25rtd/ax25rtd.man | 45 ++++++++++ 17 files changed, 687 insertions(+), 599 deletions(-) delete mode 100644 ax25ipd/ax25ipd.8 delete mode 100644 ax25ipd/ax25ipd.conf.5 create mode 100644 ax25ipd/ax25ipd.conf.man create mode 100644 ax25ipd/ax25ipd.man delete mode 100644 ax25mond/ax25mond.8 delete mode 100644 ax25mond/ax25mond.conf.5 create mode 100644 ax25mond/ax25mond.conf.man create mode 100644 ax25mond/ax25mond.man delete mode 100644 ax25rtd/ax25rtctl.8 create mode 100644 ax25rtd/ax25rtctl.man delete mode 100644 ax25rtd/ax25rtd.8 delete mode 100644 ax25rtd/ax25rtd.conf.5 create mode 100644 ax25rtd/ax25rtd.conf.man create mode 100644 ax25rtd/ax25rtd.man diff --git a/ax25ipd/Makefile.am b/ax25ipd/Makefile.am index 39ef22f..d544855 100644 --- a/ax25ipd/Makefile.am +++ b/ax25ipd/Makefile.am @@ -5,6 +5,26 @@ man_MANS = ax25ipd.8 ax25ipd.conf.5 EXTRA_DIST = $(man_MANS) $(etcfiles) $(doc_DATA) +ax25ipd.8: ax25ipd.man + name_ax25ipd=$$(echo ax25ipd | sed -e '$(transform)') \ + name_Ax25ipd=$$(echo $$name_ax25ipd | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25IPD=$$(echo $$name_ax25ipd | sed -r 's@^(.*)@\U\1\E@') && \ + sed -e "s/@@@ax25ipd@@@/$$name_ax25ipd/g" \ + -e "s/@@@Ax25ipd@@@/$$name_Ax25ipd/g" \ + -e "s/@@@AX25IPD@@@/$$name_AX25IPD/g" \ + ax25ipd.man > ax25ipd.1.tmp && \ + mv ax25ipd.1.tmp ax25ipd.1; + +ax25ipd.conf.5: ax25ipd.conf.man + name_ax25ipd=$$(echo ax25ipd | sed -e '$(transform)') \ + name_Ax25ipd=$$(echo $$name_ax25ipd | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25IPD=$$(echo $$name_ax25ipd | sed -r 's@^(.*)@\U\1\E@') && \ + sed -e "s/@@@ax25ipd@@@/$$name_ax25ipd/g" \ + -e "s/@@@Ax25ipd@@@/$$name_Ax25ipd/g" \ + -e "s/@@@AX25IPD@@@/$$name_AX25IPD/g" \ + ax25ipd.conf.man > ax25ipd.conf.5.tmp && \ + mv ax25ipd.conf.5.tmp ax25ipd.conf.5; + docdir = ${datadir}/doc/ax25-apps doc_DATA = README.ax25ipd HISTORY.ax25ipd COPYING.ax25ipd diff --git a/ax25ipd/ax25ipd.8 b/ax25ipd/ax25ipd.8 deleted file mode 100644 index e84762c..0000000 --- a/ax25ipd/ax25ipd.8 +++ /dev/null @@ -1,80 +0,0 @@ -.TH AX25IPD 1 "12 September 2001" Linux "Linux Programmer's Manual" -.SH NAME -ax25ipd \- AX.25 into IP Encapsulator -.SH SYNOPSIS -.B ax25ipd [options] -.SH DESCRIPTION -.LP -.B ax25ipd -is an RFC1226 compliant daemon capable of providing the encapsualtion -neccessary to send and receive AX.25 traffic across an IP transport. -.LP -Normally invoked as part of the boot order network initialisation, -.B ax25ipd -is capable of talking directly to a serial port connected tnc, or over -a pipe to a linux AX.25 port. KAM DE Dual Port Kiss is also supported. -.LP -.B ax25ipd -can be run as a pure encapsulator, or as a digital repeater with a -functional callsign. Destination IP addresses are determined from a -hardcoded map of callsign/IP Address pairs. -.LP -.B ax25ipd -defaults to using -.B /etc/ax25/ax25ipd.conf -as its config file. -.LP -.SH OPTIONS -.TP 10 -.BI \-v,--version -Display the version. -.TP 10 -.BI \-h,--help -Display a summary of the command line options. -.TP 10 -.BI \-l,--loglevel NUM -Set the logging level to NUM. -.TP 10 -.BI \-c,--configfile FILE -Use the configuration file named by FILE instead of the default. -.TP 10 -.BI \-d,--ttydevice TTYDEV -Use ttydevice instead of the configured. This is useful because on systems -with unix98 PTYs the device is allocated dynamicaly and thus the name is -not predictable. -.TP 10 -.BI \-f,--nofork -Do not become a daemon. Run in foreground. -.SH FILES -/etc/ax25/ax25ipd.conf -.SH "SEE ALSO" -.BR ax25ipd.conf (5), -.BR beacon (1), -.BR ax25 (4), -.BR netrom (4), -.BR rose (4), -.BR kissattach (8). -.LP -.SH BUGS -Routing needs to be looked at seriously, the method of routing is a real -hack, and improvements to it have only added to the hack. -.LP -Logging needs to be properly implemented. -.LP -Command line parsing needs to be properly implemented. -.LP -.B ax25ipd -should be part of the Linux AX.25 kernel support probably :-) -.SH AUTHORS -.nf -Michael Westerhof -.br -Michael Durrant VE3PNX -.br -D. Jeff Dionne VE3DJF -.br -Rob Mayfield VK5XXX/VK5ZEU -.br -Terry Dawson VK2KTJ -.br -.fi diff --git a/ax25ipd/ax25ipd.conf.5 b/ax25ipd/ax25ipd.conf.5 deleted file mode 100644 index cc142c9..0000000 --- a/ax25ipd/ax25ipd.conf.5 +++ /dev/null @@ -1,205 +0,0 @@ -.TH AX25IPD.CONF 5 "7 July 1997" Linux "Linux Programmer's Manual" -.SH NAME -ax25ipd.conf \- Control the operation of ax25ipd. -.SH DESCRIPTION -.LP -The -.B ax25ipd.conf -file controls the operation of the ax25ipd(8) program. The operation of the -config file can best be seen in an example: -.LP -# -.br -# ax25ipd configuration file for station floyd.vk5xxx.ampr.org -.br -# -.br -# Select axip transport. 'ip' is what you want for compatibility -.br -# with most other gates ... -.br -# -.br -socket ip -.br -# -.br -# Set ax25ipd mode of operation. (digi or tnc) -.br -# -.br -mode tnc -.br -# -.br -# If you selected digi, you must define a callsign. If you selected -.br -# tnc mode, the callsign is currently optional, but this may change -.br -# in the future! (2 calls if using dual port kiss) -.br -# -.br -# mycall vk5xxx-4 -.br -# mycall2 vk5xxx-5 -.br -# -.br -# In digi mode, you may use an alias. (2 for dual port) -.br -# -.br -# myalias svwdns -.br -# myalias2 svwdn2 -.br -# -.br -# Send an ident every 540 seconds ... -.br -# -.br -# beacon after 540 -.br -# btext ax25ip -- tncmode rob/vk5xxx -- Experimental AXIP gateway -.br -# -.br -# Serial port, ethertap interface, or pipe connected to a kissattach in my case -.br -# alternatively, if you have the kernel module bpqether: -.br -# if you use tun/tap or ethertap instead of kissattach you may say, without -.br -# leading slashes (!! - that's how ax25ipd consideres using the tty kiss -.br -# driver or tun/tap or ethertap): -.br -# with tun/tap: -.br -# device foobar -.br -# with ethertap (obsolete): -.br -# device tap0 -.br -# make sure you set a mycall above, or say axparms foobar -setcall te1st -.br -# note: the device will be up when you assign an ip address -.br -# _after_ starting ax25rtd (which initializes the device), start ax25d -.br -# with bpqether or pty, you do not need to care about the speed -.br -# tun/tap: as descriped in /usr/src/linux/Documentatioa/networking/tuntap.txt, -.br -# make a device # like this: -.br -# crw-r--r-- 1 root root 10, 200 Nov 26 13:32 tun -.br -# with the command mknod /dev/net/tun c 10 200 -.br -# As serial port, you could assign physical ports like ttyS0 or ptys. -.br -# ax25ipd supports BSD-style pseudo-terminals as well as the Unix98 pty's. -.br -# If the tty argument is "/dev/ptmx", then Unix98 behaviour -.br -# will automaticaly take effekt. With Unix98 pty's, the slave tty name -.br -# could not be forseen. That's why ax25ipd will print the corresponding -.br -# slave pty name as a separate line on stdout. -.br -# -.br -#device ampr -.br -device /dev/ttyp0 -.br -# -.br -# Set the device speed -.br -# -.br -speed 9600 -.br -# -.br -# loglevel 0 - no output -.br -# loglevel 1 - config info only -.br -# loglevel 2 - major events and errors -.br -# loglevel 3 - major events, errors, and AX25 frame trace -.br -# loglevel 4 - all events -.br -# log 0 for the moment, syslog not working yet ... -.br -# -.br -loglevel 4 -.br -# -.br -# If we are in digi mode, we might have a real tnc here, so use param to -.br -# set the tnc parameters ... -.br -# -.br -# param 1 20 -.br -# -.br -# Broadcast Address definition. Any of the addresses listed will be forwarded -.br -# to any of the routes flagged as broadcast capable routes. -.br -# -.br -broadcast QST-0 NODES-0 -.br -# -.br -# ax.25 route definition, define as many as you need. -.br -# format is route (call/wildcard) (ip host at destination) -.br -# ssid of 0 routes all ssid's -.br -# -.br -# route [flags] -.br -# -.br -# Valid flags are: -.br -# b - allow broadcasts to be transmitted via this route -.br -# d - this route is the default route -.br -# -.br -route vk2sut-0 44.136.8.68 b -.br -route vk5asf 44.136.188.221 b -.br -route vk2abc 44.1.1.1 d -.br -# -.br -# -.br -.LP -More to come ... -.SH FILES -.LP -/etc/ax25/ax25ipd.conf -.SH "SEE ALSO" -.BR ax25ipd (8). diff --git a/ax25ipd/ax25ipd.conf.man b/ax25ipd/ax25ipd.conf.man new file mode 100644 index 0000000..8586057 --- /dev/null +++ b/ax25ipd/ax25ipd.conf.man @@ -0,0 +1,205 @@ +.TH AX25IPD.CONF 5 "7 July 1997" Linux "Linux Programmer's Manual" +.SH NAME +ax25ipd.conf \- Control the operation of @@@ax25ipd@@@. +.SH DESCRIPTION +.LP +The +.B ax25ipd.conf +file controls the operation of the @@@ax25ipd@@@(8) program. The operation of the +config file can best be seen in an example: +.LP +# +.br +# @@@ax25ipd@@@ configuration file for station floyd.vk5xxx.ampr.org +.br +# +.br +# Select axip transport. 'ip' is what you want for compatibility +.br +# with most other gates ... +.br +# +.br +socket ip +.br +# +.br +# Set @@@ax25ipd@@@ mode of operation. (digi or tnc) +.br +# +.br +mode tnc +.br +# +.br +# If you selected digi, you must define a callsign. If you selected +.br +# tnc mode, the callsign is currently optional, but this may change +.br +# in the future! (2 calls if using dual port kiss) +.br +# +.br +# mycall vk5xxx-4 +.br +# mycall2 vk5xxx-5 +.br +# +.br +# In digi mode, you may use an alias. (2 for dual port) +.br +# +.br +# myalias svwdns +.br +# myalias2 svwdn2 +.br +# +.br +# Send an ident every 540 seconds ... +.br +# +.br +# beacon after 540 +.br +# btext ax25ip -- tncmode rob/vk5xxx -- Experimental AXIP gateway +.br +# +.br +# Serial port, ethertap interface, or pipe connected to a kissattach in my case +.br +# alternatively, if you have the kernel module bpqether: +.br +# if you use tun/tap or ethertap instead of kissattach you may say, without +.br +# leading slashes (!! - that's how @@@ax25ipd@@@ consideres using the tty kiss +.br +# driver or tun/tap or ethertap): +.br +# with tun/tap: +.br +# device foobar +.br +# with ethertap (obsolete): +.br +# device tap0 +.br +# make sure you set a mycall above, or say axparms foobar -setcall te1st +.br +# note: the device will be up when you assign an ip address +.br +# _after_ starting ax25rtd (which initializes the device), start ax25d +.br +# with bpqether or pty, you do not need to care about the speed +.br +# tun/tap: as descriped in /usr/src/linux/Documentatioa/networking/tuntap.txt, +.br +# make a device # like this: +.br +# crw-r--r-- 1 root root 10, 200 Nov 26 13:32 tun +.br +# with the command mknod /dev/net/tun c 10 200 +.br +# As serial port, you could assign physical ports like ttyS0 or ptys. +.br +# @@@ax25ipd@@@ supports BSD-style pseudo-terminals as well as the Unix98 pty's. +.br +# If the tty argument is "/dev/ptmx", then Unix98 behaviour +.br +# will automaticaly take effekt. With Unix98 pty's, the slave tty name +.br +# could not be forseen. That's why @@@ax25ipd@@@ will print the corresponding +.br +# slave pty name as a separate line on stdout. +.br +# +.br +#device ampr +.br +device /dev/ttyp0 +.br +# +.br +# Set the device speed +.br +# +.br +speed 9600 +.br +# +.br +# loglevel 0 - no output +.br +# loglevel 1 - config info only +.br +# loglevel 2 - major events and errors +.br +# loglevel 3 - major events, errors, and AX25 frame trace +.br +# loglevel 4 - all events +.br +# log 0 for the moment, syslog not working yet ... +.br +# +.br +loglevel 4 +.br +# +.br +# If we are in digi mode, we might have a real tnc here, so use param to +.br +# set the tnc parameters ... +.br +# +.br +# param 1 20 +.br +# +.br +# Broadcast Address definition. Any of the addresses listed will be forwarded +.br +# to any of the routes flagged as broadcast capable routes. +.br +# +.br +broadcast QST-0 NODES-0 +.br +# +.br +# ax.25 route definition, define as many as you need. +.br +# format is route (call/wildcard) (ip host at destination) +.br +# ssid of 0 routes all ssid's +.br +# +.br +# route [flags] +.br +# +.br +# Valid flags are: +.br +# b - allow broadcasts to be transmitted via this route +.br +# d - this route is the default route +.br +# +.br +route vk2sut-0 44.136.8.68 b +.br +route vk5asf 44.136.188.221 b +.br +route vk2abc 44.1.1.1 d +.br +# +.br +# +.br +.LP +More to come ... +.SH FILES +.LP +/etc/ax25/ax25ipd.conf +.SH "SEE ALSO" +.BR @@@ax25ipd@@@ (8). diff --git a/ax25ipd/ax25ipd.man b/ax25ipd/ax25ipd.man new file mode 100644 index 0000000..8fc7cf6 --- /dev/null +++ b/ax25ipd/ax25ipd.man @@ -0,0 +1,80 @@ +.TH @@@AX25IPD@@@ 1 "12 September 2001" Linux "Linux Programmer's Manual" +.SH NAME +@@@ax25ipd@@@ \- AX.25 into IP Encapsulator +.SH SYNOPSIS +.B @@@ax25ipd@@@ [options] +.SH DESCRIPTION +.LP +.B @@@ax25ipd@@@ +is an RFC1226 compliant daemon capable of providing the encapsualtion +neccessary to send and receive AX.25 traffic across an IP transport. +.LP +Normally invoked as part of the boot order network initialisation, +.B @@@ax25ipd@@@ +is capable of talking directly to a serial port connected tnc, or over +a pipe to a linux AX.25 port. KAM DE Dual Port Kiss is also supported. +.LP +.B @@@ax25ipd@@@ +can be run as a pure encapsulator, or as a digital repeater with a +functional callsign. Destination IP addresses are determined from a +hardcoded map of callsign/IP Address pairs. +.LP +.B @@@ax25ipd@@@ +defaults to using +.B /etc/ax25/ax25ipd.conf +as its config file. +.LP +.SH OPTIONS +.TP 10 +.BI \-v,--version +Display the version. +.TP 10 +.BI \-h,--help +Display a summary of the command line options. +.TP 10 +.BI \-l,--loglevel NUM +Set the logging level to NUM. +.TP 10 +.BI \-c,--configfile FILE +Use the configuration file named by FILE instead of the default. +.TP 10 +.BI \-d,--ttydevice TTYDEV +Use ttydevice instead of the configured. This is useful because on systems +with unix98 PTYs the device is allocated dynamicaly and thus the name is +not predictable. +.TP 10 +.BI \-f,--nofork +Do not become a daemon. Run in foreground. +.SH FILES +/etc/ax25/ax25ipd.conf +.SH "SEE ALSO" +.BR ax25ipd.conf (5), +.BR beacon (1), +.BR ax25 (4), +.BR netrom (4), +.BR rose (4), +.BR kissattach (8). +.LP +.SH BUGS +Routing needs to be looked at seriously, the method of routing is a real +hack, and improvements to it have only added to the hack. +.LP +Logging needs to be properly implemented. +.LP +Command line parsing needs to be properly implemented. +.LP +.B @@@ax25ipd@@@ +should be part of the Linux AX.25 kernel support probably :-) +.SH AUTHORS +.nf +Michael Westerhof +.br +Michael Durrant VE3PNX +.br +D. Jeff Dionne VE3DJF +.br +Rob Mayfield VK5XXX/VK5ZEU +.br +Terry Dawson VK2KTJ +.br +.fi diff --git a/ax25mond/Makefile.am b/ax25mond/Makefile.am index 6499f30..af5e061 100644 --- a/ax25mond/Makefile.am +++ b/ax25mond/Makefile.am @@ -5,6 +5,26 @@ man_MANS = ax25mond.8 ax25mond.conf.5 EXTRA_DIST = $(man_MANS) $(etcfiles) +ax25mond.8: ax25mond.man + name_ax25mond=$$(echo call | sed -e '$(transform)') \ + name_Ax25mond=$$(echo $$name_ax25mond | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25MOND=$$(echo $$name_ax25mond | sed -r 's@^(.*)@\U\1\E@') && \ + sed -e "s/@@@ax25mond@@@/$$name_ax25mond/g" \ + -e "s/@@@Ax25mond@@@/$$name_Ax25mond/g" \ + -e "s/@@@AX25MOND@@@/$$name_AX25MOND/g" \ + ax25mond.man > ax25mond.1.tmp && \ + mv ax25mond.1.tmp ax25mond.1; + +ax25mond.conf.5: ax25mond.conf.man + name_ax25mond=$$(echo call | sed -e '$(transform)') \ + name_Ax25mond=$$(echo $$name_ax25mond | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25MOND=$$(echo $$name_ax25mond | sed -r 's@^(.*)@\U\1\E@') && \ + sed -e "s/@@@ax25mond@@@/$$name_ax25mond/g" \ + -e "s/@@@Ax25mond@@@/$$name_Ax25mond/g" \ + -e "s/@@@AX25MOND@@@/$$name_AX25MOND/g" \ + ax25mond.conf.man > ax25mond.conf.5.tmp && \ + mv ax25mond.conf.5.tmp ax25mond.conf.5; + ax25mond_LDADD = $(AX25_LIB) ax25mond_SOURCES = \ diff --git a/ax25mond/ax25mond.8 b/ax25mond/ax25mond.8 deleted file mode 100644 index 2ee9629..0000000 --- a/ax25mond/ax25mond.8 +++ /dev/null @@ -1,19 +0,0 @@ -.TH AX25MOND 8 "30 January 1999" Linux "Linux System Managers Manual" -.SH NAME -ax25mond \- dump the AX.25 network traffic and and provide sockets -where the received data will be retransmitted -.SH SYNOPSIS -.B ax25mond [-v|--version] -.SH DESCRIPTION -.LP -.B Ax25mond -will first read it's configuration file /etc/ax25/ax25mond.conf. It will -then wait for connects on the sockets specified in this file. When -connected, it will transmit all data which it has received on the AX.25 -monitor socket. -.SH OPTIONS -.TP 15 -.BI "\-v, \-\-version" -Displays the version number and some copyright information. -.SH AUTHOR -Johann Hanne, DH3MB diff --git a/ax25mond/ax25mond.conf.5 b/ax25mond/ax25mond.conf.5 deleted file mode 100644 index 66d343e..0000000 --- a/ax25mond/ax25mond.conf.5 +++ /dev/null @@ -1,30 +0,0 @@ -.TH AX25MOND.CONF 5 "30 January 1999" Linux "Linux Programmer's Manual" -.SH NAME -ax25mond.conf \- Specify the sockets which ax25mond will provide. -.SH DESCRIPTION -.LP -The -.B ax25mond.conf -file specifies the internet- and unix-sockets which ax25mond(8) -will provide. Example: -.LP -# Create an internet socket on port 1234 where all the -.br -# AX.25 traffic will be transmitted -.br -rxtx *:1234 -.br -# Create an unix socket where only the received AX.25 -.br -# traffic will be transmitted -.br -rx unix:/var/spool/ax25/monitor -.br -.LP -You may specify up to 5 sockets (definable in ax25mond.c) and ax25mond -will accept up to 50 connects (also definable in ax25mond.c). -.SH FILES -.LP -/etc/ax25/ax25mond.conf -.SH "SEE ALSO" -.BR ax25mond (8). diff --git a/ax25mond/ax25mond.conf.man b/ax25mond/ax25mond.conf.man new file mode 100644 index 0000000..cc8a827 --- /dev/null +++ b/ax25mond/ax25mond.conf.man @@ -0,0 +1,30 @@ +.TH AX25MOND.CONF 5 "30 January 1999" Linux "Linux Programmer's Manual" +.SH NAME +ax25mond.conf \- Specify the sockets which @@@ax25mond@@@ will provide. +.SH DESCRIPTION +.LP +The +.B ax25mond.conf +file specifies the internet- and unix-sockets which @@@ax25mond@@@(8) +will provide. Example: +.LP +# Create an internet socket on port 1234 where all the +.br +# AX.25 traffic will be transmitted +.br +rxtx *:1234 +.br +# Create an unix socket where only the received AX.25 +.br +# traffic will be transmitted +.br +rx unix:/var/spool/ax25/monitor +.br +.LP +You may specify up to 5 sockets (definable in ax25mond.c) and @@@ax25mond@@@ +will accept up to 50 connects (also definable in ax25mond.c). +.SH FILES +.LP +/etc/ax25/ax25mond.conf +.SH "SEE ALSO" +.BR @@@ax25mond@@@ (8). diff --git a/ax25mond/ax25mond.man b/ax25mond/ax25mond.man new file mode 100644 index 0000000..f62ae83 --- /dev/null +++ b/ax25mond/ax25mond.man @@ -0,0 +1,19 @@ +.TH @@@AX25MOND@@@ 8 "30 January 1999" Linux "Linux System Managers Manual" +.SH NAME +@@@ax25mond@@@ \- dump the AX.25 network traffic and and provide sockets +where the received data will be retransmitted +.SH SYNOPSIS +.B @@@ax25mond@@@ [-v|--version] +.SH DESCRIPTION +.LP +.B Ax25mond +will first read it's configuration file /etc/ax25/ax25mond.conf. It will +then wait for connects on the sockets specified in this file. When +connected, it will transmit all data which it has received on the AX.25 +monitor socket. +.SH OPTIONS +.TP 15 +.BI "\-v, \-\-version" +Displays the version number and some copyright information. +.SH AUTHOR +Johann Hanne, DH3MB diff --git a/ax25rtd/Makefile.am b/ax25rtd/Makefile.am index ed08cca..05fa820 100644 --- a/ax25rtd/Makefile.am +++ b/ax25rtd/Makefile.am @@ -4,6 +4,54 @@ varfiles = ax25_route ip_route man_MANS = ax25rtd.8 ax25rtctl.8 ax25rtd.conf.5 +ax25rtd.8: ax25rtd.man + name_ax25rtd=$$(echo ax25rtd | sed -e '$(transform)') \ + name_Ax25rtd=$$(echo $$name_ax25rtd | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25RTD=$$(echo $$name_ax25rtd | sed -r 's@^(.*)@\U\1\E@') && \ + name_ax25rtctl=$$(echo ax25rtctl | sed -e '$(transform)') && \ + name_Ax25rtctl=$$(echo $$name_ax25rtctl | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25RTCTL=$$(echo $$name_ax25rtctl | sed -r 's@^(.*)@\U\1\E@') && \ + sed -e "s/@@@ax25rtd@@@/$$name_ax25rtd/g" \ + -e "s/@@@Ax25rtd@@@/$$name_Ax25rtd/g" \ + -e "s/@@@AX25RTD@@@/$$name_AX25RTD/g" \ + -e "s/@@@ax25rtctl@@@/$$name_ax25rtctl/g" \ + -e "s/@@@Ax25rtctl@@@/$$name_Ax25rtctl/g" \ + -e "s/@@@AX25RTCTL@@@/$$name_AX25RTCTL/g" \ + ax25rtd.man > ax25rtd.1.tmp && \ + mv ax25rtd.1.tmp ax25rtd.1; + +ax25rtctl.8: ax25rtctl.man + name_ax25rtd=$$(echo ax25rtd | sed -e '$(transform)') \ + name_Ax25rtd=$$(echo $$name_ax25rtd | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25RTD=$$(echo $$name_ax25rtd | sed -r 's@^(.*)@\U\1\E@') && \ + name_ax25rtctl=$$(echo ax25rtctl | sed -e '$(transform)') && \ + name_Ax25rtctl=$$(echo $$name_ax25rtctl | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25RTCTL=$$(echo $$name_ax25rtctl | sed -r 's@^(.*)@\U\1\E@') && \ + sed -e "s/@@@ax25rtd@@@/$$name_ax25rtd/g" \ + -e "s/@@@Ax25rtd@@@/$$name_Ax25rtd/g" \ + -e "s/@@@AX25RTD@@@/$$name_AX25RTD/g" \ + -e "s/@@@ax25rtctl@@@/$$name_ax25rtctl/g" \ + -e "s/@@@Ax25rtctl@@@/$$name_Ax25rtctl/g" \ + -e "s/@@@AX25RTCTL@@@/$$name_AX25RTCTL/g" \ + ax25rtctl.man > ax25rtctl.1.tmp && \ + mv ax25rtctl.1.tmp ax25rtctl.1; + +ax25rtd.conf.5: ax25rtd.conf.man + name_ax25rtd=$$(echo ax25rtd | sed -e '$(transform)') \ + name_Ax25rtd=$$(echo $$name_ax25rtd | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25RTD=$$(echo $$name_ax25rtd | sed -r 's@^(.*)@\U\1\E@') && \ + name_ax25rtctl=$$(echo ax25rtctl | sed -e '$(transform)') && \ + name_Ax25rtctl=$$(echo $$name_ax25rtctl | sed -r 's@^(.)@\U\1\E@') && \ + name_AX25RTCTL=$$(echo $$name_ax25rtctl | sed -r 's@^(.*)@\U\1\E@') && \ + sed -e "s/@@@ax25rtd@@@/$$name_ax25rtd/g" \ + -e "s/@@@Ax25rtd@@@/$$name_Ax25rtd/g" \ + -e "s/@@@AX25RTD@@@/$$name_AX25RTD/g" \ + -e "s/@@@ax25rtctl@@@/$$name_ax25rtctl/g" \ + -e "s/@@@Ax25rtctl@@@/$$name_Ax25rtctl/g" \ + -e "s/@@@AX25RTCTL@@@/$$name_AX25RTCTL/g" \ + ax25rtd.conf.man > ax25rtd.conf.5.tmp && \ + mv ax25rtd.conf.5.tmp ax25rtd.conf.5; + installconf: $(mkinstalldirs) $(DESTDIR)$(AX25_SYSCONFDIR) @list='$(etcfiles)'; for p in $$list; do \ diff --git a/ax25rtd/ax25rtctl.8 b/ax25rtd/ax25rtctl.8 deleted file mode 100644 index 9fcbc06..0000000 --- a/ax25rtd/ax25rtctl.8 +++ /dev/null @@ -1,76 +0,0 @@ -.TH AX25RTCTL 8 "11 November 2003" Linux "Linux Programmer's Manual" -.SH NAME -ax25rtctl \- AX.25 routing control program -.SH SYNOPSIS -.B ax25rtctl [options] -.SH DESCRIPTION -.LP -.B ax25rtctl -is a program to control ax25rtd. There are several options: -.TP -.B -a, --add ax25