Monday, November 25, 2019

Re: [NEW] audio/ncspot: ncurses Spotify client written in Rust

On 2019/11/25 10:36, Tracey Emery wrote:
> On Mon, Nov 25, 2019 at 10:03:26AM +0100, Henrik Friedrichsen wrote:
> > On Sun, Nov 24, 2019 at 10:48:08PM +0100, Bj?rn Ketelaars wrote:
> > > One remark:
> > >
> > > From https://www.openbsd.org/faq/ports/guide.html:
> > >
> > > "Submit the port. Create a gzipped tarball of the port directory."
> > >
> >
> > Thanks for the feedback, glad you like it! Sorry about the diff, haven't
> > submitted a new port in a while.
> >
> > Attached is the tarball.
>
> Hello, this builds and runs fine. However, it looks like junk in xterm.
> What terminal are people running this in? Most areas where I assume
> there are some kind of symbols are replaced by ~char~char. For example,
> during playback, the lower area of the terminal is gobbled up by ~T~A,
> which I'm assuming is a playback progress bar of some sort.
>
> My login screen looked just like the capture here:
> https://github.com/hrkfdn/ncspot/issues/65
>
> Playback looks like: https://github.com/hrkfdn/ncspot/issues/107
>
> So, there is something funky and neither of those reports had anything
> useful I could find to fix the problem.
>
> I also took my personal tweaks out of .Xdefaults to see, and it just
> made things worse. So, does this still need some work, or does a
> pkg_readme need to be created for making it look good in CWM and xterm?
> Did something get missed for curses in the build?
>
> Thanks.

Try it with LC_CTYPE=en_US.UTF-8 (I export that in .xinitrc so it gets
used for everything). Not sure if that will help but it seems possible
(if I run ncspot with LC_CTYPE=c instead I get some garbled display,
though not quite the same as in issues/65 etc).

No comments:

Post a Comment