Giter Site home page Giter Site logo

dtcyber's People

Contributors

bug400 avatar kej715 avatar mandrelsystems avatar philclaridge avatar rly12001 avatar wschaub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dtcyber's Issues

Compiling problems Debian Sarge (32bit)

Hi, I'm trying to compile under Debian Sarge and I get the following error:

CYBER:/cyber/DtCyber-main# make -f Makefile.linux32 dtcyber
cc -02 -I. -I/usr/X11R6/include -std=gnu99 -c operator.c
operator.c: In function 'opWait':
operator.c:1886: error: useconds t'undeclared (first use in this function)
operator.c:1086: error: (Each undeclared identifier is reported only once
operator.c:1086: error: for each function it appears in.)
make: *** [operator.o] Error 1
CYBER:/cuber/DtCyber-main#

Any ideas?

NOS 2.8.7 telnet issues

Describe the bug
Cannot telnet into NOS 2.8.7 on port 23 after the webterm updates.

To Reproduce
Steps to reproduce the behavior:

  1. Open a telnet client like PuTTY or the included webterm.
  2. Try to connect to the NOS 2.8.7 host on port 23.
  3. Fails to connect on port 23 and just displays Connecting to host - please wait ...
  4. On PuTTY, it just doesn't do anything. No login prompt. Disconnects on Webterm.

Expected behavior
I expected it to telnet into NOS 2.8.7 like usual and it failed.

Screenshots
image.
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Vivaldi, PuTTY
  • Version: Vivaldi: 5.4.2753.51 (Stable channel) (64-bit), PuTTY: 0.76

Additional context
No modifications to cyber.ini and this machine isn't running a telnet server.

XRebindKeysym hangs

Describe the bug
On Arch Linux, XRebindKeysym as called from windowThread in window_x11.c seems to hang.

To Reproduce
Steps to reproduce the behavior:

  1. Install arch Linux on a computer
  2. Build DtCyber normally
  3. Start it
  4. Observe that the console window is not displayed

Expected behavior
At startup, the Cyber console window should be displayed.

Desktop (please complete the following information):

  • OS: Arch Linux (current as of 2022-12-06) on x86_64
  • DtCyber from git main (3cc73a5)

Additional context
This stopped working after a point-release upgrade of Arch; printf debugging led to discovering the hang in XRebindKeysym. Comment out the sequence of rebind calls allows the program to continue normally; I haven't spent more time tracking down why XRebindKeysym appears to hang, but I suspect it has to do with locking the display (everything else in that function is pretty mundane: just adding an entry to a list). I cannot reproduce on e.g. macOS with XQuartz or on FreeBSD.

Incidentally, modList in windowThread is defined to have two elements, but only ever uses 1: I don't think that is relevant to this issue, just something I observed.

Append ".txt", or something similar, to line printer output that is created when paper is unloaded.

This feature request is not related to any known bug.

Using the Windows version of DtCyber, it would be convenient if the line printer output generated when paper is removed from a printer have a suffix appended, perhaps ".txt", so that double-clicking the file would open it in the appropriate application in Windows.

By default Windows does not provide a mechanism to associate an application to files w/no extension. I think there are registry hacks that could achieve this but I avoid such hacks when possible.

CPU Idle does not work any more under NOS/BE since commit eba4eac

