Hi, list,

I want to put some string into a pane sequencely, say, run:

    luit -encoding 'gbk'

then after luit is running, then run:

    setenv LANG zh_CN.GBK

In screen, I can use the stuff command to achieve it:

    stuff "luit -encoding 'gbk'\012 setenv LANG zh_CN.GBK\012"

Dont know how to do it in tmux, I've tried with

    send-key luit Space -encoding Space 'gbk' Enter setenv Space LANG Space 
zh_CN.GBK Enter

Look really ugly, and doesn't work...

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to