View Single Post
Old 01-15-2016, 01:49 PM   #513
inedible
Junior Member
inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.inedible is not intimidated by interfenestral monkeys.
 
Posts: 8
Karma: 26290
Join Date: Apr 2013
Device: Kindle PW
Yup, sure beats the hell out of busybox anyway.

So anyway, as hackish as this all is, the gethostname.sh script could be useful to others who want a simple dialog box to grab data from the user, but can't figure out how to set up a toolchain to code a native GTK or whatever app.

It's pretty primitive though, requires kterminal and zsh, writes its data to a temp file which is inelegant, and also doesn't handle the user pressing arrow keys, home, end, etc well. So, if anyone wants to improve on this, feel free to use it in whatever.
inedible is offline   Reply With Quote