Scripts by xaos52

Submitted scripts and programs
Forum rules
Your own work only.
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Scripts by xaos52

Unread post by machinebacon » Thu Nov 07, 2013 11:59 am

Alright, thanks :)

Will Hoegaarden be ok? ;)
..gnutella..

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Thu Nov 07, 2013 12:05 pm

^ excellent choice :)
Connected. Take this REPL, brother, and may it serve you well.

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Thu Nov 07, 2013 12:44 pm

Pushed version 0.007
See commit message for details.

Better validation of valid color codes.
comments are now allowed in color code lines - the color code must start at position 1 in the line.
Connected. Take this REPL, brother, and may it serve you well.

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Thu Nov 07, 2013 9:19 pm

Pushed version 0.009
See commit message for details.

This is the first version with a working xterm palette on the fly modification.

Read the commit message carefully.
Needs the xtermcontrol package.

Enjoy
Connected. Take this REPL, brother, and may it serve you well.

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Fri Nov 08, 2013 12:27 pm

Pushed version 0.010
Included some fun for xterm users - my favourite terminal emulator :)
Connected. Take this REPL, brother, and may it serve you well.

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: Scripts by xaos52

Unread post by DebianJoe » Fri Nov 08, 2013 4:59 pm

Thanks for the hard work on this:

BTW: Have you ever read the Notice at the bottom of xterm's documentation? If you haven't, you should; it's funny.
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Fri Nov 08, 2013 5:55 pm

^ No, I had not seen that notice before.
I have not until now had to dive into the code.
xterm seems to be doing well for what I am using it for, which is not a lot, to be honest, because I try to stay within emacs as much as possible.

Thanks for the heads up, Joe :)
Connected. Take this REPL, brother, and may it serve you well.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: Scripts by xaos52

Unread post by GekkoP » Fri Nov 08, 2013 6:06 pm

Thanks for your script, doctor.
Just used it and here's my fresh Elektra with new colors.
Image

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Fri Nov 08, 2013 6:17 pm

^ Nice one.
Thanks for liking it. :)
Connected. Take this REPL, brother, and may it serve you well.

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Scripts by xaos52

Unread post by ivanovnegro » Fri Nov 08, 2013 10:36 pm

That is so awesome, I have no words for it.

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Mon Nov 11, 2013 8:53 pm

Pushed version 0.011
This version recognizes .Xresources snippets as color definitions and can apply the color theme either to console or xterm.

Just drop a color theme definition from board index >> configs and scrots >> xresources/Xdefauts colors in your color themes directory and console-colors can apply the theme both to console and xterm.

We are getting there :)

Image
Connected. Take this REPL, brother, and may it serve you well.

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Scripts by xaos52

Unread post by rhowaldt » Tue Nov 12, 2013 8:56 am

sounds really good xaos.
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Scripts by xaos52

Unread post by dkeg » Tue Nov 12, 2013 1:55 pm

yes, excellent effort. Thanks xaos!

Work hard; Complain less

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Tue Nov 12, 2013 4:14 pm

Pushed version 0.012
Which includes automatic .Xresources update.
Connected. Take this REPL, brother, and may it serve you well.

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Thu Nov 14, 2013 8:38 pm

Pushed version 0.013
Which can change urxvt colors on the fly.

Next terminal emulator?
Connected. Take this REPL, brother, and may it serve you well.

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Scripts by xaos52

Unread post by rhowaldt » Thu Nov 14, 2013 8:52 pm

which ones have you got so far doctor X? (btw, nice avatar!)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Scripts by xaos52

Unread post by ivanovnegro » Thu Nov 14, 2013 8:59 pm

Great, finally on urxvt.

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Scripts by xaos52

Unread post by xaos52 » Thu Nov 14, 2013 9:12 pm

@rhowald: terminal emulators? xterm and urxvt can change colors on the fly.
For other terminal emulators you need to use -u to update ~/.Xresources, stop X use xrdb -merge ~/.Xresources and restart X to activate the new themes.
Connected. Take this REPL, brother, and may it serve you well.

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Scripts by xaos52

Unread post by rhowaldt » Thu Nov 14, 2013 11:47 pm

how about stupid stuff like Terminator? uses its own internal system or something, right? let's not cater to that shit if so.
sounds great doctor, you do a good job. i wish all doctors were like you ;)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Scripts by xaos52

Unread post by machinebacon » Fri Nov 15, 2013 1:31 am

terminator and lxterminal and sakura and whatnot have their own shit, i think it's a bit much to cater them, but Irene (fog) uses terminator, and she posted her snippet to make paletter work for terminator a few days ago. I suppose lxterm and the other GUI VTs use the same syntax there.
..gnutella..

Post Reply