wslbridge

Bridge from Cygwin to WSL pty/pipe I/O

  • 所有者: rprichard/wslbridge
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

wslbridge

wslbridge is a Cygwin program that allows connecting to the WSL command-line
environment over TCP sockets, as with ssh, but without the overhead of
configuring an SSH server.

Building wslbridge

You'll need a Cygwin (32 or 64 bit) environment, as well as a WSL environment
(or any other Linux environment). Make sure you have the g++ and make packages
installed.

In Cygwin:

$ cd frontend
make

In WSL/Linux:

$ cd backend
make

The Cygwin frontend program is written to out/wslbridge.exe. The ELF64
backend program is written to out/wslbridge-backend. The files can be copied
somewhere more convenient, but they need to be on a letter drive (e.g. not a
\\server\share\... UNC path). They also need to be on an NTFS volume. The
frontend looks for the backend in its own directory.

Usage

Usage is similar to that of ssh. Run wslbridge with no arguments to start
a bash session in a WSL pty. Append a command-line to run that command in WSL
without a pty (i.e. using 3 pipes for stdio).

wslbridge runs its WSL command with either a pty or using pipes. Pass -t
to enable pty mode or -T to enable pipe mode. Pass -t -t to force pty mode
even if stdin is not a terminal.

Pass -eVAR=VAL to set an environment variable within WSL. Pass just -eVAR
to copy the value from the Cygwin environment.

wsltty (mintty/wslbridge package)

The mintty project provides wsltty, a
standalone WSL terminal package containing mintty, wslbridge, and part of
Cygwin (e.g. the runtime library).

This project is distributed under the MIT license (see the LICENSE file in
the project root).

By submitting a pull request for this project, you agree to license your
contribution under the MIT license to this project.

主要指标

概览
名称与所有者rprichard/wslbridge
主编程语言C++
编程语言Makefile (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2016-08-13 08:45:47
推送于2020-09-16 16:32:40
最后一次提交2018-10-14 02:04:31
发布数6
最新版本名称0.2.4 (发布于 )
第一版名称0.1.0 (发布于 )
用户参与
星数357
关注者数22
派生数18
提交数64
已启用问题?
问题数46
打开的问题数30
拉请求数1
打开的拉请求数1
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?