Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

If it ain't baroque, don't phiques it.


dovenet / Synchronet Discussion / Splitting out transfer from main shell

SubjectAuthor
* Splitting out transfer from main shellNelgin
+* Splitting out transfer from main shellDigital Man
|`* Splitting out transfer from main shellNelgin
| +- Splitting out transfer from main shellDigital Man
| +- Splitting out transfer from main shellMRO
| `- Splitting out transfer from main shellNightfox
`- Splitting out transfer from main shellMRO

1
Splitting out transfer from main shell

<64127425.44928.dove-syncdisc@endofthelinebbs.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=649&group=DOVE-Net.Synchronet_Discussion#649

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: nelgin@VERT/EOTLBBS (Nelgin)
To: digital man
Subject: Splitting out transfer from main shell
Message-ID: <64127425.44928.dove-syncdisc@endofthelinebbs.com>
Date: Wed, 15 Mar 2023 13:43:01 -0500
X-Comment-To: digital man
Path: rocksolidbbs.com!not-for-mail
Organization: End Of The Line BBS
Newsgroups: DOVE-Net.Synchronet_Discussion
X-FTN-PID: Synchronet 3.20a-Linux master/c44a665f2 Mar 15 2023 GCC 9.4.0
X-FTN-MSGID: 49549.sync@1:103/705 28786cc6
X-FTN-CHRS: CP437 2
WhenImported: 20230315184737-0700 c1e0
WhenExported: 20230315231811-0700 c1e0
ExportedFrom: VERT sync 49549
WhenImported: 20230315204301-0500 c168
WhenExported: 20230315204741-0500 c168
ExportedFrom: EOTLBBS dove-syncdisc 44928
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nelgin - Wed, 15 Mar 2023 18:43 UTC

DM,
before I put in a git, I thought I'd run this by you. Does it make sense so split out the transfer menu section and make it it's own xfer_sec or something like that? It would make sense sice we now have chat_sec, xtrn_sec, email_sec, and text_sec.

Might be good to do this before people start dipping into their own customizations.
---
■ Synchronet ■ End Of The Line BBS - endofthelinebbs.com

Splitting out transfer from main shell

<6412A3E5.49558.sync@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=658&group=DOVE-Net.Synchronet_Discussion#658

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: digital.man@VERT (Digital Man)
To: Nelgin
Subject: Splitting out transfer from main shell
Message-ID: <6412A3E5.49558.sync@vert.synchro.net>
Date: Wed, 15 Mar 2023 15:06:45 -0700
X-Comment-To: Nelgin
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <64127425.44928.dove-syncdisc@endofthelinebbs.com>
References: <64127425.44928.dove-syncdisc@endofthelinebbs.com>
X-FTN-PID: Synchronet 3.20a-Linux master/4573dfb8d Mar 10 2023 GCC 12.2.0
X-FTN-MSGID: 49558.sync@1:103/705 28789b7b
X-FTN-REPLY: 49549.sync@1:103/705 28786cc6
X-FTN-CHRS: CP437 2
WhenImported: 20230315220645-0700 c1e0
WhenExported: 20230315231811-0700 c1e0
ExportedFrom: VERT sync 49558
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Wed, 15 Mar 2023 22:06 UTC

Re: Splitting out transfer from main shell
By: Nelgin to digital man on Wed Mar 15 2023 08:43 pm

> DM,
> before I put in a git, I thought I'd run this by you. Does it make sense so
> split out the transfer menu section and make it it's own xfer_sec or
> something like that? It would make sense sice we now have chat_sec,
> xtrn_sec, email_sec, and text_sec.
>
> Might be good to do this before people start dipping into their own
> customizations.

Different command shells have traditionally very different file transfer sections/menus (from the other command shells), so I don't really see the value in that.
--
digital man (rob)

Sling Blade quote #13:
Karl: He lives inside of his own heart. That's an awful big place to live in.
Norco, CA WX: 49.8°F, 97.0% humidity, 0 mph N wind, 0.56 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

Splitting out transfer from main shell

<6412B85B.8616.sync@bbses.info>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=665&group=DOVE-Net.Synchronet_Discussion#665

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: mro@VERT/BBSESINF (MRO)
To: Nelgin
Subject: Splitting out transfer from main shell
Message-ID: <6412B85B.8616.sync@bbses.info>
Date: Wed, 15 Mar 2023 18:34:03 -0500
X-Comment-To: Nelgin
Path: rocksolidbbs.com!not-for-mail
Organization: bbses.info
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <64127425.44928.dove-syncdisc@endofthelinebbs.com>
References: <64127425.44928.dove-syncdisc@endofthelinebbs.com>
X-FTN-PID: Synchronet 3.19b-Win32 master/a2a9dc027 Jan 2 2022 MSC 1928
X-FTN-MSGID: 49565.sync@1:103/705 2878b697
X-FTN-REPLY: 49549.sync@1:103/705 28786cc6
X-FTN-CHRS: CP437 2
WhenImported: 20230316000218-0700 c1e0
WhenExported: 20230316051815-0700 c1e0
ExportedFrom: VERT sync 49565
WhenImported: 20230316013403-0500 c168
WhenExported: 20230316020213-0500 c168
ExportedFrom: BBSESINF sync 8616
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: MRO - Wed, 15 Mar 2023 23:34 UTC

Re: Splitting out transfer from main shell
By: Nelgin to digital man on Wed Mar 15 2023 08:43 pm

> DM,
> before I put in a git, I thought I'd run this by you. Does it make sense so
> split out the transfer menu section and make it it's own xfer_sec or
> something like that? It would make sense sice we now have chat_sec,
> xtrn_sec, email_sec, and text_sec.
>
> Might be good to do this before people start dipping into their own
> customizations.

as a long time user of synchronet I don't think that's something i personally would want.
---
■ Synchronet ■ ::: BBSES.info - free BBS services :::

Splitting out transfer from main shell

<6412C001.44943.dove-syncdisc@endofthelinebbs.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=667&group=DOVE-Net.Synchronet_Discussion#667

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: nelgin@VERT/EOTLBBS (Nelgin)
To: Digital Man
Subject: Splitting out transfer from main shell
Message-ID: <6412C001.44943.dove-syncdisc@endofthelinebbs.com>
Date: Wed, 15 Mar 2023 19:06:41 -0500
X-Comment-To: Digital Man
Path: rocksolidbbs.com!not-for-mail
Organization: End Of The Line BBS
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <6412A3E5.49558.sync@vert.synchro.net>
References: <6412A3E5.49558.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/c44a665f2 Mar 15 2023 GCC 9.4.0
X-FTN-MSGID: 49567.sync@1:103/705 2878ba32
X-FTN-REPLY: 49558.sync@1:103/705 28789b7b
X-FTN-CHRS: CP437 2
WhenImported: 20230316001739-0700 c1e0
WhenExported: 20230316051815-0700 c1e0
ExportedFrom: VERT sync 49567
WhenImported: 20230316020641-0500 c168
WhenExported: 20230316021742-0500 c168
ExportedFrom: EOTLBBS dove-syncdisc 44943
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nelgin - Thu, 16 Mar 2023 00:06 UTC

Re: Splitting out transfer from main shell
By: Digital Man to Nelgin on Wed Mar 15 2023 22:06:45

>
> Different command shells have traditionally very different file transfer
> sections/menus (from the other command shells), so I don't really see the
> value in that.

It just seems like a logical step. You've got the 5 major functions, email/netmail, file transfers, external programs, text area, and chat.

It just seems cleaner and logical to have a "main" menu and then control everything else from their own .js file. Otherwise, why separate all the other parts out. I think making the transfer section its own sec.js would pretty much round things off. There could then be an xfer_sec in the loadable modules (and maybe add email_sec too)?

It just points to a cleaner, modular design. It's just odd having transfers in there.

If it's not something you want to do then I may just end up doing it myself and hope for the best.
---
■ Synchronet ■ End Of The Line BBS - endofthelinebbs.com

Splitting out transfer from main shell

<6412C41E.49568.sync@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=668&group=DOVE-Net.Synchronet_Discussion#668

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: digital.man@VERT (Digital Man)
To: Nelgin
Subject: Splitting out transfer from main shell
Message-ID: <6412C41E.49568.sync@vert.synchro.net>
Date: Wed, 15 Mar 2023 17:24:14 -0700
X-Comment-To: Nelgin
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <6412C001.44943.dove-syncdisc@endofthelinebbs.com>
References: <6412C001.44943.dove-syncdisc@endofthelinebbs.com>
X-FTN-PID: Synchronet 3.20a-Linux master/f6a25e4fd Mar 15 2023 GCC 12.2.0
X-FTN-MSGID: 49568.sync@1:103/705 2878bbbe
X-FTN-REPLY: 49567.sync@1:103/705 2878ba32
X-FTN-CHRS: CP437 2
WhenImported: 20230316002414-0700 c1e0
WhenExported: 20230316051815-0700 c1e0
ExportedFrom: VERT sync 49568
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Thu, 16 Mar 2023 00:24 UTC

Re: Splitting out transfer from main shell
By: Nelgin to Digital Man on Thu Mar 16 2023 02:06 am

> Re: Splitting out transfer from main shell
> By: Digital Man to Nelgin on Wed Mar 15 2023 22:06:45
>
>
> > Different command shells have traditionally very different file transfer
> > sections/menus (from the other command shells), so I don't really see the
> > value in that.
>
> It just seems like a logical step. You've got the 5 major functions,
> email/netmail, file transfers, external programs, text area, and chat.
>
> It just seems cleaner and logical to have a "main" menu and then control
> everything else from their own .js file. Otherwise, why separate all the
> other parts out.

I only did that for reuse in Baja command shells. I don't think anybody wants to reuse a single file transfer section among multiple command shells.

> I think making the transfer section its own sec.js would
> pretty much round things off.

I think it would involve a lot of copy and paste of code unnecessarily. If you look at default.js, the only difference between the main/message section and he file transfer section is a data. The code is exactly the same - so why copy it to another file? That doesn't make sense to me.

> There could then be an xfer_sec in the
> loadable modules (and maybe add email_sec too)?

I don't see that serving a purpose.

The email_sec having its own loadable module configuration is a separate discussion, but since there was never an "email_sec" Baja function, there was no way to invoke such a loadable module in the first place (from a command shell written in Baja).

> It just points to a cleaner, modular design. It's just odd having transfers
> in there.

I don't think so.

> If it's not something you want to do then I may just end up doing it myself
> and hope for the best.

If you're writing your own command shell, certainly split things up however you like or see as best. In the command shell that I wrote in JS (default.js), the main/message and file transfer sections share the same code/logic, so splitting into multiple files made no sense. It's certainly not a big file. And I don't see any *other* command shells wanting to re-use just my file transfer menu/section. Other command shells typically use a very different layout and set of command keys and even look/feel/style (prompts, etc.).
--
digital man (rob)

Synchronet "Real Fact" #61:
How to get Synchronet technical support: http://wiki.synchro.net/howto:support
Norco, CA WX: 50.0°F, 97.0% humidity, 0 mph SE wind, 0.35 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

Splitting out transfer from main shell

<64131499.8623.sync@bbses.info>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=670&group=DOVE-Net.Synchronet_Discussion#670

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: mro@VERT/BBSESINF (MRO)
To: Nelgin
Subject: Splitting out transfer from main shell
Message-ID: <64131499.8623.sync@bbses.info>
Date: Thu, 16 Mar 2023 01:07:37 -0500
X-Comment-To: Nelgin
Path: rocksolidbbs.com!not-for-mail
Organization: bbses.info
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <6412C001.44943.dove-syncdisc@endofthelinebbs.com>
References: <6412C001.44943.dove-syncdisc@endofthelinebbs.com>
X-FTN-PID: Synchronet 3.19b-Win32 master/a2a9dc027 Jan 2 2022 MSC 1928
X-FTN-MSGID: 49570.sync@1:103/705 28791203
X-FTN-REPLY: 49567.sync@1:103/705 2878ba32
X-FTN-CHRS: CP437 2
WhenImported: 20230316063217-0700 c1e0
WhenExported: 20230316111805-0700 c1e0
ExportedFrom: VERT sync 49570
WhenImported: 20230316080737-0500 c168
WhenExported: 20230316083214-0500 c168
ExportedFrom: BBSESINF sync 8623
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: MRO - Thu, 16 Mar 2023 06:07 UTC

Re: Splitting out transfer from main shell
By: Nelgin to Digital Man on Thu Mar 16 2023 02:06 am

> Re: Splitting out transfer from main shell
> By: Digital Man to Nelgin on Wed Mar 15 2023 22:06:45
>
>
> > Different command shells have traditionally very different file transfer
> > sections/menus (from the other command shells), so I don't really see the
> > value in that.
>
> It just seems like a logical step. You've got the 5 major functions,
> email/netmail, file transfers, external programs, text area, and chat.
>
> It just seems cleaner and logical to have a "main" menu and then control
> everything else from their own .js file. Otherwise, why separate all the
> other parts out. I think making the transfer section its own sec.js would

well these other parts you mention are small areas with a handful of functions.

the transfer section is part of the 'meat' of the menu system.
main message and transfer. chopping things up further just seems like it would make things messy and not cleaner.

Nothing is stopping individuals from doing this on their own.
I think making additions like this adds to the confusion of new sysops.
---
■ Synchronet ■ ::: BBSES.info - free BBS services :::

Splitting out transfer from main shell

<64134AEE.83714.dove_sync@digitaldistortionbbs.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=674&group=DOVE-Net.Synchronet_Discussion#674

  copy link   Newsgroups: DOVE-Net.Synchronet_Discussion
From: nightfox@VERT/DIGDIST (Nightfox)
To: Nelgin
Subject: Splitting out transfer from main shell
Message-ID: <64134AEE.83714.dove_sync@digitaldistortionbbs.com>
Date: Thu, 16 Mar 2023 02:59:26 -0700
X-Comment-To: Nelgin
Path: rocksolidbbs.com!not-for-mail
Organization: Digital Distortion
Newsgroups: DOVE-Net.Synchronet_Discussion
In-Reply-To: <6412C001.44943.dove-syncdisc@endofthelinebbs.com>
References: <6412C001.44943.dove-syncdisc@endofthelinebbs.com>
X-FTN-PID: Synchronet 3.20a-Linux master/8229b9060 Mar 13 2023 GCC 11.3.0
X-FTN-MSGID: 49574.sync@1:103/705 28794714
X-FTN-REPLY: 49567.sync@1:103/705 2878ba32
X-FTN-CHRS: CP437 2
WhenImported: 20230316101838-0700 c1e0
WhenExported: 20230316111805-0700 c1e0
ExportedFrom: VERT sync 49574
WhenImported: 20230316095926-0700 c1e0
WhenExported: 20230316101838-0700 c1e0
ExportedFrom: DIGDIST dove_sync 83714
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nightfox - Thu, 16 Mar 2023 09:59 UTC

Re: Splitting out transfer from main shell
By: Nelgin to Digital Man on Thu Mar 16 2023 02:06 am

Ne> It just seems like a logical step. You've got the 5 major functions,
Ne> email/netmail, file transfers, external programs, text area, and chat.

Ne> It just seems cleaner and logical to have a "main" menu and then control
Ne> everything else from their own .js file.

I'm not sure about that.. I don't think I'd want too many things split into their own .js for the command shell. I like having just one main script for my command shell where everything is there. I consider the file transfer menu a fairly significant component that I'd like to keep within the command shell and not have a separate script for that. Also, since a command shell is meant to be customized for your wants & needs, I don't think there is a real need to have a standardized file transfer section. For instance, I want it to display my own ANSI menu file (which fits in with the overall theme of my other ANSI menu files), and I might want to have some additional commands on my file menu that other command shells might not have.

Nightfox

---
■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com


dovenet / Synchronet Discussion / Splitting out transfer from main shell

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor