Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[App] Terminal remplacement. #295

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Apps/Terminal/.screenrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
startup_message off
attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce on

#F3 to scroll up (L2)
bindkey "^[OR" eval "copy" "stuff ^b"

#F4 to scroll up (R2)
bindkey "^[OS" eval "copy" "stuff ^f"
Binary file removed Apps/Terminal/SimpleTerminal
Binary file not shown.
Binary file added Apps/Terminal/TermSP
Binary file not shown.
4 changes: 2 additions & 2 deletions Apps/Terminal/config.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"label": "Terminal",
"icon": "icon.png",
"launch": "launch.sh",
"description": "SimpleTerminal"
}
"description": "TermSP"
}
Empty file modified Apps/Terminal/icon.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 4 additions & 10 deletions Apps/Terminal/launch.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
#!/bin/bash

# Fix slowdown caused by moded inputd
touch /var/trimui_inputd/sticks_disabled
progdir=$(dirname "$0")
export LD_LIBRARY_PATH="$progdir/lib:$LD_LIBRARY_PATH"

if [ "$#" -gt 0 ]; then
/mnt/SDCARD/Apps/Terminal/SimpleTerminal "$@"
else
progdir=$(dirname "$0")
cd $progdir
./SimpleTerminal
fi
[ $# -eq 0 ] && FLAGS="-k"

rm /var/trimui_inputd/sticks_disabled
$progdir/TermSP $FLAGS "$@"
Binary file added Apps/Terminal/lib/libaudit.so.1
Binary file not shown.
Binary file added Apps/Terminal/lib/libcap-ng.so.0
Binary file not shown.
Binary file added Apps/Terminal/lib/libcrypt.so.1
Binary file not shown.
Binary file added Apps/Terminal/lib/libpam.so.0
Binary file not shown.
Binary file added Apps/Terminal/lib/libsdlfox.so
Binary file not shown.
Binary file added Apps/Terminal/lib/libtinfo.so.6
Binary file not shown.
Binary file added Apps/Terminal/lib/libutempter.so.0
Binary file not shown.
Binary file added Apps/Terminal/lib/libvterm.so.0
Binary file not shown.
Binary file added Apps/Terminal/resources/Hack-Bold.ttf
Binary file not shown.
Binary file added Apps/Terminal/resources/Hack-Regular.ttf
Binary file not shown.
Binary file added Apps/Terminal/screen
Binary file not shown.