GithubHelp home page GithubHelp logo

termux / termux-app Goto Github PK

View Code? Open in Web Editor NEW
30.9K 1.2K 3.3K 4.38 MB

Termux - a terminal emulator application for Android OS extendible by variety of packages.

Home Page: https://f-droid.org/en/packages/com.termux

License: Other

Java 98.26% C 0.37% Makefile 0.02% Shell 0.15% Assembly 0.02% C++ 1.17%
android terminal termux linux hacktoberfest

termux-app's People

Contributors

agnostic-apollo avatar archenoth avatar auxilus avatar dependabot[bot] avatar dkramer95 avatar easyaspi314 avatar fornwall avatar friederbluemle avatar grimler91 avatar hannesa2 avatar kzlin129 avatar l-jonas avatar landfillbaby avatar maoabc avatar michalbednarski avatar mklein994 avatar nikam14 avatar pvagner avatar quasic avatar rakslice avatar robertvandeneynde avatar tareksander avatar thunder-coding avatar tomty89 avatar trygveaa avatar utzcoz avatar vindeville avatar whydoubt avatar x0b avatar xqdoo00o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

termux-app's Issues

Install python lxml

Hi, I'd like to install lxml.
I installed python2, and pip2 works for many packages, but not for lxml (pyconfig.h not found)
Anybody had success installing it?
Thanks :)

SSH doesn't work on 64-bit Android

I'm trying to generate ssh keys but I'm getting this error.

CANNOT LINK EXECUTABLE DEPENDENCIES: "libcrypto.so" is 32-bit instead of 64-bit

Google Pixel C Keyboard Escape key handling

Hi,

I have recently (naturally) aquired a Pixel C with the Pixel C Keyboard. Almost everything seems to be working, there is just an annoyance preventing me from using termux fully.
Since they Pixel C Keyboard is missing keys, there are build-in hotkeys for the missing ones. However:

If I press the ...+1 key that maps to escape I also get the extended-keys soft-keyboard. It makes vi quite frustrating to use :)

I believe this is an issue with termux because:

  • other programs I tried to not have this behaviour
  • termux does not have this behavour with other keys like [ or ] that are also not present as physical keys.
  • escape keys are funny with terminals :)

Incompability with MI PAD

When I tried to install termux on MI PAD, but sadly Google Play tells me that

This item is not compatible with your device

As far as I know, MI PAD doesn't have a GPS module, but I don't think that is the cause. How can I look into this issue?

"libcrypto.so" is 32-bit instead of 64-bit

$ ssh
CANNOT LINK EXECUTABLE DEPENDENCIES: "libcrypto.so" is 32-bit instead of 64-bit
$ df -h
CANNOT LINK EXECUTABLE DEPENDENCIES: "libcrypto.so" is 32-bit instead of 64-bit

Closing virtual keyboard with back button

Termux does not seem to allow you to close the virtual keyboard with the back button, even though the icon turns into a downwards-pointing triangle. This is annoying in apps that take control of the mouse such as htop.

Nix package manager

Hi, has someone tried getting nix to work inside termux? This would mean to have lot of packages available.
Here's a guide to get it on various distro.
Thanks, Nicolò

Escape sequence for scrolling down broken with a top scroll margin

The Termux implementation of the ${CSI}${N}T escape sequence to scroll down N lines (SD - Pan Up) does not take the top margin into account when figuring out where to place the scrolled rows.

A simple shell script to reproduce the issue

clear
for i in 1 2 3 4 5; do printf "${i}\r\n"; done
printf "\033[3r" # Top scroll margin to 3.
printf "\033[2T" # Scroll down.
read
reset

This should leave the screen containing

1
2


3
4
5

due to the scroll margin protecting the top two lines.

One program that is affected is htop, which (with a long enough list of processes relative to the terminal) sets the top margin to protect the upper CPU usage area before scrolling the list below, causing garbled display in Termux. This was reported in termux/termux-packages#86.

