FS#41776 - [xorg-xinit] Startx uses coloured grep output for tty
            Attached to Project:
            Arch Linux
            
Opened by yWCm6BDgiuL7BPWPrpPMs87 (rommelvr) - Monday, 01 September 2014, 02:14 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 27 December 2014, 09:03 GMT
          Opened by yWCm6BDgiuL7BPWPrpPMs87 (rommelvr) - Monday, 01 September 2014, 02:14 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 27 December 2014, 09:03 GMT
| 
 | Details
                    
                      https://projects.archlinux.org/svntogit/packages.git/tree/trunk/git-upstream-fixes.patch?h=packages/xorg-xinit#n378 + tty_num=$(echo "$tty" | grep -oE '[0-9]+$') If GREP_OPTIONS has color=always set, then this uses coloured grep output, meaning $tty_num carries colour information in `vtarg="vt$tty_num"`. To resolve: - tty_num=$(echo "$tty" | grep -oE '[0-9]+$') + tty_num=$(echo "$tty" | grep --color=never -oE '[0-9]+$') | 
              This task depends upon
              
              
            
            
          
            Closed by  Andreas Radke (AndyRTR)
Saturday, 27 December 2014, 09:03 GMT
Reason for closing: Not a bug
Additional comments about closing: GREP_OPTIONS has been deprecated by grep upstream. see comments.
          
        Saturday, 27 December 2014, 09:03 GMT
Reason for closing: Not a bug
Additional comments about closing: GREP_OPTIONS has been deprecated by grep upstream. see comments.
 Comment by
            Laurent Carlier (lordheavy) -
            Monday, 01 September 2014, 09:20 GMT
            
            Comment by
            Laurent Carlier (lordheavy) -
            Monday, 01 September 2014, 09:20 GMT
          
           
          
              It's an upstream patch, so you should fill a bugreport upstream
           Comment by Cem Aydin (rebootl) -
            Tuesday, 30 September 2014, 21:27 GMT
            
            Comment by Cem Aydin (rebootl) -
            Tuesday, 30 September 2014, 21:27 GMT
          
           
          
              I filed a bugreport upstream (didn't found one there yet):
                https://bugs.freedesktop.org/show_bug.cgi?id=84532
            
           Comment by
            Daniel Micay (thestinger) -
            Saturday, 27 December 2014, 05:17 GMT
            
            Comment by
            Daniel Micay (thestinger) -
            Saturday, 27 December 2014, 05:17 GMT
          
           
          
              GREP_OPTIONS has been deprecated by grep upstream.
            
          