Hi, i'm trying to break a long text line into some smaller chunks: dcop kate EditInterface#1 insertText 0 4 "\n" This line insert a \n string not a newline sign !?! I have also tryed '\n', 0xa, `printf "\n"` - same effect. Any idea ? Ciao, Raphael
Have you tried '\n' as you said and it doesn't work However dis get it to work with the following lines: dcop kate EditInterface#1 insertText 0 4 '
'
Note that the shell seems to send through the newline and that works - don't ask me why it must be sending a proper control character. Andrew On Wednesday 30 June 2004 09:43, Raphael Posmyk wrote:
Hi,
i'm trying to break a long text line into some smaller chunks:
dcop kate EditInterface#1 insertText 0 4 "\n"
This line insert a \n string not a newline sign !?! I have also tryed '\n', 0xa, `printf "\n"` - same effect. Any idea ?
Ciao, Raphael
-- Andrew Colvin apc@abcj.demon.co.uk ICQ: 44775817 Yahoo Messenger: apcolvin Jabber: acolvin@jabber.com -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) mQGiBD8FKdkRBADo7ANPdaMNYIlihjYh5oBld3ShWLTVqfQVjz5+twZgo7T5FlCy OSscQaC12NiYixanlZqZrXJs7/fQGAKAZ/CFZvZCTufHLuO5IXVOyRZAWNu7QbcN kWc8m0UilZDSKSb+AxXCnMpW/iEyQ0l8Zv6PKKRrC9Ok/zX9dszCSYakdwCgpKHY MI10jbBAD8cGMWIHGGj4egUD/0f2AWy8Ko02nW3zYLjV6qFkYGLc524qX/XhLhBo m4mhba5SWZl3P7CWs91ZkBTjgdz/XHUA5nCoFCQWTxuTL1UUx9dSHnCkPn4JQRTe /jWO1aOD+HBJYWV1w1r2EfDJE/Fmnukb+tgc3D2ZBROFvQSN9fCYt29aINkVyz0A BXj3A/4xwIAT+PfyiSkn6wheSUdhvXusQ4pZuETu+dbCNpvKWvR7p45KdJQ6DsRV mgWnVQZSxxPBBJIpXl/2JGI9F37VLnA4ATx8qauntHfDL11wjLCAIVab6x+0+ZeM s69xywtWOTiaTU0Rjh8IeNDDvb3hv/3EWCmfyQXvbDlLgRcS8LQkQW5kcmV3IENv bHZpbiA8YXBjQGFiY2ouZGVtb24uY28udWs+iFkEExECABkFAj8FKdkECwcDAgMV AgMDFgIBAh4BAheAAAoJEP9j3GM12XCdoWMAn1byxQyJH+Rxtcjd6ZEyS1gCAHWC AJ9GI9ZtwL/m703mg9T4hh+CajwZirkCDQQ/BSnsEAgAuBM0PxJdK1vKrHg1inEJ 83+e0oQPWLhTnvV3wT34OGkj/Krzexo9cOUHM5BteidQY6ovhH3AKjmkF0aNXaay xpsVrtXYpqEWgqeZagRvuLw5+mj/X9+S0LS458bFmwpkkqZ+5QOhoLjNGeYutHqJ orINQsU/74NLfgKbGd94uP82t1kPTgF+oAuVUCidqVN0eubQ4OdxZ+ySxxCRU4GU vbUVxo/CfnG0PazXeWOIqBrq+WkuHF/C6OoBGyi67UXq5FjhR8hrmr4OuDBXuU0Z mb08CuLi0nTxXrbwrmH0G9SzXBMxMBRep9qnGdILVWeACeIz9sVBj+dwJHyTpgM2 7wAEDQf/QXSyLsrX9pufdGSJqKS6+sMouMeJo+fnkX2VXUFLLDX7KdwmHO4liISb BleT3m69w/WwVwN286kW7wlMVXD7cLFCLC3SVXLHaVVkArGt/9uY6g3gZ53FaqNv NvumuYLpqH6iAicP9rIVrA69ztTwtmbqcHA+P6juoO3tJohJEiQhlrmH0Tmp+BSq XMyBUb5SJJOeRArPb1FNF9Q96iOk45EIRPp4riiaBptOFe95jJBiWBBfLIuQDMQ8 PA6gVw+u9kMUbKjA30yj4vL43lFyQPUwSiT0okgq0/TXMzyO568UFhYTeT/DV8Lq 5evvNwRmRpjfJHwekUyD4MHVkEr5BohGBBgRAgAGBQI/BSnsAAoJEP9j3GM12XCd KWAAoJIN9wx51sDaCHdY49MnNNFxZ7imAJsEi4G5d9LOIBne++TrHCFMjWzcwA== =AFMd -----END PGP PUBLIC KEY BLOCK-----
participants (2)
-
Andrew Colvin
-
Raphael Posmyk