TIP: Click on subject to list as thread! ANSI
echo: mbse
to: Sean Dennis
from: Michiel Broek
date: 2003-07-16 23:34:06
subject: Re: Hello!

Hi Sean,

Sean Dennis wrote to Rick Van Ruth:
SD> Hello, Rick.
SD> 
SD> Replying to a message of Rick Van Ruth to Sean Dennis:
SD> 
SD>  RVR> html docs for explanations. It will take some time doing it all but
SD>  RVR> you won't miss bits and later wonder why something is hard to 
change
SD>  RVR> or why is not working.
SD> 
SD> Yes, I can see that and that's what I'm doing.  MBSE is actually 
SD> well-thought out and easy to set up.
SD> 
SD>  RVR> Hmm thats something to do with your terminal character set in 
linux.
SD>  RVR> Do you have TERM=linux in your .profile? Most default to this. Or
SD>  RVR> are you talking logging in remotely?
SD> 
SD> Both.  Either if I log in locally or remotely, I see the garbage.  I can 
SD> post my .profile if need be/

Do you have a vga character set installed (if running under X). Else try it
from some W$ box from which you know it works with other bbs systems.

SD>  RVR> Umm tried that.. didn't get the mblogin screen :-) Are you sending
SD>  RVR> the request to mblogin?
SD> 
SD> No, but I don't know why you couldn't log in.  I've got three other 
people

SD> that got in there...
SD> 
SD>  RVR> Well, rather then use ssh if you are doing stuff remotely, i would
SD>  RVR> suggest just assigning a different port to telnet in your
SD>  RVR> /etc/services file and thus allowing your inetd.conf to retain
SD>  RVR> correct information for telnet and mblogin.
SD> 
SD> Until I get this BBS up and running, the telnet is going to the OS/2 box 
SD> as I do have regular callers.

Setup an extra telnet on another port and hook mblogin to that. After you
switch over, make it port 23 as usual. In mbse you don't have to do
anything, it's the Linux that must be configured in /etc/inetd.conf and
/etc/services.


SD>  RVR> I couldn't login at all under ssh, not even using
"bbs" which is 
the
SD>  RVR> default new user account creation for mbse.

ssh bypasses login programs, what could work is first "ssh yourbox.com -l
bbs" to create an account, and then use your unixname after the -l after the
user registration.

SD> That's odd, really odd.
SD> 
SD>  RVR> Oh and don't forget your dosemu for the dos doors :-)
SD> 
SD> That I'm trying to learn.

That will be a good learning school.


SD> Now, here's something that you or someone else might be able to help me: 

SD> am wanting to port my Pascal doors to Linux.  I have Free Pascal 
installed

SD> and have written a unit to get the door.sys drop file, but I'm not sure 
SD> what/where to write the output to.  Do you use it just like a standard 
SD> program or do you have to specify where it's going to?

Under Linux and also with mbse, all input comes from stdin, all output goes
to stdout. You need to put the stdin to raw mode to get each character
separately, else Linux will wait until the input buffer is full or for the
enter key. See the file input.c in the mbsebbs subdir. You might also
checkout the doorlib I wrote (in C) to guide you.

It's just a little different then under DOS or OS/2 where you write to
comports or fossils.

Also, because of dosemu I write the door.sys file in dos format, with cr/lf
after each line while Linux only uses a lf at the end of the lines.

So your doorlib should idealy be able to handle both formats.




    Greetings, Michiel Broek

Email:   mbse{at}mbse.dds.nl
Fidonet: Michiel Broek at 2:280/2802

... Toys are made in heaven, batteries are made in hell.

--- MBSE BBS v0.37.5 (Linux-i386)
* Origin: MBSE Linux BBS. Made in the Netherlands (2:280/28)
SEEN-BY: 633/267 270
@PATH: 280/28 5003 2432/200 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.