Skip to contentSkip to conversation

More problem in pre-R5

DISCUSSION Martin Costabel 2 participants 7 messages Mar 4, 1999 – Mar 6, 1999

lore
Share & tools
lore
#0 lore raw

Hi,

I observed the following bug in the "more" program in pre-R5:
If I type "/" to do an expression search, then what I type after the "/" is invisible, like when you type passwords. I can type blindly, and the search works, but this is kind of annoying.

Does anyone else see this?

I might add that this problem does not appear if I use "less" instead of "more". I tried several versions of util-linux, the latest being util-linux-2.9h-9a. The problem stays the same. I haven't seen it in R4.

Any ideas?

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]

#1 lore raw
Quoted 1 line · Martin Costabel

Does anyone else see this?

used to. Upgrade ncurses as well.

---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#2 lore raw
Quoted 6 lines · Tom Rini
Quoted 1 line · Martin Costabel

Does anyone else see this?

used to. Upgrade ncurses as well.

Thanks. Just upgraded; still doesn't work. What version of ncurses is recommended?

root[272]#rpm -qa |grep ncur
ncurses3-1.9.9e-8
ncurses-devel-4.2-12a
ncurses-4.2-12a

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#3 lore raw
Quoted 10 lines · Martin Costabel
Quoted 6 lines · Tom Rini
Quoted 1 line · Martin Costabel

Does anyone else see this?

used to. Upgrade ncurses as well.

Thanks. Just upgraded; still doesn't work. What version of ncurses is recommended?

Gimmie a few.. <g> I'm looking at a few things now.

---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#4 lore raw
Quoted 6 lines · Tom Rini
Quoted 4 lines · Martin Costabel
Quoted 3 lines · Tom Rini

On Thu, 4 Mar 1999, Martin Costabel wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Does anyone else see this?

used to. Upgrade ncurses as well.

Thanks. Just upgraded; still doesn't work. What version of ncurses is recommended?

Gimmie a few.. <g> I'm looking at a few things now.

It's been a few, fix found. For those of you that just can't wait/use less, grab util-linux 2.9i and change HAVE_SHADOW=yes to no (current behavior) and build.

---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#5 lore raw

Thanks for the hint. It is working now. So, if anyone else is listening:
It finally was just this little typo in more.c:

text-utils/more.c Thu Jan 28 16:11:00 1999 renamed from text-utils/more.c Tue Jan 26 01:09:08 1999 +1 -1
@@ -1800,7 +1800,7 @@
 
 void errwrite1 (char *sym)
 {
-    write (fileno(stderr), &sym, 1);
+    write (fileno(stderr), sym, 1);
 }
 
 void error (char *mess)

I didn't yet have the courage to compile the whole util-linux-2.9i.tar.gz, considering that the 2.9h.src.rpm contains plenty of patches and the 2.9h spec together with the 2.9i.tar.gz didn't want to build.
Or is there a util-linux-2.9i.src.rpm around?

--
Martin

Quoted 18 lines · Tom Rini
Quoted 6 lines · Tom Rini
Quoted 4 lines · Martin Costabel
Quoted 3 lines · Tom Rini

On Thu, 4 Mar 1999, Martin Costabel wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Does anyone else see this?

used to. Upgrade ncurses as well.

Thanks. Just upgraded; still doesn't work. What version of ncurses is recommended?

Gimmie a few.. <g> I'm looking at a few things now.

Quoted 7 lines

It's been a few, fix found. For those of you that just can't wait/use less, grab util-linux 2.9i and change HAVE_SHADOW=yes to no (current behavior) and build.

---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#6 lore raw
Quoted 2 lines · Martin Costabel

Thanks for the hint. It is working now. So, if anyone else is listening:
It finally was just this little typo in more.c:

[snip]

Neat. Was gonna look for things like that if 2.9i didn't work

Quoted 1 line

Or is there a util-linux-2.9i.src.rpm around?

next time mirrors are run.

---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]