-
-
Notifications
You must be signed in to change notification settings - Fork 192
Windows Platform
Lem 2.1 ships a binary release for Windows. See: https://github.com/lem-project/lem/releases/tag/v2.1.0
Please see first https://lem-project.github.io/installation/sdl2/linux/
-
Installation
-
Setup MSYS2
https://www.msys2.org/ -
Install MinGW-w64 toolchain
Open 'MSYS2 MSYS Shell' from program menu and run the following commands.pacman -S base-devel pacman -S mingw-w64-x86_64-toolchain
-
Install winpty
pacman -S winpty
NOTE: There is an input problem. Please check
https://github.com/cxxxr/lem/issues/453 .NOTE: On Windows 10, winpty crashes if resizing screen so that the cursor is hidden.
Please check https://github.com/cxxxr/lem/issues/532 . -
Install PDCurses
Open 'MSYS2 MinGW 64-bit Shell' from program menu and run the following commands.pacman -S mingw64/mingw-w64-x86_64-pdcurses cp -i /mingw64/include/pdcurses.h /mingw64/include/ncurses.h
NOTE: There is a package version problem. Please check
https://github.com/cxxxr/lem/issues/454 .NOTE: On Windows 10, the display corruption of Japanese characters occurs.
Please check https://github.com/cxxxr/lem/issues/531 . -
Install Roswell
https://github.com/roswell/roswell/wiki/Installation#windows
Add the extracted directory path to the environment variable PATH.NOTE: If 'ros' command is not found in 'MSYS2 MinGW 64-bit Shell',
please check the environment variable MSYS2_PATH_TYPE . See
https://sourceforge.net/p/msys2/discussion/general/thread/dbe17030/ . -
Setup Roswell
ros setup
-
Install Lem
ros install cxxxr/lem
-
Install Utility
ros install cxxxr/async-process
NOTE: Manual installation of async-process is no longer required.
If the old version of async-process exists, please delete it.
(Delete async-process directory in%USERPROFILE%\.roswell\local-projects\cxxxr
.)
(You might also need to runros update quicklisp
.)
-
-
Usage
-
Open 'MSYS2 MinGW 64-bit Shell' from program menu and run the following command.
winpty ros -Q -s lem-pdcurses -L sbcl-bin -- $USERPROFILE/.roswell/bin/lem-ncurses
The screen of Lem editor will be displayed and you can use it like emacs without any settings.
(You can also set the alias as follows in such as .bashrc
alias lem='winpty ros -Q -s lem-pdcurses -L sbcl-bin -- $USERPROFILE/.roswell/bin/lem-ncurses'
Then, you can run Lem by only 'lem' command.)
-
-
Update
- Update Lem
ros update lem
- Update Lem
-
Other information
- (Japanese)
-
https://gist.github.com/Hamayama/deba598ab70f5d5d6952b51f82793473
(Installation) -
https://gist.github.com/Hamayama/03eb1c2984abc2ddb7a1c04d15e1bd32
(scheme-mode) -
https://gist.github.com/Hamayama/fc442e71304629527866f7c69c2e9f5e
(Windows Terminal) -
https://gist.github.com/Hamayama/16268a9d607eaebcc56df907eac97cd2
(ConEmu) -
https://gist.github.com/Hamayama/12d5e637fc684e1d7e58e96aad5d0728
(Wide characters setting)
-
https://gist.github.com/Hamayama/deba598ab70f5d5d6952b51f82793473
- (Japanese)
- LispWorks licence is required.
(2019-6-5)(2019-12-9)(2020-4-6)(2020-9-6)(2020-10-12)
(2020-10-18)(2020-11-3)