lab 55 - cut & paste


lab 55 - cut & paste


this work includes some enhancements for running inferno hosted on windows. these are small details, but do seem to make a difference.

first is cut & paste between host and inferno. I copied the code from drawterm to do this. the file /dev/snarf contains the windows clipboard. typically one would say bind /dev/snarf /chan/snarf and everything works just great.

second is window resizing. in this case the host window is resized but the inferno windows all stay the same. but this still improves it. it's nice to be able to resize the window. however, for this to work the toolbar needs to be moved to the top instead of the bottom of the screen.

finally, i added /dev/fullscreen. writing anything to the file cases inferno to toggle fullscreen mode.

to use the changes copy devarch.c and win.c to /emu/Nt, and devcons.c to /emu/port.



Popular posts from this blog

lab 110 - inferno archive edition

lab 107 - midiplay

lab 111 - wavloop