Using Unix terminal from Pharo.
Note: this work is based on the work at: https://github.com/pavel-krivanek/terminal
Require libc compliant with the host pharo VM (32 or 64 bits) to be installed.
Install on pharo 7
Metacello new repository: 'github://lxsang/PTerm'; baseline:'PTerm'; load
TerminalEmulator openShell: '/bin/bash'
Fonts and Themes
By default, PTerm automatically downloads and uses 'DejaVu Sans Mono' as the default font, but you can always change the default font by accessing to the terminal window menu as below:
Normally, the default font (DejaVu Sans Mono) supports most commonly used Unicode character. But for those who want heavily Unicode support (Chinese, Thai, Japanese, etc.), PTerm has a second option in the window menu, that allows to automatically download and use Unifont (12 MB) as the default font. This font offers 65536 Unicode codepoints hence supports almost every language, it doesn't look really nice though.
The default theme of PTerm can also be changed via the window menu, some available themes in dark and light mode:
- Linux console
- Atom One
- more incomming...