RE: FVWM: Erroneous .fvwm2rc parsing

From: <esteffl_at_pbi.net>
Date: Mon, 27 Sep 1999 13:09:03 -0700

  Jason,

  the \ character is often used to `unspecial` the special characters, in
this case meaning that the new line right after it would NOT be considered
an end of line - i.e. the next line is basically the same line for the
purposes of the program that reads the file.

  it's probably clear enough, but here's an example anyway:

first line \
second line

  would be read as one line:

first line second line

  your MenuStyle command is thus commented out.

        erik

> -----Original Message-----
> From: owner-fvwm_at_hpc.uh.edu [mailto:owner-fvwm_at_hpc.uh.edu]On Behalf Of
> jason
> Sent: Monday, September 27, 1999 12:00 PM
> To: fvwm mailing list
> Subject: FVWM: Erroneous .fvwm2rc parsing
>
>
>
> I was tinkering with my .fvwm2rc file, and I found that if you put a
> comment in it, and end the comment line with a '\', the file might be
> parsed incorrectly. I am using fvwm 2.3.8.
>
> For example, suppose you have the following:
>
> # This is a comment \
> MenuStyle "*" ... (whatever your options are)
>
>
> The '\' prior to the MenuStyle command fouls it up, causing
> the menu style
> to be set with default values for color, font, etc.
> Strangely enough, the
> following 3 examples do *not* cause problems. It seems that the only
> commands that are affected are those for which the previous line is a
> comment that ends with '\'. Note that adding any characters
> after the '\'
> or putting empty lines or more comments between the rogue
> comment and the
> desired command makes the problem go away, as shown below.
>
> -jason
>
>
> These examples are ok:
>
> ######################################################################
>
> # (Illustrates that only the immediate line after the '\' is affected)
> # This is a comment \
>
> MenuStyle "*" ... (whatever your options are)
>
> ######################################################################
>
> # (Illustrates again that only the immediate line after the
> '\' is affected)
> # This is a comment \
> # and this is another
> MenuStyle "*" ... (whatever your options are)
>
> ######################################################################
>
> # (Illustrates that the last character must be '\')
> # This is a comment \p
> MenuStyle "*" ... (whatever your options are)
>
>
> --
> Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
>

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Sep 27 1999 - 15:12:42 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST