Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event: Echo #280

Merged
merged 2 commits into from
Nov 1, 2020
Merged

Event: Echo #280

merged 2 commits into from
Nov 1, 2020

Commits on Oct 31, 2020

  1. Event: support Echo

    Historically, Fvwm's "Echo" command has sent its output to stderr, and
    then more recently to a dedicated log file.
    
    However, modules have no way of therefore seeing the output from an echo
    command, especially if it's used to gain information about the state of
    fvwm for use in a shell script.
    
    Therefore, add a new event, echo, which will broadcast to interested
    modules, the message that was sent from the Echo command.
    
    Currently supported by FvwmMFL and FvwmEvent.
    ThomasAdam committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    197a8c2 View commit details
    Browse the repository at this point in the history
  2. ModuleMFL: support multiple statements

    In order to support external scripts, allow for messages to be sent in
    bulk, as in:
    
       echo "set echo\nEcho hello" | nc -U $FVWMMFL_SOCKET
    
    which would send both "set echo", and "Echo hello" to FvwmMFL (and hence
    Fvwm).
    ThomasAdam committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    7abaa52 View commit details
    Browse the repository at this point in the history