aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/rwho
Commit message (Collapse)AuthorAgeFilesLines
* Change ctime to strftime %c to use national date/time representation.Andrey A. Chernov1995-08-081-3/+5
| | | | Notes: svn path=/head/; revision=9992
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8874
* My prevoius commit missed some things. The out_line didn't needAndreas Schulz1994-12-271-2/+3
| | | | | | | | | | | | | to be padded to 8 chars. Simply make sure that never more than 8 chars are printed ( %-.8s ). The former commit otherwise hosed the width calculation and landed on different positions for the time output. Also the strlen(xx_out_line) hoses the wide calculation, so that it sometimes make it much larger than necessary. Simply use always 8 chars for the out_line calculation now. Looks good this way. Notes: svn path=/head/; revision=5239
* The out_line doesn't need to be zero terminated, so print it not with %sAndreas Schulz1994-12-261-1/+1
| | | | | | | | but with a %-8.8s instead. this prevents funny output, if the out_line contains a long hostname that is larger than 8 chars. Notes: svn path=/head/; revision=5235
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-273-0/+269
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590