-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terminal entry not found #20
Comments
This is a tcell error (tcell is the terminal library micro uses). Here is a description of the error:
I'm sorry but I don't think I can provide more help than this. |
No worries 😄 I'll play around with my config, and let you know if I come up with a solution. |
This works for me in the same setup as you @hughrawlinson -- OS X, zsh, iterm, tmux, and no tmux/iterm integration, so maybe I could provide some help, or we could compare our environments/configs? |
@hughrawlinson did you end up making it work? I have the same setup but when running |
tmux-256color is not happy with this. You can alias micro to
to get around it. |
My TERM is xterm-termite and I get the same error. |
I had my TERM as xterm-termite and changing it to xterm-256color temporarily worked well. Aliasing micro to TERM=xterm-256color micro as @seanlaguna said works well. |
does not work for inside of dvtm in iterm2...
|
Setting term to |
Yes unfortunately tcell does not support cygwin. See here. |
Same thing is happening for me when I use screen on Ubuntu.
Steps to reproduce:
The error is "terminal entry not found".
|
Ok I think I have a fix for this issue. Go checkout the |
A lot of these problems should now be fixed since the issue I opened in tcell was closed. I'll continue to look into a more general fix though. If you have this issue please post here what terminal emulator you are using. |
I've got a dumb terminal that is just a pipe to remote container, and it would be nice if micro error was more descriptive - at least allowed to distinguish between "TERM is not set" and "no absolute cursor (cup capability)". |
unfortunately the same thing is happening, when |
This doesn't work on |
same issue on kitty, but not alacritty? |
If you have this issue you should go run mkinfo. Download one of the binaries or build it from source and then run the binary with the terminal that you are having the error with. Hopefully micro will work after that. |
It doesn't have to support cygwin as in run under it's mintty. It would be enough to launch as any normal/plain windows editor. Part of this might be cygwin's fault, part micro's (for respecting invokers env too much). Here is what I did and got the same error ("no suitable screen available"), $TERM=xterm-256color but that's immaterial. I've set .gitconfig (under cygwin) to That's how I'm launching windows editors from cygwin/git and I was looking for a small editor since it would be just editing commit messaged and add -e patches and maybe a few other chores. So, if micro would check/know that it is actually running on windows it wouldn't/shouldn't even touch anything from cygwin but just run, the way it runs if you double-click it, with it's own conhost and life is good :-). P.S. But first things first - needs to run :-) |
trying to run mkinfo to support termite on Arch Linux. But, mkinfo won't run, reporting /usr/lib/libtinfo.so.5 is either not found, or has no version information available. I believe ncurses on arch is a newer release than mkinfo wants; is there an alternative way to extract the term info to give to micro? |
So, I recently found this project and I was interested in this,
So I searched for it here, and this thread comes up, |
This update incorporates the new terminfo updates in tcell into micro essentially merging zyedidia/mkinfo into micro. The zyedidia/mkinfo program should no longer be necessary and micro should automatically generate a tcell database on its own if it cannot find a terminal entry. The tcell database will be located in `configDir/.tcelldb`. Ref #20 Ref #922
This should be fixed now and micro will automatically generate the tcell database by reading terminfo with Micro should work out of the box with |
Apologies for responding to an old issue, but this isn't the case for kitty terminal, SSHing into a Raspberry Pi with Micro. Installed using the I also can't use mkinfo either, because no ARM binaries are available. 🙁 |
Are there any references to standards that say that apps should fallback to first part of the name like |
This should be fixed in v1.4.1 without the need for the |
Updated with |
I'm now sometimes getting the following error, @zyedidia.
Should I make a new issue? |
@Snuggle at least it could be visible which entry not found. |
I needed to run mkinfo to get micro working in gnu screen. |
So for me, running |
When I run
micro
regardless of input, I getterminal entry not found
and the process exits. I'm usingzsh
insidetmux
initerm
without thetmux
/iterm
integration stuff, which may be confusingisatty
?The text was updated successfully, but these errors were encountered: