On Wed, 2006-09-27 at 14:20 -0400, Alan Altmark wrote: > On Wednesday, 09/27/2006 at 12:48 AST, "Morris, Kevin J. (LNG-DAY)" > > Is there a way to let zVM know that this is a password field similar to > > when you are logging on to zVM or using the VM-FTP Client? > > Yes, the function is there in the underlying z/VM device support (3215 > opcode 0x0E), but the con3215 driver in Linux doesn't appear to issue it. > I imagine there would have to be termios (?) and ioctl() changes to the > driver of some sort to support some type of NOECHO specification.
I tried to use opcode 0x0e to do password suppression in the 3215 driver but found out the hard way that it doesn't work. To suppress the output on a 3215 device you need to have a pending 0x0e read. The read will sit there until the user pressed the attention key. If in the meantime the console has to print a new message, the read needs to be stopped, followed by the write for the message and then the read needs to be started again. Consider my surprise when I found that a halt-subchannel on the 3215 device did not work .. it is not implemented in the 3215 emulation. -- blue skies, Martin. Martin Schwidefsky Linux for zSeries Development & Services IBM Deutschland Entwicklung GmbH "Reality continues to ruin my life." - Calvin. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
