openssh

package
v0.0.0-...-6b19b2b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	M77 = time.Millisecond * 77
	BIN = "OpenSSH"

	BUG = ansiRedBG + "Ж" + ansiReset
)

Variables

This section is empty.

Functions

func BufToPwstr

func BufToPwstr(size uint) *uint16

create buffer for string

func GetClassName

func GetClassName(hwnd win32.HWND) (ClassName string)

get class name by hwnd

func GetTreePids

func GetTreePids(rootPid uint32) ([]uint32, error)

https://gist.github.com/gekigek99/94f3629e929d514ca6eed55e111ae442 GetTreePids will return a list of pids that represent the tree of process pids originating from the specified one. (they are ordered: [parent, 1 gen child, 2 gen child, ...])

func GetWindowText

func GetWindowText(hwnd win32.HWND) (WindowText string)

get title of window by hwnd

func OpenSshPTY

func OpenSshPTY(s gl.Session)

PTY from OpenSSH amd64 to handle winCh over ctderr 386 ugly to handle winCh by `mod con columns=`

func ShellArgs

func ShellArgs(commands []string) (args []string)

PTY from OpenSSH

func UnloadEmbedded

func UnloadEmbedded(src, root, trg string, keep bool) error

copy from embed

Types

This section is empty.

Directories

Path Synopsis
spy
spy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL