bugGNU source-highlight - Bugs: bug #51089, Piping to source-highlight causes...

 
 

bug #51089: Piping to source-highlight causes less to always open full-screen

Submitted by:  None
Submitted on:  Tue 23 May 2017 12:10:53 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 23 May 2017 12:10:53 AM UTC, original submission:

I'm using homebrew's version of source-highlight (3.1.8, library 4:1:0), and I added the following lines to my ~/.bashrc

export LESSOPEN="| src-hilite-lesspipe.sh %s"
export LESS=" -R "

This successfully adds colors to less, but it also causes less to always open in full screen. This is inconvenient for things like small git diff outputs (see attached screenshots. This problem seems to be mac-specific.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #40763:  Screen Shot 2017-05-22 at 5.02.06 PM.png added by None (39KiB - image/png - Screenshots of bad git diff)
file #40764:  Screen Shot 2017-05-22 at 5.02.26 PM.png added by None (52KiB - image/png - Screenshots of bad git diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2017-05-23 None Attached File- => Added Screen Shot 2017-05-22 at 5.02.06 PM.png, #40763
    Attached File- => Added Screen Shot 2017-05-22 at 5.02.26 PM.png, #40764

Back to the top


Powered by Savane 3.3