• Lynx?

    From Digital Man@1:103/705 to All on Sun Feb 11 20:57:46 2024
    I recall sysops talking about configuring lynx (text-based "web" browser) to run as a door on their *nix Synchronet system. Anyone have that up and going for a demo?
    --
    digital man (rob)

    Synchronet "Real Fact" #29:
    Rob Swindell first called BBSes (at 300bps) with an Apple II computer in 1982 Norco, CA WX: 52.0øF, 49.0% humidity, 1 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to Digital Man on Sun Feb 11 23:48:21 2024
    On Sun, 11 Feb 2024 20:57:46 -0800
    "Digital Man" (VERT) <VERT!Digital.Man@endofthelinebbs.com> wrote:

    I recall sysops talking about configuring lynx (text-based "web"
    browser) to run as a door on their *nix Synchronet system. Anyone
    have that up and going for a demo?

    Add a native program called runlynx
    mkdir /sbbs/xtrn/lynx
    create runlynx with something like

    #!/bin/bash
    /usr/bin/lynx -restrictions=bookmark,bookmark_exec,change_exec_perms,chdir,compileopts_info,default,dired_support,disk_save,dotfiles,download,editor,exec,exec_frozen,externals,file_url,inside_ftp,inside_news,inside_rlogin,inside_telnet,jump,lynxcfg_info,lynxcfg_xinfo,lynxcgi,mail,multibook,news_post,option_save,outside_ftp,outside_news,outside_rlogin,outside_telnet,print,shell,suspend,telnet_port,useragent
    https://www.endofthelinebbs.com

    add/remove restrictions as you wish. These are all of them except Gogo otherwise you couldn't navigate anywhere, unless you want people to
    only use links available to them.

    Save and make runlynx chmod 755 or 750 or whatever you like.

    Add a menu option

    [Lynx]
    1: Name Lynx
    2: Internal Code LYNX
    3: Start-up Directory ../xtrn/lynx
    4: Command Line runlynx
    5: Clean-up Command Line
    6: Execution Cost None
    7: Access Requirements
    8: Execution Requirements SYSOP
    9: Multiple Concurrent Users Yes
    10: I/O Method Standard
    11: Native Executable/Script No
    12: Use Shell or New Context No
    13: Modify User Data No
    14: Execute on Event No
    15: Pause After Execution No
    16: Disable Local Display No
    17: BBS Drop File Type None
    18: Place Drop File In Node Directory
    19: Time Options...


    Recycle and you're good to go.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to nelgin on Sun Feb 11 21:50:39 2024
    Re: Re: Lynx?
    By: nelgin to Digital Man on Sun Feb 11 2024 11:48 pm

    Add a native program called runlynx

    Yeah, I was asking if there's a BBS running it already, available as a demo (for someone else), not (yet) instructions on how to do it. :-)
    --
    digital man (rob)

    Synchronet "Real Fact" #94:
    Synchronet v3.16c was released in August of 2015 (5 years after v3.15b)
    Norco, CA WX: 50.0øF, 53.0% humidity, 0 mph NNE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to All on Sun Feb 11 23:57:15 2024
    On Sun, 11 Feb 2024 21:50:39 -0800
    "Digital Man" (VERT) <VERT!Digital.Man@endofthelinebbs.com> wrote:

    Re: Re: Lynx?
    By: nelgin to Digital Man on Sun Feb 11 2024 11:48 pm

    Add a native program called runlynx

    Yeah, I was asking if there's a BBS running it already, available as
    a demo (for someone else), not (yet) instructions on how to do it. :-)


    Then, obviously, yes :) but not open to users but I can grant access to
    it on a per user basis.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From kk4qbn@1:103/705 to Digital Man on Mon Feb 12 01:33:30 2024
    Re: Lynx?
    By: Digital Man to All on Sun Feb 11 2024 08:57 pm

    I recall sysops talking about configuring lynx (text-based "web" browser) to run as a door on their *nix Synchronet system. Anyone have that up and going for a demo?

    I've always wanted to try that but have been scared to.. I have a tendency to skim documents and my luck, I would have it setup incorrectly and someone will be playing around on my shell while I'm asleep and I wake up to a wiped out hdd.. lol
    Tim Smith (kk4qbn)

    ---
    þ Synchronet þ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to All on Mon Feb 12 04:10:55 2024
    On Mon, 12 Feb 2024 01:33:30 -0500
    "kk4qbn" (VERT/KK4QBN) <VERT/KK4QBN!kk4qbn@endofthelinebbs.com> wrote:
    Re: Lynx?
    By: Digital Man to All on Sun Feb 11 2024 08:57 pm

    I recall sysops talking about configuring lynx (text-based "web" browser) to run as a door on their *nix Synchronet system.
    Anyone have that up and going for a demo?

    I've always wanted to try that but have been scared to.. I have a
    tendency to skim documents and my luck, I would have it setup
    incorrectly and someone will be playing around on my shell while I'm
    asleep and I wake up to a wiped out hdd.. lol Tim Smith (kk4qbn)

    ---
    â–  Synchronet â–  KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
    Don't worry, you can always restore from backup.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    ï¿­ Synchronet ï¿­ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Phigan@1:103/705 to Digital Man on Mon Feb 12 07:35:24 2024
    Re: Re: Lynx?
    By: Digital Man to nelgin on Sun Feb 11 2024 09:50 pm

    Yeah, I was asking if there's a BBS running it already, available as a demo (for someone else), not (yet) instructions on how to do it. :-)

    I used links, but TacoPronto(.bbs.io) has it!

    ---
    þ Synchronet þ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From kk4qbn@1:103/705 to nelgin on Mon Feb 12 10:13:41 2024
    Re: Re: Lynx?
    By: nelgin to All on Mon Feb 12 2024 04:10 am

    to skim documents and my luck, I would have it setup incorrectly and
    someone will be playing around on my shell while I'm asleep and I wake up
    ---
    Don't worry, you can always restore from backup. --

    been there and done that.. much easier than starting from scratch, but would still rather not have to :)
    Tim Smith (kk4qbn)

    ---
    þ Synchronet þ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Phigan@1:103/705 to Digital Man on Mon Feb 12 08:16:54 2024
    Re: Re: Lynx?
    By: Digital Man to nelgin on Sun Feb 11 2024 09:50 pm

    Yeah, I was asking if there's a BBS running it already, available as a demo

    By the way, do you have any suggestions of how to get the program to use CP437 rather than UTF-8? I'm running it in Linux. Under WWIV, I _believe_ all I did was add a TERM=ansi-bbs setting in my run script, but that doesn't seem to be doing it with Synchronet. I do have the correct terminfo stuff, of course. I've tried also using the options of the program itself to assume CP437 of all web pages, but when you go to the 'setup' dropdown, it still uses UTF-8 for default.

    It's not a big deal, but every once in a while you get an odd character.

    ---
    þ Synchronet þ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From fusion@1:103/705 to Digital Man on Mon Feb 12 10:59:00 2024
    On 11 Feb 2024, Digital Man said the following...

    I recall sysops talking about configuring lynx (text-based "web"
    browser) to run as a door on their *nix Synchronet system. Anyone have that up and going for a demo?

    some university used to run a telnet direct to lynx service back in the day
    so that's what we did for a lynx door. not sure if the config.h did/still does have a no-priviledges mode or if they did something custom.

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    # Origin: cold fusion - cfbbs.net - grand rapids, mi
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Phigan on Mon Feb 12 12:18:06 2024
    Re: Re: Lynx?
    By: Phigan to Digital Man on Mon Feb 12 2024 08:16 am

    Re: Re: Lynx?
    By: Digital Man to nelgin on Sun Feb 11 2024 09:50 pm

    Yeah, I was asking if there's a BBS running it already, available as a demo

    By the way, do you have any suggestions of how to get the program to use CP437 rather than UTF-8? I'm running it in Linux. Under WWIV, I _believe_ all I did was add a TERM=ansi-bbs setting in my run script, but that doesn't seem to be doing it with Synchronet. I do have the correct terminfo stuff, of course. I've tried also using the options of the program itself to assume CP437 of all web pages, but when you go to the 'setup' dropdown, it still uses UTF-8 for default.

    It's not a big deal, but every once in a while you get an odd character.

    The ExternalTermANSI setting in ctrl/sbbs.ini controls the TERM env var when exectuing external programs (defaults to "pc3" for Linux, but Deuce is suggesting "pcansi" instead). Try changing that setting.
    --
    digital man (rob)

    Sling Blade quote #26:
    Karl: kaiser blade, ax handle with long blade on it shaped kinda like a banana. Norco, CA WX: 67.7øF, 20.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Phigan@1:103/705 to Digital Man on Mon Feb 12 14:28:31 2024
    Re: Re: Lynx?
    By: Digital Man to Phigan on Mon Feb 12 2024 12:18 pm

    The ExternalTermANSI setting in ctrl/sbbs.ini controls the TERM env var when exectuing external programs (defaults to "pc3" for Linux, but Deuce is suggesting "pcansi" instead). Try changing that setting.

    Mine actually was already set to "ansi-bbs", assuming it's what you would want the TERM setting to be, right? I don't think there's a "pc3" or "pcansi" TERM setting, is there?

    I'll try it anyway, though :)

    ---
    þ Synchronet þ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Phigan@1:103/705 to Digital Man on Mon Feb 12 14:38:51 2024
    Re: Re: Lynx?
    By: Digital Man to Phigan on Mon Feb 12 2024 12:18 pm

    The ExternalTermANSI setting in ctrl/sbbs.ini controls the TERM env var when

    I found that the TERM setting was already ansi-bbs when running links. So, it must've been something else that sets the default character set.

    ---
    þ Synchronet þ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Phigan on Mon Feb 12 14:17:41 2024
    Re: Re: Lynx?
    By: Phigan to Digital Man on Mon Feb 12 2024 02:28 pm

    Re: Re: Lynx?
    By: Digital Man to Phigan on Mon Feb 12 2024 12:18 pm

    The ExternalTermANSI setting in ctrl/sbbs.ini controls the TERM env var when exectuing external programs (defaults to "pc3" for Linux, but Deuce is suggesting "pcansi" instead). Try changing that setting.

    Mine actually was already set to "ansi-bbs", assuming it's what you would want the TERM setting to be, right? I don't think there's a "pc3" or "pcansi" TERM setting, is there?

    I'll try it anyway, though :)

    pc3 is a default terminfo installed on most/all Linux's: /usr/share/terminfo/p/pc3

    ansi-bbs probably is preferred if you have that terminfo setup on your system. --
    digital man (rob)

    Breaking Bad quote #8:
    I want Shania Twain to give me a tuggy. Guess what? That ain't happening either Norco, CA WX: 67.3øF, 22.0% humidity, 1 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Phigan on Mon Feb 12 14:20:02 2024
    Re: Re: Lynx?
    By: Phigan to Digital Man on Mon Feb 12 2024 02:38 pm

    Re: Re: Lynx?
    By: Digital Man to Phigan on Mon Feb 12 2024 12:18 pm

    The ExternalTermANSI setting in ctrl/sbbs.ini controls the TERM env var when

    I found that the TERM setting was already ansi-bbs when running links. So, it must've been something else that sets the default character set.

    Probably 'LANG'.
    --
    digital man (rob)

    Steven Wright quote #1:
    I'd kill for a Nobel Peace Prize.
    Norco, CA WX: 67.3øF, 22.0% humidity, 1 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Phigan@1:103/705 to Digital Man on Mon Feb 12 22:08:13 2024
    Re: Re: Lynx?
    By: Digital Man to Phigan on Mon Feb 12 2024 02:20 pm

    Probably 'LANG'.

    I checked that, and LANG is UTF-8 under WWIV. Doesn't seem to affect it.
    There wasn't anything that seemed significant in the differences of environment variables when running via WWIV and Synchronet, which I checked by putting a 'set' in the execution script.

    One thing that I did notice, I could send keystrokes to 'more' through WWIV but not through Synchronet. In SN I had to kill 'more' from command line.

    ---
    þ Synchronet þ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Phigan on Mon Feb 12 22:32:38 2024
    Re: Re: Lynx?
    By: Phigan to Digital Man on Mon Feb 12 2024 10:08 pm

    Re: Re: Lynx?
    By: Digital Man to Phigan on Mon Feb 12 2024 02:20 pm

    Probably 'LANG'.

    I checked that, and LANG is UTF-8 under WWIV. Doesn't seem to affect it. There wasn't anything that seemed significant in the differences of environment variables when running via WWIV and Synchronet, which I checked by putting a 'set' in the execution script.

    You might have to 'export' it too (?).

    One thing that I did notice, I could send keystrokes to 'more' through WWIV but not through Synchronet. In SN I had to kill 'more' from command line.

    Was the keystroke ^C by chance?

    There was a bug recently introduced (in Linux builds) and recently fixed (in sbbs) where ^C didn't interrupt external programs executed by sbbs.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #29:
    FDSZ = FOSSIL DSZ (by Chuck Forsberg)
    Norco, CA WX: 52.1øF, 48.0% humidity, 0 mph NNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Phigan@1:103/705 to Digital Man on Tue Feb 13 02:46:08 2024
    Re: Re: Lynx?
    By: Digital Man to Phigan on Mon Feb 12 2024 10:32 pm

    You might have to 'export' it too (?).

    Yeah, I always 'export'.

    Was the keystroke ^C by chance?

    There was a bug recently introduced (in Linux builds) and recently fixed (in sbbs) where ^C didn't interrupt external programs executed by sbbs.

    No, any key. What I mean is that on the WWIV board, I put "set|more" in the exec script and I was able to press space and q and such. When I did the same on the SN board, I couldn't send any input to more and had to kill it. Links still takes the input, oddly enough. Not sure if it makes a difference, but I have to have "native script" set to yes, otherwise it says this node doesn't support dosemu or somesuch message.

    ---
    þ Synchronet þ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Phigan on Tue Feb 13 11:24:01 2024
    Re: Re: Lynx?
    By: Phigan to Digital Man on Tue Feb 13 2024 02:46 am

    Re: Re: Lynx?
    By: Digital Man to Phigan on Mon Feb 12 2024 10:32 pm

    You might have to 'export' it too (?).

    Yeah, I always 'export'.

    Was the keystroke ^C by chance?

    There was a bug recently introduced (in Linux builds) and recently fixed (in sbbs) where ^C didn't interrupt external programs executed by sbbs.

    No, any key. What I mean is that on the WWIV board, I put "set|more" in the exec script and I was able to press space and q and such. When I did the same on the SN board, I couldn't send any input to more and had to kill it. Links still takes the input, oddly enough. Not sure if it makes a difference, but I have to have "native script" set to yes, otherwise it says this node doesn't support dosemu or somesuch message.

    Yeah, your *nix shell and its commands (e.g. set, more) are native (non-DOS) programs, so that makes sense (would have to be set to "Yes").

    Not sure about not being able to send keystrokes to it. Many 32-bit *nix doors depend on standard I/O interception and work fine, so maybe it's something to do with the use of pipe (|).
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #85:
    TLS = Transport Layer Security (successor to SSL)
    Norco, CA WX: 59.6øF, 52.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to All on Wed Feb 28 22:08:20 2024
    On Wed, 14 Feb 2024 11:31:20 -0800
    "Digital Man" (VERT) <VERT!Digital.Man@endofthelinebbs.com> wrote:

    Re: Re: Lynx?
    By: Phigan to Digital Man on Wed Feb 14 2024 09:31 am

    Re: Re: Lynx?
    By: Digital Man to Phigan on Mon Feb 12 2024 10:32 pm

    Was the keystroke ^C by chance?

    What were you going to say if it had been ^C? Is there something
    blocking that control code? I noticed I can't cancel out of
    "windows" in Links and have to just accept and get an error
    sometimes.

    There was a bug that was recently fixed that prevented ^C from
    interrupting external programs in Linux versions of SBBS.

    Posting this as a test to try and address something DM bright up.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)