Describe the bug
Since commit eba4eac "Merge cybrbst to main" CPU idle does not work any more under NOS/BE. I did the test with a fresh installation of my ready to run NOSBE package (https://github.com/bug400/NOSBE712). After boot of the "nosbe" target under DtCyber commit eba4eac, the LINUX "top" command permanently shows a cpu load of 100%. Using the previous DtCyber commit dd663f1, the cpu load stays at about 40% as it should"

To Reproduce
See above

Expected behavior
See above

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Debian bookworm, all updates applied

CYBIS doesn't start if password of user PLATOMF is changed

I wasn't sure if to report this as a bug, but since changing user passwords is a supported feature, I guess it qualifies.

Describe the bug
If the password of the user PLATOMF is changed, CYBIS cannot start and gives a SECURITY CONFLICT error in the dayfile.

To Reproduce
Steps to reproduce the behavior:

  1. Add an entry under the [PASSWORDS] section, in the site.cfg file to change the password of user PLATOMF. For example, PLATOMF=PLUTOMF
  2. Run reconfigure from the [DtCyber Console] Operator>
  3. After the system is back online, go to the DSD console and type CYBIS.
  4. Configure the DSD console for AB.
  5. In the B display will appear the message WAIT. MAKE SURE A TAPE DRIVE I
  6. Type DAYFILE,jsn., where jsn is the JSN in the B display that shows the message mentioned in step 5.
  7. Among other information, you'll see two messages that indicate a problem: INCORRECT USER COMMAND and SECURITY CONFLICT

Expected behavior
Either, changing the password of the mentioned user doesn't break the start of CYBIS, or it is clearly indicated in the documentation (README.md) that this user's password must not be changed.

Screenshots
dsdAB

Desktop (please complete the following information):

  • OS: Debian 12
  • Version 6.1.0-18-amd64

web console alignment and behavior isn't quite right compared to X11/windows.

Describe the bug
Character spacing isn't quite right on the web console.

I think the DS1 tests should be run to dial in the web console support to be in line with X11 console in terms of alignment
and other behavior that fails the DS1 diagnostic tests.

To Reproduce
Steps to reproduce the behavior:

  1. Start NOS 2.8.7
  2. type X.DS1 on the console
  3. type Z L S S
  4. Compare the same test patten with the X11 display.

Expected behavior
Alignment should match the DS1 diagnostic tests

Screenshots
X11 DS1 test Z dot/chat centering comparison:
image

Web console DS1 test Z dot/char centering comparison:
The display is on the incorrect tube it's on the right side, the character size is wrong and the alignment is incorrect.
image

TDUEX in OPL871

Discussed in #120

Originally posted by KC5VDJ January 25, 2024
Wants to pull in a whole slew of unknown decks.

modify,p=opl871,lo=e,z,c=TDUEX./*edit,TDUEX

Erroring out with unknown deck errors. Anyone else getting this?

Using virtual card reader

Lees of a bug but rather understanding operation. I have installed DtCyber and have the NOS1.3 working. I understand that on the terminal I can hand key in commands but this is rather tedious for many tasks. How do I load a virtual card deck which I create with a simple text editor? That also leads to using file on the computer as tapes within DtCyber.

Crash when issuing sync_tms on operator console

Describe the bug
I was trying to read a tape after I activated TMS with activate_tms. As I wasn't successful (I was getting error RESEX ABORT - TAPE MANAGER when doing LABEL,TAPE,VSN=CENSUS,UN=LIBRARY), I tried sync_tms and it crashed DtCyber

To Reproduce

  1. Go to [DtCyber Console] Operator >
  2. Enable TMS with actiavte_tms
  3. sync tape catalog with sync_tms
  4. It crashes. See error log below

Expected behavior
Not a crash.

Error log

10:27:38 [DtCyber Console] Operator> sync_tms
/opt/DtCyber/NOS2.8.7/sync-tms.js:11
for (const line of iniProps["Equipment.nos287"]) {

ReferenceError: iniProps is not defined
    at Object.<anonymous> (/opt/DtCyber/NOS2.8.7/sync-tms.js:11:28)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    at node:internal/main/run_main_module:28:49

Node.js v18.19.0
/opt/DtCyber/automation/DtCyber.js:858
            reject(new Error(`${command} exited with status ${code}`));

Error: node exited with status 1
    at ChildProcess.<anonymous> (/opt/DtCyber/automation/DtCyber.js:858:20)
    at ChildProcess.emit (node:events:517:28)
    at ChildProcess._handle.onexit (node:internal/child_process:292:12

Node.js v18.19.0

Desktop (please complete the following information):

  • OS: Linux Debian 6.1.76-1

Aditional info

Though the DtCyber Console Operator has crashed, NOS continues working. But now I don't know how to shutdown the system.

Make commands case insensitive in the operator window

Very minor request, but - I often have caps lock on when using DtCyber from a terminal window. Switching over to the operator window I have to turn caps lock off to enter a command - and of course, I never remember to do that. Making commands in the operator window case insensitive would be nice. I hesitate to open a request for something so minor but it would be convenient. Thanks!

Cybis - Application not present.

Hi,

I try to run CYBIS on NOS 2.8.7 but the Terminal says: "APPLICATION NOT PRESENT."
Most probably I missed something to do.

README says I need to input 'CYBIS.' somewhere but I don't get it.
( IAF and CHESS 4.9 runs fine!! )

Need some help here, please.

Cheers,
Peter

Nothing runs on macOS for me

While I can run the make command, when I run "node install" in any of the directories, I get the same error:
Could not open display
And then it just crashes. I don't get much else, though sometimes it mentions (mux6676) Can't bind to listen socket for MUX6671 on port 6671.

I am on macOS Catalina (10.15) for the record. Any help?

Failed to listen for TCP connection / Can't create socket

Hello,

DtCyber runs very well on my Raspberry as well as on my Linux Mint system.
On macOS I am facing a strange problem. I am sure this is on my side, but I am stuck.
Any hint is welcome.

This is the output after I entered "sudo node start" in NOS 2.8.7:

(init ) file 'cyber.ini' section [cyber] line 6: model Valid
(init ) file 'cyber.ini' section [cyber] line 7: deadstart Valid
(init ) file 'cyber.ini' section [cyber] line 8: equipment Valid
(init ) file 'cyber.ini' section [cyber] line 9: npuConnections Valid
(init ) file 'cyber.ini' section [cyber] line 10: operator Valid
(init ) file 'cyber.ini' section [cyber] line 11: helpers Valid
(init ) file 'cyber.ini' section [cyber] line 12: clock Valid
(init ) file 'cyber.ini' section [cyber] line 13: cpus Valid
(init ) file 'cyber.ini' section [cyber] line 14: memory Valid
(init ) file 'cyber.ini' section [cyber] line 15: esmbanks Valid
(init ) file 'cyber.ini' section [cyber] line 16: pps Valid
(init ) file 'cyber.ini' section [cyber] line 17: osType Valid
(init ) file 'cyber.ini' section [cyber] line 18: idle Valid
(init ) file 'cyber.ini' section [cyber] line 19: persistDir Valid
(init ) file 'cyber.ovl' section [npu.nos287] line 1: hostID Valid
(init ) file 'cyber.ovl' section [npu.nos287] line 2: couplerNode Valid
(init ) file 'cyber.ovl' section [npu.nos287] line 3: npuNode Valid
(init ) file 'cyber.ovl' section [npu.nos287] line 4: terminals Valid
(init ) file 'cyber.ini' section [npu.nos287] line 8: couplerNode Valid
(init ) file 'cyber.ini' section [npu.nos287] line 9: npuNode Valid
(init ) file 'cyber.ini' section [npu.nos287] line 10: cdcnetNode Valid
(init ) file 'cyber.ini' section [npu.nos287] line 16: cdcnetPrivilegedTcpPortOffset Valid
(init ) file 'cyber.ini' section [npu.nos287] line 17: cdcnetPrivilegedUdpPortOffset Valid
(init ) file 'cyber.ini' section [npu.nos287] line 22: hostID Valid
(init ) file 'cyber.ini' section [npu.nos287] line 31: terminals Valid
(init ) file 'cyber.ini' section [npu.nos287] line 35: terminals Valid
(init ) file 'cyber.ini' section [npu.nos287] line 40: terminals Valid
(init ) file 'cyber.ini' section [npu.nos287] line 46: terminals Valid
(init ) file 'cyber.ini' section [npu.nos287] line 51: terminals Valid
(init ) file 'cyber.ini' section [npu.nos287] line 52: terminals Valid
(init ) Network host ID is 'NCCM01'
(init ) Host coupler node value is 1
(init ) NPU node value is 2
(init ) CDCNet node value is 255
(init ) TCP privileged port offset is 0
(init ) UDP privileged port offset is 0
(init ) [npu.nos287] line 4: nje TCP port 175 CLA port 0x30 port count 1, block size 8192, destination host NCCMAX/98.0.36.170:175, source address 127.0.0.1, ping interval 600
(init ) [npu.nos287] line 31: trunk TCP port 2550 CLA port 0x01 port count 1, coupler node 3, destination host NCCM02/127.0.0.1:2551
(init ) [npu.nos287] line 35: raw TCP port 2552 CLA port 0x03 port count 1
(init ) [npu.nos287] line 40: telnet TCP port 23 CLA port 0x04 port count 16
(init ) [npu.nos287] line 46: pterm TCP port 8005 CLA port 0x14 port count 16
(init ) [npu.nos287] line 51: hasp TCP port 2553 CLA port 0x24 port count 1, block size 400
(init ) [npu.nos287] line 52: hasp TCP port 2554 CLA port 0x25 port count 1, block size 400
(init ) file 'cyber.ini' section [equipment.nos287] line 12: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 13: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 14: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 15: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 17: DD844 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 20: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 21: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 22: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 23: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 24: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 25: DD885 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 28: MDI Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 31: CO6612 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 34: CR3447 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 35: LP512 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 36: CP3446 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 39: MT679 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 40: MT679 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 41: MT679 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 42: MT679 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 45: TPM Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 48: MT5744 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 49: MT5744 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 50: MT5744 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 51: MT5744 Valid
(init ) file 'cyber.ini' section [equipment.nos287] line 54: DDP Valid
(console) Failed to listen for TCP connections on port 16612
(npu_net) Can't create socket for port 175
09:31:10 DtCyber started - deadstarting NOS 2.8.7
09:31:13 DtCyber exited with status 1

PSU and RTIME rollover

Discussed in #134

Originally posted by KC5VDJ March 17, 2024
Print file gets terminated.
Route,lfn,DC=lp. Does strange things after. Endless spacing without line feeds?
Nos 287

Emacs hexl-mode shows 0x1CE824 ASCII NUL characters followed by the requested listings as if normal, mtr and cpumtr. I made a copy of this if needed. I think this can be duplicated by letting RTIME rollover, and then routing something to the printer.

Cybis install issue.

Discussed in #115

Originally posted by KC5VDJ January 4, 2024
The green highlighted files appeared in my personal account after adding cybis and just cybis. Apparently this happens in the following build orders: basic -> ses, cybis, everything else; and, basic -> everything else, cybis.

This is based on Jan 2 after the textmode console commit.

The first build order, I may have been logged in during install, the second, definitely not (wasn't sure about the first time, so I didn't, not that I can see how it would make any diff).

Accounts and my PFs (cyan, except opllist and syslist, which are itemize listings of opl871 and system after all was said and done) added after basic was installed, before any optional installs.

If it matters: node install-product -s -f cybis
Without it previously having been installed; after install basic, and adding local accts by x.modval on the console, local pfs into the local accts (doubt this part matters), followed by optionals beginning with ses first, followed by the cybis install, apparently without regard to optionals installed between ses and cybis.

Screenshot 2024-01-04 085439_085832

Redesigned printer driver lp3000.c does not handle multiple device control commands properly

Describe the bug
After redesigning printer emulation, page ejects do not happen under NOS/BE in some cases,

To Reproduce
Run DtCyber with NOS/BE, start JANUS. In the printer output file, the leading "1" is missing for the banner pages.
DtCyber printer definition:
LP501,5,0,12,3555
NOS/BE EST definition:
LP501,5,0,12,3555

Activating debug output for the lp3000.c shows, that multiple printer control commands are sent to the driver before an
output request is issued (see attached log file). In the current version of the printer driver, the last control command "PrintDouble" overwrites "PrintEject".

Expected behavior
Enable printer drivers to handle multiple control commands for output requests.

Screenshots
None, see attached log file and printer output file
attachment.zip

Desktop (please complete the following information):

  • Debian Bullseye
  • DtCyber 5.7.23

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.