! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
"terminal is not fully functional"
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description poma 2016-06-02 10:16:33 CEST
$ xfce4-terminal
your 131072x1 screen size is bogus. expect trouble

$ mc
Your terminal lacks the ability to clear the screen or position the cursor.

$ man xfce4-terminal   
WARNING: terminal is not fully functional
-  (press RETURN)
Comment 1 poma 2016-06-02 10:18:17 CEST
$ rpm -q gtk3
gtk3-3.20.6-1.fc24.x86_64

$ rpm -q vte291 
vte291-0.44.2-1.fc24.x86_64

$ xfce4-terminal --version                                                                                                           
xfce4-terminal 0.7.0git-20160601gita59cf51 (Xfce 4.12)

Copyright (c) 2003-2012
	The Xfce development team. All rights reserved.

Written by Benedikt Meurer <benny@xfce.org>
and Nick Schermer <nick@xfce.org>.

Please report bugs to <http://bugzilla.xfce.org/>.
Comment 2 poma 2016-06-02 11:41:32 CEST
Vis-à-vis GTK+ 3.20,
with GTK+ 3.16 it works OK

$ xfce4-terminal --version
xfce4-terminal 0.7.0git-20160601gita59cf51 (Xfce 4.12)

Copyright (c) 2003-2012
	The Xfce development team. All rights reserved.

Written by Benedikt Meurer <benny@xfce.org>
and Nick Schermer <nick@xfce.org>.

Please report bugs to <http://bugzilla.xfce.org/>.


$ rpm -q xfce4-terminal vte291 gtk3
xfce4-terminal-0.7.0-2.2.20160601gita59cf51.fc22.x86_64
vte291-0.40.3-1.fc22.x86_64
gtk3-3.16.7-2.fc22.x86_64
Comment 3 Igor editbugs 2016-06-16 17:26:00 CEST
Please try the latest git version. Does it have proper size on start?
Comment 4 poma 2016-06-16 23:52:25 CEST
(In reply to Igor from comment #3)
> Please try the latest git version. Does it have proper size on start?

Yeah, that part is resolved

$ xfce4-terminal --version | head -1
xfce4-terminal 0.7.0git-20160616git09e2dd9 (Xfce 4.12)
Comment 5 Igor editbugs 2016-06-17 17:39:43 CEST
(In reply to poma from comment #4)
> Yeah, that part is resolved
> 
> $ xfce4-terminal --version | head -1
> xfce4-terminal 0.7.0git-20160616git09e2dd9 (Xfce 4.12)

Thanks for the update. What issues are you experiencing now?

What does this one mean?
$ mc
Your terminal lacks the ability to clear the screen or position the cursor.
Comment 6 poma 2016-06-20 15:01:52 CEST
(In reply to Igor from comment #5)
> (In reply to poma from comment #4)
> > Yeah, that part is resolved
> > 
> > $ xfce4-terminal --version | head -1
> > xfce4-terminal 0.7.0git-20160616git09e2dd9 (Xfce 4.12)
> 
> Thanks for the update. What issues are you experiencing now?
> 
> What does this one mean?
> $ mc
> Your terminal lacks the ability to clear the screen or position the cursor.


$ xfce4-terminal --version | head -1
xfce4-terminal 0.6.3git-20160210git0ff645a (Xfce 4.12)

$ echo $TERM 
xterm-256color

$ echo $COLORTERM
xfce4-terminal

~~~~~~~~~~~~~~

$ xfce4-terminal --version | head -1
xfce4-terminal 0.7.0git-20160620gitcd8500b (Xfce 4.12)

$ echo $TERM                                      
dumb

$ echo $COLORTERM
truecolor

~~~~~~~~~

https://bugzilla.redhat.com/show_bug.cgi?id=639280
https://bugzilla.redhat.com/show_bug.cgi?id=1165439
Comment 7 poma 2016-06-21 00:59:58 CEST
(In reply to poma from comment #6)
> (In reply to Igor from comment #5)
> > (In reply to poma from comment #4)
> > > Yeah, that part is resolved
> > > 
> > > $ xfce4-terminal --version | head -1
> > > xfce4-terminal 0.7.0git-20160616git09e2dd9 (Xfce 4.12)
> > 
> > Thanks for the update. What issues are you experiencing now?
> > 
> > What does this one mean?
> > $ mc
> > Your terminal lacks the ability to clear the screen or position the cursor.
> 
> 
> $ xfce4-terminal --version | head -1
> xfce4-terminal 0.6.3git-20160210git0ff645a (Xfce 4.12)
> 
> $ echo $TERM 
> xterm-256color
> 
> $ echo $COLORTERM
> xfce4-terminal
> 
> ~~~~~~~~~~~~~~
> 
> $ xfce4-terminal --version | head -1
> xfce4-terminal 0.7.0git-20160620gitcd8500b (Xfce 4.12)
> 
> $ echo $TERM                                      
> dumb
> 
> $ echo $COLORTERM
> truecolor
> 
> ~~~~~~~~~
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=639280
> https://bugzilla.redhat.com/show_bug.cgi?id=1165439

FTR
$ gnome-terminal --version
GNOME Terminal 3.20.2

$ echo $TERM
xterm-256color

$ echo $COLORTERM
truecolor
Comment 8 poma 2016-06-21 02:20:57 CEST
Created attachment 6709 
get envvar TERM - "terminal is not fully functional" fix


$ xfce4-terminal --version | head -1
xfce4-terminal 0.7.0git-e312a17 (Xfce 4.12)

$ echo $TERM
xterm-256color

$ echo $COLORTERM
truecolor
Comment 9 poma 2016-06-21 14:40:37 CEST
What is broken with $TERM == dumb:

- man pager
  e.g. 'man man'
  "WARNING: terminal is not fully functional
  -  (press RETURN)"

- apps utilising Text User Interface aka TUI - via libncurses or libslang,
  such as mc, nmtui, ntsysv, bwm-ng, htop, etc.
  e.g. 'mc'
  "Your terminal lacks the ability to clear the screen or position the cursor."

- terminal screen clearing
  e.g. "clear-screen - ^L" (bash) and 'clear' (ncurses)

This bug can be emulated with:
'export TERM=dumb ; <command(s) - above mentioned>'
Comment 10 Igor editbugs 2016-06-21 14:59:33 CEST
@poma I'm not seeing the $TERM issue on my system (it's xterm-256color for me) but I will check and probably merge your patch later. Thanks.
Comment 11 Igor editbugs 2016-06-21 20:50:13 CEST
I've pushed your change, thanks!
Comment 12 poma 2016-06-22 11:31:20 CEST
All right!
Comment 13 Igor editbugs 2016-06-22 13:38:46 CEST
Great!

Bug #12615

Reported by:
poma
Reported on: 2016-06-02
Last modified on: 2016-07-07

People

CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information