Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lxsang/PTerm
https://github.com/lxsang/PTerm
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lxsang/PTerm
- Owner: lxsang
- License: mit
- Created: 2018-10-11T09:36:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T21:45:16.000Z (3 months ago)
- Last Synced: 2024-11-08T22:31:48.254Z (3 months ago)
- Language: Smalltalk
- Size: 2.61 MB
- Stars: 35
- Watchers: 8
- Forks: 8
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pharo - PTerm - Using Unix terminal from Pharo. (Miscellaneous)
README
# PTerm
Using Unix terminal from Pharo.
Note: this work is based on the work at: [https://github.com/pavel-krivanek/terminal](https://github.com/pavel-krivanek/terminal)
Require libc compliant with the host pharo VM (32 or 64 bits) to be installed.
![PTerm](https://github.com/lxsang/PTerm/raw/master/Pterm.gif)
## Install
Install on pharo 9 and up:
```smalltalk
Metacello new
repository: 'github://lxsang/PTerm';
baseline:'PTerm';
load
```Support for older version (Pharo 7) on [this branch](https://github.com/lxsang/PTerm/tree/pharo7-stable)
## Usage
```Smalltalk
TerminalEmulator openShell: '/bin/bash'
```**/!\ tip**: by default select text in terminal will copy it, right click will paste te copied text.
## Fonts and Themes
### Fonts
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:![](https://github.com/lxsang/online_stuffs/raw/master/pterm-menu.png)
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.### Themes
The default theme of PTerm can also be changed via the window menu, some available themes in dark and light mode:
* Solarized
* Xterm
* Tango
* Linux console
* Atom
* Atom One
* more incomming...