From c8cd039387e921f2c394f69e26eee2dfc64cc421 Mon Sep 17 00:00:00 2001 From: Gator96100 Date: Sat, 10 Apr 2021 22:19:50 +0200 Subject: [PATCH] Fixed files --- msys2/msys2_shell.cmd | 450 ++++++++++++------------- msys2/usr/share/cygwin/cygwin.ldif | 506 ++++++++++++++--------------- msys2/usr/share/tabset/vt100 | 2 +- 3 files changed, 479 insertions(+), 479 deletions(-) diff --git a/msys2/msys2_shell.cmd b/msys2/msys2_shell.cmd index 3854e4b53..fc934221d 100644 --- a/msys2/msys2_shell.cmd +++ b/msys2/msys2_shell.cmd @@ -1,225 +1,225 @@ -@echo off -setlocal EnableDelayedExpansion - -set "WD=%__CD__%" -if NOT EXIST "%WD%msys-2.0.dll" set "WD=%~dp0usr\bin\" -set "LOGINSHELL=bash" -set /a msys2_shiftCounter=0 - -rem To activate windows native symlinks uncomment next line -rem set MSYS=winsymlinks:nativestrict - -rem Set debugging program for errors -rem set MSYS=error_start:%WD%../../mingw64/bin/qtcreator.exe^|-debug^|^ - -rem To export full current PATH from environment into MSYS2 use '-use-full-path' parameter -rem or uncomment next line -rem set MSYS2_PATH_TYPE=inherit - -:checkparams -rem Help option -if "x%~1" == "x-help" ( - call :printhelp "%~nx0" - exit /b %ERRORLEVEL% -) -if "x%~1" == "x--help" ( - call :printhelp "%~nx0" - exit /b %ERRORLEVEL% -) -if "x%~1" == "x-?" ( - call :printhelp "%~nx0" - exit /b %ERRORLEVEL% -) -if "x%~1" == "x/?" ( - call :printhelp "%~nx0" - exit /b %ERRORLEVEL% -) -rem Shell types -if "x%~1" == "x-msys" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MSYS& goto :checkparams -if "x%~1" == "x-msys2" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MSYS& goto :checkparams -if "x%~1" == "x-mingw32" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MINGW32& goto :checkparams -if "x%~1" == "x-mingw64" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MINGW64& goto :checkparams -if "x%~1" == "x-mingw" shift& set /a msys2_shiftCounter+=1& (if exist "%WD%..\..\mingw64" (set MSYSTEM=MINGW64) else (set MSYSTEM=MINGW32))& goto :checkparams -rem Console types -if "x%~1" == "x-mintty" shift& set /a msys2_shiftCounter+=1& set MSYSCON=mintty.exe& goto :checkparams -if "x%~1" == "x-conemu" shift& set /a msys2_shiftCounter+=1& set MSYSCON=conemu& goto :checkparams -if "x%~1" == "x-defterm" shift& set /a msys2_shiftCounter+=1& set MSYSCON=defterm& goto :checkparams -rem Other parameters -if "x%~1" == "x-full-path" shift& set /a msys2_shiftCounter+=1& set MSYS2_PATH_TYPE=inherit& goto :checkparams -if "x%~1" == "x-use-full-path" shift& set /a msys2_shiftCounter+=1& set MSYS2_PATH_TYPE=inherit& goto :checkparams -if "x%~1" == "x-here" shift& set /a msys2_shiftCounter+=1& set CHERE_INVOKING=enabled_from_arguments& goto :checkparams -if "x%~1" == "x-where" ( - if "x%~2" == "x" ( - echo Working directory is not specified for -where parameter. 1>&2 - exit /b 2 - ) - cd /d "%~2" || ( - echo Cannot set specified working diretory "%~2". 1>&2 - exit /b 2 - ) - set CHERE_INVOKING=enabled_from_arguments - - rem Ensure parentheses in argument do not interfere with FOR IN loop below. - set msys2_arg="%~2" - call :substituteparens msys2_arg - call :removequotes msys2_arg - - rem Increment msys2_shiftCounter by number of words in argument (as cmd.exe saw it). - rem (Note that this form of FOR IN loop uses same delimiters as parameters.) - for %%a in (!msys2_arg!) do set /a msys2_shiftCounter+=1 -)& shift& shift& set /a msys2_shiftCounter+=1& goto :checkparams -if "x%~1" == "x-no-start" shift& set /a msys2_shiftCounter+=1& set MSYS2_NOSTART=yes& goto :checkparams -if "x%~1" == "x-shell" ( - if "x%~2" == "x" ( - echo Shell not specified for -shell parameter. 1>&2 - exit /b 2 - ) - set LOGINSHELL="%~2" - call :removequotes LOGINSHELL - - set msys2_arg="%~2" - call :substituteparens msys2_arg - call :removequotes msys2_arg - for %%a in (!msys2_arg!) do set /a msys2_shiftCounter+=1 -)& shift& shift& set /a msys2_shiftCounter+=1& goto :checkparams - -rem Collect remaining command line arguments to be passed to shell -if %msys2_shiftCounter% equ 0 set SHELL_ARGS=%* & goto cleanvars -set msys2_full_cmd=%* -for /f "tokens=%msys2_shiftCounter%,* delims=,;= " %%i in ("!msys2_full_cmd!") do set SHELL_ARGS=%%j - -:cleanvars -set msys2_arg= -set msys2_shiftCounter= -set msys2_full_cmd= - -rem Setup proper title and icon -if "%MSYSTEM%" == "MINGW32" ( - set "CONTITLE=MinGW x32" - set "CONICON=mingw32.ico" -) else if "%MSYSTEM%" == "MINGW64" ( - set "CONTITLE=MinGW x64" - set "CONICON=mingw64.ico" -) else ( - set "CONTITLE=MSYS2 MSYS" - set "CONICON=msys2.ico" -) - -if "x%MSYSCON%" == "xmintty.exe" goto startmintty -if "x%MSYSCON%" == "xconemu" goto startconemu -if "x%MSYSCON%" == "xdefterm" goto startsh - -if NOT EXIST "%WD%mintty.exe" goto startsh -set MSYSCON=mintty.exe -:startmintty -if not defined MSYS2_NOSTART ( - start "%CONTITLE%" "%WD%mintty" -i "/%CONICON%" -t "%CONTITLE%" "/usr/bin/%LOGINSHELL%" --login !SHELL_ARGS! -) else ( - "%WD%mintty" -i "/%CONICON%" -t "%CONTITLE%" "/usr/bin/%LOGINSHELL%" --login !SHELL_ARGS! -) -exit /b %ERRORLEVEL% - -:startconemu -call :conemudetect || ( - echo ConEmu not found. Exiting. 1>&2 - exit /b 1 -) -if not defined MSYS2_NOSTART ( - start "%CONTITLE%" "%ComEmuCommand%" /Here /Icon "%WD%..\..\%CONICON%" /cmd "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! -) else ( - "%ComEmuCommand%" /Here /Icon "%WD%..\..\%CONICON%" /cmd "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! -) -exit /b %ERRORLEVEL% - -:startsh -set MSYSCON= -if not defined MSYS2_NOSTART ( - start "%CONTITLE%" "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! -) else ( - "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! -) -exit /b %ERRORLEVEL% - -:EOF -exit /b 0 - -:conemudetect -set ComEmuCommand= -if defined ConEmuDir ( - if exist "%ConEmuDir%\ConEmu64.exe" ( - set "ComEmuCommand=%ConEmuDir%\ConEmu64.exe" - set MSYSCON=conemu64.exe - ) else if exist "%ConEmuDir%\ConEmu.exe" ( - set "ComEmuCommand=%ConEmuDir%\ConEmu.exe" - set MSYSCON=conemu.exe - ) -) -if not defined ComEmuCommand ( - ConEmu64.exe /Exit 2>nul && ( - set ComEmuCommand=ConEmu64.exe - set MSYSCON=conemu64.exe - ) || ( - ConEmu.exe /Exit 2>nul && ( - set ComEmuCommand=ConEmu.exe - set MSYSCON=conemu.exe - ) - ) -) -if not defined ComEmuCommand ( - FOR /F "tokens=*" %%A IN ('reg.exe QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ConEmu64.exe" /ve 2^>nul ^| find "REG_SZ"') DO ( - set "ComEmuCommand=%%A" - ) - if defined ComEmuCommand ( - call set "ComEmuCommand=%%ComEmuCommand:*REG_SZ =%%" - set MSYSCON=conemu64.exe - ) else ( - FOR /F "tokens=*" %%A IN ('reg.exe QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ConEmu.exe" /ve 2^>nul ^| find "REG_SZ"') DO ( - set "ComEmuCommand=%%A" - ) - if defined ComEmuCommand ( - call set "ComEmuCommand=%%ComEmuCommand:*REG_SZ =%%" - set MSYSCON=conemu.exe - ) - ) -) -if not defined ComEmuCommand exit /b 2 -exit /b 0 - -:printhelp -echo Usage: -echo %~1 [options] [login shell parameters] -echo. -echo Options: -echo -mingw32 ^| -mingw64 ^| -msys[2] Set shell type -echo -defterm ^| -mintty ^| -conemu Set terminal type -echo -here Use current directory as working -echo directory -echo -where DIRECTORY Use specified DIRECTORY as working -echo directory -echo -[use-]full-path Use full current PATH variable -echo instead of trimming to minimal -echo -no-start Do not use "start" command and -echo return login shell resulting -echo errorcode as this batch file -echo resulting errorcode -echo -shell SHELL Set login shell -echo -help ^| --help ^| -? ^| /? Display this help and exit -echo. -echo Any parameter that cannot be treated as valid option and all -echo following parameters are passed as login shell command parameters. -echo. -exit /b 0 - -:removequotes -FOR /F "delims=" %%A IN ('echo %%%1%%') DO set %1=%%~A -GOTO :eof - -:substituteparens -SETLOCAL -FOR /F "delims=" %%A IN ('echo %%%1%%') DO ( - set value=%%A - set value=!value:^(=x! - set value=!value:^)=x! -) -ENDLOCAL & set %1=%value% -GOTO :eof +@echo off +setlocal EnableDelayedExpansion + +set "WD=%__CD__%" +if NOT EXIST "%WD%msys-2.0.dll" set "WD=%~dp0usr\bin\" +set "LOGINSHELL=bash" +set /a msys2_shiftCounter=0 + +rem To activate windows native symlinks uncomment next line +rem set MSYS=winsymlinks:nativestrict + +rem Set debugging program for errors +rem set MSYS=error_start:%WD%../../mingw64/bin/qtcreator.exe^|-debug^|^ + +rem To export full current PATH from environment into MSYS2 use '-use-full-path' parameter +rem or uncomment next line +rem set MSYS2_PATH_TYPE=inherit + +:checkparams +rem Help option +if "x%~1" == "x-help" ( + call :printhelp "%~nx0" + exit /b %ERRORLEVEL% +) +if "x%~1" == "x--help" ( + call :printhelp "%~nx0" + exit /b %ERRORLEVEL% +) +if "x%~1" == "x-?" ( + call :printhelp "%~nx0" + exit /b %ERRORLEVEL% +) +if "x%~1" == "x/?" ( + call :printhelp "%~nx0" + exit /b %ERRORLEVEL% +) +rem Shell types +if "x%~1" == "x-msys" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MSYS& goto :checkparams +if "x%~1" == "x-msys2" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MSYS& goto :checkparams +if "x%~1" == "x-mingw32" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MINGW32& goto :checkparams +if "x%~1" == "x-mingw64" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MINGW64& goto :checkparams +if "x%~1" == "x-mingw" shift& set /a msys2_shiftCounter+=1& (if exist "%WD%..\..\mingw64" (set MSYSTEM=MINGW64) else (set MSYSTEM=MINGW32))& goto :checkparams +rem Console types +if "x%~1" == "x-mintty" shift& set /a msys2_shiftCounter+=1& set MSYSCON=mintty.exe& goto :checkparams +if "x%~1" == "x-conemu" shift& set /a msys2_shiftCounter+=1& set MSYSCON=conemu& goto :checkparams +if "x%~1" == "x-defterm" shift& set /a msys2_shiftCounter+=1& set MSYSCON=defterm& goto :checkparams +rem Other parameters +if "x%~1" == "x-full-path" shift& set /a msys2_shiftCounter+=1& set MSYS2_PATH_TYPE=inherit& goto :checkparams +if "x%~1" == "x-use-full-path" shift& set /a msys2_shiftCounter+=1& set MSYS2_PATH_TYPE=inherit& goto :checkparams +if "x%~1" == "x-here" shift& set /a msys2_shiftCounter+=1& set CHERE_INVOKING=enabled_from_arguments& goto :checkparams +if "x%~1" == "x-where" ( + if "x%~2" == "x" ( + echo Working directory is not specified for -where parameter. 1>&2 + exit /b 2 + ) + cd /d "%~2" || ( + echo Cannot set specified working diretory "%~2". 1>&2 + exit /b 2 + ) + set CHERE_INVOKING=enabled_from_arguments + + rem Ensure parentheses in argument do not interfere with FOR IN loop below. + set msys2_arg="%~2" + call :substituteparens msys2_arg + call :removequotes msys2_arg + + rem Increment msys2_shiftCounter by number of words in argument (as cmd.exe saw it). + rem (Note that this form of FOR IN loop uses same delimiters as parameters.) + for %%a in (!msys2_arg!) do set /a msys2_shiftCounter+=1 +)& shift& shift& set /a msys2_shiftCounter+=1& goto :checkparams +if "x%~1" == "x-no-start" shift& set /a msys2_shiftCounter+=1& set MSYS2_NOSTART=yes& goto :checkparams +if "x%~1" == "x-shell" ( + if "x%~2" == "x" ( + echo Shell not specified for -shell parameter. 1>&2 + exit /b 2 + ) + set LOGINSHELL="%~2" + call :removequotes LOGINSHELL + + set msys2_arg="%~2" + call :substituteparens msys2_arg + call :removequotes msys2_arg + for %%a in (!msys2_arg!) do set /a msys2_shiftCounter+=1 +)& shift& shift& set /a msys2_shiftCounter+=1& goto :checkparams + +rem Collect remaining command line arguments to be passed to shell +if %msys2_shiftCounter% equ 0 set SHELL_ARGS=%* & goto cleanvars +set msys2_full_cmd=%* +for /f "tokens=%msys2_shiftCounter%,* delims=,;= " %%i in ("!msys2_full_cmd!") do set SHELL_ARGS=%%j + +:cleanvars +set msys2_arg= +set msys2_shiftCounter= +set msys2_full_cmd= + +rem Setup proper title and icon +if "%MSYSTEM%" == "MINGW32" ( + set "CONTITLE=MinGW x32" + set "CONICON=mingw32.ico" +) else if "%MSYSTEM%" == "MINGW64" ( + set "CONTITLE=MinGW x64" + set "CONICON=mingw64.ico" +) else ( + set "CONTITLE=MSYS2 MSYS" + set "CONICON=msys2.ico" +) + +if "x%MSYSCON%" == "xmintty.exe" goto startmintty +if "x%MSYSCON%" == "xconemu" goto startconemu +if "x%MSYSCON%" == "xdefterm" goto startsh + +if NOT EXIST "%WD%mintty.exe" goto startsh +set MSYSCON=mintty.exe +:startmintty +if not defined MSYS2_NOSTART ( + start "%CONTITLE%" "%WD%mintty" -i "/%CONICON%" -t "%CONTITLE%" "/usr/bin/%LOGINSHELL%" --login !SHELL_ARGS! +) else ( + "%WD%mintty" -i "/%CONICON%" -t "%CONTITLE%" "/usr/bin/%LOGINSHELL%" --login !SHELL_ARGS! +) +exit /b %ERRORLEVEL% + +:startconemu +call :conemudetect || ( + echo ConEmu not found. Exiting. 1>&2 + exit /b 1 +) +if not defined MSYS2_NOSTART ( + start "%CONTITLE%" "%ComEmuCommand%" /Here /Icon "%WD%..\..\%CONICON%" /cmd "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! +) else ( + "%ComEmuCommand%" /Here /Icon "%WD%..\..\%CONICON%" /cmd "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! +) +exit /b %ERRORLEVEL% + +:startsh +set MSYSCON= +if not defined MSYS2_NOSTART ( + start "%CONTITLE%" "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! +) else ( + "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! +) +exit /b %ERRORLEVEL% + +:EOF +exit /b 0 + +:conemudetect +set ComEmuCommand= +if defined ConEmuDir ( + if exist "%ConEmuDir%\ConEmu64.exe" ( + set "ComEmuCommand=%ConEmuDir%\ConEmu64.exe" + set MSYSCON=conemu64.exe + ) else if exist "%ConEmuDir%\ConEmu.exe" ( + set "ComEmuCommand=%ConEmuDir%\ConEmu.exe" + set MSYSCON=conemu.exe + ) +) +if not defined ComEmuCommand ( + ConEmu64.exe /Exit 2>nul && ( + set ComEmuCommand=ConEmu64.exe + set MSYSCON=conemu64.exe + ) || ( + ConEmu.exe /Exit 2>nul && ( + set ComEmuCommand=ConEmu.exe + set MSYSCON=conemu.exe + ) + ) +) +if not defined ComEmuCommand ( + FOR /F "tokens=*" %%A IN ('reg.exe QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ConEmu64.exe" /ve 2^>nul ^| find "REG_SZ"') DO ( + set "ComEmuCommand=%%A" + ) + if defined ComEmuCommand ( + call set "ComEmuCommand=%%ComEmuCommand:*REG_SZ =%%" + set MSYSCON=conemu64.exe + ) else ( + FOR /F "tokens=*" %%A IN ('reg.exe QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ConEmu.exe" /ve 2^>nul ^| find "REG_SZ"') DO ( + set "ComEmuCommand=%%A" + ) + if defined ComEmuCommand ( + call set "ComEmuCommand=%%ComEmuCommand:*REG_SZ =%%" + set MSYSCON=conemu.exe + ) + ) +) +if not defined ComEmuCommand exit /b 2 +exit /b 0 + +:printhelp +echo Usage: +echo %~1 [options] [login shell parameters] +echo. +echo Options: +echo -mingw32 ^| -mingw64 ^| -msys[2] Set shell type +echo -defterm ^| -mintty ^| -conemu Set terminal type +echo -here Use current directory as working +echo directory +echo -where DIRECTORY Use specified DIRECTORY as working +echo directory +echo -[use-]full-path Use full current PATH variable +echo instead of trimming to minimal +echo -no-start Do not use "start" command and +echo return login shell resulting +echo errorcode as this batch file +echo resulting errorcode +echo -shell SHELL Set login shell +echo -help ^| --help ^| -? ^| /? Display this help and exit +echo. +echo Any parameter that cannot be treated as valid option and all +echo following parameters are passed as login shell command parameters. +echo. +exit /b 0 + +:removequotes +FOR /F "delims=" %%A IN ('echo %%%1%%') DO set %1=%%~A +GOTO :eof + +:substituteparens +SETLOCAL +FOR /F "delims=" %%A IN ('echo %%%1%%') DO ( + set value=%%A + set value=!value:^(=x! + set value=!value:^)=x! +) +ENDLOCAL & set %1=%value% +GOTO :eof diff --git a/msys2/usr/share/cygwin/cygwin.ldif b/msys2/usr/share/cygwin/cygwin.ldif index 7c7c30230..166a58123 100644 --- a/msys2/usr/share/cygwin/cygwin.ldif +++ b/msys2/usr/share/cygwin/cygwin.ldif @@ -1,253 +1,253 @@ -# ========================================================================= -# -# Schema Extension for Cygwin User and Group auxiliary classes -# -# Extend your Active Directory using -# -# ldifde -i -f \.ldif -b \ -# -k -c "CN=schema,CN=Configuration,DC=X" #schemaNamingContext -# -# Remember: -# - you have to be schema admin for your active directory -# - you have to run the above command directly from your schema master -# -# For further information read -# http://technet.microsoft.com/en-us/magazine/2008.05.schema.aspx -# -# ---------------------------------------------------------------------- -# -# Explanation for the OIDs: -# -# Value Meaning Description -# 1 ISO Identifies the root authority. -# 3 IANA Group designation assigned by ISO. -# 6.1.4.1.2312 Red Hat Organization assigned by IANA. -# 15 Cygwin Assigned by Organization. -# Y Object Type Number defining the different object type -# (category) such as classSchema or -# attributeSchema. For example, 5 defines -# object class. -# Z Object Number identifying a particular object -# within the category. For example, the user -# class has the number 9 assigned to it. -# -# ---------------------------------------------------------------------- - -# Attribute definition for cygwinHome - -dn: CN=cygwin-Home,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemaadd -objectClass: top -objectClass: attributeSchema -cn: cygwin-Home -attributeID: 1.3.6.1.4.1.2312.15.2.1 -# attributeSyntax 2.5.5.12 is String(Unicode) with oMSyntax == 64 -# see http://technet.microsoft.com/en-us/library/cc961740.aspx -attributeSyntax: 2.5.5.12 -isSingleValued: TRUE -adminDisplayName: cygwin-Home -adminDescription: cygwin-Home -oMSyntax: 64 -searchFlags: 1 -lDAPDisplayName: cygwinHome -systemOnly: FALSE - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- - -# Attribute definition for cygwinShell - -dn: CN=cygwin-Shell,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemaadd -objectClass: top -objectClass: attributeSchema -cn: cygwin-Shell -attributeID: 1.3.6.1.4.1.2312.15.2.2 -attributeSyntax: 2.5.5.12 -isSingleValued: TRUE -adminDisplayName: cygwin-Shell -adminDescription: cygwin-Shell -oMSyntax: 64 -searchFlags: 1 -lDAPDisplayName: cygwinShell -systemOnly: FALSE - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- - -# Attribute definition for cygwinGecos - -dn: CN=cygwin-Gecos,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemaadd -objectClass: top -objectClass: attributeSchema -cn: cygwin-Gecos -attributeID: 1.3.6.1.4.1.2312.15.2.3 -attributeSyntax: 2.5.5.12 -isSingleValued: TRUE -adminDisplayName: cygwin-Gecos -adminDescription: cygwin-Gecos -oMSyntax: 64 -searchFlags: 1 -lDAPDisplayName: cygwinGecos -systemOnly: FALSE - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- - -# Attribute definition for cygwinFstab - -dn: CN=cygwin-Fstab,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemaadd -objectClass: top -objectClass: attributeSchema -cn: cygwin-Fstab -attributeID: 1.3.6.1.4.1.2312.15.2.4 -attributeSyntax: 2.5.5.12 -isSingleValued: FALSE -adminDisplayName: cygwin-Fstab -adminDescription: cygwin-Fstab -oMSyntax: 64 -searchFlags: 1 -lDAPDisplayName: cygwinFstab -systemOnly: FALSE - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- - -# Attribute definition for cygwinUnixUid - -dn: CN=cygwin-UnixUid,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemaadd -objectClass: top -objectClass: attributeSchema -cn: cygwin-UnixUid -attributeID: 1.3.6.1.4.1.2312.15.2.5 -# attributeSyntax 2.5.5.9 is Integer with oMSyntax == 2 -attributeSyntax: 2.5.5.9 -isSingleValued: TRUE -adminDisplayName: cygwin-UnixUid -adminDescription: cygwin-UnixUid -oMSyntax: 2 -searchFlags: 1 -lDAPDisplayName: cygwinUnixUid -systemOnly: FALSE - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- - -# Attribute definition for cygwinUnixGid - -dn: CN=cygwin-UnixGid,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemaadd -objectClass: top -objectClass: attributeSchema -cn: cygwin-UnixGid -attributeID: 1.3.6.1.4.1.2312.15.2.6 -attributeSyntax: 2.5.5.9 -isSingleValued: TRUE -adminDisplayName: cygwin-UnixGid -adminDescription: cygwin-UnixGid -oMSyntax: 2 -searchFlags: 1 -lDAPDisplayName: cygwinUnixGid -systemOnly: FALSE - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- - -# cygwin-User auxiliary class - -dn: CN=cygwin-User,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemaadd -objectClass: top -objectClass: classSchema -cn: cygwin-User -governsID: 1.3.6.1.4.1.2312.15.1.1 -mayContain: cygwinHome -mayContain: cygwinShell -mayContain: cygwinGecos -mayContain: cygwinFstab -mayContain: cygwinUnixUid -rDNAttID: cn -adminDisplayName: cygwin-User -adminDescription: cygwin-User -objectClassCategory: 3 -lDAPDisplayName: cygwinUser -name: cygwin-User -systemOnly: FALSE - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- - -# cygwin-Group auxiliary class - -dn: CN=cygwin-Group,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemaadd -objectClass: top -objectClass: classSchema -cn: cygwin-Group -governsID: 1.3.6.1.4.1.2312.15.1.2 -mayContain: cygwinUnixGid -rDNAttID: cn -adminDisplayName: cygwin-Group -adminDescription: cygwin-Group -objectClassCategory: 3 -lDAPDisplayName: cygwinGroup -name: cygwin-Group -systemOnly: FALSE - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- - -# Attach cygwin-User to User - -dn: CN=User,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemamodify -add: auxiliaryClass -auxiliaryClass: cygwinUser -- - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- - -# Attach cygwin-Group to Group - -dn: CN=Group,CN=Schema,CN=Configuration,DC=X -changetype: ntdsschemamodify -add: auxiliaryClass -auxiliaryClass: cygwinGroup -- - -dn: -changetype: modify -add: schemaUpdateNow -schemaUpdateNow: 1 -- +# ========================================================================= +# +# Schema Extension for Cygwin User and Group auxiliary classes +# +# Extend your Active Directory using +# +# ldifde -i -f \.ldif -b \ +# -k -c "CN=schema,CN=Configuration,DC=X" #schemaNamingContext +# +# Remember: +# - you have to be schema admin for your active directory +# - you have to run the above command directly from your schema master +# +# For further information read +# http://technet.microsoft.com/en-us/magazine/2008.05.schema.aspx +# +# ---------------------------------------------------------------------- +# +# Explanation for the OIDs: +# +# Value Meaning Description +# 1 ISO Identifies the root authority. +# 3 IANA Group designation assigned by ISO. +# 6.1.4.1.2312 Red Hat Organization assigned by IANA. +# 15 Cygwin Assigned by Organization. +# Y Object Type Number defining the different object type +# (category) such as classSchema or +# attributeSchema. For example, 5 defines +# object class. +# Z Object Number identifying a particular object +# within the category. For example, the user +# class has the number 9 assigned to it. +# +# ---------------------------------------------------------------------- + +# Attribute definition for cygwinHome + +dn: CN=cygwin-Home,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemaadd +objectClass: top +objectClass: attributeSchema +cn: cygwin-Home +attributeID: 1.3.6.1.4.1.2312.15.2.1 +# attributeSyntax 2.5.5.12 is String(Unicode) with oMSyntax == 64 +# see http://technet.microsoft.com/en-us/library/cc961740.aspx +attributeSyntax: 2.5.5.12 +isSingleValued: TRUE +adminDisplayName: cygwin-Home +adminDescription: cygwin-Home +oMSyntax: 64 +searchFlags: 1 +lDAPDisplayName: cygwinHome +systemOnly: FALSE + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- + +# Attribute definition for cygwinShell + +dn: CN=cygwin-Shell,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemaadd +objectClass: top +objectClass: attributeSchema +cn: cygwin-Shell +attributeID: 1.3.6.1.4.1.2312.15.2.2 +attributeSyntax: 2.5.5.12 +isSingleValued: TRUE +adminDisplayName: cygwin-Shell +adminDescription: cygwin-Shell +oMSyntax: 64 +searchFlags: 1 +lDAPDisplayName: cygwinShell +systemOnly: FALSE + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- + +# Attribute definition for cygwinGecos + +dn: CN=cygwin-Gecos,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemaadd +objectClass: top +objectClass: attributeSchema +cn: cygwin-Gecos +attributeID: 1.3.6.1.4.1.2312.15.2.3 +attributeSyntax: 2.5.5.12 +isSingleValued: TRUE +adminDisplayName: cygwin-Gecos +adminDescription: cygwin-Gecos +oMSyntax: 64 +searchFlags: 1 +lDAPDisplayName: cygwinGecos +systemOnly: FALSE + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- + +# Attribute definition for cygwinFstab + +dn: CN=cygwin-Fstab,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemaadd +objectClass: top +objectClass: attributeSchema +cn: cygwin-Fstab +attributeID: 1.3.6.1.4.1.2312.15.2.4 +attributeSyntax: 2.5.5.12 +isSingleValued: FALSE +adminDisplayName: cygwin-Fstab +adminDescription: cygwin-Fstab +oMSyntax: 64 +searchFlags: 1 +lDAPDisplayName: cygwinFstab +systemOnly: FALSE + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- + +# Attribute definition for cygwinUnixUid + +dn: CN=cygwin-UnixUid,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemaadd +objectClass: top +objectClass: attributeSchema +cn: cygwin-UnixUid +attributeID: 1.3.6.1.4.1.2312.15.2.5 +# attributeSyntax 2.5.5.9 is Integer with oMSyntax == 2 +attributeSyntax: 2.5.5.9 +isSingleValued: TRUE +adminDisplayName: cygwin-UnixUid +adminDescription: cygwin-UnixUid +oMSyntax: 2 +searchFlags: 1 +lDAPDisplayName: cygwinUnixUid +systemOnly: FALSE + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- + +# Attribute definition for cygwinUnixGid + +dn: CN=cygwin-UnixGid,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemaadd +objectClass: top +objectClass: attributeSchema +cn: cygwin-UnixGid +attributeID: 1.3.6.1.4.1.2312.15.2.6 +attributeSyntax: 2.5.5.9 +isSingleValued: TRUE +adminDisplayName: cygwin-UnixGid +adminDescription: cygwin-UnixGid +oMSyntax: 2 +searchFlags: 1 +lDAPDisplayName: cygwinUnixGid +systemOnly: FALSE + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- + +# cygwin-User auxiliary class + +dn: CN=cygwin-User,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemaadd +objectClass: top +objectClass: classSchema +cn: cygwin-User +governsID: 1.3.6.1.4.1.2312.15.1.1 +mayContain: cygwinHome +mayContain: cygwinShell +mayContain: cygwinGecos +mayContain: cygwinFstab +mayContain: cygwinUnixUid +rDNAttID: cn +adminDisplayName: cygwin-User +adminDescription: cygwin-User +objectClassCategory: 3 +lDAPDisplayName: cygwinUser +name: cygwin-User +systemOnly: FALSE + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- + +# cygwin-Group auxiliary class + +dn: CN=cygwin-Group,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemaadd +objectClass: top +objectClass: classSchema +cn: cygwin-Group +governsID: 1.3.6.1.4.1.2312.15.1.2 +mayContain: cygwinUnixGid +rDNAttID: cn +adminDisplayName: cygwin-Group +adminDescription: cygwin-Group +objectClassCategory: 3 +lDAPDisplayName: cygwinGroup +name: cygwin-Group +systemOnly: FALSE + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- + +# Attach cygwin-User to User + +dn: CN=User,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemamodify +add: auxiliaryClass +auxiliaryClass: cygwinUser +- + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- + +# Attach cygwin-Group to Group + +dn: CN=Group,CN=Schema,CN=Configuration,DC=X +changetype: ntdsschemamodify +add: auxiliaryClass +auxiliaryClass: cygwinGroup +- + +dn: +changetype: modify +add: schemaUpdateNow +schemaUpdateNow: 1 +- diff --git a/msys2/usr/share/tabset/vt100 b/msys2/usr/share/tabset/vt100 index a65f7430b..8828d19da 100644 --- a/msys2/usr/share/tabset/vt100 +++ b/msys2/usr/share/tabset/vt100 @@ -1,3 +1,3 @@ - +  H H H H H H H H H H H H H H H H