I’d start with $TERM=VT100 or $TERM=ANSI
Those control strings were first used by the VT100 terminals in 197-something
and were later standardized by ANSI.
Regards,
Brian Marriott
VK7BM
> On 26 Oct 2017, at 9:00 am, Luis Manuel Sánchez <luissanchez...@gmail.com>
> wrote:
>
> So I googled some more, and found a way to use the Termux executables from
> the ADB shell,
> https://github.com/termux/termux-app/issues/77
>
> But I can't see the auto-completion preview text, I think this is due to the
> color scheme.
>
> What I see is something as next:
>
> root@localhost /# ls
> ←[?2004l←[1;34macct←[0m ←[1;34mconfig←[0m ←
> m ←[1;34mproc←[0m ←[1;34mstorage←[0m
> ←[1;34mbt_firmware←[0m ←[1;36md←[0m ←[1;36met
> ←[1;34mres←[0m ←[1;34msys←[0m
> ←[1;36mbugreports←[0m ←[1;34mdata←[0m ←[1;34mfi
> ←[1;34mroot←[0m ←[1;34msystem←[0m
> ←[1;36mcache←[0m ←[1;36mdefault.prop←[0m ←[1;32min
> ←[1;34msbin←[0m ←[0;0mueventd.rc←[0m
> ←[1;36mcharger←[0m ←[1;34mdev←[0m ←[1;32min
> ←[1;36msdcard←[0m ←[1;34mvendor←[0m
> ←[?2004hΓÅÄ
>
> I think all the strange characters are the codes for color.
>
> I suspect this has to do with the TERM. The TERM I have right now is $TERM =
> dumb.
> Which TERM should I use? I tried with xterm but it got worst as it printed
> even more color codes.
>
> I'm working from Windows 7 OS through a command prompt window.
>
> I'd appreciate if someone can help.
>
> Regards,
> Luis.
>
> 2017-09-14 13:24 GMT-07:00 Luis Manuel Sánchez <luissanchez...@gmail.com>:
>> Hi,
>> I'm actually looking to be able to have fish as a native application of the
>> low level android OS, not an Android App. Not sure how to call it, a shell
>> app ?
>>
>> what I want to do is as next:
>>
>> user@domain /c/c/folder> adb shell
>> HWFRD:/ $ fish
>> /system/bin/sh: fish: not found
>>
>> that is, to enter the ADB shell and then call fish.
>> The ADB shell is a way to interact with the Android device through its USB
>> port and is mainly used for debugging.
>> Once you're in adb shell is basically the Linux OS as I suppose the Android
>> OS is based on the Linux kernel.
>>
>> I did install Termux but confirmed this doesn't add/enable the fish
>> application on the shell. I'm only able to open the Termux app and use fish
>> within it.
>>
>> Funny thing, I couldn't "pkg install fish" while being connected to the WiFi
>> but only after connected to the carrier network.
>>
>> Hope you can guide me further, thanks.
>> Luis.
>>
>>
>>
>>
>> 2017-09-14 11:26 GMT-07:00 Kurtis Rader <kra...@skepticism.us>:
>>>> On Thu, Sep 14, 2017 at 11:08 AM, Luis Manuel Sánchez
>>>> <luissanchez...@gmail.com> wrote:
>>>> I use the ADB shell to access the Android OS, I would like to have the
>>>> fish shell benefits when in Android. Is there a port of fish shell to run
>>>> on Android?
>>>
>>> I have no idea where to find it but one exists since we've had a few issues
>>> opened about using fish inside termux on Android. Such as this one:
>>> https://github.com/fish-shell/fish-shell/issues/4269
>>>
>>> --
>>> Kurtis Rader
>>> Caretaker of the exceptional canines Junior and Hank
>>
>>
>>
>> --
>> Ing. Luis Sánchez
>
>
>
> --
> Ing. Luis Sánchez
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users