1
|
|
2
|
Processing WikiController#edit (for 192.168.111.145 at 2009-09-10 10:56:20) [POST]
|
3
|
Parameters: {"commit"=>"Save", "action"=>"edit", "id"=>"conf-man", "page"=>"PuttySetup
|
4
|
", "content"=>{"comments"=>"", "text"=>"h1. Putty Setup\r\n\r\n\r\n* Fix the prompt:\r\n
|
5
|
\r\nSet PS1 specifically for mc's subshell:\r\n\r\n<pre>\r\n$ echo PS1= sorry, I can't i
|
6
|
nclude the string here, the wiki throws an error on the backslashes when you save. See t
|
7
|
he link below...\r\n\r\nA better workaround ist to set PS1 specifically for mc's subshel
|
8
|
l:\r\n$ echo PS1=\\'\\\\u@\\\\h:\\\\w\\\\$ \\' >> ~/.mc/bashrc\r\n</pre>\r\n\r\n( From h
|
9
|
ttps://bugs.launchpad.net/ubuntu/+source/mc/+bug/330633 )\r\n\r\n\r\n* Make the line-dra
|
10
|
wing characters work:\r\n\r\nSet the character set to UTF-8 (under Configuration - Windo
|
11
|
w - Translation)\r\n\r\n( From http://www.andremiller.net/content/getting-midnight-comma
|
12
|
nder-line-drawing-work-putty )\r\n\r\n* This also improves MC's appearance in Poderosa,
|
13
|
but it's still not right.\r\n", "version"=>"4"}, "controller"=>"wiki"}
|
14
|
|
15
|
|
16
|
ActiveRecord::StatementInvalid (RuntimeError: ERROR C42601 Msyntax error at or near
|
17
|
"\" P440 Fscan.l L807 Rbase_yyerror: UPDATE "wiki_contents"
|
18
|
SET "version" = 5, "updated_on" = '2009-09-10 10:56:20.053625', "text" = E
|
19
|
'h1. Putty Setup
|
20
|
|
21
|
|
22
|
* Fix the prompt:
|
23
|
|
24
|
Set PS1 specifically for mc''s subshell:
|
25
|
|
26
|
<pre>
|
27
|
$ echo PS1= sorry, I can''t include the string here, the wiki throws an error on the bac
|
28
|
|
29
|
<pre>
|
30
|
$ echo PS1= sorry, I can''t include the string here, the wiki throws an error on the bac
|
31
|
kslashes when you save. See the link below...
|
32
|
|
33
|
A better workaround ist to set PS1 specifically for mc''s subshell:
|
34
|
$ echo PS1=\''\\u@\\h:\\w\\$ \'' >> ~/.mc/bashrc
|
35
|
</pre>
|
36
|
|
37
|
( From https://bugs.launchpad.net/ubuntu/+source/mc/+bug/330633 )
|
38
|
|
39
|
* Make the line-drawing characters work:
|
40
|
|
41
|
Set the character set to UTF-8 (under Configuration - Window - Translation)
|
42
|
|
43
|
( From http://www.andremiller.net/content/getting-midnight-commander-line-drawing-work-p
|
44
|
utty )
|
45
|
|
46
|
* This also improves MC''s appearance in Poderosa, but it''s still not right.
|
47
|
'
|
48
|
WHERE id = 35
|
49
|
AND "version" = 4
|
50
|
):
|
51
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abst
|
52
|
ract_adapter.rb:188:in `log'
|
53
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/post
|
54
|
gresql_adapter.rb:503:in `execute'
|
55
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abst
|
56
|
ract/database_statements.rb:177:in `update_sql'
|
57
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/post
|
58
|
gresql_adapter.rb:514:in `update_sql'
|
59
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abst
|
60
|
ract/database_statements.rb:49:in `update_without_query_dirty'
|
61
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abst
|
62
|
ract/query_cache.rb:18:in `update'
|
63
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/locking/optimistic.rb:81
|
64
|
:in `update_without_dirty'
|
65
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/dirty.rb:146:in `update_
|
66
|
without_callbacks'
|
67
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/callbacks.rb:253:in `upd
|
68
|
ate_without_timestamps'
|
69
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/timestamp.rb:38:in `upda
|
70
|
te'
|
71
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2699:in `create_
|
72
|
or_update_without_callbacks'
|
73
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/callbacks.rb:222:in `cre
|
74
|
ate_or_update'
|
75
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2383:in `save_wi
|
76
|
thout_validation'
|
77
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/validations.rb:1009:in `
|
78
|
save_without_dirty'
|
79
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/dirty.rb:79:in `save_wit
|
80
|
hout_transactions'
|
81
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:179:in `
|
82
|
send'
|
83
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:179:in `
|
84
|
with_transaction_returning_status'
|
85
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/post
|
86
|
gresql_adapter.rb:550:in `transaction'
|
87
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:129:in `
|
88
|
transaction'
|
89
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:138:in `
|
90
|
transaction'
|
91
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:178:in `
|
92
|
< OMITTED >
|