logoalt Hacker News

bluebarbettoday at 12:59 PM12 repliesview on HN

Honest question, as a heavy desktop TUI user who has had Termux installed for years. A terminal (emulator) is a keyboard-based environment. How on earth are all you fans making it work with a tiny touchscreen?


Replies

mjmastoday at 1:59 PM

I have Unexpected Keyboard which gives me most keys including Alt, Ctrl and Esc as well as F-keys.

https://github.com/Julow/Unexpected-Keyboard

dotancohentoday at 1:44 PM

I often use a Bluetooth keyboard with Termux. But as a mechanical keyboard affectionate with a veritable museum of ergonomic and mechanical keyboards, the Samsung S-Pen is good enough for terminal work. I use SSH, VIM, and lately Org mode in Termux. If I'm at a desk I still use a Bluetooth keyboard, but if I'm out then the S-Pen is a fine enough substitute.

Right now I'm on an S24 Ultra, before that a Note 10 Lite, and before that another Note 10 Lite.

show 1 reply
TapamNtoday at 7:18 PM

What I use for my phone (Planet Computer Astro Slide) has a Psion 5-style physical keyboard built in.

jhbadgertoday at 2:16 PM

There are better software keyboards than the default that you can install. I use Unexpected Keyboard, which supports ctrl, alt, tab, and other keys needed for Unix work.

jcynixtoday at 2:20 PM

First of all, typing shell commands isn't that annoying on the tiny touchscreen. Caveat: heavy terminal users here ;-)

Then you can attach a Bluetooth keyboard. And you can import scripts (Perl, Python, Shell, ...) via ssh from other devices. Last but not least, you can start an ssh server on the device and use Termux from your desktop or laptop. And you can start a web server, to access your device's media files, etc.

mklein994today at 3:26 PM

For me, it was how I learned Vim. The awkward keyboard pushed me towards learning more efficient keystrokes, so now I'm very comfortable with Vim.

I would learn it on the bus, and at the time I didn't have a data plan, so I could only access things I had already downloaded. The `:help` documentation is very thorough.

ifelsewhytoday at 1:35 PM

This is why I'm looking forward to the new Android devices with keyboards. I can't do anything productive on a touchscreen.

show 2 replies
tossit444today at 2:34 PM

Staring very close at the screen.

genezetatoday at 1:43 PM

Portable Bluetooth keyboard.

ezequiel-garzontoday at 1:21 PM

Sessions tend to be way shorter for me, but it's great to have.

poolnoodletoday at 1:24 PM

Tiny fingers or bluetooth keyboards

cess11today at 1:50 PM

I use PentiKeyboard, it can send basically all the byte sequences I'm accustomed to having available plus it has a shortcut for sending ctrl+b to tmux.

https://play.google.com/store/apps/details?id=de.software_la...

Either that or I connect a wireless physical keyboard.

Edit: The killer feature of Penti is that it is transparent and allows you to put the 'buttons' where it is convenient to place the fingertips. Unlike regular software keyboards which hide half the screen and have 'buttons' that are pretty much thumbs-only. Since I code a lot I'm not particularly keen on mainstream next-word-guessing either.