LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-20-2014, 09:35 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,672

Rep: Reputation: 98
less after hexer, screen turn into hexer background


Hya,

System
Debian jessie

hexer 0.1.7-1.1
less 458-2
xterm 303-1

.Xresources looks like
Code:
?*Background:   light steel blue
?*Foreground:   black
$TERM is xterm

Situation
On a xterm window, use hexer to edit something, then exit.
On the same xterm window, use less to do something, do search with '/'.

This is what I got.
The screen (less), partially turns into blue, which is background color of hexer.

I have tried
Do same thing on console ($TERM linux) -> things look OK. This console is color enabled. (ls --color=auto gives me colored output)

Checked bug report. -> not found on hexer.

Used uxterm-> ran into same situation.

Checked shell variables and environmental variables. -> These look good, although I am not positive.

Web search with "less" as one of keywords was a kind of useless.

Question
Does anybody else run into same situation?

Closing remark
Thanks for your assistance. Have a nice Penguin.

cheers
 
Old 04-23-2014, 06:54 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,672

Original Poster
Rep: Reputation: 98
Self reply.

Still under troubleshooting process.

It looks like that hexer uses escape sequence to control color.

So, an escape sequence '\x1b[0m' could solve the problem.

I need to figure out where to put.

cheers
 
Old 04-23-2014, 09:21 PM   #3
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Thanks for that second post. I am a grumpy geezer, just a noob really. Maybe even an advanced noob. Never heard of hexer.

Am completely fascinated. Hope you keep this thread updated as to your progress on this problem.
 
Old 04-24-2014, 09:39 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,672

Original Poster
Rep: Reputation: 98
Hya,

Even such an expert does not know what hexer is!! It is a binary editor. I use it to remove several bytes from text file output of libreoffice-writer.

cheers.
 
Old 04-28-2014, 02:43 AM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,672

Original Poster
Rep: Reputation: 98
Hya

Self reply.

Due to copyright related matter, I decided not to modify its source code.

So, after hexer
Code:
echo {\\033}[0m
is my solution.

Is is as boring as it can be.

Thanks for your attention.

cheers

Last edited by kaz2100; 04-28-2014 at 02:49 AM. Reason: forgotten line
 
  


Reply

Tags
color, hexer, jessie, xterm


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
How to turn off background process and get the time difference by using c/c++ coding DWAYN3 Programming 5 07-25-2012 01:56 PM
How to turn off background process and get the time difference by using c/c++ coding? DWAYN3 Linux - Newbie 1 06-20-2012 12:26 PM
turn off background disk writes ? dansawyer Linux - Software 5 02-12-2007 02:14 PM
How to turn off MOHAA background noises and music, and etc. RHLinuxGUY Linux - Games 3 04-28-2005 07:10 AM

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

All times are GMT -5. The time now is 12:53 AM.

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