TIP: Click on subject to list as thread! ANSI
echo: linux
to: MARK LEWIS
from: MAURICE KINAL
date: 2016-11-13 19:15:00
subject: two steps back

-={ 2016-11-13 14:15:14.193704116-05:00 }=-

Hey mark!

 ml> unless i'm mistaken, HPT recognises all three Type 2 PKT formats...

Here is the EXACT routine I use here to generate 2.2 headers and it should be
noted was used for the original areafix that originated from here to turn on
echos not too long ago;

---------- ye olde gpm cut n' paste starts
# generate Type 2.2 pktHeader
echo
"$origNode,$destNode,$origPoint,$destPoint,,2,2,$origNet,$destNet,255,0,,$origZ
one,$destZone,fidonet,fidonet,0" | \
  perl -e 'while(){@myarray = split(",", $_);};\
           print pack("S4a8S4C2a8S2a8a8I", @myarray);' > $OUTPKT
---------- ye olde gpm cut n' paste ends

Sorry about the long line above but hopefully your viewer is capable of
handling it properly unlike the usual DOS-think crippleware still being
deployed in Fidonet.  :::evil grin:::

I forget which document I gleamed it from but it wasn't too long ago and it was
the latest version at the time.  Up to now it works just fine with every node I
tested it with.

Life is good,
Maurice

... Ne mæg non mon nænne cræft forþbringan butan wisdom.
    No one can accomplish any skill without wisdom.
--- GNU bash, version 4.4.0(1)-release (x86_64-atom-linux-gnu)
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001.0)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.