1 a
:37:{i
:0;a
:3:{i
:0;s
:14:"document_start";i
:1;a
:0:{}i
:2;i
:0;}i
:1;a
:3:{i
:0;s
:6:"p_open";i
:1;a
:0:{}i
:2;i
:0;}i
:2;a
:3:{i
:0;s
:7:"p_close";i
:1;a
:0:{}i
:2;i
:1;}i
:3;a
:3:{i
:0;s
:12:"section_edit";i
:1;a
:4:{i
:0;i
:-1;i
:1;i
:0;i
:2;i
:1;i
:3;s
:0:"";}i
:2;i
:1;}i
:4;a
:3:{i
:0;s
:6:"header";i
:1;a
:3:{i
:0;s
:4:"Bash";i
:1;i
:1;i
:2;i
:1;}i
:2;i
:1;}i
:5;a
:3:{i
:0;s
:12:"section_open";i
:1;a
:1:{i
:0;i
:1;}i
:2;i
:1;}i
:6;a
:2:{i
:0;s
:6:"plugin";i
:1;a
:4:{i
:0;s
:7:"uparrow";i
:1;a
:1:{i
:0;s
:42:"lib/plugins/uparrow/images/tango-small.png";}i
:2;i
:1;i
:3;s
:6:"~~UP~~";}}i
:7;a
:3:{i
:0;s
:13:"section_close";i
:1;a
:0:{}i
:2;i
:21;}i
:8;a
:3:{i
:0;s
:12:"section_edit";i
:1;a
:4:{i
:0;i
:1;i
:1;i
:20;i
:2;i
:1;i
:3;s
:4:"Bash";}i
:2;i
:21;}i
:9;a
:3:{i
:0;s
:6:"header";i
:1;a
:3:{i
:0;s
:43:"How to change escape characters association";i
:1;i
:2;i
:2;i
:21;}i
:2;i
:21;}i
:10;a
:3:{i
:0;s
:12:"section_open";i
:1;a
:1:{i
:0;i
:2;}i
:2;i
:21;}i
:11;a
:3:{i
:0;s
:6:"p_open";i
:1;a
:0:{}i
:2;i
:76;}i
:12;a
:3:{i
:0;s
:5:"cdata";i
:1;a
:1:{i
:0;s
:235:"
2 Sometimes you can't send a program some characters association (e.g. Ctrl+S) because the bash window intercepts then. In order to the program to work correctly, you must remove this character association from bash. Here is an example:";}i
:2;i
:77;}i
:13;a
:3:{i
:0;s
:7:"p_close";i
:1;a
:0:{}i
:2;i
:312;}i
:14;a
:3:{i
:0;s
:4:"code";i
:1;a
:3:{i
:0;s
:191:"
3 # see escape characters association
5 # shows ... ; stop = ^S; ...
6 # let's associate stop to Ctrl+Q
8 # now CTRL-S will be passed to the program running inside the bash
9 ";i
:1;s
:4:"bash";i
:2;N
;}i
:2;i
:319;}i
:15;a
:2:{i
:0;s
:6:"plugin";i
:1;a
:4:{i
:0;s
:7:"uparrow";i
:1;a
:1:{i
:0;s
:42:"lib/plugins/uparrow/images/tango-small.png";}i
:2;i
:1;i
:3;s
:6:"~~UP~~";}}i
:16;a
:3:{i
:0;s
:13:"section_close";i
:1;a
:0:{}i
:2;i
:525;}i
:17;a
:3:{i
:0;s
:12:"section_edit";i
:1;a
:4:{i
:0;i
:21;i
:1;i
:524;i
:2;i
:2;i
:3;s
:43:"How to change escape characters association";}i
:2;i
:525;}i
:18;a
:3:{i
:0;s
:6:"header";i
:1;a
:3:{i
:0;s
:32:"How to change bash configuration";i
:1;i
:2;i
:2;i
:525;}i
:2;i
:525;}i
:19;a
:3:{i
:0;s
:12:"section_open";i
:1;a
:1:{i
:0;i
:2;}i
:2;i
:525;}i
:20;a
:3:{i
:0;s
:6:"p_open";i
:1;a
:0:{}i
:2;i
:569;}i
:21;a
:3:{i
:0;s
:5:"cdata";i
:1;a
:1:{i
:0;s
:223:"
10 The file ~/.bashrc is read and executed every time you open bash. So if you want that a configuration change (like stty) to be true the next time you open bash, you must append it to the ~/.bashrc. Here is an example code:";}i
:2;i
:570;}i
:22;a
:3:{i
:0;s
:7:"p_close";i
:1;a
:0:{}i
:2;i
:793;}i
:23;a
:3:{i
:0;s
:4:"code";i
:1;a
:3:{i
:0;s
:58:"
12 $ echo 'stty stop ^Q' >> ~/.bashrc
13 ";i
:1;s
:4:"bash";i
:2;N
;}i
:2;i
:800;}i
:24;a
:2:{i
:0;s
:6:"plugin";i
:1;a
:4:{i
:0;s
:7:"uparrow";i
:1;a
:1:{i
:0;s
:42:"lib/plugins/uparrow/images/tango-small.png";}i
:2;i
:1;i
:3;s
:6:"~~UP~~";}}i
:25;a
:3:{i
:0;s
:13:"section_close";i
:1;a
:0:{}i
:2;i
:873;}i
:26;a
:3:{i
:0;s
:12:"section_edit";i
:1;a
:4:{i
:0;i
:525;i
:1;i
:872;i
:2;i
:2;i
:3;s
:32:"How to change bash configuration";}i
:2;i
:873;}i
:27;a
:3:{i
:0;s
:6:"header";i
:1;a
:3:{i
:0;s
:51:"How to use same bash configuration file on many PCs";i
:1;i
:2;i
:2;i
:873;}i
:2;i
:873;}i
:28;a
:3:{i
:0;s
:12:"section_open";i
:1;a
:1:{i
:0;i
:2;}i
:2;i
:873;}i
:29;a
:3:{i
:0;s
:6:"p_open";i
:1;a
:0:{}i
:2;i
:936;}i
:30;a
:3:{i
:0;s
:5:"cdata";i
:1;a
:1:{i
:0;s
:158:"
14 If order to use the same configuration file on many PCs (e.g. your work and you home), you can include your main file on the ~/.bashrc of those PCs. Example:";}i
:2;i
:937;}i
:31;a
:3:{i
:0;s
:7:"p_close";i
:1;a
:0:{}i
:2;i
:1095;}i
:32;a
:3:{i
:0;s
:4:"code";i
:1;a
:3:{i
:0;s
:119:"
15 # append to ~/.bashrc (do this on each PC)
16 $ echo 'source /path/to/your/main/configuration/file/.bashrc' >> ~/.bashrc
17 ";i
:1;s
:4:"bash";i
:2;N
;}i
:2;i
:1102;}i
:33;a
:2:{i
:0;s
:6:"plugin";i
:1;a
:4:{i
:0;s
:7:"uparrow";i
:1;a
:1:{i
:0;s
:42:"lib/plugins/uparrow/images/tango-small.png";}i
:2;i
:1;i
:3;s
:6:"~~UP~~";}}i
:34;a
:3:{i
:0;s
:13:"section_close";i
:1;a
:0:{}i
:2;i
:1236;}i
:35;a
:3:{i
:0;s
:12:"section_edit";i
:1;a
:4:{i
:0;i
:873;i
:1;i
:0;i
:2;i
:2;i
:3;s
:51:"How to use same bash configuration file on many PCs";}i
:2;i
:1236;}i
:36;a
:3:{i
:0;s
:12:"document_end";i
:1;a
:0:{}i
:2;i
:1236;}}