How to work around terminal artifacts when using dialog program under docker, running in a screen session

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
all.
The question is about the setup that you can find here: https://github.com/filmil/bugreports/blob/master/dialog/README.md
I noticed that running a dialog utility in an interactive docker terminal session gives different results when ran from a "regular" terminal, versus when ran in a screen session.
In the former case, the sample application is displayed as expected. See below.

In the latter case, the sample application is displayed, but the screen is not fully "drawn". See below.

At first I thought that this was something about the TERM setting. But I could not find a TERM settings that seem to work under screen. Any ideas what could be done to have the screen session work as well? Note, if I run a "regular" dialog without docker, the display is just fine. Only when docker comes into play does the display get "holes".
Thank you for thinking along!
gnu-screen docker dialog
add a comment |Â
up vote
0
down vote
favorite
all.
The question is about the setup that you can find here: https://github.com/filmil/bugreports/blob/master/dialog/README.md
I noticed that running a dialog utility in an interactive docker terminal session gives different results when ran from a "regular" terminal, versus when ran in a screen session.
In the former case, the sample application is displayed as expected. See below.

In the latter case, the sample application is displayed, but the screen is not fully "drawn". See below.

At first I thought that this was something about the TERM setting. But I could not find a TERM settings that seem to work under screen. Any ideas what could be done to have the screen session work as well? Note, if I run a "regular" dialog without docker, the display is just fine. Only when docker comes into play does the display get "holes".
Thank you for thinking along!
gnu-screen docker dialog
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
all.
The question is about the setup that you can find here: https://github.com/filmil/bugreports/blob/master/dialog/README.md
I noticed that running a dialog utility in an interactive docker terminal session gives different results when ran from a "regular" terminal, versus when ran in a screen session.
In the former case, the sample application is displayed as expected. See below.

In the latter case, the sample application is displayed, but the screen is not fully "drawn". See below.

At first I thought that this was something about the TERM setting. But I could not find a TERM settings that seem to work under screen. Any ideas what could be done to have the screen session work as well? Note, if I run a "regular" dialog without docker, the display is just fine. Only when docker comes into play does the display get "holes".
Thank you for thinking along!
gnu-screen docker dialog
all.
The question is about the setup that you can find here: https://github.com/filmil/bugreports/blob/master/dialog/README.md
I noticed that running a dialog utility in an interactive docker terminal session gives different results when ran from a "regular" terminal, versus when ran in a screen session.
In the former case, the sample application is displayed as expected. See below.

In the latter case, the sample application is displayed, but the screen is not fully "drawn". See below.

At first I thought that this was something about the TERM setting. But I could not find a TERM settings that seem to work under screen. Any ideas what could be done to have the screen session work as well? Note, if I run a "regular" dialog without docker, the display is just fine. Only when docker comes into play does the display get "holes".
Thank you for thinking along!
gnu-screen docker dialog
asked May 4 at 6:40
filmil
11
11
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The terminal, as far as the dialogue utility is concerned, is the terminal that is being emulated by the screen program. The screen program, in turn, is talking to another terminal, which going by the menu is GNOME Terminal, MATE Terminal, or some such.
The dialogue utility is using control sequences to clear a whole bunch of character cells at once. There are various "erase" control sequences defined by the ECMA-48 standard, that allow erasing to the end of the line, to the end of the display, or the next N characters. These control sequences are processed by screen.
There are two modes of behaviour that terminals have for processing such erasure sequences: erase using the current background colour or erase using the default background colour. In your second screenshot, you can see the result of a program, in this case your dialogue utility, thinking that erasure uses the current background colour when the terminal is actually implementing erasure using the default background colour. (The first screenshot comes about in two ways. Either the terminal erases using the current background colour, or the application recognizes that there is no background colour erasure ability in the first place and adjusts its output accordingly to make large blank areas in some other way.)
This behaviour is switchable in the case of screen, as it is in the case of a few other terminals and terminal emulators. By default in screen, so-called background colour erase is switched off, and the control sequences cause erasure with the default colour. One switches it on with the bce command, causing erasure with the current background colour. One sets the default for the bce setting itself, in all new screens, with the defbce command.
The dialogue utility has to know about this. Not all terminals have background colour erase, let alone make it switchable.
What informs the dialogue utility is the record corresponding to the terminal type (denoted, remember, by the value of the TERM environment variable as seen by the dialogue program) in the terminfo database. In that record, there is a capability that allows programs to determine what the terminal that they are talking to will do. It is named bce. (The termcap equivalent name is ut.)
Complicating this is screen's way of telling such programs what the terminal is. Other terminal emulators simply define how they behave as a terminal and require that programs be run with a specific terminal type for their terminal emulations. tmux just has the terminal types tmux and tmux-256color, for example, describing the single emulated terminal behaviour of tmux. screen by contrast constructs a bizarre mongrel terminal type that combines the screen emulation type with the type of the outer, rendered on to, terminal, such as screen.xterm-256color in your case, that then has to have a matching mongrel entry in the terminfo database.
The problem here is in part that you are mis-describing your outer, rendered on to, terminal to screen in the first place. It isn't XTerm, it isn't fully compatible with XTerm, and its correct terminal type is, despite what you may hear, not xterm. Its correct terminal type is gnome-256color or vte-256colour, which actually specifically describes libvte-based emulators like GNOME Terminal. (You can run infocmp xterm,vte-256color for revelations on how your system thinks that these two terminal emulators differ. And those are only the parts of the emulations that the terminfo database actually covers.)
You need to:
- Provide a proper terminal type to (the front-end rendering part of)
screenthat correctly describes libvte-based terminal emulators. - Provide a proper terminal type to the applications running against
screen's own terminal emulation.screenwill create a mongrelscreen.vte-256colortype. You can also employ something likescreen-256color-bceinstead. - Tell
screento switch background colour erase on, with thebcesetting or with thedefbcecommand before creating a screen. Note that this is going to be affected by the visibility of your$HOME/.screenrcfile in whatever context you are invokingscreen.
An alternative inferior (because background colour erase is a useful optimization for programs such as this dialogue utility that colour large blank blocks of the screen) approach is:
Still provide a proper terminal type to (the front-end rendering part of)screenthat correctly describes libvte-based terminal emulators.- Provide a proper terminal type to the applications running against
screen's own terminal emulation, but this time one of the ones that does not advertize a background colour erase capability, such as the plainscreen-256colortype. - Leave
screenwith background colour erase off.
Further reading
"Character Processing", Screen Users' Manual. GNU Project.- Clear to end of line uses the wrong background color in screen
- Clear to end of line uses the wrong background color in tmux
- Curses interface has blank spaces under GNU Screen and ssh
- Thomas E. Dickey (1997). "What is a VT220?". xterm Frequently Asked Questions. invisible-island.
- Thomas E. Dickey (2018). "Known Bugs in XTerm and LookâÂÂalikes: GNOME Terminal". xterm Frequently Asked Questions. invisible-island.
Thank you for the comprehensive answer! This reads like an excellent introduction to the intricacies of terminals for the rest of us. That said, it's worth noting that (1) I have not set any terminals to begin with, I was expecting that things would "just work"; and (2) the only time where the effect is observed is ifdialogis ran within a screen session inside a container with a terminal. Runningdialoginsidescreenworks just fine. So it may be the terminal created by docker that is ultimately wrong for the purpose..
â filmil
May 8 at 5:02
That is addressed by the note about.screenrc. (-:
â JdeBP
May 8 at 7:56
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The terminal, as far as the dialogue utility is concerned, is the terminal that is being emulated by the screen program. The screen program, in turn, is talking to another terminal, which going by the menu is GNOME Terminal, MATE Terminal, or some such.
The dialogue utility is using control sequences to clear a whole bunch of character cells at once. There are various "erase" control sequences defined by the ECMA-48 standard, that allow erasing to the end of the line, to the end of the display, or the next N characters. These control sequences are processed by screen.
There are two modes of behaviour that terminals have for processing such erasure sequences: erase using the current background colour or erase using the default background colour. In your second screenshot, you can see the result of a program, in this case your dialogue utility, thinking that erasure uses the current background colour when the terminal is actually implementing erasure using the default background colour. (The first screenshot comes about in two ways. Either the terminal erases using the current background colour, or the application recognizes that there is no background colour erasure ability in the first place and adjusts its output accordingly to make large blank areas in some other way.)
This behaviour is switchable in the case of screen, as it is in the case of a few other terminals and terminal emulators. By default in screen, so-called background colour erase is switched off, and the control sequences cause erasure with the default colour. One switches it on with the bce command, causing erasure with the current background colour. One sets the default for the bce setting itself, in all new screens, with the defbce command.
The dialogue utility has to know about this. Not all terminals have background colour erase, let alone make it switchable.
What informs the dialogue utility is the record corresponding to the terminal type (denoted, remember, by the value of the TERM environment variable as seen by the dialogue program) in the terminfo database. In that record, there is a capability that allows programs to determine what the terminal that they are talking to will do. It is named bce. (The termcap equivalent name is ut.)
Complicating this is screen's way of telling such programs what the terminal is. Other terminal emulators simply define how they behave as a terminal and require that programs be run with a specific terminal type for their terminal emulations. tmux just has the terminal types tmux and tmux-256color, for example, describing the single emulated terminal behaviour of tmux. screen by contrast constructs a bizarre mongrel terminal type that combines the screen emulation type with the type of the outer, rendered on to, terminal, such as screen.xterm-256color in your case, that then has to have a matching mongrel entry in the terminfo database.
The problem here is in part that you are mis-describing your outer, rendered on to, terminal to screen in the first place. It isn't XTerm, it isn't fully compatible with XTerm, and its correct terminal type is, despite what you may hear, not xterm. Its correct terminal type is gnome-256color or vte-256colour, which actually specifically describes libvte-based emulators like GNOME Terminal. (You can run infocmp xterm,vte-256color for revelations on how your system thinks that these two terminal emulators differ. And those are only the parts of the emulations that the terminfo database actually covers.)
You need to:
- Provide a proper terminal type to (the front-end rendering part of)
screenthat correctly describes libvte-based terminal emulators. - Provide a proper terminal type to the applications running against
screen's own terminal emulation.screenwill create a mongrelscreen.vte-256colortype. You can also employ something likescreen-256color-bceinstead. - Tell
screento switch background colour erase on, with thebcesetting or with thedefbcecommand before creating a screen. Note that this is going to be affected by the visibility of your$HOME/.screenrcfile in whatever context you are invokingscreen.
An alternative inferior (because background colour erase is a useful optimization for programs such as this dialogue utility that colour large blank blocks of the screen) approach is:
Still provide a proper terminal type to (the front-end rendering part of)screenthat correctly describes libvte-based terminal emulators.- Provide a proper terminal type to the applications running against
screen's own terminal emulation, but this time one of the ones that does not advertize a background colour erase capability, such as the plainscreen-256colortype. - Leave
screenwith background colour erase off.
Further reading
"Character Processing", Screen Users' Manual. GNU Project.- Clear to end of line uses the wrong background color in screen
- Clear to end of line uses the wrong background color in tmux
- Curses interface has blank spaces under GNU Screen and ssh
- Thomas E. Dickey (1997). "What is a VT220?". xterm Frequently Asked Questions. invisible-island.
- Thomas E. Dickey (2018). "Known Bugs in XTerm and LookâÂÂalikes: GNOME Terminal". xterm Frequently Asked Questions. invisible-island.
Thank you for the comprehensive answer! This reads like an excellent introduction to the intricacies of terminals for the rest of us. That said, it's worth noting that (1) I have not set any terminals to begin with, I was expecting that things would "just work"; and (2) the only time where the effect is observed is ifdialogis ran within a screen session inside a container with a terminal. Runningdialoginsidescreenworks just fine. So it may be the terminal created by docker that is ultimately wrong for the purpose..
â filmil
May 8 at 5:02
That is addressed by the note about.screenrc. (-:
â JdeBP
May 8 at 7:56
add a comment |Â
up vote
0
down vote
The terminal, as far as the dialogue utility is concerned, is the terminal that is being emulated by the screen program. The screen program, in turn, is talking to another terminal, which going by the menu is GNOME Terminal, MATE Terminal, or some such.
The dialogue utility is using control sequences to clear a whole bunch of character cells at once. There are various "erase" control sequences defined by the ECMA-48 standard, that allow erasing to the end of the line, to the end of the display, or the next N characters. These control sequences are processed by screen.
There are two modes of behaviour that terminals have for processing such erasure sequences: erase using the current background colour or erase using the default background colour. In your second screenshot, you can see the result of a program, in this case your dialogue utility, thinking that erasure uses the current background colour when the terminal is actually implementing erasure using the default background colour. (The first screenshot comes about in two ways. Either the terminal erases using the current background colour, or the application recognizes that there is no background colour erasure ability in the first place and adjusts its output accordingly to make large blank areas in some other way.)
This behaviour is switchable in the case of screen, as it is in the case of a few other terminals and terminal emulators. By default in screen, so-called background colour erase is switched off, and the control sequences cause erasure with the default colour. One switches it on with the bce command, causing erasure with the current background colour. One sets the default for the bce setting itself, in all new screens, with the defbce command.
The dialogue utility has to know about this. Not all terminals have background colour erase, let alone make it switchable.
What informs the dialogue utility is the record corresponding to the terminal type (denoted, remember, by the value of the TERM environment variable as seen by the dialogue program) in the terminfo database. In that record, there is a capability that allows programs to determine what the terminal that they are talking to will do. It is named bce. (The termcap equivalent name is ut.)
Complicating this is screen's way of telling such programs what the terminal is. Other terminal emulators simply define how they behave as a terminal and require that programs be run with a specific terminal type for their terminal emulations. tmux just has the terminal types tmux and tmux-256color, for example, describing the single emulated terminal behaviour of tmux. screen by contrast constructs a bizarre mongrel terminal type that combines the screen emulation type with the type of the outer, rendered on to, terminal, such as screen.xterm-256color in your case, that then has to have a matching mongrel entry in the terminfo database.
The problem here is in part that you are mis-describing your outer, rendered on to, terminal to screen in the first place. It isn't XTerm, it isn't fully compatible with XTerm, and its correct terminal type is, despite what you may hear, not xterm. Its correct terminal type is gnome-256color or vte-256colour, which actually specifically describes libvte-based emulators like GNOME Terminal. (You can run infocmp xterm,vte-256color for revelations on how your system thinks that these two terminal emulators differ. And those are only the parts of the emulations that the terminfo database actually covers.)
You need to:
- Provide a proper terminal type to (the front-end rendering part of)
screenthat correctly describes libvte-based terminal emulators. - Provide a proper terminal type to the applications running against
screen's own terminal emulation.screenwill create a mongrelscreen.vte-256colortype. You can also employ something likescreen-256color-bceinstead. - Tell
screento switch background colour erase on, with thebcesetting or with thedefbcecommand before creating a screen. Note that this is going to be affected by the visibility of your$HOME/.screenrcfile in whatever context you are invokingscreen.
An alternative inferior (because background colour erase is a useful optimization for programs such as this dialogue utility that colour large blank blocks of the screen) approach is:
Still provide a proper terminal type to (the front-end rendering part of)screenthat correctly describes libvte-based terminal emulators.- Provide a proper terminal type to the applications running against
screen's own terminal emulation, but this time one of the ones that does not advertize a background colour erase capability, such as the plainscreen-256colortype. - Leave
screenwith background colour erase off.
Further reading
"Character Processing", Screen Users' Manual. GNU Project.- Clear to end of line uses the wrong background color in screen
- Clear to end of line uses the wrong background color in tmux
- Curses interface has blank spaces under GNU Screen and ssh
- Thomas E. Dickey (1997). "What is a VT220?". xterm Frequently Asked Questions. invisible-island.
- Thomas E. Dickey (2018). "Known Bugs in XTerm and LookâÂÂalikes: GNOME Terminal". xterm Frequently Asked Questions. invisible-island.
Thank you for the comprehensive answer! This reads like an excellent introduction to the intricacies of terminals for the rest of us. That said, it's worth noting that (1) I have not set any terminals to begin with, I was expecting that things would "just work"; and (2) the only time where the effect is observed is ifdialogis ran within a screen session inside a container with a terminal. Runningdialoginsidescreenworks just fine. So it may be the terminal created by docker that is ultimately wrong for the purpose..
â filmil
May 8 at 5:02
That is addressed by the note about.screenrc. (-:
â JdeBP
May 8 at 7:56
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The terminal, as far as the dialogue utility is concerned, is the terminal that is being emulated by the screen program. The screen program, in turn, is talking to another terminal, which going by the menu is GNOME Terminal, MATE Terminal, or some such.
The dialogue utility is using control sequences to clear a whole bunch of character cells at once. There are various "erase" control sequences defined by the ECMA-48 standard, that allow erasing to the end of the line, to the end of the display, or the next N characters. These control sequences are processed by screen.
There are two modes of behaviour that terminals have for processing such erasure sequences: erase using the current background colour or erase using the default background colour. In your second screenshot, you can see the result of a program, in this case your dialogue utility, thinking that erasure uses the current background colour when the terminal is actually implementing erasure using the default background colour. (The first screenshot comes about in two ways. Either the terminal erases using the current background colour, or the application recognizes that there is no background colour erasure ability in the first place and adjusts its output accordingly to make large blank areas in some other way.)
This behaviour is switchable in the case of screen, as it is in the case of a few other terminals and terminal emulators. By default in screen, so-called background colour erase is switched off, and the control sequences cause erasure with the default colour. One switches it on with the bce command, causing erasure with the current background colour. One sets the default for the bce setting itself, in all new screens, with the defbce command.
The dialogue utility has to know about this. Not all terminals have background colour erase, let alone make it switchable.
What informs the dialogue utility is the record corresponding to the terminal type (denoted, remember, by the value of the TERM environment variable as seen by the dialogue program) in the terminfo database. In that record, there is a capability that allows programs to determine what the terminal that they are talking to will do. It is named bce. (The termcap equivalent name is ut.)
Complicating this is screen's way of telling such programs what the terminal is. Other terminal emulators simply define how they behave as a terminal and require that programs be run with a specific terminal type for their terminal emulations. tmux just has the terminal types tmux and tmux-256color, for example, describing the single emulated terminal behaviour of tmux. screen by contrast constructs a bizarre mongrel terminal type that combines the screen emulation type with the type of the outer, rendered on to, terminal, such as screen.xterm-256color in your case, that then has to have a matching mongrel entry in the terminfo database.
The problem here is in part that you are mis-describing your outer, rendered on to, terminal to screen in the first place. It isn't XTerm, it isn't fully compatible with XTerm, and its correct terminal type is, despite what you may hear, not xterm. Its correct terminal type is gnome-256color or vte-256colour, which actually specifically describes libvte-based emulators like GNOME Terminal. (You can run infocmp xterm,vte-256color for revelations on how your system thinks that these two terminal emulators differ. And those are only the parts of the emulations that the terminfo database actually covers.)
You need to:
- Provide a proper terminal type to (the front-end rendering part of)
screenthat correctly describes libvte-based terminal emulators. - Provide a proper terminal type to the applications running against
screen's own terminal emulation.screenwill create a mongrelscreen.vte-256colortype. You can also employ something likescreen-256color-bceinstead. - Tell
screento switch background colour erase on, with thebcesetting or with thedefbcecommand before creating a screen. Note that this is going to be affected by the visibility of your$HOME/.screenrcfile in whatever context you are invokingscreen.
An alternative inferior (because background colour erase is a useful optimization for programs such as this dialogue utility that colour large blank blocks of the screen) approach is:
Still provide a proper terminal type to (the front-end rendering part of)screenthat correctly describes libvte-based terminal emulators.- Provide a proper terminal type to the applications running against
screen's own terminal emulation, but this time one of the ones that does not advertize a background colour erase capability, such as the plainscreen-256colortype. - Leave
screenwith background colour erase off.
Further reading
"Character Processing", Screen Users' Manual. GNU Project.- Clear to end of line uses the wrong background color in screen
- Clear to end of line uses the wrong background color in tmux
- Curses interface has blank spaces under GNU Screen and ssh
- Thomas E. Dickey (1997). "What is a VT220?". xterm Frequently Asked Questions. invisible-island.
- Thomas E. Dickey (2018). "Known Bugs in XTerm and LookâÂÂalikes: GNOME Terminal". xterm Frequently Asked Questions. invisible-island.
The terminal, as far as the dialogue utility is concerned, is the terminal that is being emulated by the screen program. The screen program, in turn, is talking to another terminal, which going by the menu is GNOME Terminal, MATE Terminal, or some such.
The dialogue utility is using control sequences to clear a whole bunch of character cells at once. There are various "erase" control sequences defined by the ECMA-48 standard, that allow erasing to the end of the line, to the end of the display, or the next N characters. These control sequences are processed by screen.
There are two modes of behaviour that terminals have for processing such erasure sequences: erase using the current background colour or erase using the default background colour. In your second screenshot, you can see the result of a program, in this case your dialogue utility, thinking that erasure uses the current background colour when the terminal is actually implementing erasure using the default background colour. (The first screenshot comes about in two ways. Either the terminal erases using the current background colour, or the application recognizes that there is no background colour erasure ability in the first place and adjusts its output accordingly to make large blank areas in some other way.)
This behaviour is switchable in the case of screen, as it is in the case of a few other terminals and terminal emulators. By default in screen, so-called background colour erase is switched off, and the control sequences cause erasure with the default colour. One switches it on with the bce command, causing erasure with the current background colour. One sets the default for the bce setting itself, in all new screens, with the defbce command.
The dialogue utility has to know about this. Not all terminals have background colour erase, let alone make it switchable.
What informs the dialogue utility is the record corresponding to the terminal type (denoted, remember, by the value of the TERM environment variable as seen by the dialogue program) in the terminfo database. In that record, there is a capability that allows programs to determine what the terminal that they are talking to will do. It is named bce. (The termcap equivalent name is ut.)
Complicating this is screen's way of telling such programs what the terminal is. Other terminal emulators simply define how they behave as a terminal and require that programs be run with a specific terminal type for their terminal emulations. tmux just has the terminal types tmux and tmux-256color, for example, describing the single emulated terminal behaviour of tmux. screen by contrast constructs a bizarre mongrel terminal type that combines the screen emulation type with the type of the outer, rendered on to, terminal, such as screen.xterm-256color in your case, that then has to have a matching mongrel entry in the terminfo database.
The problem here is in part that you are mis-describing your outer, rendered on to, terminal to screen in the first place. It isn't XTerm, it isn't fully compatible with XTerm, and its correct terminal type is, despite what you may hear, not xterm. Its correct terminal type is gnome-256color or vte-256colour, which actually specifically describes libvte-based emulators like GNOME Terminal. (You can run infocmp xterm,vte-256color for revelations on how your system thinks that these two terminal emulators differ. And those are only the parts of the emulations that the terminfo database actually covers.)
You need to:
- Provide a proper terminal type to (the front-end rendering part of)
screenthat correctly describes libvte-based terminal emulators. - Provide a proper terminal type to the applications running against
screen's own terminal emulation.screenwill create a mongrelscreen.vte-256colortype. You can also employ something likescreen-256color-bceinstead. - Tell
screento switch background colour erase on, with thebcesetting or with thedefbcecommand before creating a screen. Note that this is going to be affected by the visibility of your$HOME/.screenrcfile in whatever context you are invokingscreen.
An alternative inferior (because background colour erase is a useful optimization for programs such as this dialogue utility that colour large blank blocks of the screen) approach is:
Still provide a proper terminal type to (the front-end rendering part of)screenthat correctly describes libvte-based terminal emulators.- Provide a proper terminal type to the applications running against
screen's own terminal emulation, but this time one of the ones that does not advertize a background colour erase capability, such as the plainscreen-256colortype. - Leave
screenwith background colour erase off.
Further reading
"Character Processing", Screen Users' Manual. GNU Project.- Clear to end of line uses the wrong background color in screen
- Clear to end of line uses the wrong background color in tmux
- Curses interface has blank spaces under GNU Screen and ssh
- Thomas E. Dickey (1997). "What is a VT220?". xterm Frequently Asked Questions. invisible-island.
- Thomas E. Dickey (2018). "Known Bugs in XTerm and LookâÂÂalikes: GNOME Terminal". xterm Frequently Asked Questions. invisible-island.
answered May 5 at 1:39
JdeBP
28.1k459133
28.1k459133
Thank you for the comprehensive answer! This reads like an excellent introduction to the intricacies of terminals for the rest of us. That said, it's worth noting that (1) I have not set any terminals to begin with, I was expecting that things would "just work"; and (2) the only time where the effect is observed is ifdialogis ran within a screen session inside a container with a terminal. Runningdialoginsidescreenworks just fine. So it may be the terminal created by docker that is ultimately wrong for the purpose..
â filmil
May 8 at 5:02
That is addressed by the note about.screenrc. (-:
â JdeBP
May 8 at 7:56
add a comment |Â
Thank you for the comprehensive answer! This reads like an excellent introduction to the intricacies of terminals for the rest of us. That said, it's worth noting that (1) I have not set any terminals to begin with, I was expecting that things would "just work"; and (2) the only time where the effect is observed is ifdialogis ran within a screen session inside a container with a terminal. Runningdialoginsidescreenworks just fine. So it may be the terminal created by docker that is ultimately wrong for the purpose..
â filmil
May 8 at 5:02
That is addressed by the note about.screenrc. (-:
â JdeBP
May 8 at 7:56
Thank you for the comprehensive answer! This reads like an excellent introduction to the intricacies of terminals for the rest of us. That said, it's worth noting that (1) I have not set any terminals to begin with, I was expecting that things would "just work"; and (2) the only time where the effect is observed is if
dialog is ran within a screen session inside a container with a terminal. Running dialog inside screen works just fine. So it may be the terminal created by docker that is ultimately wrong for the purpose..â filmil
May 8 at 5:02
Thank you for the comprehensive answer! This reads like an excellent introduction to the intricacies of terminals for the rest of us. That said, it's worth noting that (1) I have not set any terminals to begin with, I was expecting that things would "just work"; and (2) the only time where the effect is observed is if
dialog is ran within a screen session inside a container with a terminal. Running dialog inside screen works just fine. So it may be the terminal created by docker that is ultimately wrong for the purpose..â filmil
May 8 at 5:02
That is addressed by the note about
.screenrc. (-:â JdeBP
May 8 at 7:56
That is addressed by the note about
.screenrc. (-:â JdeBP
May 8 at 7:56
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441714%2fhow-to-work-around-terminal-artifacts-when-using-dialog-program-under-docker-ru%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password