Use '*' instead of 'n', since its more accuarte. - sam - An updated version of the sam text editor.
 (HTM) git clone git://vernunftzentrum.de/sam.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 37df20c57224ba5a3a4b9c04491368b7b5047ac6
 (DIR) parent b4fa0da23ad1e33ffb2955133b88e2ee7b3bb521
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Fri,  9 Sep 2016 17:05:20 -0500
       
       Use '*' instead of 'n', since its more accuarte.
       
       Diffstat:
         samterm/samrc.c                     |      12 ++++++------
       
       1 file changed, 6 insertions(+), 6 deletions(-)
       ---
 (DIR) diff --git a/samterm/samrc.c b/samterm/samrc.c
       @@ -65,7 +65,7 @@ static Namemapping buttonmapping[] ={
        };
        
        static Namemapping modmapping[] ={
       -    {"n", 0},
       +    {"*", 0},
            {"c", ControlMask}, 
            {"s", ShiftMask},
            {NULL, 0}
       @@ -228,15 +228,15 @@ loadrcfile(FILE *f)
        
                if (sscanf(l, " chord %5[Nn12345] %5[Nn12345] %99s %99s", s1, s2, cname, tname) == 4)
                    rc = installchord(statetomask(s1, buttonmapping), statetomask(s2, buttonmapping), nametocommand(cname), nametotarget(tname));
       -        else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s raw 0x%hx", s1, s2, &s) == 3)
       +        else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s raw 0x%hx", s1, s2, &s) == 3)
                    rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s2), Kraw, i);
       -        else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s composed 0x%hx", s1, s2, &s) == 3)
       +        else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s composed 0x%hx", s1, s2, &s) == 3)
                    rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s2), Kcomposed, i);
       -        else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s raw %c", s1, s2, &c) == 3)
       +        else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s raw %c", s1, s2, &c) == 3)
                    rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s2), Kraw, c);
       -        else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s composed %c", s1, s2, &c) == 3)
       +        else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s composed %c", s1, s2, &c) == 3)
                    rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s2), Kcomposed, c);
       -        else if (sscanf(l, " bind %5[ncamshNCAMSH12345] %99s command %99s", s1, s2, cname) == 3)
       +        else if (sscanf(l, " bind %5[*camshNCAMSH12345] %99s command %99s", s1, s2, cname) == 3)
                    rc = installbinding(statetomask(s1, modmapping), XStringToKeysym(s2), Kcommand, nametocommand(cname));
                else if (sscanf(l, " foreground %1023s", cname) == 1)
                    strncpy(foregroundspec, cname, sizeof(foregroundspec) - 1);