programs that produce a lot of output freezes app.

I ran to this issue again today,
https://plus.google.com/u/0/105143408064070053742/posts/SckNbhF6RQY
I was busy with other stuffs so I had made a quick post there hoping someone would chime in.. great to know that issues I wanted to report with C++ linking and play-audio have been resolved already.

Anyways back to current issue, programs that write a lot of output to terminal freezes app. I investigated it a bit and it doesnt happen if the write is limited..

Here's a test case..
Run a program that writes to terminal
find $PREFIX/lib
The terminal will output until a new line and freeze until the command completes.

Now limit the output with pv.
apt install pv
find $PREFIX/lib | pv -L 2048
The output will be scrolled too fast to read in the terminal but it doesnt freeze the app.

ranger doesn't launch

I installed several packages, all of them work fine except ranger crashes with the following message:

Can't select text on the left side of the terminal because of the drawer

Right now, I can't select text that starts at column 0 in the terminal because the drawer that slides out from the left takes precedence. That drawer should be disabled when selecting.

It would also be nice if there was some way of confirming/correcting the selection, since it's difficult to tell which tiny character my finger is about to touch.

The simplest hack would be a little pop-up that says "is this selection correct?", and if not, the user is put back into selection mode.

Package request: mono

It would be fantastic if mono support was included in termux to at least run cli applications.

Option to get previous behavior with respect to hiding keyboard and entering ESC

Now termux by default behaves standardly, with the triangle retracting the keyboard instead of sending the escape key. I like the old behavior better, with the triangle sending the escape key and a touch on the screen hiding the keyboard. I've managed to get the triangle=esc behavior back by setting that up on termux.properties, and I am wondering if I can also set the single touch on the screen to hide the keyboard. Is there a way?

Add overlay keyboard with Alt, Ctrl, Tab, arrow keys (and a few more keys) #97

Hi

It will be good if there be any UI for changing cursor in Termux. It's very annoying to press vol button for simulating ctrl key for changing direction (if you have worked with nano you know what I'm saying).

Or it can be simple direction arrow in app or Termux be able to change cursor position on touch.

thank you.

Usable on 2nd user?

Termux app when installed in 2nd user and opened, complains that it can only be installed on primary account.

Can it be made usable on 2nd user? Only for those commands not requiring superuser access.

Volume keys don't seem to work on CM12.1 (bacon)

The volume keys don't seem to work on Cyanogenmod 12.1 on my OnePlus One. When I hit VolDown+d, the device vibrates as long as hold VolDown, and the "d" shows up as if nothing had happened.

[FR] option to read password with termux-api?

I'm new to termux (very nice package and Android interaction concept!) and tried to use termux-api to query a password from a script, but termux-dialog seems to be rather limited so far.

Do you think it makes sense and is possible to add such an option, for example to perform encfs or sshfs mounts controlled by scripts?

Add swipe gestures to switch between open terminals

Hi,

I often have multiple terminal open, and switching between them is cumbersome: edge swipe for menu, select other terminal, I have not found a key shortcut for it either.

Since swiping up/down scrolls the buffer, swiping left/right coud easily switch between the open terminals.

This featuree request relates to or can interact with mouse event generation of #35

Ctrl key with Sogou Pinyin doesn't work

I'm connecting a keyboard with USB OTG. Pressing ctrl on the keyboard works neither in shell nor in any command line applications. (vtshowkeys prints nothing when I press ctrl).
Here is the logcat output when I pressed ctrl-C in shell, if helpful:
screenshot_2016-02-13-20-26-02_com termux
The IM I'm using is Sogou Pinyin. Its keyboard is hidden during testing.
Changing IM to Google Pinyin fixes ctrl, but Esc won't work, similar to #40.
Thanks

Option to show bold text in bright color

Some programs like htop show bold black text on black background, and it's impossible to see, so it would be nice to have an option to display bold text in bright color.

How to donate?

Hi, I've not found a donate button, paypal addres nor bitcoin address on the website.
How do I donate? :D

Can't upload file

I tried to upload a file via the ownCloud app, using Termux to pick the file. I can upload the file using a file manager app:

--------- beginning of main
02-05 12:34:35.625 27391 27391 V UploadSourceDialogFragment: constructor
02-05 12:34:35.634 27391 27391 I AppCompatDelegate: The Activity's LayoutInflater already has a Factory installed so we can not install AppCompat's
--------- beginning of system
02-05 12:34:37.477   455   467 I ActivityManager: START u0 {act=android.intent.action.CHOOSER cmp=android/com.android.internal.app.ChooserActivity (has extras)} from uid 10126 on display 0
02-05 12:34:37.498 27391 27391 V FileDisplayActivity: onPause() start
02-05 12:34:37.499 27391 27391 D FileDisplayActivity: onPause() ending
02-05 12:34:37.499 27391 27391 V FileDisplayActivity: onPause() end
02-05 12:34:37.511   455   685 I ActivityManager: Start proc 12077:android:ui/1000 for activity android/com.android.internal.app.ChooserActivity
02-05 12:34:37.651   455   467 W IntentResolver: resolveIntent: multiple matches, only some with CATEGORY_DEFAULT
02-05 12:34:37.652   455   931 W IntentResolver: resolveIntent: multiple matches, only some with CATEGORY_DEFAULT
02-05 12:34:37.666   455   996 I ActivityManager: START u0 {act=android.intent.action.GET_CONTENT cat=[android.intent.category.OPENABLE] typ=*/* flg=0x3000000 cmp=com.android.documentsui/.DocumentsActivity (has extras)} from uid 10126 on display 0
02-05 12:34:37.701   455   469 I ActivityManager: Killing 12077:android:ui/1000 (adj 13): empty #2
02-05 12:34:37.722   455   465 I art     : Background sticky concurrent mark sweep GC freed 132037(7MB) AllocSpace objects, 11(364KB) LOS objects, 30% free, 18MB/26MB, paused 3.813ms total 120.922ms
02-05 12:34:37.795 11399 11399 D Documents: Found volume path: primary:/storage/emulated/0
02-05 12:34:37.812   455   996 W IntentResolver: resolveIntent: multiple matches, only some with CATEGORY_DEFAULT
02-05 12:34:37.815 11399 11412 W Documents: Failed to restore stack: java.io.FileNotFoundException: Failed to find matching root for Root{authority=com.android.externalstorage.documents, rootId=primary, title=Internal storage}
02-05 12:34:37.851 11399 11429 I OpenGLRenderer: Initialized EGL, version 1.4
02-05 12:34:37.852 11399 11429 I libdgv1.so: Just saved you by loading '/system/lib/egl/libGLESv2_tegra' instead of 'egl/libGLESv2_tegra'
02-05 12:34:37.969   455   474 I ActivityManager: Displayed com.android.documentsui/.DocumentsActivity: +277ms (total +469ms)
02-05 12:34:38.063 11399 11428 D Documents: Before filtering 5, after 5
02-05 12:34:38.067 11399 11428 D Documents: Before filtering 64, after 64
02-05 12:34:38.069 11399 11428 D Documents: Before filtering 21, after 21
02-05 12:34:38.069 11399 11428 D Documents: Found 3 of 3 recent queries done
02-05 12:34:38.323 27391 27391 V FileDisplayActivity: onSaveInstanceState() start
02-05 12:34:38.323 27391 27391 D FileDisplayActivity: onSaveInstanceState(Bundle) starting
02-05 12:34:38.323 27391 27391 D ExtendedListFragment: onSaveInstanceState()
02-05 12:34:38.323 27391 27391 V FileDisplayActivity: onSaveInstanceState() end
02-05 12:34:38.323 27391 27391 V FileDisplayActivity: onStop() start
02-05 12:34:38.324 27391 27391 D FileDisplayActivity: onStop() ending
02-05 12:34:38.324 27391 27391 V FileDisplayActivity: onStop() end
02-05 12:34:40.745   455   685 I ActivityManager: START u0 {act=android.intent.action.GET_CONTENT cat=[android.intent.category.OPENABLE] typ=*/* flg=0x1000000 cmp=com.termux/.filepicker.TermuxFilePickerActivity (has extras)} from uid 10031 on display 0
02-05 12:34:40.778   455  2933 I ActivityManager: Start proc 12091:com.termux/u0a250 for activity com.termux/.filepicker.TermuxFilePickerActivity
02-05 12:34:40.909 11399 11429 D OpenGLRenderer: endAllStagingAnimators on 0x48704d80 (ListView) with handle 0x42742380
02-05 12:34:40.964 12091 12104 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
02-05 12:34:41.018 12091 12104 I libdgv1.so: Loaded to help save your day
02-05 12:34:41.018 12091 12104 D libEGL  : loaded /system/lib/egl/libEGL_tegra.so
02-05 12:34:41.052 12091 12104 D libEGL  : loaded /system/lib/egl/libGLESv1_CM_tegra.so
02-05 12:34:41.059 12091 12104 I libdgv1.so: Just saved you by loading '/system/lib/egl/libGLESv2_tegra' instead of 'egl/libGLESv2_tegra'
02-05 12:34:41.068 12091 12104 I libdgv1.so: Just saved you by loading '/system/lib/egl/libGLESv1_CM_tegra' instead of 'egl/libGLESv1_CM_tegra'
02-05 12:34:41.069 12091 12104 I libdgv1.so: Just saved you by loading '/system/lib/egl/libGLESv2_tegra' instead of 'egl/libGLESv2_tegra'
02-05 12:34:41.115 12091 12104 D libEGL  : loaded /system/lib/egl/libGLESv2_tegra.so
02-05 12:34:41.153 12091 12104 I OpenGLRenderer: Initialized EGL, version 1.4
02-05 12:34:41.212   455   474 I ActivityManager: Displayed com.termux/.filepicker.TermuxFilePickerActivity: +453ms
02-05 12:34:42.350   455   469 I ActivityManager: Start proc 12108:ca.rmen.android.frenchcalendar/u0a110 for broadcast ca.rmen.android.frenchcalendar/.FrenchCalendarAppWidgetNarrow
02-05 12:34:42.400 12108 12108 W System  : ClassLoader referenced unknown path: /data/app/ca.rmen.android.frenchcalendar-1/lib/arm
02-05 12:34:42.477   455   467 I ActivityManager: Start proc 12122:com.manor.currentwidget/u0a106 for broadcast com.manor.currentwidget/.library.CurrentWidget
02-05 12:34:42.478   455   467 I ActivityManager: Killing 12108:ca.rmen.android.frenchcalendar/u0a110 (adj 15): empty #2
02-05 12:34:42.584 12122 12122 W System  : ClassLoader referenced unknown path: /data/app/com.manor.currentwidget-1/lib/arm
02-05 12:34:42.670   455   931 I ActivityManager: Killing 12122:com.manor.currentwidget/u0a106 (adj 15): empty #2
02-05 12:34:45.846   455 31421 D NetlinkSocketObserver: NeighborEvent{elapsedMs=147660897, 192.168.1.254, [5CF4ABF225AD], RTM_NEWNEIGH, NUD_STALE}
02-05 12:34:47.775 11399 11399 D Documents: onActivityResult() code=-1
02-05 12:34:47.819 27391 27391 V FileActivity: onRestart() start
02-05 12:34:47.820 27391 27391 V FileActivity: onRestart() end
02-05 12:34:47.821 27391 27391 V FileDisplayActivity: onStart() start
02-05 12:34:47.821 27391 27391 D FileDisplayActivity: onStart() starting
02-05 12:34:47.832 27391 27391 D FileDisplayActivity: Initializing Fragments in onAccountChanged..
02-05 12:34:47.854 27391 27391 V FileDisplayActivity: onStart() end
02-05 12:34:47.854 27391 27391 V FileDisplayActivity: onResume() start
02-05 12:34:47.854 27391 27391 D FileDisplayActivity: onResume() starting
02-05 12:34:47.878 27391 27391 V FileDisplayActivity: onResume() end
02-05 12:34:47.881 27391 27391 D FileUploader: Starting command with id 4
02-05 12:34:47.884 27391 10788 D FileUploader: Account [email protected] exists
02-05 12:34:47.891 27391 10788 D SimpleFactoryManager: getClientFor(OwnCloudAccount ... : 
02-05 12:34:47.891 27391 10788 D OwnCloudClient #36: Creating OwnCloudClient
02-05 12:34:47.891 27391 10788 V SimpleFactoryManager:     new client {[email protected], 136779177}
02-05 12:34:47.901 27391 10788 D OwnCloudClient #36: REQUEST HEAD /remote.php/webdav/
02-05 12:34:48.000 12091 12104 D OpenGLRenderer: endAllStagingAnimators on 0x427bf200 (ListView) with handle 0x5bf2e170
02-05 12:34:48.000 11399 11399 I art     : Starting a blocking GC Explicit
02-05 12:34:48.028 11399 11399 I art     : Explicit concurrent mark sweep GC freed 1723(149KB) AllocSpace objects, 0(0B) LOS objects, 25% free, 4MB/6MB, paused 534us total 25.075ms
02-05 12:34:48.032 11399 11399 I art     : Starting a blocking GC Explicit
02-05 12:34:48.050 11399 11399 I art     : Explicit concurrent mark sweep GC freed 1327(122KB) AllocSpace objects, 5(100KB) LOS objects, 24% free, 4MB/6MB, paused 416us total 17.603ms
02-05 12:34:48.050 11399 11399 I art     : Starting a blocking GC Explicit
02-05 12:34:48.058 27391 12146 D SimpleFactoryManager: getClientFor(OwnCloudAccount ... : 
02-05 12:34:48.059 27391 12146 D OwnCloudClient #37: Creating OwnCloudClient
02-05 12:34:48.059 27391 12146 V SimpleFactoryManager:     new client {[email protected], 183756590}
02-05 12:34:48.066 27391 12146 D OwnCloudClient #37: REQUEST GET /status.php
02-05 12:34:48.067 27391 12146 D AdvancedSslSocketFactory: Creating SSL Socket with remote my.ownstorage.com:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@ee36b0
02-05 12:34:48.067 27391 12146 D AdvancedSslSocketFactory:  ... with connection timeout 60000 and socket timeout 60000
02-05 12:34:48.084 11399 11399 I art     : Explicit concurrent mark sweep GC freed 3(96B) AllocSpace objects, 0(0B) LOS objects, 24% free, 4MB/6MB, paused 1.148ms total 33.807ms
02-05 12:34:48.134 27391 12146 I ServerNameIndicator: SSLSocket implementation: com.android.org.conscrypt.OpenSSLSocketImpl
02-05 12:34:48.134 27391 12146 I ServerNameIndicator: SNI done, hostname: my.ownstorage.com
02-05 12:34:48.224   455   469 I ActivityManager: Killing 12091:com.termux/u0a250 (adj 13): empty #2
02-05 12:34:48.232   455  2934 I WindowState: WIN DEATH: Window{d44b964 u0 com.termux/com.termux.filepicker.TermuxFilePickerActivity}
02-05 12:34:48.232   455  2933 D GraphicsStats: Buffer count: 11
02-05 12:34:48.295 27391 10788 D ExistenceCheckRemoteOperation: Existence check for https://my.ownstorage.com/remote.php/webdav/ targeting for  existence finished with HTTP status 200
02-05 12:34:48.303 27391 10788 D OwnCloudClient #36: REQUEST HEAD /remote.php/webdav/trinity
02-05 12:34:48.316 27391 12146 W HttpMethodBase: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
02-05 12:34:48.327 27391 12146 D UpdateOCVersionOperation: Got new OC version 8.2.2.2
02-05 12:34:48.327 27391 12146 I UpdateOCVersionOperation: Check for update of ownCloud server version at https://my.ownstorage.com/remote.php/webdav: Operation finished with HTTP status code -1 (success)
02-05 12:34:48.328 27391 12146 D SimpleFactoryManager: getClientFor(OwnCloudAccount ... : 
02-05 12:34:48.328 27391 12146 D OwnCloudClient #38: Creating OwnCloudClient
02-05 12:34:48.328 27391 12146 V SimpleFactoryManager:     new client {[email protected], 98411215}
02-05 12:34:48.330 27391 12146 D OwnCloudClient #38: REQUEST GET /ocs/v1.php/cloud/capabilities
02-05 12:34:48.660   455   468 W art     : Long monitor contention event with owner method=void com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.am.ActivityRecord) from ActivityStackSupervisor.java:4016 waiters=0 for 437ms
02-05 12:34:48.661   455   470 W art     : Long monitor contention event with owner method=void com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.am.ActivityRecord) from ActivityStackSupervisor.java:4016 waiters=1 for 436ms
02-05 12:34:48.661   455   474 W art     : Long monitor contention event with owner method=void com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.am.ActivityRecord) from ActivityStackSupervisor.java:4016 waiters=2 for 435ms
02-05 12:34:48.663   455  2933 W art     : Long monitor contention event with owner method=void com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.am.ActivityRecord) from ActivityStackSupervisor.java:4016 waiters=3 for 431ms
02-05 12:34:48.709 27391 10788 D ExistenceCheckRemoteOperation: Existence check for https://my.ownstorage.com/remote.php/webdav/trinity targeting for  existence finished with HTTP status 404(FAIL)
02-05 12:34:48.718   631   634 E sdcard  : *** NOTIFY FAILED *** 22
02-05 12:34:48.718   631   634 E sdcard  : *** NOTIFY FAILED *** 22
02-05 12:34:48.719 27391 10788 E UploadFileOperation: Upload of //data/data/com.termux/files/home/.shortcuts/trinity to /trinity: Operation finished with HTTP status code -1 (fail)
02-05 12:34:48.720 27391 10788 D FileUploader: NotifyUploadResult with resultCode: LOCAL_STORAGE_NOT_COPIED
02-05 12:34:48.727 27391 10788 D FileUploader: Stopping command after id 4
02-05 12:34:48.735 27391 12146 W HttpMethodBase: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
02-05 12:34:48.736 27391 12146 D GetRemoteCapabilitiesOperation: Successful response: {"ocs":{"meta":{"status":"ok","statuscode":100,"message":null},"data":{"version":{"major":8,"minor":2,"micro":2,"string":"8.2.2","edition":""},"capabilities":{"core":{"pollinterval":60},"files_sharing":{"api_enabled":true,"public":{"enabled":true,"password":{"enforced":false},"expire_date":{"enabled":false},"send_mail":true,"upload":true},"user":{"send_mail":true},"resharing":true,"federation":{"outgoing":true,"incoming":true}},"files":{"bigfilechunking":true,"undelete":true,"versioning":true}}}}}
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Added version
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Added core
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Added files_sharing
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Added files
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Get Capabilities completed 
02-05 12:34:48.760 27391 12146 D RefreshFolderOperation: Checking changes in [email protected]/
02-05 12:34:48.762 27391 12146 D OwnCloudClient #37: REQUEST PROPFIND /remote.php/webdav/
02-05 12:34:49.110 27391 12146 I RefreshFolderOperation: Checked [email protected]/ : not changed
02-05 12:34:49.135 27391 12146 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
02-05 12:34:49.140 27391 27391 D FileDisplayActivity: Received broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
02-05 12:34:49.144 27391 12146 D OwnCloudClient #37: REQUEST GET /ocs/v1.php/apps/files_sharing/api/v1/shares
02-05 12:34:49.168 27391 27391 D FileDisplayActivity: Setting progress visibility to true
02-05 12:34:49.516 27391 12146 W HttpMethodBase: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
02-05 12:34:49.520 27391 12146 D GetRemoteSharesForFileOperation: Got 0 shares
02-05 12:34:49.553 27391 12146 D FileDataStorageManager: Sending 11 operations to FileContentProvider
02-05 12:34:49.554 27391 12146 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@c16462f (temporary: false)
02-05 12:34:49.567 27391 12146 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@c16462f
02-05 12:34:49.567 27391 12146 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
02-05 12:34:49.577 27391 27391 D FileDisplayActivity: Received broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
02-05 12:34:49.606 27391 27391 D FileDisplayActivity: Setting progress visibility to false
02-05 12:34:51.016   455 31421 D NetlinkSocketObserver: NeighborEvent{elapsedMs=147666067, 192.168.1.254, [5CF4ABF225AD], RTM_NEWNEIGH, NUD_REACHABLE}
02-05 12:34:59.446   455 31421 D NetlinkSocketObserver: NeighborEvent{elapsedMs=147674498, 192.168.1.254, [5CF4ABF225AD], RTM_NEWNEIGH, NUD_STALE}
02-05 12

