• Re: Bullsh*t Bulletins - Supp

    From Digital Man@1:103/705 to Zazz on Friday, October 16, 2020 20:16:30
    Re: Re: Bullsh*t Bulletins - Supp
    By: Zazz to Digital Man on Fri Oct 16 2020 07:15 pm

    |10On 15 Oct 2020, Digital Man said the following...|10

    Re: Re: Bullsh*t Bulletins - Supp
    By: Zazz to Digital Man on Thu Oct 15 2020 06:11 pm

    Re: Re: Bullsh*t Bulletins - Supp
    By: Digital Man to Zazz on Thu Oct 15 2020 10:16:36

    That's true. And BullsHit! is located in the xtrn/bullshit directory. You could

    symlink that/those directories too.

    Ok, what is symlink? I run sbbs on Windows 10 32bit.

    From a command prompt, run "mklink".

    I did without params and it gave me info on what it wants. If it is on wiki I will read more on it because I am not sure how to use it.

    The Synchronet wiki does not explain how to use Windows' mklink. But it would be something like this:

    mklink /d \sbbs\xtrn\bullshit \sbbs\repo\xtrn\bullshit

    This, assuming \sbbs\xtrn\bullshit doesn't already exist, would create a "fake"

    directory \sbbs\xtrn\bullshit which is actually just a link to \sbbs\repo\xtrn\bullshit. See how many times I just said bullshit in a technical context? EC is smarter than he looks.


    EC is always smart. However, what if I do already have the \sbbs\xtrn\bullshit folder?

    You could leave or move it out of the way. Your choice.

    And the purpose of this link is what?

    To allow easy update of the directory's contents using git.

    Maybe a question that has an obvious answer, but enlighten me anyways? Also I can also do this mklink for other \sbbs\xtrn\* folders?

    Sure.

    digital man

    Rush quote #43:
    Summers going fast nights growing colder children growing up old friends, older Norco, CA WX: 80.0øF, 56.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Immortal@1:103/705 to Digital Man on Friday, October 16, 2020 21:54:06
    Re: Re: Bullsh*t Bulletins - Supp
    By: Digital Man to Zazz on Thu Oct 15 2020 10:16 am

    Ok, what is symlink? I run sbbs on Windows 10 32bit.

    From a command prompt, run "mklink".

    I have never heard of this program before. When did they add it? Where have I been?
    Immortal

    ... RAM DISK is NOT an installation procedure!

    ---
    þ Synchronet þ Immortal's Domain
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tony Langdon@3:633/410 to poindexter FORTRAN on Saturday, October 17, 2020 17:13:00
    On 10-16-20 07:20, poindexter FORTRAN wrote to Digital Man <=-

    Digital Man wrote to Zazz <=-

    From a command prompt, run "mklink".

    I had no idea Windows had symlinks. Thanks for sharing.

    Yes, it's not well known, but Windows has had symlinks for many years. Yet, I don't think I've ever actually used them, despite the fact I use symlinks all the time on Linux. :)


    ... Half Moon tonight. (At least its better than no Moon at all.)
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From Digital Man@1:103/705 to Immortal on Saturday, October 17, 2020 01:13:32
    Re: Re: Bullsh*t Bulletins - Supp
    By: Immortal to Digital Man on Fri Oct 16 2020 09:54 pm

    Re: Re: Bullsh*t Bulletins - Supp
    By: Digital Man to Zazz on Thu Oct 15 2020 10:16 am

    Ok, what is symlink? I run sbbs on Windows 10 32bit.

    From a command prompt, run "mklink".

    I have never heard of this program before. When did they add it?

    2007 with Windows Vista, apparently.

    Wher have I been?

    I don't use symlinks much in Windows. You haven't been missing much.

    digital man

    Rush quote #13:
    Cast in this unlikely role, ill-equipped to act, with insufficient tact
    Norco, CA WX: 78.3øF, 21.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Immortal on Saturday, October 17, 2020 08:48:21
    Re: Re: Bullsh*t Bulletins - Supp
    By: Immortal to Digital Man on Fri Oct 16 2020 09:54 pm

    From a command prompt, run "mklink".

    I have never heard of this program before. When did they add it? Where have I been? Immortal

    Windows has had this for years. I think I had first heard about this around 2007 or 2008 or so, and I think I was still using Windows XP at the time.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Immortal@1:103/705 to Digital Man on Saturday, October 17, 2020 11:50:57
    Re: Re: Bullsh*t Bulletins - Supp
    By: Digital Man to Immortal on Sat Oct 17 2020 01:13 am

    I don't use symlinks much in Windows. You haven't been missing much.

    Years ago probably under Windows XP or maybe 2000, I had hundreds of file areas with their absolute path configured. I remeber creating a "redneck symlink" in windows with network sharing to change the drive letter so I didn't have to go into the config and change hundreds of paths. Worked pretty well until the computer rebooted and it didn't reconnect. I have to say how synchronet defaults to use ../xtrn etc instead of absolute paths is brilliant. It is much easier to change things later on if necessary. The majority of previous BBS software I have used, especially DOS based, always used absolute paths.

    Immortal


    ... Never drink black coffee at lunch. It will keep you awake in the afternoo

    ---
    þ Synchronet þ Immortal's Domain
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Immortal on Saturday, October 17, 2020 13:11:55
    Re: Re: Bullsh*t Bulletins - Supp
    By: Immortal to Digital Man on Sat Oct 17 2020 11:50 am

    say how synchronet defaults to use ../xtrn etc instead of absolute paths is brilliant. It is much easier to change things later on if necessary. The majority of previous BBS software I have used, especially DOS based, always used absolute paths.

    Good to hear. Absolute paths are often better for security, so Synchronet does translate (most) relative paths in the configuration files to absolute paths (using the ctrl dir as the parent dir) at run-time.

    Relative paths allow easy movement of the BBS to another path/drive or, as with Vertrauen, running multiple instances of SBBS on very different systems (e.g. Windows and Linux) while sharing the same config and data files. Now when I see absolute paths used in configurations (e.g. SCFG captures), it stands out to me like a sore thumb.

    digital man

    Synchronet/BBS Terminology Definition #80:
    TLS = Transport Layer Security (successor to SSL)
    Norco, CA WX: 89.0øF, 26.0% humidity, 7 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Zazz@1:103/705 to Digital Man on Sunday, October 18, 2020 12:50:15
    Re: Re: Bullsh*t Bulletins - Supp
    By: Digital Man to Zazz on Fri Oct 16 2020 20:16:30

    EC is always smart. However, what if I do already have the \sbbs\xtrn\bullshit folder?

    You could leave or move it out of the way. Your choice.

    And the purpose of this link is what?

    To allow easy update of the directory's contents using git.


    So if I understand this I can use mklink, leave the current \xtrn\bullshit folder and it update the the ..\xtrn\bullshit actual folder?

    Ruben Figueroa
    aka Zazz
    PBSync Prison BBS
    [1:124/5014.4]

    ---
    þ Synchronet þ PBSync Prison BBS - pbmystic.rdfig.net:24
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Zazz on Sunday, October 18, 2020 12:25:00
    Re: Re: Bullsh*t Bulletins - Supp
    By: Zazz to Digital Man on Sun Oct 18 2020 12:50 pm

    Re: Re: Bullsh*t Bulletins - Supp
    By: Digital Man to Zazz on Fri Oct 16 2020 20:16:30

    EC is always smart. However, what if I do already have the \sbbs\xtrn\bullshit folder?

    You could leave or move it out of the way. Your choice.

    And the purpose of this link is what?

    To allow easy update of the directory's contents using git.


    So if I understand this I can use mklink, leave the current \xtrn\bullshit folder and it update the the ..\xtrn\bullshit actual folder?

    You can't create a symlink over an existing file/directory, so you'd have to remove the target. When you say "leave the current \xtrn\bullshit", I don't know which directory you're referring to. There are *2* xtrn\bullshit directories:

    1. /sbbs/xtrn/bullshit
    2. /sbbs/repo/xtrn/bullshit

    The idea is to remove #1 (saving your settings file or whatever is important to you) and then create a symlink so that #1 now just points to #2. They become effectively the same directory appear in 2 locations. When running 'git pull' in /sbbs/repo, the xtrn/bullshit would be updated along with everything else.

    digital man

    Synchronet "Real Fact" #36:
    Synchronet's Windows DLLs are built with Microsoft Visual Studio/C++.
    Norco, CA WX: 82.5øF, 34.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tracker1@1:103/705 to Immortal on Sunday, October 18, 2020 16:50:01
    On 10/16/2020 8:54 PM, Immortal wrote:
    From a command prompt, run "mklink".

    I have never heard of this program before. When did they add it? Where have I been?
    Immortal

    IIRC, Windows 7 added symlink support, Junctions were part of NTFS for
    quite a while before that.

    --
    Michael J. Ryan
    tracker1 +o Roughneck BBS

    ---
    þ Synchronet þ Roughneck BBS - coming back 2/2/20
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)