Some random notes on KA9Q's NET.PRG on the Atari ST. (871225.1/4) 24-Apr-88 ----------------------------------------------------------------- 880221.2b this is the current Atari version of the 871225.4 release added 'type' command added netrom support from W9NK. Bugs: the (S)end command doesn't work. (This is one of the commands an AX.25 station can use when it connects.) 880221.1b added commands 'ping on/off' to enable/disable the sending of ECHO REPLY packets. Inter-ping time must be at least 5 minutes! 880221.1a most changes to the .1 version have been integrated into the .4 version (except as noted below). additional features of the .4 version on the Atari include: - ability to set the RS-232 receive buffer size (adapted from PE1CHL) - ability to set the MIDI baud rate The following is the version history of version 871225.1. Not everything has been incorporated in the .4 version (most notably the ability to send trace info to a printer with SHIFT F2.) Version history: 880113.9b corrected a bug in iproute.c (rt_add()), which caused an ip address with a bit mask to be evaluated incorrectly. This is probably due to the way Lattice C handles signed/unsigned long's. Example: "route add [44.130.20]/24 ..." appeared in "route" as "0.0.0.0 ax0 ..." 880113.9 implemented doshell(). syntax: "shell [program [argument]]". "shell" (or "!") without any arguments starts a default shell (dgulam.prg in this case). "shell " starts the program . "shell " starts with arguments . It is possible to send mail from within NET.PRG by giving the command "shell bm user@site.ampr". The environment variable PATH is used to find the program. Note that all network activity will cease as long as a shell program is running. When control is returned to NET.PRG, it will 'catch up' on the activity, which may take some time depending on channel activity and RS-232 buffer size. Note: some of the code that is used by doshell() in ST.C has been removed because I am not sure of the copyright status of that piece of code. 880113.8b outgoing AX.25 connects/disconnects are logged. memstat shows number of frames to be digipeated, even if digipeat is off (cf. the "digisent" cmd in a 1.1.4 tnc-2). bugs: the digisent counter cannot be reset to 0. 880113.8a added command "ax25 conok []". if conok is set to "off", the station is completely "invisible" to other AX.25 stations (no DM or UA frame is sent in response to an SABM frame!). only incoming connect requests are affected. TCP/IP sessions and outgoing AX.25 sessions are not affected. (at least they shouldn't) connect requests are logged even if conok is off. bugs: the user is *not* notified of a connect request while conok is off. every single SABM frame directed to the call in "mycall" is logged! that means, that if someone just won't give up connecting you, you may run out of disk space! 880113.8 incoming connect/disconnect requests are logged in the current logfile along with the remote stations callsign and the state of the conok flag (0=off, 1=on (default)). bugs: the digipeater path, if any, is not logged. 880113.7d added capability to send trace info to printer. shift F2 activates, F2 deactivates. bugs: udp packets are not sent to the printer. some ax25 is missing too. !!! Note: this is not included in the .4 version. [dg2kk.1b] !!! !!! I really didn't want to add "fprintf(stdprt,...)" in every !!! !!! *dump.c file again! !!! 880113.7b added flow control to ax25 and telnet sessions. incoming text is not displayed during keyboard input. (just like FLOW ON on a TNC-2) 880113.7a added timestamp to trace info 880113.7 trace screen. the F1 key is used to toggle between "normal" screen and trace screen. (Note: you must still activate tracing! ("trace ax0 111")) added "route thru" from MIDI to AUX: and vice versa on a byte by byte basis. syntax is: "attach asy x ..." x = 0 received bytes are not sent out on any interface (normal) x = 1 " " " sent out over the AUX: interface x = 3 " " " sent out over the MIDI interface Note: this retransmission is done *outside* of IP or TCP. ("attach asy AUX: 1 ax25 ..." doesn't work! intentionally!) 880113.5 added asy_ioctl, improved tmpfile() (now uses unique filenames), temp files are deleted on exit, changed a table caption in ax25cmd.c ---- The program was compiled with Lattice C version 3.04. ---- AUTOEXEC.NET is now called NET.RC and must reside in the root directory of the drive from where NET.PRG was started. ---- Other File/Pathnames are: - Outgoing mail is in \spool\outbound\ - Incoming mail is in \spool\inbound\ - Undeliverable jobs are in \spool\badjobs\ - SMTP Lockfile is \spool\outbound\nnn.lck (nnn = message number) - Temporary mailfile is \x#######.tmp (used for incoming mail only) - Temporary directory file is \x#######.tmp (used with ftp's "dir" command) ---- Ethernet, HAPN, PC100 and Eagle stuff is not supported at all! ---- Accepted MIDI baudrates are 7812 and 31250 baud (9600 and 38xxx with a hardware mod). !!NOT TESTED!! ---- Functions index, rindex are not available on the Lattice compiler. They are re #define'd in global.h. Functions memcmp and memchr don't work correctly in Lattice-C (bus error). Both are now in st.c. ---- The attach command has been changed: Instead of an interface address, an Atari devicename such as "AUX:" or "MIDI" (and even CON: !) is accepted. These must be in uppercase. The vector field can be used to make asy_recv resend bytes received on one interface (either AUX: or MIDI) on another interface (1=AUX:, 3=MIDI). ---- The ESCAPE or F10 key is used to get into command mode. ---- Added a printf("\007"); to "Connect" msg on outgoing ax25 connects. (ax25cmd.c) ---- BUGS: Oh, yes, bugs (just turn them into features by documenting them :-). There are a few: - asy_speed complains if an invalid baudrate is specified in the attach or param command, but 9600 baud are assumed anyway. ---- ----------------------------------------------------------------------------- Notes on BM.PRG Version 880113.8 10-mar-88 Version history: 880113.8 added code to enable sending of uucp mail. this is still a very simple hack. You must have some kind of rmail program. Also, the header uses the variables from the bm.rc file. That usually means that you have to change .ampr to .UUCP in the header while in the editor. 880113.7 added code to enable the ~e command (start editor) while writing mail. there is no need to specify a path in bm.rc if you have set the PATH environment variable. an extension (.ttp .tos .prg) is not needed either. 880113.6 added support to read uucp mailfiles (extension ".mai", separator "From uucp "). switch between smtp and uucp with the ". " command. no support to send uucp mail yet. 880113.5e if no subject is entered, "(no subject)" will be used. 880113.5d corrected a minor bug in bmutil.h which caused dates not to be displayed correctly if the day of month was <10 and prefixed with a "0" and not a space. (" 5" was ok but "05" wasn't) added capability to read uucp mailfiles. changes in header.* and bmutil.c Forwarded mail is not prefixed with a "|" anymore. ---- When sending mail, bm will look for files .hdr and .sig. .hdr files will be inserted in the outgoing mails header. .sig files are like .signature files. They are appended at the end of your message. These files must be in \spool\outbound\. ---- Improved(?) reply function: the header contains a line "In-Reply-To: " Also, the whole(!!) message you are replying to is inserted at the beginning of your reply, preceeded by the line "In message you write:" ---- ----------------------------------------------------------------------------- Please send ideas, suggestions, questions, problems and solutions to: UUCP: ...!{uunet,mcvax}!unido!rmi!dg2kk!dg2kk or: ...!sun!portal!cup.portal.com!dg2kk (from the US) Bitnet: dg2kk%dg2kk.uucp@unido.BITNET GeoNet: IFX1:W.DOERR DASnet: [DCFIX1]W.DOERR or: ...!sun!daslink!dasnet!dcfix1!w.doerr (may or may not work...) Telex: +51 933524 geonet g First textline: box:ifx1:w.doerr Ttx: (2627) 2414024 BOX First textline: box:rmi:hikaru FAX: +49 2421 10544 (G3) Snail: Steinmaar 45, D-5160 Dueren, West Germany (Please *DO NOT* send long messages to the UUCP or Bitnet address above! I have to pay for incoming mail!) Have fun! Walter, DG2KK