LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-13-2017, 02:06 AM   #1
jstg
Member
 
Registered: Apr 2006
Distribution: Slackware
Posts: 59

Rep: Reputation: 37
Elvis and rxvt-unicode/tmux/screen


Slackware64-current - fully up to date

Somewhere in this development (at least as far as I can tell) Elvis has started misbehaving. Nothing totally breaking, but still misbehaving. I use rxvt-unicode with tmux. Under tmux $TERM reports:

Code:
screen-256color
This causes Elvis to print:

Code:
must set normal colors first
I don't recall this happening leading up to the release of 14.2. If I had to take a bad guess I would imagine it happened around here:

Code:
Sat Dec 24 02:36:05 UTC 2016
...
l/libtermcap-1.2.3-x86_64-7.txz:  Removed.
  Replaced by equivalent functionality in the ncurses package.
But that is just a bad guess. I have an elvis.clr that I had tinkered with at one point because it did funny things to the comments under rxvt-unicode. If I comment out that file things seem to work okay under screen-256color but then rxvt-unicode gets things like underlined comments.

Any help or insight would be greatly appreciated.

Edit: I created a function in my .kshrc to call Elvis as such:

Code:
case "$TERM" in
linux*) elvis "$@"
*) TERM=xterm elvis "$@"
esac
This makes Elvis work fine, but it seems "hacky". I'm hoping there is a cleaner solution.

Last edited by jstg; 07-13-2017 at 02:10 AM. Reason: Added information
 
Old 07-13-2017, 05:55 AM   #2
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 253

Rep: Reputation: 125Reputation: 125
Can you try adding something like this in your ~/.elvisrc ? adjusting to your needs.

Quote:
color normal white on black
color comment brown
color keyword navyblue
color selection black on white
color spell red
color selection white on black
 
Old 07-13-2017, 07:34 PM   #3
jstg
Member
 
Registered: Apr 2006
Distribution: Slackware
Posts: 59

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by jmccue View Post
Can you try adding something like this in your ~/.elvisrc ? adjusting to your needs.
I gave that a shot exactly as typed up and with a few variations and still the same results. It's not a huge deal breaker. I have Elvis in a working state. Thanks for your reply.
 
Old 07-14-2017, 08:45 PM   #4
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 253

Rep: Reputation: 125Reputation: 125
Interesting, I am not on current but I heard it now defaults to termio. Does this file exist ?

/usr/share/terminfo/x/xterm-256color
 
Old 07-14-2017, 10:49 PM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,600

Rep: Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508
In rxvt-unicode on my -current system, I see
Code:
bash-4.4$ echo $TERM
rxvt-unicode-256color
I do not get the error that you report.
For my setup, see https://www.linuxquestions.org/quest...6/#post5685789
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem displaying Unicode special characters in Urxvt/rxvt-unicode terminal shahinism Slackware 4 10-22-2012 03:08 PM
rxvt-unicode hacking mkoco Slackware 18 06-07-2011 10:27 AM
[SOLVED] TERM=rxvt / rxvt-unicode and ctrl-L irb Slackware 10 06-09-2010 05:09 AM
rxvt unicode problem with fluxbox Josh000 Slackware 16 12-24-2009 03:45 AM
problem with rxvt-unicode corbis_demon Linux - Software 0 11-27-2007 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration