Server IP : 103.119.228.120 / Your IP : 18.119.161.216 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/share/zsh/5.0.2/functions/ |
Upload File : |
#compdef xset local word=$'[^\0]#\0' local nul=$'\0' local guard='-_xset_guard ${match[1]%?}' _xset_guard () { local opt="$1" o (( no[$opt]-- )) for o in ${=eo[$opt]}; do no[$o]=0 done : } _xset_compopts () { local expl local opt tmp tmp=() for opt in ${(k)no[(R)*~0]} do if (( $+desc[$opt] )); then tmp=("$tmp[@]" "$opt:$desc[$opt]") else tmp=("$tmp[@]" "$opt") fi done _describe -O options tmp -- || _describe -O options allopts -- } _xset_compfpadd () { _files "$expl[@]" -/ } _xset_compfpdel () { compadd "$expl[@]" - ${(s:,:)${"$(xset q)"##* Font Path: #}%% *} } _regex_arguments _xset_parse \ "/$word/" \ \( "/-d(isplay|)$nul/" "$guard" "/$word/" ':option-display:display:_x_display' \ \| "/-c$nul/" "$guard" \ \| "/c$nul/" "$guard" \ \( "/(on|off)$nul/" ':option-c-bool:click:(on off)' \ \| "/[0-9]##$nul/" ':option-c-volume:volume:' \ \| \) \ \| "/-b$nul/" "$guard" \ \| "/b$nul/" "$guard" \ \( "/(on|off)$nul/" ':option-b-bool:bell:(on off)' \ \| "/[0-9]##$nul/" ':option-b-volume:bell volume:' \ \( "/[0-9]##$nul/" ':option-b-pitch:bell pitch:' \ \( "/[0-9]##$nul/" ':option-b-duration:bell duration:' \ \| \) \ \| \) \ \| \) \ \| "/bc$nul/" "$guard" \ \| "/-bc$nul/" "$guard" \ \| "/fp$nul/" "$guard" "/$word/" ':option-fp:font path:(default rehash)' \ \| "/(fp[+=]|[+]fp)$nul/" "$guard" "/$word/" ':option-fp-add:font path:{compset -P "*,"; _xset_compfpadd}' \ \| "/(fp-|-fp)$nul/" "$guard" "/$word/" ':option-fp-del:font path:{compset -P "*,"; _xset_compfpdel}' \ \| "/-led$nul/" "$guard" \ \( "/[0-9]##$nul/" ':option-led-number:led number:' \ \| \) \ \| "/led$nul/" "$guard" \ \( "/(on|off)$nul/" ':option-led-bool:led:(on off)' \ \| "/[0-9]##$nul/" ':option-led-number:led number:' \ \| \) \ \| "/m(ouse|)$nul/" "$guard" \ \( "/default$nul/" ':option-mouse-default:mouse parameter:(default)' \ \| "/[0-9]##(/[0-9]##|)$nul/" ':option-mouse-mult-div:accel_mult/accel_div:' \ \( "/[0-9]##$nul/" ':option-mouse-threshold:threshold:' \ \| \) \ \| \) \ \| "/[-+]dpms$nul/" "$guard" \ \| "/dpms$nul/" "$guard" \ \( "/[0-9]##$nul/" ':option-dpms-standby:standby timeout:' \ \( "/[0-9]##$nul/" ':option-dpms-suspend:suspend timeout:' \ \( "/[0-9]##$nul/" ':option-dpms-off:off timeout:' \ \| \) \ \| \) \ \| "/force$nul/" ':option-dpms-force:force DPMS state:(force)' \ "/(on|standby|suspend|off)$nul/" ':option-dpms-state:DPMS state:(on standby suspend off)' \ \) \ \| "/s$nul/" "$guard" \ \( "/(blank|noblank|expose|noexpose|default|on|activate|reset)$nul/" \ ':option-s:screen saver:(blank noblank expose noexpose default on activate reset off)' \ \| "/off$nul/" \( "/off$nul/" ':option-s-off-period:period off:(off)' \| \) \ \| "/[0-9]##$nul/" ':option-s-timeout:length:' \ \( "/[0-9]##$nul/" ':option-s-period:period:' \ \| \) \ \| \) \ \| "/-r$nul/" "$guard" \ \( "/[0-9]##$nul/" ':option-r-keycode:keycode:' \ \| \) \ \| "/r$nul/" "$guard" \ \( "/(on|off)$nul/" ':option-r-autorepeat:autorepeat:(on off)' \ \| "/[0-9]##$nul/" ':option-r-keycode:keycode:' \ \| \) \ \| "/p$nul/" "$guard" \ "/[0-9]##$nul/" ':option-p-pixel:pixel:' \ "/$word/" ':option-p-color:color:_x_color' \ \| "/(-|)k$nul/" "$guard" \ \| "/(-|)q$nul/" "$guard" \ \| "/[]/" ':options:options:_xset_compopts' \ \) \# _xset () { local expl allopts typeset -A desc no eo desc=( b 'specify bell parameters' -b 'disable bell' bc 'enable bug compatibility' -bc 'disable bug compatibility' c 'control key click' -c 'disable key click' -dpms 'disable DPMS' +dpms 'enable DPMS' dpms 'specify DPMS parameter' fp\= 'set font path' fp 'control font path' -fp 'remove font path elements' fp- 'remove font path elements' +fp 'prepend font path elements' fp+ 'append font path elements' led 'control keyboard LEDs' -led 'turn off all LEDs' m 'specify mouse parameters' mouse 'specify mouse parameters' p 'specify pixel color values' r 'enable autorepeat' -r 'disable autorepeat' s 'specify screen saver parameters' q 'query current information' k 'enable lock' -k 'disable lock' -display 'display' ) no=( -display 1 -d 0 -c 1 c 1 -b 1 b 1 -bc 1 bc 1 fp 1 fp= 1 +fp 1 fp+ 1 -fp 1 fp- 1 -led 1 led 1 mouse 1 m 0 +dpms 1 -dpms 1 dpms 1 s 1 -r 1 r 1 p 1 -k 1 k 1 -q 0 q 1 ) allopts=() for opt in ${(k)no} do if (( $+desc[$opt] )); then allopts=("$allopts[@]" "$opt:$desc[$opt]") else allopts=("$allopts[@]" "$opt") fi done eo=( -display '-display -d' -d '-display -d' -c '-c c' c '-c c' -b '-b b' b '-b b' -bc '-bc bc' bc '-bc bc' fp+ 'fp fp=' fp- 'fp fp=' +fp 'fp fp=' -fp 'fp fp=' m 'm mouse' mouse 'm mouse' -dpms '+dpms -dpms dpms' +dpms '+dpms -dpms dpms' dpms '+dpms -dpms dpms' -k '-k k' k '-k k' ) _xset_parse } _xset "$@"