🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4276

uppercase answers to Pnews questions

#4276
From: Guy Middleton
Date: Wed, 09 Jun 1993 17:08
63 lines
1838 bytes
I think Pnews should accept uppercase answers to the

	Check spelling, Send, Abort, Edit, or List?

question, especially since the keywords are capitalized in the question
itself.

*** 1.1	1993/06/09 16:32:52
--- Pnews.SH	1993/06/09 16:35:37
***************
*** 392,401 ****
  	read ans
  	
  	case "$ans" in
! 	a*)
  	    state=rescue
  	    ;;
! 	e*)
  	    set $ans
  	    case $# in
  	    2)  VISUAL="$2" ;;
--- 392,401 ----
  	read ans
  	
  	case "$ans" in
! 	[aA]*)
  	    state=rescue
  	    ;;
! 	[eE]*)
  	    set $ans
  	    case $# in
  	    2)  VISUAL="$2" ;;
***************
*** 402,415 ****
  	    esac
  	    state=edit
  	    ;;
! 	l*)
  	    $pager $tmpart
  	    state=ask
  	    ;;
! 	s*)
  	    state=send
  	    ;;
! 	c*)
  	    $speller $tmpart
  	    state=ask
  	    ;;
--- 402,415 ----
  	    esac
  	    state=edit
  	    ;;
! 	[lL]*)
  	    $pager $tmpart
  	    state=ask
  	    ;;
! 	[sS]*)
  	    state=send
  	    ;;
! 	[cC]*)
  	    $speller $tmpart
  	    state=ask
  	    ;;
Technical Details
Message-ID: <C8D6AA.E37@math.uwaterloo.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!utnut!torn!watserv2.uwaterloo.ca!watmath!gamiddle
References: <C866H1.7ur@borland.com>

Show Full Headers
Complete Article Headers
Message-ID: <C8D6AA.E37@math.uwaterloo.ca>
Subject: uppercase answers to Pnews questions
Date: Wed, 9 Jun 1993 17:08:31 GMT
From: gamiddle@math.uwaterloo.ca (Guy Middleton)
References: <C866H1.7ur@borland.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!utnut!torn!watserv2.uwaterloo.ca!watmath!gamiddle
Newsgroups: news.software.readers,news.software.nntp
Keywords: trn 3.0 ftp overview NOV XOVER thread mthreads
Sender: news@math.uwaterloo.ca (News Owner)
Organization: University of Waterloo Software Liberation Army
Lines: 65