Login
You're viewing the ruby.social public feed.
  • Nov 22, 2026, 4:51 PM

    So, still looking to help out in a project that rejects genAI? Why not help out the #CDE project? We have a terminal emulator, dtterm, that could use some work!

    dtterm, for some reason, will not play nicely with anything that uses ncurses... EDIT: Turns out this was from the terminfo file not being properly installed! A patch has been sent up to address this. Alternatively, if you install with FHS support, run `sudo tic /usr/config/dtterm.ti` to properly install the terminfo.

    HOWEVER, Microsoft's Edit does not completely work. It seems that mouse events in TUIs are not supported?

    dtterm also has problems when using XFT fonts (sourceforge.net/p/cdesktopenv/), which looks like a multi-byte issue of some kind.

    If these can be addressed, we'd have a really nice Motif-based terminal emulator! :wlfChuckle:

    Screenshot of dtterm and nano refusing to run.
techokami@markv:~
$> nano test.txt                                                               
ncurses: cannot initialize terminal type ($TERM="dtterm"); exiting
techokami@markv:~
$>
    💬 3🔄 57⭐ 52

Replies

  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 5:03 PM

    @drj Yep, it's an old project that didn't see the need to migrate to GitHub or Codeberg since it uses everything SF offers. I don't think either of them offer mailing lists (which the primary development discussion occurs on!)

    EDIT: Should mention that some of us *do* use a bit of GitHub, but that's mainly to (ab)use the free CI/CD pipelines for automated testing, which is the only thing SourceForge doesn't have

    💬 0🔄 0⭐ 0
  • Nov 22, 2026, 6:12 PM

    @techokami This error usually indicates a missing terminfo entry.

    There should be a file at /usr/share/terminfo/d/dtterm, do you have it?

    💬 0🔄 0⭐ 1
  • Nov 22, 2026, 6:15 PM

    @Misofist Oh, it is missing from that location! Lemme double check some things and I might have the root cause...

    💬 0🔄 0⭐ 2
  • Nov 22, 2026, 6:26 PM

    @Misofist Oh holy crap this is nano running in dtterm!

    Turns out that the terminfo file was NOT being compiled and installed. Once I went and did that, hey presto it works now!

    To actually fix this, the makefile will need to be updated to run tic on the source terminfo file. Which will mean adding tic to the dependencies if it isn't already in there, and then finding an appropriate place to execute it. Probably during the install process. I should be able to make a patch for this
    and send it up.

    dtterm running nano without issue. Text is the same as the post.
    💬 0🔄 0⭐ 1
  • Nov 22, 2026, 7:43 PM

    @techokami @Misofist you can also set an environment variable, TERMINFO I think. Which may be an option when the terminfo database isn't operating properly. Might be worth documenting.

    💬 2🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 23, 2026, 9:37 AM

    @Misofist @techokami TERMINFO lets you point to a different directory for a terminfo database; useful if your terminal description is not one of the standard installed ones, or if you are not a superuser and cannot write to /usr/share/terminfo. I _thought_ one of the environment variables let you write a terminfo description directly in the variable (useful when SSH'ing as the remote system might never have heard of your terminal), but i am currently reading man pages trying to find out.

    💬 1🔄 0⭐ 0
  • Nov 23, 2026, 9:43 AM

    @drj @Misofist apparently, properly installing the TERMINFO *was* part of the install process, BUT it was removed because it could clobber a definition file installed from another package... there is a WIP patch on the mailing list I was not aware of that re-enables it based on a parameter sent to the configure script, like the FHS support. (There is also another patch that adds a different parameter that addresses a permissions issue I encounter with Fedora 44...)

    💬 1🔄 0⭐ 0
  • Nov 23, 2026, 10:01 AM

    @techokami FWIW my macOS laptop already has a terminfo for dtterm, but who knows if it's suitable for a recently compiled dtterm. But that is the sort of reason why you might not want an installer to install its own terminfo file over an existing system one.

    💬 2🔄 0⭐ 0
  • Nov 23, 2026, 3:53 PM

    @techokami which makes me wonder... what system are you on that _doesn't_ have dtterm in its terminfo already? terminfo is the sort of thing that is supposed to be a global database of all terminal types you could ever come across, and should include things that aren't installed on a base system. Because sure, host H doesn't have dtterm, but you might be logging into H remotely from a dtterm.

    So what i'm saying is that the right place for a dtterm terminfo decription to go is in the system's terminfo package.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 24, 2026, 10:47 PM

    @techokami NetBSD (11.0) also already has a terminfo entry for dtterm (copied from Solaris 2.5 according to its own comment). So, it's not always a given that installing dtterm should install its terminfo entry (also, you have to run tic probably). So maybe Fedora is the odd one out?

    💬 1🔄 0⭐ 0
  • Nov 25, 2026, 9:41 AM

    @drj :wlfThink: well, there's only one way to find out...
    [gets out the @neal Bat Signal and turns it on with a dramatic sting in the background]

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0