LATCP(8)
π LATCP β the LAT Control Program π
okay so bestie, welcome to LATCP(8) β that's the System Manager's Manual page for latcp, and honestly? she's a whole vibe. let's get into it π
β¨ NAME β¨
latcp β the LAT Control Program π
πΈ SYNOPSIS πΈ
latcp [options]
π¦ DESCRIPTION π¦
latcp is the control program for latd(8). like, that's her whole job β she's the one holding the aux cord for the LAT daemon. π§
π OPTIONS π
-sβ Start the LAT daemon. this is literally the only way to start LAT, bestie. do not try to runlatddirectly or you may get unexpected behaviour (it's giving chaos, and not the cute kind).latcp -sruns the file/etc/latd.confas a shell script (using/bin/sh). any customisations you need to do to the LAT system should go in that file aslatcpcommands. and thelatcpcommand should be invoked using the environment variable$LATCP. an examplelatd.conffile is shipped with the package and shown in the man pagelatd.conf(5).latcp -spasses any extra switches ontolatditself, so you can customiselatdthat way β but ngl,latd.confis recommended. π«Ά-hβ Haltslatd. β οΈ this will kill any active sessions without warning. no goodbye, no nothing. just poof.-Aβ Create a local LAT service or reverse LAT port. β¨
the syntax for creating a login service is:
latcp -A -a service [-i description] [-r rating] [-s] [-C
command] [-u user]
the -s flag indicates that the service rating is static. without this, the service rating is regarded as a maximum and will be reduced according the the load average of the machine.
the -C flag indicates a command to run when a user connects to the service β by default this is /bin/login.
the -u flag specifies a user to run the above command as. by default this will be root.
the syntax for creating a reverse LAT port is:
latcp -A -p tty -V learned_service [-R rem_port] [-H rem_node]
[-Q] [-8]
the tty name should start /dev/lat and must not exist. π«
the -Q flag indicates that connections to the service is queued. if you connect to a queued service and it is busy then your connection will be forced to wait until it is available. you must use this flag for printer services on DECserver 90L terminal servers, and in this case the service name must also be empty.
NOTE that the -Q flag is the opposite way round to that on Tru64 Unix(r). π don't get caught slipping.
the -8 flag tells latd not to muck about with the data. normally latd will transmit a BREAK if a NUL character is typed, and -8 disables this behaviour for ports with (eg) printers or modems attached. iconic for the hardware girlies. π¨οΈ
-Dβ Delete a service or port. π
latcp -D -a <service> deletes an advertised service created with latcp -A -a.
latcp -D -p <tty> deletes a reverse LAT port created with latcp -A -p
-iβ Change the description of an advertised service.
latcp -i <description> -a <service> If the description contains spaces or shell metacharacters you should enclose it in quotes. π
-jβ Enables the service responder. this feature is needed for small terminal servers that do not collect their own service lists. "I currently don't have a list of servers that need this feature. can anyone help??" π (real. somebody help the dev out fr fr)-Jβ Disables service responder. the off switch to-j's on switch, slay. π₯-Yβ Purges the list of known services fromlatd's internal tables. π§Ήβ¨-xβ Change the rating of an advertised service.
latcp -x <rating> [-s] -a <service>
If the -s flag is present the rating is static, otherwise it is treated as the maximum value and will be decreased according to the system load average.
-nβ Change the system's current node name (Note this affectslatdonly, not DECnet nor TCP/IP)
latcp -n <nodename>
-rβ Change the retransmit limit. this is the maximum number of timeslatdwill transmit a packet without an acknowlegement. if this number is exceeded then the connection is closed as it is assumed that the remote end has gone away. π» this value must be between4and120inclusive, the default is20.-mβ Sets the multicast timer (in seconds). this timer determines how often services are advertised on the LAN. the default is60seconds. this value must be between10and180inclusive.-kβ Sets the keepalive timer (in seconds). this is the maximum amount of time that a connection can be inactive. when this timer expires an empty message is sent to the remote end. if it does not respond after<retransmit limit>then the connection is closed. this timer is reset every time a packet is sent out. this value must be between10and180inclusive.-dβ Displayslatdconfiguration or the learned service table.-don it's own will display thelatdconfiguration and the services that are advertised by this node.-d -lwill display the learned service table. adding-vwill show the learned service table in a verbose manner.-nwill show the nodes (with MAC addresses) that are associated with serviceless ports (eg reverse LAT ports to DS90L+ servers). π-?β Displays help for using the command. we love a helpful queen. πβοΈ-Gβ Add groups to the services advertised. the groups can be numbers separated by commas or a range. eg
latcp -G 1,2,3,10-20
Enables groups 1 2 3 and 10 to 20 inclusive. π«
-gβ Disable groups using syntax as above. bye bye groups π-Uβ Add to the list of groups that the server will accept when listening for services. this affects the services that are available using the "reverse LAT" feature. see-Gfor the syntax. if you are using the "responder" feature it's best make sure that this group list contains all the groups that are likely to be used on the LAN. π°οΈ-uβ Remove groups from the user groups list. ποΈ
π SEE ALSO π
latd(8), latd.conf(5), moprc(8), llogin(1)
and that's the whole page bestie, you ate that π β¨ this one's from the LAT Server era, dated September 10 2002 β vintage but still serving looks. mwah, go read your manpages, ily π«Άπ
π¦ where this page comes from
- ubuntu jammy: latd 1.35 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms