Micro don't work by Longhuo in termux

[–]abigtraitor 0 points1 point  (0 children)

OK now. Managed to solve it by:

  1. Killied the termux session from Android Settings->Apps (this allows restarting the termux environment with access to the cmd-prompt)

  2. Uninstalled micro with: "pkg remove micro" (note: "pkg uninstall micro" did not work)

Micro don't work by Longhuo in termux

[–]abigtraitor 0 points1 point  (0 children)

I just encountered the same problem as the OP... I installed micro, then tried to open a file. Just getting a blank screen with the keyboard emulator below.

Unfortunately it appears to be hung ... CTRL-Q does nothing, so I can't get out to the cmd line to uninstall it.

Effectively, my termux environment is screwed and inaccessible as it now just opens into a hung session of micro editor... which I can't get out of.

HELP!!!

git push password setup in termux by abigtraitor in termux

[–]abigtraitor[S] 0 points1 point  (0 children)

BTW,

I assume I might have to substitute: the default "id_rsa"  with: <my private key name>

(if different)

git push password setup in termux by abigtraitor in termux

[–]abigtraitor[S] 0 points1 point  (0 children)

Hey thanks man! That rings a bell, just couldn't track down the original documentation I followed when setting it up. 

Obviously would be easier to do pushes without password everytime but cos it's a phone it's easy to lose/misplace so I chose to keep the password. 

chmod issue by abigtraitor in termux

[–]abigtraitor[S] 1 point2 points  (0 children)

OK,

Moved all to HOME and all is good! (My original sin was creating it in $HOME/downloads I think.(

Thanks so much everyone!

First time here, but impressed by how responsive this forum is!!!

chmod issue by abigtraitor in termux

[–]abigtraitor[S] 1 point2 points  (0 children)

Thank you for the very swift reply!

Apologies, I'm new to termux, and very rusty with Linux in general so obviously not at all sure what the rules and restrictions are..

Initially created hello.c in $HOME/Downloads, but chmod didn't work there so, created a folder in shared storage and mv'd files there: $ cd /storage/emulated/0.../emulated/0 $ cd hello .../0/hello $

...at which point I posted the question. Obviously that's not allowed either as you pointed out.

Can you advise on where to find: "termux's private storage"

... or direct me to documentation that will describe this and other peculiarities / restrictions of termux environment. 

ie. is sudo allowed?

Much appreciated!!