Using a Nexus 7 2012 with an Android 6 custom ROM.

Which version(s) of Apache license?

Hi.

In README.md, it is written that "Contains code from Terminal Emulator for Android which is released under the Apache License". But is it under version 1.0, version 2.0, version 1.0 and 2.0, version 1.0 or at your option any later, version 2.0 or at your option any later?

Regards.

Erase sequences should not be affected by current coloring

This will color the whole termux terminal red: echo -e '\033[41m\033[J'. No other terminal emulators that I know of exhibit this behavior.

This is because termux fill the affected area with the current foreground and background coloring when it receives the erase area sequence \033[J.

The erase line sequence, \033[K, is also affected.

Cannot write to external SD card

$ touch /storage/extSdCard/test
touch: /storage/extSdCard/test: Permission denied

I guess this comes from Android 5's new permissions for SD cards. Any way to fix it?

Don't vibrate on backspace key press.

Currently when backspace key is pressed, the device vibrates.

When backspace key is hold after clearing the text, the device continuously vibrates. This is kind of annoying.

Please remove vibration on backspace key press..

FR:add mitmproxy and build-essentials.

Hi

It would be nice if these packages are in the repo. I tried to jnstall mimtoroxy using pip but getting errors, tgere are couple dependencies that i could not get ftom the trrmyx repo.

thanks

emacs and file segfault

I just installed emac, it crash at boot with Error 11: Segmentation faultSegmantation fault
Also, using file on a file gives:
"file: filetype
Segmetation fault"

both have been installed from the repo.
Thanks, Nicolò

Add support for mouse gestures.

In certain programs you can use mouse gestures to do various tasks, for example:

  • tmux lets you resize panes with click and drag.
  • weechat has swipe left and right gestures to switch buffer.

This works when connecting to termux via SSH from a computer with mouse but it does not work when using the termux app.
I realize that this would cause a conflict with the swipe to scroll feature, but maybe we can come up with a solution that can incorporate both these features.
Some ways I came up with:

  • Move the long press menu into the left side drawer and have long press function as a click and drag.
  • Have a switch (or one time function like select) in the long press menu to switch between click and drag and scroll. In the two programs I came across with mouse dragging it is not something you have to do all the time, so having an additional step between might not be that bad.

Maybe someone has a better idea?

apt update invalid message error

Hi. I am receiving this error below on apt update. dpkg works without problems.

$ apt update
0% [Working]res_send: select: Connection refused
Hit:1 http://apt.termux.com stable InRelease
Reading package lists... Done
E: Invalid message from method http: ;; new DG socket
102 Status
URI: http://apt.termux.com/dists/stable/InRelease
Message: Connecting to apt.termux.com

Not sure if this is a local configuration issue or something on the repo side.

Cannot use mercurial

I keep on getting amazed by this app. I'm trying to use mercurial, I installed it by:

apt install python2 python2-dev gcc
pip2 install mercurial

It works! But then:

$ hg help
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/hg", line 41, in <module>
    mercurial.util.setbinary(fp)
  File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in __getattribute__
    self._load()
  File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 96, in _load
    mod = _hgextimport(_import, head, globals, locals, None, level)
  File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 53, in _hgextimport
    return importfunc(name, globals, *args, **kwargs)
  File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/util.py", line 33, in <module>
    cachestat = platform.cachestat
  File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in __getattribute__
    self._load()
  File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 96, in _load
    mod = _hgextimport(_import, head, globals, locals, None, level)
  File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 53, in _hgextimport
    return importfunc(name, globals, *args, **kwargs)
  File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/posix.py", line 32, in <module>
    oslink = os.link
AttributeError: 'module' object has no attribute 'link'

I'm not sure if I did something wrong, if it is Termux bug, Mercurial's, or if the fix would be a Mercurial package. Any help please?

Termux app not working in Andy

Hi and Happy New Year. How can I get the Termux app to work in Andy? It says not compatible with my xps 13 running Win 10.

Support for Android < 5 (4.*)

I think that you was waiting for this request from your community :D

The Android Support Library is very useful for that.

(For the records: sadly my latest avaiable CyanogenMod is a 4.4)

Possibility of Termux bundle

I have a device that doesn't have any user facing Internet connection (Android Wear smartwatch)

I was wondering is there a way to transfer a pre-setup environment along with the application on install or maybe placing the environment in the right place after install? It's unable to download the initial environment due to no Internet access directly on the watch. (Termux actually launches and tries but just continues to spin on the setup screen)

[FR] The alternative offline-install apk

First, thank you for this application. It's really promising.
I was surprised by small apk size (130kB), but the first run ruined that surprise. It took 7 minutes to download the bootstrap package on my 64kb/s connection. Having the base pacakge installed with the apk would be useful for people with no or limited internet access.
Cheers!

I am stuck in Google's keyboard...

This started about the time I bought the styling app, so I suppose there is a slight chance this is related. Google's keyboard lacks too many modifier, function, and arrow keys to be useful on a cli app like Termux. I have the hacker's keyboard set, and it works in all other apps; with the exception of Termux.

I am sorry for not reporting this sooner, but I've been setting up a new laptop. I am running on a 1st gen N7 rooted w/ cyanogenMod.

I updated Termux/packages on an Identical N7 except 4 it's stock rooted, w/o the styling app; and it's Termux still picks up the Hacker's Keyboard just fine.

I am going to try w/o the styling app, and see if that helps. I might also try wiping the app cache 4 Termux. If these steps fail I will try a backup/reinstall of Termux.

I'll report back if anything I can come up w/ works.

btw This is Kevin Lausen from G+ & kjlw_99 on irc

Support armeabi and mips

Any reason why native code for these architectures isn't compiled? As far as I can tell, it would be as simple as adding those to Application.mk. Unless you intentionally left them out for a reason.

Won't run Android Runtime for Chrome

Following the official instructions and using ARC Welder with the latest apk, I got the following error:

capture image

Weirdly, running plugin.shell('logcat') in the JavaScript console, which is supposed to do the same thing as a logcat on Android, doesn't give me anything.

As a side note, running plugin.shell('getprop ro.build.version.sdk') outputs 21 which means that ARC is emulating Android 5.0. Also, the ARC team considers incompatibilities due to difference between ARC and Android to be bugs of ARC, so I think technically it is possible. Is there any interest?

PS. I came here because I wanted to debug this elvish bug and wondered if I could do that on my Chromebook :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.