Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anybody know if there's a way in Gaim of making the message start on the next line down from your name? Here's what it does at the moment:
(20:43:13) Napalm Llama: This is the message.
And here's what I'd like it to do:
(20:43:13) Napalm Llama:
This is the message.
Fairly simple, but annoying when my name is longer and the first few words of the message get stuck on the name line, while the rest of the message appears where you'd expect it.
(20:43:13) Napalm Llama has a much longer name now: Do you see
the problem? It's very irritating.
Is there a plugin or a hack to change this behaviour?
Thanks.
I think he wants it to happen automatically, also when other people says things to him without doing that. I don't know any way to do this, but i'd imagine it (From my knowledge of PHP, i know no C++ what-so-ever) not to be much else then adding a /r/n in a syntax somewhere in the source file, and compiling it?
That's what I thought, but the HACKING file in the source package itself admits the code to be a twisted and tangled mess - I did look through the it, but as I recall I couldn't find where to put it either.
C/C++ has a funny sytax that I'm not familiar with, either. I think I was trying to tweak Ctorrent to do something I wanted, but it was all weird - 3 quotes enclosing a string, with one up in parentheses somewhere else...
I'm a PHP guy myself, and it confused the hell out of me.
If there are no plugins to alter the behaviour, do you think I'd have more luck asking this to be moved to the Programming forum?
in C and i think in C++ a new line charecter in a text string is the keboard special charecter \n
like this small program
Code:
#include<stdio.h><-- Header file used for input and output
int main ()
{
printf("Hello linux questions\n");<-- this is the function that creates the text string
return 0;
}
Thanks, but I already know about the \n newline special character - I use it in PHP and Javascript. I just need to know where to write it!
Quote:
Originally written by Eric Warmenhoven A lot of people have tried to hack gaim, but haven't been able to because
the code is just so horrid.
Well, having had another look at the code, it appears that they've cleaned it up somewhat. I decided to track the function calls back to the one that actually deals with writing to the window... and lost the scent in gaim_conversation_write() in conversation.c. I'm in the latest version (1.3.1) - if anybody's any better at C, or knows the Gaim code at all... it'd be really cool if you could give me a point in the right direction?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.