Re: On "write" command

2011-01-31 Thread Corinna Vinschen
On Jan 31 13:28, Dave Korn wrote: > I still think that utmp_data macro is going to return > &utmp_data_buf[nutdbuf] at some point, though. Shouldn't it be "if (utix >= > nutdbuf)"? Indeed. Thanks for catching. I fixed it in CVS. Corinna -- Corinna Vinschen Please, send ma

Re: On "write" command

2011-01-31 Thread Dave Korn
On 31/01/2011 11:49, Corinna Vinschen wrote: > The utmp file is in the old utmp format for backward compatibility. The > utx functions are available and return a ut_tv field, but it's just > extracted from the utmp ut_time field at function call time. The right > thing to do for write is to have

Re: On "write" command

2011-01-31 Thread Corinna Vinschen
On Jan 31 11:54, Dave Korn wrote: > On 31/01/2011 01:52, Larry Hall (Cygwin) wrote: > > No, that's the correct place to search. If it's not showing up, none of > > the current packages provide 'write'. > > It's part of util-linux, but it's configured out of the build on Cygwin, > because it rel

Re: On "write" command

2011-01-31 Thread Dave Korn
On 31/01/2011 01:52, Larry Hall (Cygwin) wrote: > On 1/29/2011 8:20 AM, Angelo Graziosi wrote: >> I would ask if on Cygwin I can use the 'write' command: >> >> write - send a message to another user >> >> $ write USER [ttyname] >> >> I remember I have used it some years ago, but not remember if it

Re: On "write" command

2011-01-30 Thread Daniel Colascione
On 1/29/11 5:20 AM, Angelo Graziosi wrote: > I would ask if on Cygwin I can use the 'write' command: > > write - send a message to another user > > $ write USER [ttyname] > > I remember I have used it some years ago, but not remember if it was on > GNU/Linux or Cygwin. > > I did a research on h

Re: On "write" command

2011-01-30 Thread Larry Hall (Cygwin)
On 1/29/2011 8:20 AM, Angelo Graziosi wrote: I would ask if on Cygwin I can use the 'write' command: write - send a message to another user $ write USER [ttyname] I remember I have used it some years ago, but not remember if it was on GNU/Linux or Cygwin. I did a research on http://cygwin.com

On "write" command

2011-01-29 Thread Angelo Graziosi
I would ask if on Cygwin I can use the 'write' command: write - send a message to another user $ write USER [ttyname] I remember I have used it some years ago, but not remember if it was on GNU/Linux or Cygwin. I did a research on http://cygwin.com/packages and didn't find it, but perhaps I