• src/sbbs3/node.c nodedefs.h

    From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Thu Aug 31 17:37:43 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/b4639b0f65a9ca5300f97099
    Modified Files:
    src/sbbs3/node.c nodedefs.h
    Log Message:
    node utility can now display one/some/all key/values from node*/client.ini<nelgin> Remind me why you can't show the ip address on node status? :)Using the new '-v[key]' option, a sysop can view one, some, or all of thekey/value pairs from the nodes with a connected client. For nodes withouta connected client, the client.ini file values aren't particularly useful, butif someone wants an option to show those values for non-client-connected nodesI can do that too.When using '-v', all the client.ini key/value pairs will be displayed for allthe node records requested with currently connected clients. By specifying'-v[key]' the sysop can specify a key to display (rather than all of them)e.g. 'node list -vaddr' to list nodes with remote client IP addresses.This option can be used multiple times on the command-line to view multiplekeys. See node*/client.ini for the list of supported keys.This feature only works for nodes whose directory paths are ../node#/relative to the ctrl directory. Since the node utility doesn't read anyconfiguration files, this is a limitation. If you have different nodedirectory names/parents and need to use this feature, let me know and I'llsee about adding support for reading/parsing main.ini file to discover thosenon-standard/default node directory paths automatically.The version number displayed is now taken from the sbbs version (sbbsdefs.h).The maximum ctrl directory path is now extended from 40 chars to MAX_PATH.More readable help/usage output (using indentation).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)