登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
4
Star
5
Fork
0
清晨
/
termux
代码
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
发行版
最新版
v5.0
38cbef1
2025-01-08 14:41
对比
v0.115 (F-Droid only)
清晨
Added Add support to send back or store RUN_COMMAND intent command results in files and provide way to fix argument splitting sent with am command caused by commas , in arguments itself. Native support has been added inside termux to store results of both foreground and background commands inside files, that also sends back internal errmsgs as long as result files extras are valid. This can be used to run synchronous commands from inside termux, with other apps that have Run commands in Termux environment (com.termux.permission.RUN_COMMAND) like Tasker, from pc over adb or inside adb shell if you have a rooted device, or from pc if you have setup termux sshd. The RUN_COMMAND intent can only be sent by the termux user itself, by an app that has the permission or by the root user. The shell user of adb cannot send it. A script will be provided at a later time that will automatically detect these cases to easily run RUN_COMMAND intent commands which will also automatically create temp directories and do cleanup. This can also be useful inside termux itself, like if you want to start a new foreground session and to automatically store its output to a log file when you exit. Support can also be added for this to be done for termux-boot and termux-widget as well but will require updates for them. Check the commit message for full details and examples for this since too long to be added here. (2aafcf8) Add termux settings button to left drawer too since apparently people can't find the one in context menu. (59877a0) Allow users to disable terminal margin adjustment. The user can add disable-terminal-margin-adjustment=true entry to termux.properties file to disable terminal view margin adjustment that is done to prevent soft keyboard from covering bottom part of terminal view on some devices. Margin adjustment may cause screen flickering on some devices and so should be disabled. The default value is false. So adding the entry disable-terminal-margin-adjustment=true to termux.properties file will disable margin adjustment. Exit termux and restart for changes to take affect after updating value. In case e5a9b99 did not fix screen flickering issues for #2127, then this can be used to disable it. Closes #2127. Show crash notification when bootstrap installation or setup storage failures. Sometimes users report that bootstrap installation failed on their devices but provide no details. Since they don't check logcat for the exception or exception is one time only, we can't know what happened. Although, reasons are likely root ownership files. The notification will show the full stacktrace including suppressed ones for why failure occurred and hopefully be easier to find the problems and we can get reports too. (e408fdc) Updated bootstrap to 2021.06.30-r1. (5670128) Changed Move from github packages to https://jitpack.io for hosting termux library packages. Github Package hosting is considered a private repository since it requires github APIs keys if a hosted library needs to be imported as a dependency. Importing from private repositories is not allowed as per F-Droid policy so termux plugin apps can't import termux libraries as dependencies so hence we move to Jitpack. Usage details for importing termux libraries in your own app as dependencies are in the commit message. (b7b12eb, 69e5dee, 886e52d) Change license for non-termux utils from GPLv3 to MIT so that they can be used by other termux plugin apps or apps that may be released under a different license. Termux is already using a lot of libraries that are not GPL and such general utils shouldn't be restrictive anyways. Moreover, TermuxConstants and TermuxPropertyConstants should be MIT licensed as well so that other non-FOSS or non-GPLv3 apps can use them, like for RUN_COMMAND intent. Any code not listed in exceptions of LICENSE.md files is still under GPLv3, mainly termux specific code and it will and should remain that way. All code in files whose license is changed was authored by me (@agnostic-apollo) as far as I can tell, but if any code in them is not that I missed, let me know, so that changes can be made since I can't and won't change the license of code authored by someone else. If some other objection is raised, let me know too. Future contributors should check the LICENSE.md files and see if they are okay with contributing code as MIT and if they are not, then they should create separate file/package in termux-shared. Check termux-app/LICENSE.md and termux-app/termux-shared/LICENSE.md for exceptions. (70e1acc, 4926516) Implement Errno system. This commit adds onto 679e0de. Now Error class has been implemented which will used to return errors, including suppressed throwables. Requirement for Context object has been removed from FileUtils so that they can be called from anywhere in code instead of having to pass around Context objects. Previously, string.xml was used to store error messages in case multi language support had to be added in future since error messages are displayed to users and not just for dev usage. However, now this will have to handled in java code if needed, based on locale. (4494bc6) The ExecutionCommand has been updated and command result variables have been moved to ResultData and result configuration to ResultConfig since the later two should be agnostic of what type of command there are for. They don't necessarily have to be for terminal/shell commands and can be used for plugin APIs, etc. The ResultData instead of a String errmsg now stores a list of Error objects. This is necessary since multiple errors may be picked up while a command is run, like say working directory is invalid and an error is returned by FileUtils and while sending the result to the caller, the ResultSender returns an additional error because result configuration like result directory or result output format was invalid. In these situations PluginUtils will show a notification to the user with info of each error thrown. In addition to above, in ResultData, the stdout and stderr are converted to StringBuilder instead of a String so that data can appended to each from various places in code. This commit also adds onto 679e0de and 4494bc6. (2aafcf8) Move ReportActivity to termux-shared so that other termux plugins can use it too. (7f36d7b) Move storage permission logic to PermissionUtils and add disable battery optimizations code. Option to disable battery optimizations will be added in termux settings later. (80b495e) Make TermuxTask and TermuxSession agnostic to termux environment. Those classes shouldn't be tied to termux environment like variables, interpreters and working directory since commands may need to be executed with a different environment like android's or with a different logic. (53c1a49) Move termux related file utils from FileUtils to TermuxFileUtils. (4494bc6) Move Termux app specific logic out of PermissionUtils. (12f910c) Move Android specific utils from TermuxUtils to AndroidUtils. (6bca378) Divide DialogUtils. (553913c) Move Termux app specific logic out of NotificationUtils. (1c7f916) Move Termux app specific logic out of CrashHandler. (23a900c) Fixed Fix issues with TermuxActivityRootView margin adjustment. Margin adjustment was causing screen flickering due to invalid values being calculated in landscape and split screen mode. Attempts to fix issue #2127. (e5a9b99) Redo fix for execution commands exceptions not being logged or sent back to plugin. The f62febb commit mentioned that it solved the bug where Termux:Tasker would hang indefinitely if Runtime.getRuntime().exec raised an exception, like for invalid or missing interpreter errors and Termux:Tasker wasn't notified of it. Now the errmsg will be used to send any exceptions back to Termux:Tasker and other 3rd party calls. . This however was still broken due to local design changes made to TermuxTask after testing was already done. This commit should solve that problem. Moreover, now a notification will be shown if execution commands fail to start that are run by plugins that don't expect the result back, like with termux-widget, termux-boot or RUN_COMMAND intent. This should make it easier for users to debug problems, since otherwise logcat needs to be looked. But logcat would still need to be looked if commands/scripts fail after they have started due to internal errors. Notifications can be disabled from Termux Settings by disabling the Plugin Error Notifications toggle. (5f2ccca) Fix issue where terminal cursor blinking would not automatically start again if termux activity is started after device display timeout with double tap and not power button. Fixes #2138. (f77c886) Fix issue where cursor blinker wouldn't automatically start after session change. (d3c34ad) Fix issue where cursor blinker wouldn't automatically start after terminal reset if it was disabled before reset. (00f805f) Fix suppressed exceptions not being logged and long logcat message being truncated. If an exception is thrown, the exception message might not contain the full errors. Individual failures may get added to suppressed throwables which can be extracted from the exception obj...
最后提交信息为:
update latest_cn.json.
v4.0
38cbef1
2025-01-08 14:40
对比
v0.114 (F-Droid only)
清晨
Added Allow users to adjust terminal transcript rows with termux.properties. The terminal-transcript-rows key can be used to adjust the terminal transcript rows. The user can set an integer value between 100 and 50000. The default value is still 2000. So adding an entry like terminal-transcript-rows=10000 to termux.properties file will allow users to scroll back ~10000 lines of command output. After updating the value, termux must be restarted. You can also run termux-reload-settings command so that termux loads the updated value, but only new sessions will use the updated value, existing sessions will not be affected. Be advised that using large values may have a performance impact depending on your device capabilities, so use at your own risk. Closes #2071. (0b4bbaf) Allow users to set terminal cursor style with termux.properties. The terminal-cursor-style key can be used to set the terminal cursor style. The user can set a string value to block for ■, underline for _ or bar for | cursor style. The default value is still block. So adding an entry like terminal-cursor-style=bar to termux.properties file will allow users to change to the bar cursor style. After updating the value, termux must be restarted. You can also run termux-reload-settings command so that termux loads the updated value, but only new sessions will use the updated value, existing sessions will not be affected unless you Reset them from terminal's long hold options menu More -> Reset or restart termux activity after double back press to exit. Closes #2075. (f545ebf) Allow users to disable terminal session change toast. The user can add disable-terminal-session-change-toast=true entry to termux.properties file to disable terminal session change toast. The default value is false. Running termux-reload-settings command will also update the behaviour instantaneously if changed. Closes #2118. (7ac62c9) Updated bootstrap to 2021.06.04-r1. (7620800) Changed Change default extra keys style. If a user does not define a custom value in termux.properties file, then by default 2 rows will be shown with all arrow keys (up/down/left/right) for ease of terminal use. (fd80cda) Fixed Do not close soft keyboard when toolbar text input view is focused on. Fixes #2077. (e08e3b5) Fix issue where soft keyboard would not show in some cases. Fixes #2111, Fixes #2112. (1ad038e) Fix issue where soft keyboard overlaps extra keys or terminal in some cases. Check TermuxActivityRootView javadocs for the details. This affected people who had set enforce-char-based-input=true in termux.properties and Gboard clipboard suggestions covered part of extra keys/terminal, but only when text is copied and clipboard suggestions and number keys row toggles are enabled in its settings. Reports have been received for other keyboards as well, like for SwiftKey number key rows overlapping, but hopefully it should be fixed now. If not, then report it. Related #538 and #1539. (e7dd0ee) Remove hardcoded wiki.termux.com url from HelpActivity. (7ef9255) Fix issue where terminal cursor blinking would not automatically start again if termux activity was restarted after exiting it with double back press. (e119d34) Fix issue where if termux installer failed with an exception after prefix directory was already created, then try again would load a broken environment. (19c690d)
最后提交信息为:
update latest_cn.json.
v3.0
8be5333
2024-03-28 18:19
对比
v0.113 (F-Droid only)
清晨
Allow users to enable/disable keyboard instead of just show/hide with KEYBOARD toggle buttons. This soft-keyboard-toggle-behaviour key can be used to change the behaviour. The default behaviour is show/hide. The user can add a line soft-keyboard-toggle-behaviour=enable/disable in ~/termux.properties file to change default behaviour of keyboard toggle buttons to enable/disable. In this mode, tapping the keyboard toggle button will disable (and hide) the keyboard and tapping on the terminal view will not open the keybaord automatically, until the keyboard toggle button is pressed again manually. This applies to split screen and floating keyboard as well. The keyboard can also be enabled from Termux Settings -> Termux -> Terminal I/O -> Soft Keyboard Enabled toggle. Running termux-reload-settings command will also update the behaviour instantaneously if changed. Also fixes #1098. (e4e638b) Allow users to disable soft keyboard automatically if hardware keyboard is connected. Users can enable this behaviour by enabling the Termux Settings -> Termux -> Terminal I/O -> Soft Keyboard Only If No Hardware toggle. (90c9a7b) Allow users to enable terminal cursor blinking with termux.properties. This terminal-cursor-blink-rate key can be used to enable terminal cursor blinking. The user can set an int value between 100 and 2000 which will be used as blink rate in millisecond. The default value is 0, which disables cursor blinking. So adding an entry like terminal-cursor-blink-rate=600 to ~/termux.properties file will make the cursor attempt to blink every 600ms. Running termux-reload-settings command will also update the cursor blinking rate instantaneously if changed. This will have a performance impact, so use wisely and at your own risk. Note that you can also change the cursor color by adding cursor property to ~/colors.properties file, like cursor=#FFFFFF for a white cursor. Closes #153. (31298b8, 89a1e02) Add in-app Donation link in Termux Settings for non google playstore releases. We require donations due to bintray shutdown to pay for termux apt repository hosting costs. Related issue termux-packages#6348. (6de3713) Moved Termux app settings into dedicated "directory" in Termux Settings and added About page to show info of all termux apps installed and important links. (d42514d) Added support for showing APK release type in App Info reports and About page. (1e30022) Add support for setting Termux:Tasker log level from Termux Settings. (339b2a2) All invalid values stored in termux.properties file during load time will be logged. (f8ccbb4) Updated bootstrap to 2021.05.16-r1. (6524a61) Fixed Disable error flashes when clearing TMPDIR directory on termux app exit. (b268b6e) Fixed NullPointerException on com.termux.app.TermuxService.wantsToStop(). Fixes #2026. (42ad372) Attempt to fix issues where soft keyboard was not shown in some cases when hardware keyboard was attached. The extra keys and drawer KEYBOARD toggle button and ctrl+alt+k hardware keyboard shortcut will all behave the same now and may help in showing soft keyboard forcefully. Related issues #1995. (Requires testers). (4d1851e, 39c69db) Release terminal beep SoundPool resources on activity stop to attempt to prevent exception. (58d5770) Generate potentially long running reports in background threads instead of main UI thread. (2f82825)
最后提交信息为:
Fixed: Implement colon separated CSI parameters
v2.0
8be5333
2024-03-01 16:28
对比
Debugging assistance
清晨
2024/3/1
最后提交信息为:
Fixed: Implement colon separated CSI parameters
v0.118.0
6e2689f
2024-03-01 13:01
对比
[v0.118.0] - 2022-01-07 22.35
清晨
Changed: Update `Twitter` to `X (Twitter)` in README Co-authored-by: @BandhiyaHardik <bandhiya.hardik1905@gmail.com> Co-authored-by: @agnostic-apollo <agnosticapollo@gmail.com> Related pull #3681
最后提交信息为:
Changed: Bump to v0.118.0
下载
请输入验证码,防止盗链导致资源被占用
取消
下载
1
https://gitee.com/qingchen_git/termux.git
git@gitee.com:qingchen_git/termux.git
qingchen_git
termux
termux
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册