Use the raw buffer in tr command structure for editing.

This fixes some minor bugs. Unknown words are no longer truncated
nor uppercased on echo.
This commit is contained in:
Eric S. Raymond 2017-07-03 12:52:28 -04:00
parent 854e21a1af
commit a768555312
13 changed files with 40 additions and 26 deletions

View file

@ -251,7 +251,7 @@ Nothing happens.
> find bar
Sorry, I don't know the word "BAR".
Sorry, I don't know the word "bar".
> carry
@ -388,7 +388,7 @@ you come to it. To get the full description, say "look".
> frob grate
Sorry, I don't know the word "FROB".
Sorry, I don't know the word "frob".
> read grate

View file

@ -617,7 +617,7 @@ A formidable ogre bars the northern exit.
> attack
Attac what?
Attack what?
> kill ogre
@ -1606,7 +1606,7 @@ You can't carry anything more. You'll have to drop something first.
> pour bottle
Bottl what?
Bottle what?
> n

View file

@ -208,7 +208,7 @@ OK
> ew
Sorry, I don't know the word "EW".
Sorry, I don't know the word "ew".
> w

View file

@ -10,19 +10,19 @@ down a gully.
i
Sorry, I don't know the word "I".
Sorry, I don't know the word "i".
l
Sorry, I don't know the word "L".
Sorry, I don't know the word "l".
x
Sorry, I don't know the word "X".
Sorry, I don't know the word "x".
z
Sorry, I don't know the word "Z".
Sorry, I don't know the word "z".
quit

View file

@ -2021,7 +2021,7 @@ The urn is now dark.
> extinguish
Extin what?
Extinguish what?
> look

View file

@ -298,7 +298,7 @@ section of wall, revealing a dark passage leading south.
> attack
Attac what?
Attack what?
> attack machine

View file

@ -162,11 +162,11 @@ Wake what?
> quit nagging
Sorry, I don't know the word "NAGGI".
Sorry, I don't know the word "nagging".
> nothing doing
Sorry, I don't know the word "DOING".
Sorry, I don't know the word "doing".
> e