Share your knowledge at the LQ Wiki.
Go Back > Blogs
User Name



tmux - "tmux new-window \; split-window -h" does not work as expected anymore.

Posted 10-06-2015 at 02:54 AM by MadMaverick9 (MadMaverick9's Blog)
Tags patch, tmux

Start tmux with:
bash $ tmux
Which will start a session with one window and a shell started. In that shell type:
bash $ tmux new-window \; split-window
Up to 1.9a this would create a new window and split that new window.
In 2.0 and above it creates a new window, but then splits the first window.

The first patch "current-session-02.patch.txt" restores previous 1.9a behavior. But in order to be complete, tmux should also keep track of the...
Attached Files
File Type: txt current-session-02.patch.txt (519 Bytes, 0 views)
File Type: txt current-session-04.patch.txt (1.6 KB, 0 views)
Posted in Uncategorized
Views 665 Comments 0 MadMaverick9 is offline

rxvt-unicode - urxvt - utempter patch.

Posted 10-01-2015 at 03:46 AM by MadMaverick9 (MadMaverick9's Blog)

This patch removes all utmp/wtmp/lastlog related code from rxvt-unicode and replaces it with two calls to utempter_add_record and utempter_remove_record.

Why am I posting this here? Because neither nor allow attaching patch/diff files to posts/comments. They only allow image files to be attached, which is very surprising esp. with regards to, which is supposed to be a website for programmers/developers.

Thank you very much Jeremy....
Attached Files
File Type: txt urxvt-utempter.patch.txt (41.2 KB, 0 views)
Posted in Uncategorized
Views 696 Comments 0 MadMaverick9 is offline

nginx 'autoindex' module bug: patch committed

Posted 02-07-2010 at 06:17 PM by Web31337 (In The Middle Of Nowhere [edK's blog])
Tags bug, nginx, patch

Two or three days ago I was cleaning up my webserver hosts, and adding some stuff.
Occasionally, I've created a file with name containing '?'(question sign) in it. This directory had autoindex enabled, served by nginx.
I've tried to view the directory listing in my browser(just to see how it is shown) and found a bug: autoindex module wasn't URL-encoding the question sign. So it resulted in request to /somedir/filename instead of /somedir/filename%3f as it should have been.
Posted in opensource
Views 2238 Comments 0 Web31337 is offline
Rating: 2 votes, 5.00 average.

Logwatch, webserver logs, PHP malarky

Posted 10-03-2009 at 05:52 AM by unSpawn
Updated 04-01-2012 at 05:18 PM by unSpawn (//Enhanced logwatch/scripts/services/http diff, added Snort ET SID 2010920 rule and fail2ban regex example, fixed commas (thanks leslie_jones).)
Tags logwatch, patch, php

As I'm seeing more questions about (badly coded) web applications spawning rogue processes I wonder why people don't read their logs. Attacks require reconnaissance so keeping an eye on anything that looks like a prelude enables you to take measures. And please spend time updating when updates are released, installing apps properly (like not leaving the installation files around when docs remind you not to), hardening (any IDS, mod_security, Gotroot rulesets, mod_evasive or equivalent, PHPIDS, Suhosin,...
Posted in Uncategorized
Views 4950 Comments 0 unSpawn is online now


All times are GMT -5. The time now is 06:30 PM.

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