[MacPorts] #48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator"
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" ------------------------------+-------------------------------- Reporter: jean.p.chauvel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ------------------------------+-------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/48661> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Changes (by ryandesign@…): * cc: youvegotmoxie@… (removed) * owner: macports-tickets@… => youvegotmoxie@… * port: => screen Comment: Has duplicate #48662. -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by youvegotmoxie@…): Can you provide a little more information so I can try to recreate the issue? Screen works properly here. -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by sime@…): I recently upgraded bash and I believe since then I see the same error each time I run `ls`. I have commented out .screenrc and .profile though the problem persists. -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by eric.moret@…): Same problem here -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by youvegotmoxie@…): Try rebuilding bash and screen making sure you're using the latest version of ncurses.[[BR]] I use zsh as my shell but just installed bash to see if I can duplicate your bug, I do not see ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" when issuing the `ls` command. `mike@snafu-mac:~/ > /opt/local/bin/bash`[[BR]] `bash-4.3$ /opt/local/bin/bash --version`[[BR]] `GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin14.5.0)`[[BR]] `Copyright (C) 2013 Free Software Foundation, Inc.`[[BR]] `License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>`[[BR]] `This is free software; you are free to change and redistribute it.` `There is NO WARRANTY, to the extent permitted by law.`[[BR]] `bash-4.3$ ls`[[BR]] `Applications Documents Movies Pictures gitlab macports-svn`[[BR]] `ClamXAV-Quar Downloads Music Public local- scripts mbox`[[BR]] `Desktop Library NFS Sync macports- local patches`[[BR]] `bash-4.3$`[[BR]] `bash-4.3$ screen -ls`[[BR]] `There is a screen on:`[[BR]] `9824.test (Attached)`[[BR]] `1 Socket in /tmp/screens/S-mike.`[[BR]] `bash-4.3$ screen --version`[[BR]] `Screen version 4.03.01 (GNU) 28-Jun-15`[[BR]] `bash-4.3$` -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by sime@…): What is the desired way to rebuild a port in this case? Also an another interesting error when I run top on a remote system: {{{ $ top 'screen.xterm-256color': unknown terminal type. }}} -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by sime@…): Okay, I can silence the error if I run `ls` in the following ways: {{{ $ TERM=screen-256color ls $ TERM=xterm ls }}} -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by vloodo@…): I get this error every time I start screen after a recent update. I'm using zsh and I've narrowed it down to either something in my .zshrc or oh-my-zsh. However, something definitely changed in the screen code base, since this started happening right after an update to screen, with no other changes on my machine. -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by youvegotmoxie@…): Replying to [comment:6 sime@…]:
What is the desired way to rebuild a port in this case?
Also an another interesting error when I run top on a remote system:
{{{ $ top 'screen.xterm-256color': unknown terminal type. }}}
`# port upgrade --force ncurses screen bash` -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by davidriod@…): I just fall on the same issue. It seems that it is related with the Terminal.app OS X application configuration. Screen or its child processes does not seem to handle well the content of the TERM variable when it holds xterm-256color prior starting the screen command. -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#48661: screen displays ""TERMCAP", line 20, col 1, terminal 'SC': Missing separator" -------------------------------+----------------------------- Reporter: jean.p.chauvel@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: screen | -------------------------------+----------------------------- Comment (by tdy@…): Replying to [comment:5 youvegotmoxie@…]:
`mike@snafu-mac:~/ > /opt/local/bin/bash`[[BR]] `bash-4.3$ /opt/local/bin/bash --version`[[BR]] `GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin14.5.0)`[[BR]] `Copyright (C) 2013 Free Software Foundation, Inc.`[[BR]] `License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>`[[BR]]
`This is free software; you are free to change and redistribute it.` `There is NO WARRANTY, to the extent permitted by law.`[[BR]] `bash-4.3$ ls`[[BR]] `Applications Documents Movies Pictures gitlab macports-svn`[[BR]] `ClamXAV-Quar Downloads Music Public local- scripts mbox`[[BR]] `Desktop Library NFS Sync macports-local patches`[[BR]] `bash-4.3$`[[BR]] `bash-4.3$ screen -ls`[[BR]] `There is a screen on:`[[BR]] `9824.test (Attached)`[[BR]] `1 Socket in /tmp/screens/S-mike.`[[BR]] `bash-4.3$ screen --version`[[BR]] `Screen version 4.03.01 (GNU) 28-Jun-15`[[BR]] `bash-4.3$`
I'm not sure if there were some truncated commands here, but I don't see an `ls` command inside a screen session itself. That's how I'm duplicating the issue on my end. I only see an `ls` outside of screen and a `screen -ls` to list screens, but the main issue is running `ls` after opening screen. -- Ticket URL: <https://trac.macports.org/ticket/48661#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts