Hi, I'm going to build tmux from source on AIX 7.1. Reasons:
Terminal multiplexers are a must
tmux is to GNU screen (part of Toolbox) what vim is to the default AIX vi.
The later versions of tmux are considerably nicer than older versions.
Also, looks like IBM compiled screen without 256 colour support!
I'll post updates once I manage to build and run it successfully. If there is any interest I can provide detailed instructions, maybe even an installp package.
Thanks! I have successfully compiled tmux on my AIX 7.1 machine . Here's a run down of what needs to be done:
1. Download latest tmux source code from github:
git is available from the AIX Toolbox. The best way to install is to set up yum. I can help if you get into trouble here.
2. Download the dependency libevent:
3. Patch libevent code using the following diff (using patch command or by hand):
4. Compile libevent:
Note that my version of AIX has an issue with the as assembler which requires the CFLAGS="-g0" CXXFLAGS="-g0" flags. If your OS is fully up to date at the latest TL then it should not be necessary (please test first without the flags, and if it works I'd appreciate a post with the oslevel -s output).
6. Install (using yum) the following tmux dependencies: automake, pkg-config, bison (for yacc). Then add /usr/linux/bin to PATH. To test your path run
5. Patch tmux code using the following diffs:
In the above we are simple renaming the variable lines to newlines to avoid a conflict.
6. Build tmux:
Once again, please test first without the CFLAGS="-g0" CXXFLAGS="-g0" flags.
7. tmux requires the UTF-8 locale. You can install it from the AIX install DVD 1 using:
Assuming you have mounted the DVD on /cdmnt. Next set the locale in your shell:
Check using the locale command.
The install is now complete. Please read the next post for information about how to use 256 colours.
These 2 Users Gave Thanks to topcat For This Post:
Ok, tmux is now installed and running! Let's make it beautiful
1. Set terminal to 256 colour mode by setting TERM in your shell:
2. The IBM supplied terminfo settings for xterm-256color (use infocmp xterm-256color to view it) are missing the the entries for the setab and setaf features, which tell the terminal how to set background and foreground colours, respectively. Run man terminfo and search for setb, setf. Running tmux info inside a tmux session will show the missing entries. This is fixed by the following code in .tmux.conf:
Now you should have 256 colours. I am attaching my .tmux.conf as an example.
These 3 Users Gave Thanks to topcat For This Post:
FYI, I talked with the tmux developer, Nicholas, and intend to support tmux development on AIX since he does not have access to an AIX box. Right now there is no official support for AIX and I hope to improve on that
I'm currently working on fixing a couple of small issues.
Hi,
I am trying to install tmux on vm allocated to me in my company . i am very new to linux. I have the root access on it.
Can someone please provide the exact steps to get it installed.
I tried:
1. Using yum, i get the below message.
# yum install tmux
Loaded plugins: security... (6 Replies)
Hello Experts !
i have started using tmux recent past . So far so good .
while exploring the option , i found an option as
I log into terminal where i enabled the tmux , and then i log onto a taxi server and then to my application server. My expectation is when i going aound the paths on... (1 Reply)
Hello,
I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior.
for example
1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert.
2) disk usage alerts
3)... (5 Replies)
Using nimadm:
nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y
Initializing the NIM master.
Initializing NIM client sap024.
0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT
spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)