open-simh / simh

The Open SIMH simulators package
https://opensimh.org/
Other
471 stars 89 forks source link

Shift key function backwards on Imlac #415

Closed snhirsch closed 1 month ago

snhirsch commented 1 month ago

When shift key is held down letters should present as uppercase when typed. Unfortunately, the terminal defaults to uppercase and changes to lowercase only when shift is held down.

lib paths are: /lib/ /lib/i386-linux-gnu/ /lib/x86_64-linux-gnu/ /lib32/ /libx32/ /usr/lib/ /usr/lib/i386-linux-gnu/ /usr/lib/i386-linux-gnu/tls/ /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/libfakeroot/ /usr/lib/x86_64-linux-gnu/tls/ /usr/lib32/ /usr/lib64/digilent/adept/ /usr/libx32/ /usr/local/lib/
include paths are:  /usr/lib/gcc/x86_64-linux-gnu/7/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed /usr/include/x86_64-linux-gnu /usr/include
using libm: /usr/lib/i386-linux-gnu/libm.so
using librt: /usr/lib/i386-linux-gnu/librt.so
using libpthread: /usr/lib/i386-linux-gnu/libpthread.so /usr/include/pthread.h
using libpcre: /usr/lib/i386-linux-gnu/libpcre.so /usr/include/pcre.h
using semaphore: /usr/include/semaphore.h
using libdl: /usr/lib/i386-linux-gnu/libdl.so /usr/include/dlfcn.h
using libpng: /usr/lib/x86_64-linux-gnu/libpng.so /usr/include/png.h
using zlib: /usr/lib/i386-linux-gnu/libz.so /usr/include/zlib.h
using mman: /usr/include/x86_64-linux-gnu/sys/mman.h
using libSDL2: /usr/include/SDL2/SDL.h
*** No SDL ttf support available.  BESM-6 video panel disabled.
***
*** Info *** Install the development components of libSDL2-ttf
*** Info *** packaged for your Linux operating system distribution:
*** Info ***        $ sudo apt-get install libsdl2-ttf-dev
***
*** imlac Simulator being built with:
*** - compiler optimizations and no debugging support. GCC Version: 7.5.0.
*** - video capabilities provided by libSDL2 (Simple Directmedia Layer).
*** - Per simulator tests will be run.
***
*** git commit id is 8ed26d300baa5cc8624dc848069cbd1d1fb2aec7+uncommitted-changes.
*** git commit time is 2024-07-14T19:14:21-0400.
***
gcc -std=gnu99 -U__STRICT_ANSI__  -O2 -DNDEBUG=1 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -DSIM_GIT_COMMIT_ID=8ed26d300baa5cc8624dc848069cbd1d1fb2aec7+uncommitted-changes -DSIM_GIT_COMMIT_TIME=2024-07-14T19:14:21-0400  -DSIM_COMPILER="GCC Version: 7.5.0" -DSIM_BUILD_TOOL=simh-makefile -I .  -Werror -D_GNU_SOURCE -DHAVE_PCRE_H -DHAVE_SEMAPHORE -DHAVE_SYS_IOCTL -DHAVE_LINUX_CDROM -DSIM_HAVE_DLOPEN=so -DHAVE_UTIME -DHAVE_LIBPNG -DHAVE_ZLIB -DHAVE_GLOB -DHAVE_SHM_OPEN  ./imlac/imlac_sys.c ./imlac/imlac_cpu.c ./imlac/imlac_dp.c ./imlac/imlac_crt.c ./imlac/imlac_kbd.c ./imlac/imlac_tty.c ./imlac/imlac_pt.c ./imlac/imlac_bel.c ./display/display.c ./display/sim_ws.c ./scp.c ./sim_console.c ./sim_fio.c ./sim_timer.c ./sim_sock.c ./sim_tmxr.c ./sim_ether.c ./sim_tape.c ./sim_disk.c ./sim_serial.c ./sim_video.c ./sim_imd.c ./sim_card.c -I ./imlac -DUSE_DISPLAY -DHAVE_LIBSDL -DUSE_SIM_VIDEO `sdl2-config --cflags` `sdl2-config --libs`  -DUSE_READER_THREAD -DSIM_ASYNCH_IO -o BIN/imlac -lm -lrt -lpthread -lpcre -ldl -lpng -lz  
BIN/imlac RegisterSanityCheck  </dev/null 
 Running internal register sanity checks on Imlac simulator.
*** Good Registers in Imlac simulator.
attach -u tty 12345,connect=pidp-10.local:10016;notelnet
set rom type=stty
load -s ./ssv22.iml
reset
go

The binary I build myself - and - the prepacked binary with pidp-10 (ARM64) both do this.



- #### you may also need to provide specific pointers to data files that may be necessary to demonstrate the problem

<!--- If you haven't already, please be sure that your full name is visible in your Github profile (no email address is needed) -->
snhirsch commented 1 month ago

Lars pointed me at the 'Break' key, which acts as a caps lock. All set now.