Skip to content

Commit 45397b9

Browse files
authored
docs(troubleshooting): overriding the $TERM to a more compatible value like xterm-256color
1 parent 8c253a0 commit 45397b9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/Developer-Guide_Build-Preparation.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ Run framework:
6868
./compile.sh [command] [switch...] [config...]
6969
```
7070

71+
!!! tip "Troubleshooting: 'unknown terminal type' error"
72+
When running the script, especially from modern terminal emulators (like Ghostty, Kitty, WezTerm), you might encounter an error like 'xterm-ghostty': unknown terminal type
73+
74+
**Quick Workaround:** You can force a more common terminal type before running the script:
75+
```bash
76+
export TERM=xterm-256color
77+
./compile.sh
78+
```
79+
7180
Only one command can be specified.
7281

7382
Switches are parameter settings that are used by the build framework itself

0 commit comments

Comments
 (0)