Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #210622 > unrolled thread

ncurses?

Started byghe <ghe@slsware.net>
First post2019-07-03 01:50 +0200
Last post2019-07-03 14:30 +0200
Articles 7 — 7 participants

Back to article view | Back to linux.debian.user


Contents

  ncurses? ghe <ghe@slsware.net> - 2019-07-03 01:50 +0200
    Re: ncurses? Jude DaShiell <jdashiel@panix.com> - 2019-07-03 02:30 +0200
      Re: ncurses? dickey@invisible-island.net - 2019-07-03 16:40 +0200
    Re: ncurses? Felix Miata <mrmazda@earthlink.net> - 2019-07-03 04:40 +0200
    Re: ncurses? andreimpopescu@gmail.com - 2019-07-03 08:00 +0200
    Re: ncurses? <tomas@tuxteam.de> - 2019-07-03 12:00 +0200
    Re: ncurses? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-07-03 14:30 +0200

#210622 — ncurses?

Fromghe <ghe@slsware.net>
Date2019-07-03 01:50 +0200
Subjectncurses?
Message-ID<yfAH7-6OE-1@gated-at.bofh.it>
Buster, Supermicro 5036T (aka sbox), Radeon HD 6450/7450/8450 according
to lspci, RME Hammerfall sound card

I asked for help with this a few days ago and attached a screenshot to
show what my problem is. There've been no replies -- I guess graphics
are caught by a spam filter somewhere.

The problem is that, on sbox, alsamixer and aptitude are badly displayed
-- alsamixer so bad that it's not usable. The vertical lines in
alsamixer are broken into pieces and the pieces are offset a quarter of
an inch or so. The horizontals aren't broken, but their positions are
offset like the vertical pieces. Some of them.

I can't use my sound card without alsamixer. Aptitude's problems are
just a nuisance that I expect to see fixed RSN.

I hope that's enough to explain what's going on. If not, please say so,
and I'll put the screenshot on my website.

lynx is fine. And there are no difficulties with GUI stuff.

When I run one of these programs and 'ps aux' I see lynx or alsamixer or
aptitude, but no ncurses. I'm not sure what, if anything, that means.
But I expected to see ncurses.

The problem on sbox is fairly new. I don't know which update broke it
because I don't need the sound card very often. It worked since the
early alsa days and I didn't change anything, I promise.

Both problem programs are fine on the Dell laptop (also running Buster)
in the next room. When I SSH to the laptop and run alsamixer over there,
it's better on my screen, but not right. When I run alsamixer on sbox,
SSH to the laptop, and SSH back to sbox, it's unintelligible again on
the sbox screen.

I can't find anything remotely like this on the web.

At first I guessed something was wrong in Linux' Radeon driver. But I'm
not so sure anymore because lynx has no problems. But lynx doesn't try
to make pictures, and text is fine everywhere...

At a loss. Ideas?

-- 
Glenn English

[toc] | [next] | [standalone]


#210623

FromJude DaShiell <jdashiel@panix.com>
Date2019-07-03 02:30 +0200
Message-ID<yfBjQ-7gC-1@gated-at.bofh.it>
In reply to#210622
Try running script if the system is already installed then run each of
the problem commands then type exit.  You'll get a file called
typescript which is ansi text that probably will get through the spam
filters if you include it in the body of your message and do not attach
it.  If the ansi can be cleaned out of typescript the reading will be
cleaner and the file a little shorter.

On Tue, 2 Jul 2019, ghe wrote:

> Date: Tue, 2 Jul 2019 19:45:32
> From: ghe <ghe@slsware.net>
> To: debian-user <debian-user@lists.debian.org>
> Subject: ncurses?
> Resent-Date: Tue,  2 Jul 2019 23:45:49 +0000 (UTC)
> Resent-From: debian-user@lists.debian.org
>
> Buster, Supermicro 5036T (aka sbox), Radeon HD 6450/7450/8450 according
> to lspci, RME Hammerfall sound card
>
> I asked for help with this a few days ago and attached a screenshot to
> show what my problem is. There've been no replies -- I guess graphics
> are caught by a spam filter somewhere.
>
> The problem is that, on sbox, alsamixer and aptitude are badly displayed
> -- alsamixer so bad that it's not usable. The vertical lines in
> alsamixer are broken into pieces and the pieces are offset a quarter of
> an inch or so. The horizontals aren't broken, but their positions are
> offset like the vertical pieces. Some of them.
>
> I can't use my sound card without alsamixer. Aptitude's problems are
> just a nuisance that I expect to see fixed RSN.
>
> I hope that's enough to explain what's going on. If not, please say so,
> and I'll put the screenshot on my website.
>
> lynx is fine. And there are no difficulties with GUI stuff.
>
> When I run one of these programs and 'ps aux' I see lynx or alsamixer or
> aptitude, but no ncurses. I'm not sure what, if anything, that means.
> But I expected to see ncurses.
>
> The problem on sbox is fairly new. I don't know which update broke it
> because I don't need the sound card very often. It worked since the
> early alsa days and I didn't change anything, I promise.
>
> Both problem programs are fine on the Dell laptop (also running Buster)
> in the next room. When I SSH to the laptop and run alsamixer over there,
> it's better on my screen, but not right. When I run alsamixer on sbox,
> SSH to the laptop, and SSH back to sbox, it's unintelligible again on
> the sbox screen.
>
> I can't find anything remotely like this on the web.
>
> At first I guessed something was wrong in Linux' Radeon driver. But I'm
> not so sure anymore because lynx has no problems. But lynx doesn't try
> to make pictures, and text is fine everywhere...
>
> At a loss. Ideas?
>
>

-- 

[toc] | [prev] | [next] | [standalone]


#210672

Fromdickey@invisible-island.net
Date2019-07-03 16:40 +0200
Message-ID<yfOAp-6TH-5@gated-at.bofh.it>
In reply to#210623
On Tuesday, July 2, 2019 at 8:30:04 PM UTC-4, Jude DaShiell wrote:
> Try running script if the system is already installed then run each of
> the problem commands then type exit.  You'll get a file called
> typescript which is ansi text that probably will get through the spam
> filters if you include it in the body of your message and do not attach
> it.  If the ansi can be cleaned out of typescript the reading will be
> cleaner and the file a little shorter.
> 
> On Tue, 2 Jul 2019, ghe wrote:
...
> > I asked for help with this a few days ago and attached a screenshot to
> > show what my problem is. There've been no replies -- I guess graphics
> > are caught by a spam filter somewhere.
> >
> > The problem is that, on sbox, alsamixer and aptitude are badly displayed
> > -- alsamixer so bad that it's not usable. The vertical lines in
> > alsamixer are broken into pieces and the pieces are offset a quarter of
> > an inch or so. The horizontals aren't broken, but their positions are
> > offset like the vertical pieces. Some of them.
...

Actually stripping the "ansi" out of the "typescript" file makes it hard to see what's going on (I don't see OP's screenshot).  Whether and how ncurses does line-drawing depends on the TERM variable and the locale variables -- and how well it works depends on the actual terminal (program...).

Lynx doesn't do much with line-drawing, except in menus (such as in the Options screen).

If you have a "typescript", sending that as an attachment for discussion on the bug-ncurses mailing list will get more response than to debian-user.

[toc] | [prev] | [next] | [standalone]


#210628

FromFelix Miata <mrmazda@earthlink.net>
Date2019-07-03 04:40 +0200
Message-ID<yfDlD-54-1@gated-at.bofh.it>
In reply to#210622
ghe composed on 2019-07-02 17:45 (UTC-0600):

https://lists.debian.org/debian-user/2019/07/msg00110.html

It's been eons since I heard of any kind of trouble with ncurses. :-) sbox I'm not
familiar with. :-(

I have a Dell gfxcard on a Buster test box that may be the same as yours except
for the brand. Perhaps you'd see improvement by swapping the radeon DDX for the
default DDX (modesetting) as I use here.

I don't usually try to make sound work, or even connect speakers, on my test
boxes, but alsamixer does open seemingly ready to take orders:

	http://fm.no-ip.com/SS/Deb/alsamixer10m.png

Simplest way for you to switch DDX should be to purge xserver-xorg-video-radeon.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [next] | [standalone]


#210631

Fromandreimpopescu@gmail.com
Date2019-07-03 08:00 +0200
Message-ID<yfGtc-1UR-1@gated-at.bofh.it>
In reply to#210622

[Multipart message — attachments visible in raw view] — view raw

On Ma, 02 iul 19, 17:45:32, ghe wrote:
> Buster, Supermicro 5036T (aka sbox), Radeon HD 6450/7450/8450 according
> to lspci, RME Hammerfall sound card
 
[...]
 
> The problem is that, on sbox, alsamixer and aptitude are badly displayed

Apparently "sbox" is the host name (or how you refer to it). It would be 
useful to be explicit about this, to avoid confusions.

> -- alsamixer so bad that it's not usable. The vertical lines in
> alsamixer are broken into pieces and the pieces are offset a quarter of
> an inch or so. The horizontals aren't broken, but their positions are
> offset like the vertical pieces. Some of them.

Is this in an terminal window under X or on the console?
Is "regular" shell output fine otherwise (e.g. 'ls -l') in xterms and/or 
console?

My first recommendation is to make sure your locale and console is 
properly configured.

    dpkg-reconfigure locales
    dpkg-reconfigure console-setup

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#210639

From<tomas@tuxteam.de>
Date2019-07-03 12:00 +0200
Message-ID<yfKds-4bB-7@gated-at.bofh.it>
In reply to#210622

[Multipart message — attachments visible in raw view] — view raw

On Tue, Jul 02, 2019 at 05:45:32PM -0600, ghe wrote:
> Buster, Supermicro 5036T (aka sbox), Radeon HD 6450/7450/8450 according
> to lspci, RME Hammerfall sound card

[...]

> The problem is that, on sbox, alsamixer and aptitude are badly displayed
> -- alsamixer so bad that it's not usable. The vertical lines in
> alsamixer are broken into pieces and the pieces are offset a quarter of
> an inch or so. The horizontals aren't broken, but their positions are
> offset like the vertical pieces. Some of them.

Also: what is the value of your TERM environment variable? Are you calling
the program via sudo, or directly from a root shell?

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#210649

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2019-07-03 14:30 +0200
Message-ID<yfMyB-5HZ-1@gated-at.bofh.it>
In reply to#210622
On Tue, Jul 02, 2019 at 05:45:32PM -0600, ghe wrote:
> When I run one of these programs and 'ps aux' I see lynx or alsamixer or
> aptitude, but no ncurses. I'm not sure what, if anything, that means.
> But I expected to see ncurses.

ncurses is a C library.  A C program like lynx may be linked against
this library, and you would (usually) see that with ldd:

wooledg:~$ ldd /usr/bin/lynx | grep ncurses
        libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f85b0929000)

A library isn't a separate process, and you won't see it listed in the
output of ps or top.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web