Server IP : 103.119.228.120 / Your IP : 3.138.124.123 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/local/ssl/local/ssl/share/zsh/5.0.2/functions/ |
Upload File : |
#compdef screen local curcontext="$curcontext" state line expl local scr_cmds sessions function __screen_normal() { if (( CURRENT == 1 )) && [[ $PREFIX == /dev/* ]]; then _path_files -g '*(%)' elif (( CURRENT == 2 )) && [[ ${words[1]} == /dev/* ]]; then _message "baud rate" elif (( CURRENT > 2 )) && [[ ${words[1]} == /dev/* ]]; then _message "no more parameters" else _normal "$@" fi } scr_cmds=( acladd aclchg acldel aclgrp aclumask activity addacl allpartial altscreen at attrcolor autodetach autonuke backtick bce bd_bc_down bd_bc_left bd_bc_right bd_bc_up bd_bell bd_braille_table bd_eightdot bd_info bd_link bd_lower_left bd_lower_right bd_ncrc bd_port bd_scroll bd_skip bd_start_braille bd_type bd_upper_left bd_upper_right bd_width bell_msg bind bindkey blanker blankerprg break breaktype bufferfile c1 caption chacl charset chdir clear colon command compacthist console copy crlf debug defautonuke defbce defbreaktype defc1 defcharset defencoding defescape defflow defgr defhstatus defkanji deflog deflogin defmode defmonitor defnonblock defobuflimit defscrollback defshell defsilence defslowpaste defutf8 defwrap defwritelock detach digraph dinfo displays dumptermcap echo encoding escape eval exec fit flow focus gr hardcopy hardcopy_append hardcopydir hardstatus height help history hstatus idle ignorecase info kanji kill lastmsg license lockscreen log logfile login logtstamp mapdefault mapnotnext maptimeout markkeys maxwin meta monitor msgminwait msgwait multiuser nethack next nonblock number obuflimit only other partial password paste pastefont pow_break pow_detach pow_detach_msg prev printcmd process quit readbuf readreg redisplay register remove removebuf reset resize screen scrollback select sessionname setenv setsid shell shelltitle silence silencewait sleep slowpaste sorendition source split startup_message stuff su suspend term termcap termcapinfo terminfo time title umask unsetenv utf8 vbell vbell_msg vbellwait verbose version wall width windowlist windows wrap writebuf writelock xoff xon zmodem zombie ) _arguments -C \ "-a[force all capabilities into each window's termcap]" \ '-A[adapt all windows to the new display width & height]' \ "-c[read configuration file instead of '.screenrc']:config file:_files" \ '-d[detach the elsewhere running screen (with -r: reattach here)]: :->attached-sessions' \ '-dmS[start as daemon, screen session in detached mode]:session name' \ '-D[detach and logout remote (with -r: reattach here)]: :->attached-sessions' \ '-e[change command characters]:command characters' \ '-f-[set flow control]:flow control:((n\:flow\ control\ off a\:flow\ control\ auto \:flow\ control\ on))' \ '-h[set the size of the scrollback history buffer]:buffer size' \ '-i[interrupt output sooner when flow control is on]' \ '(-l)-ln[login mode off (do not update utmp database)]' \ '(-ln)-l[login mode on (update utmp database)]' \ '(-)'{-ls,-list}'[list sessions/socket directory]' \ "-L[terminal's last character can be safely updated]" \ '-m[ignore $STY variable, do create a new screen session]' \ '-O[choose optimal output rather than exact vt100 emulation]' \ '-p[preselect the named window]:window number or name:((\=\:windowlist -\:blank\ window \:window\ number))' \ '-q[quiet startup, exit with non-zero return code if unsuccessful]' \ '-r[reattach to a detached screen process]: :->detached-sessions' \ '-Dr: :->any-sessions' \ '-dr: :->any-sessions' \ '-R[reattach if possible, otherwise start a new session]: :->detached-sessions' \ '-DR: :->any-sessions' \ '-dR: :->any-sessions' \ '-s[shell to execute rather than $SHELL]:shell name: _command_names -e' \ '-S[name this session <pid>.sockname instead of <pid>.<tty>.<host>]:session name:->any-sessions' \ "-t[set title (window's name)]:title" \ '-T[use term as $TERM for windows, rather than "screen"]:terminal type:_terminals' \ '-U[tell screen to use UTF-8 encoding]' \ '(-)-v[print screen version]' \ '(-)-wipe[do nothing, clean up SockDir]' \ '-x[attach to a not detached screen (multi display mode)]: :->attached-sessions' \ '-Dx: :->any-sessions' \ '-dx: :->any-sessions' \ '-X[execute command as a screen command in the specified session]:screencmd:(${scr_cmds[@]})' \ '*::arguments: __screen_normal' if [[ -n $state ]]; then case $state in attached-sessions) sessions=( ${${${(M)${(f)"$(_call_program screen-sessions $words[1] \ -ls 2>/dev/null)"}:#*[Aa]ttached*}##[[:blank:]]}%%[[:blank:]]*} ) ;; detached-sessions) sessions=( ${${${(M)${(f)"$(_call_program screen-sessions $words[1] \ -ls 2>/dev/null)"}:#*[Dd]etached*}##[[:blank:]]}%%[[:blank:]]*} ) ;; any-sessions) sessions=( ${${${(M)${(f)"$(_call_program screen-sessions $words[1] \ -ls 2>/dev/null)"}:#*tached*}##[[:blank:]]}%%[[:blank:]]*} ) esac # check if initial PID is necessary to make sessions unambiguous if [[ ${#${(u)sessions#*.}} -lt $#sessions ]]; then _wanted screen-sessions expl "${state%-*} screen process" \ compadd -a sessions else _wanted screen-sessions expl "${state%-*} screen process" \ compadd ${sessions#*.} fi fi