Skip to content

Commit

Permalink
Remove old and rawpty files.
Browse files Browse the repository at this point in the history
Also rename hvsocket folder to samples.
  • Loading branch information
Biswa96 committed Dec 25, 2020
1 parent da84cdf commit 70d6c81
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 1,376 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# This file is part of wslbridge2 project.
# Licensed under the terms of the GNU General Public License v3 or later.
# Copyright (C) Biswapriyo Nath.
# Copyright (C) 2019-2020 Biswapriyo Nath.

# Root Makefile for wslbridge2 project
# For static linked binaries use `make RELEASE=1` command

all:
ifeq ($(OS), Windows_NT)
cd src; $(MAKE) -f Makefile.frontend
cd rawpty; $(MAKE) -f Makefile
else
cd src; $(MAKE) -f Makefile.backend
endif
Expand Down
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,13 @@ Download the released stable binaries from [Release page][3]. Or to test
nightly builds, download the wslbridge2.zip from this [Appveyor project link][5].
Here are some info about the directories of this project.

### hvsocket: sample C code using Hyper-V sockets
### samples: sample C code using Hyper-V sockets

Pick up any one of 1. `win_client` & `wsl_server` 2. `win_server` & `wsl_client`.
Run `wsl.exe` first. Paste the VM ID from the last argument of `wslhost.exe`
process's command line. Compile the `win_` part in cygwin or msys2 and
the `wsl_` part in WSL. Run the server part first. It will wait for the client.

### rawpty: use pseudo console with terminal emulators

Run `rawpty.exe wsl.exe` command. This can also be any Windows console program.
See the sample [screenshot](images/Headless_Mode.PNG) without headless mode.

### wslbridge2: connect with WSL using network sockets

Place `wslbridge2.exe` and `wslbridge2-backend` in same Windows folder.
Expand Down
Loading

0 comments on commit 70d6c81

Please sign in to comment.