• Percent-Sign Prefix For System Messages

    From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.vms on Tue Oct 21 03:50:47 2025
    From Newsgroup: comp.os.vms

    Several other vendors seem to have copied the DEC convention of using
    a rCL%rCY character to prefix system messages. Here are some from a Cisco
    3850 switch:

    *Oct 21 15:30:22.936: %SMART_LIC-6-HA_ROLE_CHANGED: Smart Agent HA role changed to Active.RA Tracing tool registry return: 0
    *Oct 21 15:30:32.975: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
    *Oct 21 15:30:34.683: %LINK-3-UPDOWN: Interface Lsmpi18/3, changed state to up *Oct 21 15:30:34.687: %LINK-3-UPDOWN: Interface EOBC18/1, changed state to up

    *Oct 21 15:29:54.022: %STACKMGR-6-STACK_LINK_CHANGE: Switch 1 R0/0: stack_mgr: Stack port 2 on Switch 1 is nocable
    *Oct 21 15:29:54.022: %STACKMGR-4-SWITCH_ADDED: Switch 1 R0/0: stack_mgr: Switch 1 has been added to the stack.

    *Oct 21 15:30:35.186: %NGWC_USB_CONSOLE-6-USB_INSERT: Switch 1: USB cable inserted. Console media-type USB is in effect
    *Oct 21 15:30:35.735: %LINEPROTO-5-UPDOWN: Line protocol on Interface Lsmpi18/3, changed state to up
    *Oct 21 15:30:35.745: %LINEPROTO-5-UPDOWN: Line protocol on Interface EOBC18/1, changed state to up

    *Oct 21 15:30:40.676: %PKI-6-TRUSTPOINT_CREATE: Trustpoint: SLA-TrustPoint created succesfully
    *Oct 21 15:30:41.365: %SYS-5-CONFIG_I: Configured from memory by console
    *Oct 21 15:30:41.639: %SYS-5-CONFIG_P: Configured programmatically by process CPP MQC QoS Policy manager from console as vty1

    *Oct 21 15:30:43.042: %SSH-5-ENABLED: SSH 2.0 has been enabled
    *Oct 21 15:30:43.259: %EVENT_TRACE-6-ENABLE: Trace already enabled.

    (etc, etc)

    Interestingly, this box is running something called rCLOpen IOS XErCY,
    which is based on a Linux kernel, and the OS version dates from this
    century.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From jayjwa@jayjwa@atr2.ath.cx.invalid to comp.os.vms on Tue Oct 21 17:25:17 2025
    From Newsgroup: comp.os.vms

    I use it in the rc.decnet switch from the Slack build for Linux
    DECnet. Always liked those messages. Real computer sciency.

    ## [Script data] ---------------------------------------------------------------
    # Color codes for fancy output
    readonly RED='\033[0;31m' # Error conditions
    readonly GREEN='\033[0;32m' # Operation was successful readonly BLUE='\033[0;34m' # Informational and other readonly NC='\033[0m' # Shut off color output

    # Error codes and constants. Mimic VMS-style info/warn/error messages
    # "%" must be escaped due to it being used in a format expression below readonly INFOINIT="%%DECNET-I-INIT, "
    readonly INFORESTART="%%DECNET-I-RESTART, "
    readonly INFOSTOP="%%DECNET-I-STOP, "
    readonly ENOTSTOP="%%DECNET-E-STOP, "
    readonly EFNOEXIST="%%DECNET-E-NOFILES, "
    readonly EBNOEXIST="%%DECNET-E-NOBINARY, "
    readonly EMODNOEXIST="%%DECNET-E-MODULE, "
    readonly KMOD="decnet3"
    readonly COMMAND=$1

    ...

    [ -r /etc/decnet.conf ] || {
    # We can't do much without config files
    printf "${RED}${EFNOEXIST}check config files' readability and location${NC}\\n"
    return 1
    }

    and so on.
    --
    PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
    "The Internet should always be the Wild West!"
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.vms on Tue Oct 21 23:05:52 2025
    From Newsgroup: comp.os.vms

    On Tue, 21 Oct 2025 17:25:17 -0400, jayjwa wrote:

    I use it in the rc.decnet switch from the Slack build for Linux
    DECnet. Always liked those messages. Real computer sciency.

    Despite my long-time DEC exposure, I never associated DEC with being particularly rCLcomputer sciencyrCY, but hey. ;)

    "%" must be escaped due to it being used in a format expression
    below

    I hate that kind of thing. ItrCOs quite unnecessary.

    printf "${RED}${EFNOEXIST}check config files' readability and location${NC}\\n"

    Why are you even using printf here?
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Rich Alderson@news@alderson.users.panix.com to comp.os.vms on Wed Oct 22 16:36:32 2025
    From Newsgroup: comp.os.vms

    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> writes:

    Several other vendors seem to have copied the DEC convention of using a "%" character to prefix system messages. Here are some from a Cisco 3850 switch:

    Given the personal histories of the founders of Cisco, and the backgrounds of most of their original hires as programmer/engineers, it would be more surprising had they NOT followed that standard.

    Interestingly, this box is running something called "Open IOS XE", which is based on a Linux kernel, and the OS version dates from this century.

    Yes, and?
    --
    Rich Alderson news@alderson.users.panix.com
    Audendum est, et veritas investiganda; quam etiamsi non assequamur,
    omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
    --Galen --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Chris Townley@news@cct-net.co.uk to comp.os.vms on Wed Oct 22 21:45:35 2025
    From Newsgroup: comp.os.vms

    On 22/10/2025 21:36, Rich Alderson wrote:

    Please don't feed the troll
    --
    Chris
    --- Synchronet 3.21a-Linux NewsLink 1.2