Detailed view of a page, which is probably more useful for debugging than anything else.
get_pagedata('FixBackspace') | |
_cached_html | transformedtext Object ( [_type] => pagetype_wikitext Object ( ) [_basepage] => FixBackspace [_content] => Array ( [0] => <div class="wikitext"><p class="tightenable top bottom">Backspace works, but won't go up or down a line</p> <pre class="tightenable top bottom"> set backspace=2 " make backspace work normal (non-vi style) set whichwrap+=<,>,h,l " backspace and cursor keys wrap to next/prev lines</pre> <hr /> <p class="tightenable top">Backspace just puts weird chars in my file</p> <p class="tightenable bottom"><i>This is all from :help fixdel (vims help is amazing)</i></p> <pre class="tightenable top"> :~fix[del] Set the value of 't_kD': 't_kb' is 't_kD' becomes ~ CTRL-? CTRL-H not CTRL-? CTRL-? (CTRL-? is 0177 octal, 0x7f hex) {not in Vi} If your delete key terminal code is wrong, but the code for backspace is alright, you can put this in your .vimrc: :fixdel This works no matter what the actual code for backspace is. If the backspace key terminal code is wrong you can use this: :if &term == "termname" : set t_kb=^V<BS> : fixdel :endif Where "^V" is CTRL-V and "<BS>" is the backspace key (don't type four characters!). Replace "termname" with your terminal name. If your <Delete> key sends a strange key sequence (not CTRL-? or CTRL-H) you cannot use ":fixdel". Then use: :if &term == "termname" : set t_kD=^V<Delete> :endif Where "^V" is CTRL-V and "<Delete>" is the delete key (don't type eight characters!). Replace "termname" with your terminal name. *Linux-backspace* Note about Linux: By default the backspace key produces CTRL-?, which is wrong. You can fix it by putting this line in your rc.local: echo "keycode 14 = BackSpace" | loadkeys *NetBSD-backspace* Note about NetBSD: If your backspace doesn't produce the right code, try this: xmodmap -e "keycode 22 = BackSpace" If this works, add this in your .Xmodmap file: keysym 22 = BackSpace You need to restart for this to take effect.</pre> <p class="tightenable bottom">There's also a bug in xterm (at least v224) that may bring other users into the same backspace problem. Here's the link: [1] => cached_externallink Object ( [_url] => http://bugs.gentoo.org/show_bug.cgi?id=154090 ) [2] => . The information there should be moved into this wiki, but that requires more effort than adding the link.</p> </div> ) [_description] => There's also a bug in xterm (at least v224) that may bring other users into the same backspace problem. Here's the link: http://bugs.gentoo.org/show_bug.cgi?id=154090. The information there should be moved into this wiki, but that requires more effort than adding the link. ) |
hits | 9520 |
get_versiondata('FixBackspace',28) | |
%content | Backspace works, but won't go up or down ... |
author | 194.237.142.10 |
author_id | 194.237.142.10 |
is_minor_edit | 1 |
markup | 2 |
mtime | 1190720686 |
pagetype | wikitext |
summary | Removed spam. |
get_versiondata('FixBackspace',27) | |
%content | Backspace works, but won't go up or down ... |
_supplanted | 1190720686 |
author | 74.244.134.44 |
author_id | 74.244.134.44 |
is_minor_edit | 1 |
markup | 2 |
mtime | 1189045014 |
pagetype | wikitext |
summary | spelling |
get_versiondata('FixBackspace',26) | |
%content | Backspace works, but won't go up or down ... |
_supplanted | 1189045014 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1186733218 |
pagetype | wikitext |
get_versiondata('FixBackspace',22) | |
%content | Backspace works, but won't go up or down ... |
_supplanted | 1184001477 |
author | 63.245.220.242 |
author_id | 63.245.220.242 |
is_minor_edit | |
markup | 2 |
mtime | 1183433248 |
pagetype | wikitext |
summary | Revert apparent vandalism |
get_versiondata('FixBackspace',20) | |
%content | Backspace works, but won't go up or down ... |
_supplanted | 1183043188 |
author | 15.203.169.126 |
author_id | 15.203.169.126 |
is_minor_edit | |
markup | 2 |
mtime | 1172768298 |
pagetype | wikitext |
summary | adding more valuable information. |
get_versiondata('FixBackspace',19) | |
%content | Backspace works, but won't go up or down ... |
_supplanted | 1172768298 |
author | metacosm |
author_id | metacosm |
is_minor_edit | |
markup | 2 |
mtime | 1100238007 |
pagetype | wikitext |