• Terminal window behavior

    From Gamgee@1:103/705 to All on Sun Feb 27 10:42:00 2022
    Hello all, I've got a question that I'm not completely sure is
    Synchronet related; might be more OS/environment related, but thought
    I'd ask about it here since there are smart people present...

    On my BBS machine, running Linux with X-windows, I open a terminal
    window. If I execute "/sbbs/exec/umonitor" , the umonitor opens up in a
    new window on the screen, with a roughly square shape and the
    application filling up the whole window.

    If I SSH into that machine from another machine on the LAN, also running
    Linux and X-windows, and do the same thing, the application does NOT
    open a new window, but rather it opens in the existing window that I
    used to SSH over to the BBS machine. It conforms to the terminal window shape, which is more rectangular than square.

    Trying to find out why the behavior is different. I would prefer that
    the application (such as umonitor or scfg) opens in the existing
    terminal window rather than opening a new window. Makes it much easier
    to use a split window (with tmux) to watch two different things in one
    large terminal window. I've checked my terminal (XFCE) window settings
    and see no difference between the BBS machine and the LAN machine. Put
    the stock termcap file back in place on the BBS machine, made no
    difference.

    Any ideas on how to change this behavior would be greatly appreciated.


    ... Press any key to continue or any other key to quit
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Gamgee on Sun Feb 27 12:17:35 2022
    Re: Terminal window behavior
    By: Gamgee to All on Sun Feb 27 2022 10:42 am

    Trying to find out why the behavior is different. I would prefer that
    the application (such as umonitor or scfg) opens in the existing
    terminal window rather than opening a new window. Makes it much easier
    to use a split window (with tmux) to watch two different things in one
    large terminal window. I've checked my terminal (XFCE) window settings
    and see no difference between the BBS machine and the LAN machine. Put
    the stock termcap file back in place on the BBS machine, made no
    difference.

    You're describing the difference between graphics (e.g. X or SDL) mode and text (e.g. curses) mode.

    Any ideas on how to change this behavior would be greatly appreciated.

    Use the '-i' command-line option:

    -iX = set interface mode to X (default=auto) where X is one of:
    X = X11 mode
    C = Curses mode
    F = Curses mode with forced IBM charset
    I = Curses mode with forced ASCII charset
    A = ANSI mode
    D = standard input/output/door mode
    --
    digital man (rob)

    This Is Spinal Tap quote #24:
    David St. Hubbins: You're a haughty one, saucy Jack.
    Norco, CA WX: 72.6øF, 9.0% humidity, 9 mph NE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre@1:103/705 to Gamgee on Sun Feb 27 14:35:01 2022
    Re: Terminal window behavior
    By: Gamgee to All on Sun Feb 27 2022 10:42 am

    Trying to find out why the behavior is different. I would prefer that
    the application (such as umonitor or scfg) opens in the existing
    terminal window rather than opening a new window.

    Instead of default starting in interface auto mode, which picks X11, force it to start with Curses mode. Help text below for reference.

    You want:
    ./umonitor -iC


    - Andre



    ./umonitor --help

    Synchronet UNIX Monitor 1.99-Linux Copyright 2022 Rob Swindell
    Reading /home/bbs/synchronet/ctrl/sbbs.ini

    usage: ./umonitor [ctrl_dir] [options]
    options:

    -c = force color mode
    -e# = set escape delay to #msec
    -iX = set interface mode to X (default=auto) where X is one of:
    X = X11 mode
    C = Curses mode
    F = Curses mode with forced IBM charset
    I = Curses mode with forced ASCII charset
    A = ANSI mode
    -l# = set screen lines to #
    -s# = set idle sleep to # milliseconds (default: 100)

    ---
    þ Synchronet þ Radio Mentor BBS - bbs.radiomentor.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to Digital Man on Sun Feb 27 17:06:00 2022
    Digital Man wrote to Gamgee <=-

    Re: Terminal window behavior
    By: Gamgee to All on Sun Feb 27 2022 10:42 am

    Trying to find out why the behavior is different. I would prefer that
    the application (such as umonitor or scfg) opens in the existing
    terminal window rather than opening a new window. Makes it much easier
    to use a split window (with tmux) to watch two different things in one
    large terminal window. I've checked my terminal (XFCE) window settings
    and see no difference between the BBS machine and the LAN machine. Put
    the stock termcap file back in place on the BBS machine, made no
    difference.

    You're describing the difference between graphics (e.g. X or SDL)
    mode and text (e.g. curses) mode.

    Ahhhh, yes I see that now. The font difference should have clue'd me in.

    Any ideas on how to change this behavior would be greatly appreciated.

    Use the '-i' command-line option:

    -iX = set interface mode to X (default=auto) where X is one of:
    X = X11 mode
    C = Curses mode
    F = Curses mode with forced IBM charset
    I = Curses mode with forced ASCII charset
    A = ANSI mode
    D = standard input/output/door mode

    Absolutely perfect with -iC. Heard a very loud "POP" sound as I read
    your answer.... you can probably guess what that was.

    Thank you, DM.


    ... I'll be unstoppable when I get started.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to Andre on Sun Feb 27 17:07:00 2022
    Andre wrote to Gamgee <=-

    Re: Terminal window behavior
    By: Gamgee to All on Sun Feb 27 2022 10:42 am

    Trying to find out why the behavior is different. I would prefer that
    the application (such as umonitor or scfg) opens in the existing
    terminal window rather than opening a new window.

    Instead of default starting in interface auto mode, which picks
    X11, force it to start with Curses mode. Help text below for
    reference.

    You want:
    ./umonitor -iC

    Absolutely spot-on, and I'm blushing a little for not realizing that.

    Thank you, Andre.



    ... I'll be unstoppable when I get started.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre@1:103/705 to Gamgee on Sun Feb 27 19:10:51 2022
    Re: Re: Terminal window behavior
    By: Gamgee to Andre on Sun Feb 27 2022 05:07 pm

    Absolutely spot-on, and I'm blushing a little for not realizing that.

    Shouldn't be. It certainly took me a minute to think through it.


    - Andre

    ---
    þ Synchronet þ Radio Mentor BBS - bbs.radiomentor.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)