Language:
switch to room list switch to menu My folders
Go to page: 1 [2] 3 4 5 6 ... Last
[#] Mon Sep 30 2013 14:51:18 EDT from Sig

[Reply] [ReplyQuoted] [Headers] [Print]

I give up. How do you create a new floor? This is on a barebones debian apt-get installed system, using the text mode client. I can enter a new room , but I cannot specify a floor that doesn't already exist, and .ef just tells me "No floor
'floorname'."

[#] Mon Sep 30 2013 14:52:16 EDT from zooer

[Reply] [ReplyQuoted] [Headers] [Print]

okay. It was a server side issue not a local issue, thank you for clearing that up.

Now line 689-707 of messages.c

/* Extract URL's */
num_urls = 0; /* Start with a clean slate */
searchptr = message->text;
while ( (searchptr != NULL) && (num_urls < MAXURLS) ) {
searchptr = strstr(searchptr, "http://");
if (searchptr != NULL) {
safestrncpy(urls[num_urls], searchptr, sizeof(urls[num_urls]));
for (i = 0; i < strlen(urls[num_urls]); i++) {
ch = urls[num_urls][i];
if (ch == '>' || ch == '\"' || ch == ')' ||
ch == ' ' || ch == '\n') {
urls[num_urls][i] = 0;
break;
}
}
num_urls++;
++searchptr;
}
}



If you search through it twice aster the while statement and using
searchptr = strstr(searchptr, "https://");
will that take too many resources or is there a quicker more efficient method? It has been so long since I
looked at C code.

[#] Mon Sep 30 2013 18:52:40 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Sig:

You might need to be in the room who is supposed to be on the floor you're creating when you go to create it.

I think.

Not sure.

[#] Tue Oct 01 2013 11:44:30 EDT from Freakdog <freakdog@dogpound2.citadel.org>

[Reply] [ReplyQuoted] [Headers] [Print]

It's the latter that is the issue here; there is no longer an external editor
configured.

In the citadel.rc (or your own .citadelrc) file, find this section:

# Set EDITOR to the name of an external editor to be used for entering
# messages. If you want the external editor to be used by default, be sure
# to reflect this in the command set below.
#
#editor=/usr/local/citadel/pico

And add an editor line pointing at the editor you want to use.

The section, above, is the default for the citadel.rc file, and has to be modified.

[#] Tue Oct 01 2013 11:46:45 EDT from Freakdog <freakdog@dogpound2.citadel.org>

[Reply] [ReplyQuoted] [Headers] [Print]

If you use the text client, it's ;A(ide) C(reate floor)

[#] Tue Oct 01 2013 11:47:47 EDT from Sig

[Reply] [ReplyQuoted] [Headers] [Print]

Right, but there's no external editor configured on Uncensored; there used to be. Yes, I could run a local client, I suppose, but ssh requires less thought since I pretty much always have that.

[#] Tue Oct 01 2013 11:49:27 EDT from Sig

[Reply] [ReplyQuoted] [Headers] [Print]

Oct 1 2013 11:46am from Freakdog @dogpound2 (Dog Pound BBS II)
If you use the text client, it's ;A(ide) C(reate floor)

Thank you. That's... definitely not intuitive. I thought I'd tried everything.

[#] Tue Oct 01 2013 11:50:14 EDT from Sig

[Reply] [ReplyQuoted] [Headers] [Print]

To elaborate, this is not a CRISIS, and if it is, it's mine alone. I just didn't know whether it was intentional.

[#] Tue Oct 01 2013 12:16:14 EDT from zooer

[Reply] [ReplyQuoted] [Headers] [Print]

This is what happens when you try to use the servers external editor:



Lobby> Enter message
*** No editor available; using built-in editor.
Oct 1 2013 12:13pm from zooer

[#] Tue Oct 01 2013 19:10:16 EDT from zooer

[Reply] [ReplyQuoted] [Headers] [Print]

/* sloppy slide them all down, hey it's the client, who cares. :-) */



I CARE damn it!

[#] Wed Oct 02 2013 03:42:59 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

 

Tue Oct 01 2013 19:10:16 EDT from zooer @ Uncensored
/* sloppy slide them all down, hey it's the client, who cares. :-) */



I CARE damn it!

send diffs! or pay fleeb a beer to do it ;-P



[#] Thu Oct 03 2013 12:30:16 EDT from Sig

[Reply] [ReplyQuoted] [Headers] [Print]

The non-expert menu still has * for a doorway command here, though that's long gone in the regular build (since 2010, if I am reading the commits right).

[#] Thu Oct 03 2013 13:38:26 EDT from zooer

[Reply] [ReplyQuoted] [Headers] [Print]

Maybe it is a doorway to your mind!

The W)ho command only shows yourself in this version I downloaded the other day. I already know I am on. And I
know IGnatius T Foobar is on as well as fifteen googlebots but what about the others, how would I know they are
on?

[#] Fri Oct 04 2013 21:54:59 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

I noticed that too. I'm not sure whether it's been recently fixed or recetly broken.

[#] Fri Oct 04 2013 22:08:19 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

If you search through it twice aster the while statement and using
searchptr = strstr(searchptr, "https://");
will that take too many resources or is there a quicker more efficient method?
It has been so long since I
looked at C code.

dothebart will disagree with me on this, but my opinion is that at this scale, cpu cycles are cheap.

So I've made a change to the client code. No telling how long it'll take before that code falls into your eager hands, but it's checked into the tree so you'll get it eventually. :)

It now starts with an array containing "http://" "https://" and "ftp://" and runs through the message searching for each of those prefixes.

Share And Enjoy.

[#] Fri Oct 04 2013 23:53:38 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

 

Fri Oct 04 2013 22:08:19 EDT from IGnatius T Foobar @ Uncensored
If you search through it twice aster the while statement and using
searchptr = strstr(searchptr, "https://");
will that take too many resources or is there a quicker more efficient method?
It has been so long since I
looked at C code.

dothebart will disagree with me on this, but my opinion is that at this scale, cpu cycles are cheap.

So I've made a change to the client code. No telling how long it'll take before that code falls into your eager hands, but it's checked into the tree so you'll get it eventually. :)

It now starts with an array containing "http://" "https://" and "ftp://" and runs through the message searching for each of those prefixes.

Share And Enjoy.

Oh, I actually implemented something similar for the RSS-Client so twitter feeds would become more usefull; it would look up those tiny urls and expand them. Usefull since you wouldn't have to click the cat in the box anymore, being able to distinguish whether you already knew that URL or not.

however, while it was easy to do with the old model of one thread being busy with everything automated in a line, it would have become hell complicated with the event driven model,

and since that feature wasn't released yet, and twitter changed the rss'abilities it never saw a public release.



[#] Sat Oct 05 2013 08:48:42 EDT from Freakdog <freakdog@dogpound2.citadel.org>

[Reply] [ReplyQuoted] [Headers] [Print]

So I've made a change to the client code. No telling how long it'll

take before that code falls into your eager hands, but it's checked
into the tree so you'll get it eventually. :)

It now starts with an array containing "http://" "https://" and
"ftp://" and runs through the message searching for each of those
prefixes.

Can that fix be made available for Webcit, too? My "goodbye" file has a number of links to various Citadels with https:// at the beginning, and they never render as links from webcit.

[#] Sat Oct 05 2013 10:03:08 EDT from zooer

[Reply] [ReplyQuoted] [Headers] [Print]

Oct 4 2013 9:54pm from IGnatius T Foobar @uncnsrd
I noticed that too. I'm not sure whether it's been recently fixed or
recetly broken.


I noticed it on another version but I don't remember if it was something I downloaded directly or was in the
repositories. It worked correctly on an earlier version so it must be recently broken


It now starts with an array containing "http://" "https://" and
"ftp://" and runs through the message searching for each of those
prefixes.

Cool, thanks. I didn't think about ftp:// or porn:// and everything is already filtered through nsa://

[#] Sat Oct 05 2013 10:50:24 EDT from Sig

[Reply] [ReplyQuoted] [Headers] [Print]

Oct 4 2013 9:54pm from IGnatius T Foobar @uncnsrd
I noticed that too. I'm not sure whether it's been recently fixed or

recetly broken.



Works fine for me either sshing to uncensored or using my local client (installed from apt-get, I THINK). I did notice that behavior on my test system on the AWS; it wouldn't show the connected web user (my wife).

[#] Thu Oct 10 2013 11:03:05 EDT from zooer

[Reply] [ReplyQuoted] [Headers] [Print]

So I've made a change to the client code. No telling how long it'll
take before that code falls into your eager hands, but it's checked
into the tree so you'll get it eventually. :)

I await, and I hope the tree doesn't lose its leaves and go dormant for the winter.

Go to page: 1 [2] 3 4 5 6 ... Last