Você está na página 1de 4

tmux for MobaXterm | techslaves.

org

03/05/2015

techslaves.org

tmux for MobaXterm


2014/05/16

rthomson

Sysadmin

An old friend meets a new friend: tmux for MobaXterm!


In a previous sysadmin life, I used tmux to good effect. Today, Im using a Windows 8.1 system as my primary work desktop and recently
got into MobaXterm for my Linux/terminal/X11 needs. While my most common usage scenario for tmux is invoking it on a remote
server/VM instead of directly on my local machine, I thought it would be a good exercise to install tmux for local usage on MobaXterm and
sharing that work by creating a plugin.
Download: tmux 1.9a for MobaXterm (tmux.mxt3)
tmux.mxt3 includes the following software:
libevent 2.0.21 stable
ncurses 5.9
tmux 1.9a
The licenses for the above software is included within the mxt3 (zip) file.
For additional MobaXterm plugins and installation instructions, see the MobaXterm plugins page.
Additional credits:
Installation instructions for tmux on cygwin
Creating MobaXterm plugins
Related posts:
1. FreeIPA and Samba 3 Integration

cygw in

softw are

tmux

w indow s

RTHOMSON

4 thoughts on tmux for MobaXterm


STEVE
2014/06/04 at 23:55

Thank you for this plugin.


I have a small problem : it seems that my bashrc file is not sourced by tmux.
I put a .bashrc file in MobaXterm home directory (C:\Users\username\Documents\MobaXterm\home) which is sourced by
MobaXterm at startup.
But when I run tmux, another instance of Bash is run without sourcing my bashrc.
I see it because my prompt changes and I have no more aliases.
If I manually source this file : source $HOME/.bashrc, I get back my prompt, aliases, etc.
So I guess its just a mather of initialization.
Have you any clue about this?
http://techslaves.org/2014/05/16/tmux-for-mobaxterm/

1/4

tmux for MobaXterm | techslaves.org

03/05/2015

REPLY

RTHOMSON
2014/06/05 at 20:08

Thats interesting. I havent setup a ~/.bashrc in my MobaXterm local environment and didnt test but now that I try, I can
reproduce it.
This should be your solution: http://stackoverflow.com/questions/9652126/bashrc-profile-is-not-loaded-on-new-tmux-sessionor-window-why
In short: You need to source ~/.bashrc from ~/.bash_profile.
REPLY

BBERGMAN
2015/01/30 at 14:19

Thanks for a cool plugin. Havent used tmux in years, but its great to see it for MobaXterm. Now I just have to remind myself
of all the commands. :)
Note; I had a similar problem as Steve, where the .bashrc file wasnt getting parsed by MobaXterm because all the stock
commands were loaded after it (thus ignoring some commands that I put in there). By using the trick in the stackoverflow link,
it solved my problem. Double win!
Thanks for your hard work and a great plugin!
Bruce
REPLY

RTHOMSON
2015/02/02 at 15:11

Bruce: My pleasure! Im glad that people are finding it useful.

LEAVE A REPLY
Enter your comment here...

File Access Auditing w / Linux NFS Server

Pow erShell Tips: Group AD Members & Non-expiring Passw ords

DISCLAIMER
The views and opinions expressed here are indeed my own and only my own.

Search...

TOP POSTS & PAGES


iSight Disabler
http://techslaves.org/2014/05/16/tmux-for-mobaxterm/

2/4

tmux for MobaXterm | techslaves.org

03/05/2015

tmux for MobaXterm


NFSv4: Interop, ACLs & Automount
PowerShell Tips: Group AD Members & Non-expiring Passwords
LVM filters and initrd
Browsing Automounted NFS with Nautilus

CATEGORIES
Fun (12)
Off Topic (1)
Random (3)
Reviews (4)
Sysadmin (43)
Tips & Tricks (10)
Updates (6)

TAG CLOUD
acl

aiglx

ipod
restore

apple

iscsi

atempo

kernel

rhel

ldap

script

autofs
ldm

security

backup

linux
server

ltsp

centos

cfengine

microsoft

softw are

solder

migration
tina

code

datacenter

music
unix

ups

netw ork
vendor

drums

fix

neural emesis
virtualization

hardw are
nfs

ibm

phone

ios

iphone

rant

redhat

w indow s

ARCHIVES
Select Month

SYSADMIN LINKS
/r/sysadmin
Cascadia IT Conference
Everything Sysadmin
Standalone Sysadmin
Storagebod's Blog
sysadmin1138 Expounds

META
Log in
Entries RSS

http://techslaves.org/2014/05/16/tmux-for-mobaxterm/

3/4

tmux for MobaXterm | techslaves.org

03/05/2015

Comments RSS
WordPress.org

techslaves.org 2015
system administrator
noun Computing

"A system administrator, or sysadmin, is a person who is responsible for the upkeep, configuration, and reliable operation of computer systems; especially multi-user computers, such as servers."

Theme by Colorlib Pow ered by W ordPress

http://techslaves.org/2014/05/16/tmux-for-mobaxterm/

4/4

Você também pode gostar