|
|
|
Processing WikiController#edit (for 192.168.111.145 at 2009-09-10 10:56:20) [POST]
|
|
Parameters: {"commit"=>"Save", "action"=>"edit", "id"=>"conf-man", "page"=>"PuttySetup
|
|
", "content"=>{"comments"=>"", "text"=>"h1. Putty Setup\r\n\r\n\r\n* Fix the prompt:\r\n
|
|
\r\nSet PS1 specifically for mc's subshell:\r\n\r\n<pre>\r\n$ echo PS1= sorry, I can't i
|
|
nclude the string here, the wiki throws an error on the backslashes when you save. See t
|
|
he link below...\r\n\r\nA better workaround ist to set PS1 specifically for mc's subshel
|
|
l:\r\n$ echo PS1=\\'\\\\u@\\\\h:\\\\w\\\\$ \\' >> ~/.mc/bashrc\r\n</pre>\r\n\r\n( From h
|
|
ttps://bugs.launchpad.net/ubuntu/+source/mc/+bug/330633 )\r\n\r\n\r\n* Make the line-dra
|
|
wing characters work:\r\n\r\nSet the character set to UTF-8 (under Configuration - Windo
|
|
w - Translation)\r\n\r\n( From http://www.andremiller.net/content/getting-midnight-comma
|
|
nder-line-drawing-work-putty )\r\n\r\n* This also improves MC's appearance in Poderosa,
|
|
but it's still not right.\r\n", "version"=>"4"}, "controller"=>"wiki"}
|
|
|
|
|
|
ActiveRecord::StatementInvalid (RuntimeError: ERROR C42601 Msyntax error at or near
|
|
"\" P440 Fscan.l L807 Rbase_yyerror: UPDATE "wiki_contents"
|
|
SET "version" = 5, "updated_on" = '2009-09-10 10:56:20.053625', "text" = E
|
|
'h1. Putty Setup
|
|
|
|
|
|
* Fix the prompt:
|
|
|
|
Set PS1 specifically for mc''s subshell:
|
|
|
|
<pre>
|
|
$ echo PS1= sorry, I can''t include the string here, the wiki throws an error on the bac
|
|
|
|
<pre>
|
|
$ echo PS1= sorry, I can''t include the string here, the wiki throws an error on the bac
|
|
kslashes when you save. See the link below...
|
|
|
|
A better workaround ist to set PS1 specifically for mc''s subshell:
|
|
$ echo PS1=\''\\u@\\h:\\w\\$ \'' >> ~/.mc/bashrc
|
|
</pre>
|
|
|
|
( From https://bugs.launchpad.net/ubuntu/+source/mc/+bug/330633 )
|
|
|
|
* Make the line-drawing characters work:
|
|
|
|
Set the character set to UTF-8 (under Configuration - Window - Translation)
|
|
|
|
( From http://www.andremiller.net/content/getting-midnight-commander-line-drawing-work-p
|
|
utty )
|
|
|
|
* This also improves MC''s appearance in Poderosa, but it''s still not right.
|
|
'
|
|
WHERE id = 35
|
|
AND "version" = 4
|
|
):
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abst
|
|
ract_adapter.rb:188:in `log'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/post
|
|
gresql_adapter.rb:503:in `execute'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abst
|
|
ract/database_statements.rb:177:in `update_sql'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/post
|
|
gresql_adapter.rb:514:in `update_sql'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abst
|
|
ract/database_statements.rb:49:in `update_without_query_dirty'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abst
|
|
ract/query_cache.rb:18:in `update'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/locking/optimistic.rb:81
|
|
:in `update_without_dirty'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/dirty.rb:146:in `update_
|
|
without_callbacks'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/callbacks.rb:253:in `upd
|
|
ate_without_timestamps'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/timestamp.rb:38:in `upda
|
|
te'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2699:in `create_
|
|
or_update_without_callbacks'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/callbacks.rb:222:in `cre
|
|
ate_or_update'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:2383:in `save_wi
|
|
thout_validation'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/validations.rb:1009:in `
|
|
save_without_dirty'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/dirty.rb:79:in `save_wit
|
|
hout_transactions'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:179:in `
|
|
send'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:179:in `
|
|
with_transaction_returning_status'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/post
|
|
gresql_adapter.rb:550:in `transaction'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:129:in `
|
|
transaction'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:138:in `
|
|
transaction'
|
|
/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/transactions.rb:178:in `
|
|
< OMITTED >
|