Re: [CentOS] Minicom and Ncurses

2020-06-12 Thread Nicolas Kovacs
Le 12/06/2020 à 17:48, isdtor a écrit :
> Might be a long shot - try export LANG=C.

Spot on. That did the trick.

Thanks very much !

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Minicom and Ncurses

2020-06-12 Thread Chris Adams
Once upon a time, Nicolas Kovacs  said:
> I have to do some maintenance on a CentOS 7 proxy installed on a routerboard
> without a video card. The only way to access this machine directly is via
> Minicom and serial port.
> 
> I'm using NetworkManager TUI (nmtui) to configure network interfaces, but
> Ncurses rendering in Minicom works in the sense that chickens fly and horses
> swim. What you get is a forest of question marks with a few barely 
> recognizable
> options lost in between.
> 
> Is there some magical trick to render Ncurses interfaces correctly in Minicom 
> ?

I'd guess the TERM is not set correctly.  IIRC Minicom by default
emulates a traditional VT102 terminal, while the default Linux TERM
variable is usually "linux" (which is a superset of VT102).  Try setting
TERM=vt102 first.

Alternately, if you have screen installed, it can also be used for
serial access... run "screen /dev/ttyS0 9600" (change the device and
speed as needed).  Screen has its own superset of VT102, so you can set
TERM=screen, but it is also possibly close enough to the linux terminal
emulation to work directly (they're both ANSI supersets with similar
extensions).

-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Minicom and Ncurses

2020-06-12 Thread Phelps, Matthew
On Fri, Jun 12, 2020 at 11:30 AM Nicolas Kovacs  wrote:

> Hi,
>
> I have to do some maintenance on a CentOS 7 proxy installed on a
> routerboard
> without a video card. The only way to access this machine directly is via
> Minicom and serial port.
>
> I'm using NetworkManager TUI (nmtui) to configure network interfaces, but
> Ncurses rendering in Minicom works in the sense that chickens fly and
> horses
> swim. What you get is a forest of question marks with a few barely
> recognizable
> options lost in between.
>
> Is there some magical trick to render Ncurses interfaces correctly in
> Minicom ?
>
> Cheers,
>
> Niki
> --
> Microlinux - Solutions informatiques durables
> 7, place de l'église - 30730 Montpezat
> Site : https://www.microlinux.fr
> Blog : https://blog.microlinux.fr
> Mail : i...@microlinux.fr
> Tél. : 04 66 63 10 32
> Mob. : 06 51 80 12 12
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


Maybe "export TERM=vt100" ?




-- 

*Matt Phelps*

*Information Technology Specialist, Systems Administrator*

(Computation Facility, Smithsonian Astrophysical Observatory)

Center for Astrophysics | Harvard & Smithsonian


60 Garden Street | MS 39 | Cambridge, MA 02138
email: mphe...@cfa.harvard.edu


cfa.harvard.edu | Facebook  | Twitter
 | YouTube 
| Newsletter 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Minicom and Ncurses

2020-06-12 Thread isdtor
Nicolas Kovacs writes:
> Hi,
> 
> I have to do some maintenance on a CentOS 7 proxy installed on a routerboard
> without a video card. The only way to access this machine directly is via
> Minicom and serial port.
> 
> I'm using NetworkManager TUI (nmtui) to configure network interfaces, but
> Ncurses rendering in Minicom works in the sense that chickens fly and horses
> swim. What you get is a forest of question marks with a few barely 
> recognizable
> options lost in between.
> 
> Is there some magical trick to render Ncurses interfaces correctly in Minicom 
> ?

What about nmcli?

Might be a long shot - try export LANG=C.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Minicom and Ncurses

2020-06-12 Thread Nicolas Kovacs
Hi,

I have to do some maintenance on a CentOS 7 proxy installed on a routerboard
without a video card. The only way to access this machine directly is via
Minicom and serial port.

I'm using NetworkManager TUI (nmtui) to configure network interfaces, but
Ncurses rendering in Minicom works in the sense that chickens fly and horses
swim. What you get is a forest of question marks with a few barely recognizable
options lost in between.

Is there some magical trick to render Ncurses interfaces correctly in Minicom ?

Cheers,

Niki
-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos