🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #28338

xrn 8.03-beta17, SunOS 4.x, and key/mouse bindings problem

#28338
From: Steve Lodin
Date: Thu, 12 Dec 1996 00:00
508 lines
17038 bytes

I've compiled xrn 8.03-beta17 and it's working on Sol2, HP-UX 9 and
HP-UX 10, but I'm having a problem on SunOS 4.x.  

It compiles fine and starts up ok.  However, I don't have any of the
key bindings or mouse bindings.  When in the Newsgroups or Articles
mode and I hit a key or click the mouse, it just beeps at me.  I'm
using the same app-default file as the other working versions.

Thinking it might be a X library problem, I compiled using both
Openwin libs and Motif libs with no change.  I even tried running the
SunOS binary on a Solaris box, but still no key or mouse bindings.

The app-defaults file that I'm using on all architectures is basically
a combination of the system and user app-defaults.  It is included
below for more information.

I used the bundled C compiler and gcc with no difference.

The old version, 6.17 worked fine with respect to both keys and mouse
bindings.

Can anyone offer any suggestions or help?  I'm at a loss, other than
keeping version 6.17 on my SunOS machines.  Thanks!!!

Steve




xrn app-defaults file follows:
------------------------------------------------------------------
!
! $Id: XRn.src,v 1.132 1996/11/10 16:27:12 jik Exp $
!
*leaveHeaders:			subject,from,organization
XRn.version:			8.03-beta-17
XRn.Geometry:			680x700
*breakLength:			0
*font:			8x13
*Label.font:			8x13
*Command.font:		9x15
*Dialog.borderWidth:		1
*Dialog.default.accelerators: #override \n\
	<Key>Linefeed: set() notify() unset() \n\
	<Key>Return: set() notify() unset()

*lockFile:	~/.xrnlock

*includeHeader:	off

! Authentication:
! You might want to uncomment this to get a default other than the
! generic authenticator "conventional" default of "any <userid>".
! NNTPAUTH environment variable overrides this if present.
!*authenticator:			ypauth

! Following command is some sort of "command environment" that allows you
! to prompt the user for authentication information.  This is processed
! by sprintf to insert the value of authenticator/NNTPAUTH.
*authenticatorCommand:	     xterm -geometry 30x5+1+1 -T 'News Authentication' -e "%s"

! Composition pane stuff
*Composition.pane.text.scrollVertical:		always
*Composition.pane.text.wrap:			never
*Composition.pane.text.autoFill:		true

! button keybindings

*addFrame.list.baseTranslations: #override\
  <Key>q:	addQuit()	\n\
  <Key>x:	addIgnoreRest()	\n\
  <Key>\^:	addFirst()	\n\
  <Key>\$:	addLast()	\n\
  <Key>+:	addAfter()	\n\
  <Key>u:	addUnsub()	\n\
  <Key>i:	addIgnore()	\n\
  <Key>Left:	no-op(RingBell)	\n\
  <Key>Right:	no-op(RingBell)	\n

*ngFrame.newsgroups.baseTranslations: #override				\n\
  <Btn1Up>:		extend-end(PRIMARY, CUT_BUFFER0) doPrefetch()	\n\
  <Btn3Up>:		extend-end(PRIMARY, CUT_BUFFER0) doPrefetch()	\n\
  <Btn2Down>:		select-start() extend-end() doTheRightThing(jump)\n\
  <Key>q:		ngQuit()					\n\
  <Key>space:		ngRead()					\n\
  <Key>y:		ngRead()					\n\
  <Key>n:		ngNext() doPrefetch()				\n\
  <Key>Down:		ngNext() doPrefetch()				\n\
  <Key>p:		ngPrev() doPrefetch()				\n\
  <Key>Up:		ngPrev() doPrefetch()				\n\
  Ctrl<Key>v:		ngScroll() doPrefetch()				\n\
  <Key>Next:		ngScroll() doPrefetch()				\n\
  Meta<Key>v:		ngScrollBack() doPrefetch()			\n\
  <Key>Prior:		ngScrollBack() doPrefetch()			\n\
  <Key>c:		ngCatchUp() doPrefetch()			\n\
  ~Ctrl ~Shift<Key>s:	ngSubscribe()					\n\
  <Key>u:		ngUnsub() doPrefetch()				\n\
  ~Shift<Key>g:		ngGoto()					\n\
  Shift<Key>L:		ngAllGroups()					\n\
  ~Shift<Key>r:		ngRescan()					\n\
  Shift<Key>R:		ngGetList()					\n\
  <Key>-:		ngPrevGroup()					\n\
  ~Shift<Key>l:		ngListOld()					\n\
  ~Ctrl Shift<Key>S:	ngSelect()					\n\
  ~Shift<Key>m:		ngMove()					\n\
  <Key>x:		ngExit()					\n\
  ~Shift Ctrl<Key>s:	ngCheckPoint()					\n\
  Shift<Key>G:		ngGripe()					\n\
  ~Shift<Key>a:		ngPost()					\n\
  Shift<Key>A:		ngPostAndMail()					\n\
  Shift<Key>M:		ngMail()					\n\
  <Key>Left:		no-op(RingBell)					\n\
  <Key>Right:		no-op(RingBell)					\n

*ngUnsub.baseTranslations: #override \n\
	<Btn1Up>:	notify() unset() doPrefetch()
*ngCatchUp.baseTranslations: #override \n\
	<Btn1Up>:	notify() unset() doPrefetch()
*ngNext.baseTranslations: #override \n\
	<Btn1Up>:	notify() unset() doPrefetch()
*ngScroll.baseTranslations: #override \n\
	<Btn1Up>:	notify() unset() doPrefetch()
*ngScrollBack.baseTranslations: #override \n\
	<Btn1Up>:	notify() unset() doPrefetch()

*artFrame.subjects.baseTranslations: #override			\n\
  <Btn2Down>:		select-start() extend-end() artNext()	\n\
  <Key>space:		doTheRightThing(goto)			\n\
  <Key>q:		artQuit()				\n\
  :~Ctrl ~Meta<Key>n:	artNextUnread()				\n\
  :~Ctrl ~Meta<Key>N:	artNext()				\n\
  ~Ctrl<Key>p:		artPrev()				\n\
  <Key>-:		artLast()				\n\
  <Key>Linefeed:	artCurrent()				\n\
  <Key>Return:		artCurrent()				\n\
  ~Meta<Key>Up:		artUp()					\n\
  ~Meta<Key>Down:	artDown()				\n\
  Meta<Key>n:		artNextGroup()				\n\
  ~Meta<Key>c:		artCatchUp()				\n\
  Meta<Key>c:		artFedUp()				\n\
  ~Shift<Key>.:		artGotoArticle()			\n\
  <Key>j:		artMarkRead()				\n\
  ~Shift<Key>m:		artMarkUnread()				\n\
  <Key>u:		artUnsub()				\n\
  Ctrl<Key>n:		artSubNext()				\n\
  Ctrl<Key>p:		artSubPrev()				\n\
  Shift<Key>L:		artListOld()				\n\
  ~Meta<Key>k:		artKillSubject()			\n\
  Meta<Key>k:		artKillAuthor()				\n\
  ~Meta<Key>/:		artSubSearch()				\n\
  Meta<Key>/:		artContinue()				\n\
  ~Shift Ctrl<Key>v:	artScroll()				\n\
  ~Shift <Key>Next:	artScroll()				\n\
  ~Shift Meta<Key>v:	artScrollBack()				\n\
  ~Shift <Key>Prior:	artScrollBack()				\n\
  <Key>b:		artScrollBack()				\n\
  Meta<Key>Down:	artScrollLine()				\n\
  Meta<Key>Up:		artScrollBackLine()			\n\
  <Key>\>:		artScrollEnd()				\n\
  <Key>\<:		artScrollBeginning()			\n\
  Shift Ctrl<Key>v:	artScrollIndex()			\n\
  Shift <Key>Next:	artScrollIndex()			\n\
  Shift Meta<Key>v:	artScrollIndexBack()			\n\
  Shift <Key>Prior:	artScrollIndexBack()			\n\
  ~Shift<Key>a:		artPost()				\n\
  Shift<Key>A:		artPostAndMail()			\n\
  Shift<Key>M:		artMail()				\n\
  ~Shift ~Ctrl<Key>x:	artExit()				\n\
  Ctrl<Key>s:		artCheckPoint()				\n\
  Shift<Key>G:		artGripe()				\n\
  ~Ctrl<Key>s:		artSave()				\n\
  <Key>w:		artSave()				\n\
  <Key>|:		artSave()				\n\
  <Key>r:		artReply()				\n\
  Meta<Key>f:		artForward()				\n\
  ~Meta ~Ctrl<Key>f:	artFollowup()				\n\
  Ctrl<Key>f:		artFollowupAndReply()			\n\
  Shift<Key>C:		artCancel()				\n\
  Ctrl<Key>x:		artRot13()				\n\
  Shift<Key>X:		artRot13()				\n\
  ~Ctrl ~Meta<Key>v:	artHeader()				\n\
  <Key>Left:		no-op(RingBell)				\n\
  <Key>Right:		no-op(RingBell)				\n

*allFrame.list.baseTranslations: #override		\n\
  <Btn2Down>:	select-start() extend-end() allGoto()	\n\
  <Key>q:	allQuit()				\n\
  <Key>n:	allNext()				\n\
  <Key>Down:	allNext()				\n\
  <Key>p:	allPrev()				\n\
  <Key>Up:	allPrev()				\n\
  Ctrl<Key>v:	allScroll()				\n\
  <Key>Next:	allScroll()				\n\
  Meta<Key>v:	allScrollBack()				\n\
  <Key>Prior:	allScrollBack()				\n\
  ~Shift<Key>s:	allSub()				\n\
  <Key>\^:	allFirst()				\n\
  <Key>\$:	allLast()				\n\
  <Key>+:	allAfter()				\n\
  <Key>u:	allUnsub()				\n\
  <Key>i:	allIgnore()				\n\
  <Key>space:	allGoto()				\n\
  <Key>g:	allGoto()				\n\
  Shift<Key>S:	allSelect()				\n\
  ~Shift<Key>m:	allMove()				\n\
  <Key>o:	allToggle()				\n\
  ~Shift<Key>a:	allPost()				\n\
  Shift<Key>A:	allPostAndMail()			\n\
  Shift<Key>M:	allMail()				\n\
  <Key>Left:	no-op(RingBell)				\n\
  <Key>Right:	no-op(RingBell)				\n

! Kill button actions

*artKillSubject.baseTranslations: #override		\n\
  <EnterWindow>:	highlight()			\n\
  <LeaveWindow>:	reset()				\n\
  <BtnDown>:		set()				\n\
  <Btn1Up>:		artKillSubject() unset()	\n\
  <Btn2Up>:		artKillSubject(global) unset()	\n\
  <Btn3Up>:		artKillSubject(local) unset()	\n

*artKillAuthor.baseTranslations: #override		\n\
  <EnterWindow>:	highlight()			\n\
  <LeaveWindow>:	reset()				\n\
  <BtnDown>:		set()				\n\
  <Btn1Up>:		artKillAuthor() unset()		\n\
  <Btn2Up>:		artKillAuthor(global) unset()	\n\
  <Btn3Up>:		artKillAuthor(local) unset()	\n

! Default button lists

*addButtonList: addQuit addFirst addLast addAfter addUnsub

*ngButtonList: ngQuit ngRead ngNext ngPrev ngCatchUp ngSubscribe \
	ngUnsub ngGoto ngAllGroups ngRescan ngPrevGroup ngListOld \
	ngSelect ngMove ngExit ngCheckPoint ngGripe ngPost \
	ngPostAndMail

*allButtonList: allQuit allNext allPrev allSub allFirst allLast \
	allAfter allUnsub allGoto allSelect allMove allToggle allPost \
	allPostAndMail

*artButtonList: artQuit artNextUnread artNext artPrev artLast \
	artNextGroup artCatchUp artFedUp artGotoArticle artMarkRead \
	artMarkUnread artUnsub artSubNext artSubPrev artListOld \
	artKillSubject artKillAuthor artSubSearch artContinue artPost \
	artPostAndMail artExit artCheckPoint

*artSpecButtonList: artSave artReply artForward artFollowup \
	artFollowupAndReply artCancel artRot13 artXlate artHeader \
	artPrint

! scrollbars, resize, wrap
*popup.dialog.value.scrollVertical: never
*popup.dialog.value.scrollHorizontal: never

! A few directions for vpane resizing...

! Generic

*Paned.Box.allowResize:		True
*Paned.Box.skipAdjust:		True
*Paned.Box.showGrip:		False
*Paned.Box.resizeToPreferred:	True

! Add mode

*addFrame.list.scrollVertical:	always
*addFrame.list.cursor:		left_ptr

! All mode

*allFrame.list.scrollVertical:	always
*allFrame.list.cursor:		left_ptr

! Article mode

*artFrame.subjects.scrollVertical:	always
*artFrame.subjects.resizeToPreferred:	True
*artFrame.subjects.skipAdjust:		True
*artFrame.subjects.cursor:		left_ptr
*artFrame.text.scrollVertical:		always
*artFrame.text.wrap:			word

! Newsgroup mode

*ngFrame.newsgroups.scrollVertical:	always
*ngFrame.newsgroups.cursor:		left_ptr

! button names
*addQuit.label:		Quit
*addIgnoreRest.label:	Ignore rest
*addFirst.label:		Add first
*addLast.label:		Add last
*addAfter.label:		Add after group
*addUnsub.label:		Add unsubscribed
*addIgnore.label:		Ignore

*ngQuit.label:		Quit
*ngRead.label:		Read
*ngNext.label:		Next
*ngPrev.label:		Prev
*ngCatchUp.label:		Catch up
*ngSubscribe.label:		Subscribe
*ngUnsub.label:		Unsubscribe
*ngGoto.label:		Goto group
*ngListOld.label:		List old
*ngAllGroups.label:		All groups
*ngRescan.label:		Rescan
*ngGetList.label:		Get newsgroup list
*ngPrevGroup.label:		Prev group
*ngSelect.label:		Select groups
*ngMove.label:		Move
*ngExit.label:		Exit
*ngCheckPoint.label:	Checkpoint
*ngPost.label:		Post
*ngPostAndMail.label:	Post & Mail
*ngMail.label:		Send Mail
*ngGripe.label:		Gripe
*ngScroll.label:		Scroll forward
*ngScrollBack.label:	Scroll backward

*allQuit.label:		Quit
*allNext.label:		Next
*allPrev.label:		Prev
*allSub.label:		Subscribe
*allFirst.label:		Subscribe first
*allLast.label:		Subscribe last
*allAfter.label:		Subscribe after group
*allUnsub.label:		Unsubscribe
*allIgnore.label:		Ignore
*allGoto.label:		Goto group
*allSelect.label:		Select groups
*allMove.label:		Move
*allToggle.label:		Toggle order
*allScroll.label:		Scroll forward
*allScrollBack.label:	Scroll backward
*allPost.label:		Post
*allPostAndMail.label:	Post & Mail
*allMail.label:		Send Mail

*artQuit.label:		Quit
*artNext.label:		Next
*artCurrent.label:		Current
*artUp.label:		Up index line
*artDown.label:		Down index line
*artScroll.label:		Scroll forward
*artScrollBack.label:	Scroll backward
*artScrollLine.label:	Scroll line forward
*artScrollBackLine.label:	Scroll line backward
*artScrollEnd.label:	Scroll to end
*artScrollBeginning.label:	Scroll to beginning
*artScrollIndex.label:	Scroll index
*artScrollIndexBack.label:	Scroll index backward
*artNextUnread.label:	Next unread
*artPrev.label:		Prev
*artLast.label:		Last
*artNextGroup.label:	Next group
*artGotoArticle.label:	Goto article
*artCatchUp.label:		Catch up
*artFedUp.label:		Fed up
*artMarkRead.label:		Mark read
*artMarkUnread.label:	Mark unread
*artUnsub.label:		Unsubscribe
*artSubNext.label:		Subject next
*artSubPrev.label:		Subject prev
*artKillSubject.label:	Subject kill
*artKillAuthor.label:	Author kill
*artSubSearch.label:	Subject search
*artContinue.label:		Continue
*artPost.label:		Post
*artPostAndMail.label:	Post & Mail
*artMail.label:		Send Mail
*artExit.label:		Exit
*artGripe.label:		Gripe
*artListOld.label:		List old
*artCheckPoint.label:	Checkpoint

*artSave.label:		Save
*artReply.label:		Reply
*artForward.label:		Forward
*artFollowup.label:		Followup
*artFollowupAndReply.label:	Followup & Reply
*artCancel.label:		Cancel
*artXlate.label:		Translate
*artRot13.label:		Rot-13
*artHeader.label:		Toggle header
*artPrint.label:		Print

*compAbort.label:		abort
*compSend.label:		send
*compSave.label:		save
*compIncludeArticle.label:	include article
*compIncludeFile.label:	include file

*Cancel*label:		Cancel Search

*CancelListOld*label:	Cancel

*Information.pane.label.showGrip:	False
*Information.pane.label.label:	Information (can be left up or dismissed)
*Information.pane.text.showGrip:	False
*Information.saveUnder:			False
*Information.geometry:			600x300
*Information.pane.text.displayCaret:	False
*Information.pane.text.scrollVertical:	always
*Information.pane.text.wrap:		word
*Information.pane.box.skipAdjust:	True
*Information*mesgDismiss.accelerators: #override \n\
	<Key>Linefeed: set() notify() unset() \n\
	<Key>Return: set() notify() unset()
*Information*mesgDismiss*label:	Dismiss
*Information*mesgClear*label:	Clear
!
! Color Information - user level app-defaults
!
#
xrn.newsrcFile:		~/.newsrc
!xrn.editorCommand:	xterm -e vi %s
!xrn.editorCommand:	xemacs %s
!xrn.editorCommand:	lemacs %s
!xrn.iconGeometry:	+64+521
xrn.Gripe.geometry:	+50+50
#
xrn*background:		gainsboro
xrn*foreground:		red
xrn*font:		9x15
xrn*border:		LightGray
#
#
xrn*breakLength:		0
xrn*Composition*Text*wrap:	never
xrn*Composition*Text*autoFill:	true
xrn*Composition.geometry:	660+0+0
*Composition.pane.text.scrollVertical:          always
*Composition.pane.text.wrap:                    word
#
xrn*Text*background:	DarkSlateGray
xrn*Text*foreground:	yellow
xrn*Text*Background:	DarkSlateGray
xrn*Text*Foreground:	yellow
#
xrn.vpane.index.thickness: 22
xrn.vpane.articleText.thickness: 10
#
xrn*Label.background:		powderblue
xrn*Label.foreground:		black
xrn*Label.font:			-adobe-times-bold-r-normal--14-140-75-75-p-77-iso8859-1

xrn*Command.foreground:		black
xrn*Command.background:		white
xrn*Command.font:		-adobe-times-bold-r-normal--14-140-75-75-p-77-iso8859-1
#
xrn*Box.ngQuit.foreground:	Black
xrn*Box.ngQuit.background:	red
xrn*Box.ngExit.foreground:	black
xrn*Box.ngExit.background:	orange
xrn*Box.ngRescan.foreground:	cyan
xrn*Box.ngRescan.background:	violet
xrn*Box.ngUnsub.foreground: green
xrn*Box.ngUnsub.background: blue
xrn*Box.ngSubscribe.foreground: blue
xrn*Box.ngSubscribe.background:	green
xrn*Box.ngCatchUp.background:	Yellow
xrn*Box.artCatchUp.background:	Yellow
xrn*Box.artFedUp.background:	Wheat
xrn*Box.artQuit.foreground:	Black
xrn*Box.artQuit.background:	red
xrn*Box.artSave.foreground:	NavyBlue
xrn*Box.artSave.background:	SpringGreen
xrn*Box.artNextUnread.font:	9x15
xrn*Box.addQuit.foreground:	Black
xrn*Box.addQuit.background:	red
xrn*Box.allQuit.foreground:	Black
xrn*Box.allQuit.background:	red
#
xrn*dialog*font:		-adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
xrn*dialog*background:		SpringGreen
xrn*dialog*foreground:		CornflowerBlue
xrn*dialog*Label.foreground:	NavyBlue
xrn*dialog*Command.foreground:	Black
xrn*dialog*Command.background:	yellow
xrn*dialog*Text.background:	Wheat
xrn*dialog*Text.foreground:	SteelBlue
xrn*dialog*borderWidth:		2
#
xrn.confirm:			ngCatchUp,artCatchUp
xrn.signatureFile:		~/.signature
xrn.deadLetters:		~/dead.letters
xrn.savePostings:		~/News
xrn.topLines:			9
xrn.saveMode:			mailbox,headers
xrn.minLines:			3
xrn.maxLines:			6
xrn.tmpDir:			/tmp
xrn.mailer:			/usr/lib/sendmail -oi -t
#

-- 
Steve Lodin - Delco Electronics - swlodin@delcoelect.com - (317)451-0479
The nice part about being a pessimist is that you're constantly being 
either proven right or pleasantly surprised.
                                        --George Will

Technical Details
Message-ID: <58ppsv$it5$1@kocrsv08.delcoelect.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <58ppsv$it5$1@kocrsv08.delcoelect.com>
Subject: xrn 8.03-beta17, SunOS 4.x, and key/mouse bindings problem
Date: Thu, 12 Dec 1996 00:00:00 +0000
From: swlodin@eng.delcoelect.com (Steve Lodin)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 203764801
Organization: Delco Electronics Corp.
Newsgroups: news.software.readers
Originator: swlodin@kocrsw26