Adding forms, text based message forms

33 views
Skip to first unread message

Ole Saastad

unread,
Dec 8, 2024, 3:37:47 PM12/8/24
to pat-users
I struggle to add forms. During the last Fall exercise I needed to add two extra forms from the exercise management (the check in and out messages works fine as they are part of the standard package). 

However, while I can just add the two files (WL2K@*_Melding_Skjema__v14_.txt and WL2K@*_Melding_Skjema__v14_.txt, callsign in file name withheld) to the global forms directory with Winlink Express (under wine: .wine/drive_c/RMS\ Express/Global\ Folders/Templates/) it was no so easy with pat. Just adding them to the directory .local/share/pat/Standard_Forms, in different directories or in one of the existing ones. It seems that pat do not rehash the directory. It does not seem to 

So the question stand, how do I add these text forms to the selection of templates?

Info : 
Raspbian GNU/Linux 11 (bullseye),
Pat v0.16.0 (823b991) linux/arm - go1.22.2,
Standard_Forms_Version.dat  yield 1.1.3.0.

73,
LB4PJ / Ole

Dominic Reich

unread,
Dec 9, 2024, 2:24:50 PM12/9/24
to pat-...@googlegroups.com, Ole Saastad
I think there is nothing wrong with how you add those forms, I did that
the same and it worked fine.

I created a subfolder 'WLNET-OE' and put all the files into that
directory. I then can select them in the browser.

#v+
~/.local/share/pat/Standard_Forms
❯ lld --tree
drwxr-xr-x dominic 616 B  .
drwxr-xr-x dominic 744 B ├──  WLNET-OE
.rw-r--r-- dominic 44 KB │ ├──  'GPS Position Report GER.html'
.rw-r--r-- dominic 205 B │ ├──  'GPS Position Report GER.txt'
.rw-r--r-- dominic 1.1 KB │ ├──  'Pegelstand Report.txt'
.rw-r--r-- dominic 52 KB │ ├──  'Pegelstand Report Initial.html'
.rw-r--r-- dominic 16 KB │ ├──  Radiogramm_INPUT.html
.rw-r--r-- dominic 607 B │ ├──  Radiogramm_INPUT.txt
.rw-r--r-- dominic 8.2 KB │ ├──  Radiogramm_Viewer.html
.rw-r--r-- dominic 12 KB │ ├──  Radiogram_Adr_INPUT.html
.rw-r--r-- dominic 964 B │ ├──  Radiogram_Adr_INPUT.txt
.rw-r--r-- dominic 7.2 KB │ ├──  Radiogram_Adr_Viewer.html
.rw-r--r-- dominic 71 KB │ ├──  'Sirenen Report.html'
.rw-r--r-- dominic 1.4 KB │ ├──  'Sirenen Report.txt'
.rw-r--r-- dominic 9.4 KB │ ├──  'Sirenen Report Viewer.html'
.rw-r--r-- dominic 1.2 KB │ ├──  'Wetter Report.txt'
.rw-r--r-- dominic 75 KB │ ├──  'Wetter Report Initial.html'
.rw-r--r-- dominic 23 KB │ └──  'Wetter Report Viewer.html'
#v-

I once had problems with a form where some special characters were
included. Georges WH6AZ found that out and the form could be imported
after converting the files like

#v+
iconv -c -f UTF-8 -t US-ASCII Wetter\ Report.txt > Wetter\ Report2.txt
#v-

Maybe you have similar issues with those form files.

PS: when I change the folder name `mv WLNET-OE baba` it gets picked up
from pat instantly (after a site refresh in the browser) without the
need of a pat restart.

HTH

This is actually the second email that I reply, but I guess the mailing
list of pat-users loves filtering my mails (this is not the first time
that an email of mine takes so long to appear on the list - does anyone
else notice that much of a delay or is it just me?). Nonetheless, I sent
this mail twice but this time I put the original author into Cc:.

-dominic, oe7drt
--
Don’t walk in front of me... I may not follow
Don’t walk behind me... I may not lead
Walk beside me... just be my friend
- Albert Camus
Reply all
Reply to author
Forward
0 new messages