Skip to content

Instantly share code, notes, and snippets.

💭
trading heroes for ghosts.

Supratim Sanyal tuklusan

💭
trading heroes for ghosts.
View GitHub Profile
@tuklusan
tuklusan / mariah::sys$print_output_example
Last active Apr 24, 2020
OpenVMS/VAX 7.3 on MicroVAX 3100-80 - TTA2 DB25 Serial Connector connected to PC DB9 via NULL Modem using DEC BCC05 Cable, minicom serving as Printer. See my notes on bringing up a MicroVAX 3100-80: https://supratim-sanyal.blogspot.com/2020/04/my-own-27-year-old-classic-digital-dec.html
View mariah::sys$print_output_example
$ minicom
Welcome to minicom 2.7.1
OPTIONS: I18n
Compiled on May 6 2018, 08:02:47.
Port /dev/ttyS0, 00:03:58
Press CTRL-A Z for help on special keys
@tuklusan
tuklusan / hecnet-nodes-for-pydecnet.sh
Last active Apr 15, 2020
hecnet-nodes-for-pydecnet.sh: Grabs HECnet node database and converts to format expected by Paul Koning's DECnet/Python
View hecnet-nodes-for-pydecnet.sh
#!/bin/bash
# --
# hecnet-nodes-for-pydecnet.sh
# grabs HECnet node list from MIM and produces node names configuration
# file for DECnet/Python
#
# Author: Supratim Sanyal - http://tuklusan.decsystem.org
# --
@tuklusan
tuklusan / mac-os-x-linux-ubuntu-mate-mount-apfs.log
Last active Mar 2, 2020
Mount MAC OS X APFS file system partition for Linux Ubuntu Mate on Apple MacBook Pro 17" - See https://supratim-sanyal.blogspot.com/2020/02/install-and-dual-boot-linux-on-17-inch_17.html
View mac-os-x-linux-ubuntu-mate-mount-apfs.log
###
# Terminal session log:
# Mounting MacOS X APFS partition on Linux Ubuntu Mate on Apple MacBook Pro 17"
# See https://supratim-sanyal.blogspot.com/2020/02/install-and-dual-boot-linux-on-17-inch_17.html
###
localuser@macbookpro17inch:~$ # MOUNT THE MAC OS X APFS PARTITION ON UBUNTU ON MACBOOK PRO
localuser@macbookpro17inch:~$ sudo apt-get update
...
localuser@macbookpro17inch:~$ sudo apt-get upgrade
View mac-os-x-linux-ubuntu-mate-trackpad-gesture-configuration.log
###
# Terminal session log:
# Configuring Trackpad Gestures for Linux Ubuntu Mate on Apple MacBook Pro 17"
# See https://supratim-sanyal.blogspot.com/2020/02/install-and-dual-boot-linux-on-17-inch_17.html
###
localuser@macbookpro17inch:~$ sudo apt update && sudo apt upgrade
[sudo] password for localuser:
...
...
@tuklusan
tuklusan / DECNET-TEST.COM
Created Feb 4, 2020
DECNET-TEST.COM - Check and Report on DECnet Connection Status of Nodes at SANYALnet Labs | List of Nodes: http://tuklusan.decsystem.org/
View DECNET-TEST.COM
$! ---
$! AUTHOR: SUPRATIM SANYAL
$! http://tuklusan.decsystem.org
$! ---
$! My Hobbyist DECnet Nodes as of Feb 3, 2020
$! ---
$ NODELIST = "IMPVAX,PYRTR,QCOCAL,CLOUDY,JUICHI,FEDACH,FOMFOR,OSTARA,WEXPEE,ENTEE4,RAPTOR,MACOS9,WFW311,WXPEE2,TRU64,XLVII,TSTVAX,W2000S,MACOS7,RST101,TWENEX"
$ NODELIST = NODELIST + ",VAXSTN,XLIV,PIPY,XL,NANAJU,NJEVX1,NJEVX2,SHAKTI,IBM390,MOKSHA,PYDNET,IMPRTR"
$ OUTPUT_TXT="sys$scratch:sanyalnet-labs-decnet-node-status.txt"
$!
@tuklusan
tuklusan / IBM-MVS-3.8-COBOL-ERATOSTHENES-SIEVE.PRT
Last active Jan 11, 2020
Sieve of Eratosthenes programmed in COBOL on IBM MVS 3.8 TK4- Batch Job Printer Output: Prime Numbers till 9999 | Emulate IBM 3033 Mainframe Computer running MVS 3.8 O/S: https://supratim-sanyal.blogspot.com/2020/01/mvs-38-operating-system-on-ibm-3033.html
View IBM-MVS-3.8-COBOL-ERATOSTHENES-SIEVE.PRT
=======================
Sieve of Eratosthenes programmed in COBOL
IBM MVS 3.8 TK4-
Batch Job Printer Output: Prime Numbers till 9999
Emulate IBM 3033 Mainframe Computer running MVS 3.8 O/S:
https://supratim-sanyal.blogspot.com/2020/01/mvs-38-operating-system-on-ibm-3033.html
=======================
MM MM FFFFFFFFFFFF 11
@tuklusan
tuklusan / hpux-postinstal-console.log
Created Nov 10, 2019
Install HP-UX 11i on QEMU: Post-Installation Phase and First Boot - HP 9000/778 Console; see https://supratim-sanyal.blogspot.com/2019/11/hpux-11i-v1-hpux-1111-pa-risc-guest.html
View hpux-postinstal-console.log
This file has been truncated, but you can view the full file.
Script started on Wed Nov 6 12:58:36 2019
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ telnet localhost 54321
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Firmware Version 6.1
Duplex Console IO Dependent Code (IODC) revision 1
View hpux-inst-console.log
Script started on Sun Nov 3 01:32:30 2019
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ telnet localhos  r   t 54321
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Firmware Version 6.1
Duplex Console IO Dependent Code (IODC) revision 1
View hpux-inst-qemu.log
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ # -----------------------------------------------cat r.shvi r.sh./r.sh cat r.sh./qemu-system-hppa -net nic,model=helpversion
QEMU emulator version 4.1.50 (v4.1.0-2221-g36609b4fa3-dirty)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$
[localuser@dell-poweredge-2950 ~/Qemu-VirtualMachines/hpux]$ ./qemu-system-hppa -version# -----------------------------------------------cat r.shvi r.sh./r.sh cat r.sh./qemu-system-hppa -net nic,model=help
Supported NIC models:
e1000
e1000-82544gc
e1000-82545em
@tuklusan
tuklusan / shs.c
Last active Oct 19, 2019
shs.c - absolutely minimal web server in C (tested on 4.3 BSD for VAX with gcc 2.7.2.2) | See http://supratim-sanyal.blogspot.com
View shs.c
/*
shs.c - simple http server for 4.3 BSD on VAX
Compiles with gcc version 2.7.2.2 vax-dec-bsd
Tweaked from David Egan's HTTP Server in C (https://dev-notes.eu/2018/06/http-server-in-c/)
For each connection accepted on the designated port, this
minimal server returns a single file (index.html).
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/vax-dec-bsd/2.7.2.2/specs
You can’t perform that action at this time.