DIALTEST(8)

✨ DIALTEST(8) ✨

okay bestie, gather round β€” this is the manual page for dialtest, straight outta the System Manager's Manual section 8. It's a whole vibe and honestly kinda iconic if you're into HylaFAX fax setup. Let's get into it πŸ’…


🌸 NAME 🌸

dialtest β€” the HylaFAX dial string processing rules test program. Yes, that's the whole thing. She tests dial rules. She's a legend. Periodt. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

/usr/sbin/dialtest [ options ] dialrules

no cap, that's literally it.


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea β˜•: dialtest is an interactive program for testing and developing dial string processing rules used by HylaFAX. She's not a background service, she's not a daemon, she's a conversation. πŸ’¬

What happens is: dialtest reads the file of rules you specified on the command line, and then she prompts you for a dial string. Every single string you type in? She prints the result of applying the canonicalization and dial-string preparation rule sets to it. Like a little glow-up makeover for your phone numbers, fr fr. ✨

Wanna test one specific rule set instead of the whole pipeline? No problem babe. A rule set whose name is setname can be specified by typing:

setname(string)

So for example:

CanonicalName(+1.415.965.7824)

slay. that's it. that's the move. πŸ’–

⚠️ okay IMPORTANT, listen up bestie β€” dialtest reads the rules file only when it is initially started up. The way that it does NOT re-read it later, not even once. So if you go and edit your rules file, you have to restart dialtest for it to apply those changes. No cap, no shortcuts. πŸ’€

🌈 OPTIONS 🌈

  • -a code β€” Use code as the value of AreaCode in the rules file. The default area code is `415`. (yes, that 415, the Bay Area one, main character energy fr 🫢)
  • -c code β€” Use code as the value of CountryCode in the rules file. The default country code is `1`. πŸ‡ΊπŸ‡Έ
  • -i prefix β€” Use prefix as the value of InternationalPrefix in the rules file. The default international dialing prefix is `011`. 🌍
  • -l prefix β€” Use prefix as the value of LongDistancePrefix in the rules file. The default long distance dialing prefix is `1`. πŸ“ž
  • -q β€” Be quiet, suppressing most all output except for the actual results. This is useful for using dialtest in an automated fashion. Shhh 🀫 β€” she's giving minimalism, she's giving "just the facts ma'am."
  • -v β€” Print each input line before displaying the results of applying the dial string rules to the input string. This can be useful, for example, in shell scripts. Very "show your work" of her. Obsessed. πŸŽ€

⭐ SEE ALSO ⭐

  • dialrules(5) β€” go read it bestie, it's the whole lore πŸ¦‹

and that's the page!! mwah πŸ’– this lil write-up is from March 3, 1995 (yes, a genuine 90s baddie πŸ‘‘) and it lives in the DIALTEST(8) section of the System Manager's Manual. stay slaying, stay dialing βœ¨πŸŒΈπŸ’…

πŸ“¦ where this page comes from