Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. # Change the xterm initialization string from is2=E[!pE[?3;4lE[4lE>
  2. # (This fixes the "Aborted because of window size change" konsole symptoms found
  3. # in bug #134198)
  4. termcapinfo xterm* 'is=E[rE[mE[2JE[HE[?7hE[?1;4;6l'
  5.  
  6. E[r - set scrolling region to default (full size of window)
  7. E[m - reset all resources (keyboard) to their initial values
  8. E[2J - Erase in Display (ED). 2 -> Erase All.
  9. E[H - set cursor position to default (1, 1)
  10. E[?7h - DEC Private Mode Set. 7 -> Wraparound Mode
  11. E[?1;4;6l - DEC Private Mode Reset. 1 -> Normal Cursor Keys; 4 -> Jump (Fast) Scroll; 6 -> Normal Cursor Mode
  12.  
  13. E[!p - Soft terminal reset
  14. E[?3;4l - DEC Private Mode Reset. 3 -> 80 Column Mode; 4 -> Jump (Fast) Scroll
  15. E[4l - Reset Mode. 4 -> Replace Mode
  16. E> - Normal keypad
  17.  
  18. is2=E[!pE[?3;4lE[4lE>
  19.  
  20. CSI ! p Soft terminal reset (DECSTR).
  21. CSI ? Pm l
  22. DEC Private Mode Reset (DECRST).
  23. ...
  24. Ps = 3 -> 80 Column Mode (DECCOLM).
  25. Ps = 4 -> Jump (Fast) Scroll (DECSCLM).
  26. CSI Pm l Reset Mode (RM).
  27. ...
  28. Ps = 4 -> Replace Mode (IRM).
  29. ESC > Normal Keypad (DECKPNM).
  30.  
  31. is2=E[mE[?7hE[4lE>E7E[rE[?1;3;4;6lE8
  32.  
  33. is2=E[rE[mE[2JE[HE[?7hE[?1;4;6l
  34.  
  35. is2=E[rE[mE[?7hE[?1;4;6l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement