[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/lp0



On Tuesday 02 Sep 2003 10:39, Russell Shaw wrote:
> Hi,
> When i do: cp test.txt /dev/lp0
> shouldn't it blindly copy the text
> to the port and return immediately?
> (it hangs)

Its a character device so it will block while it is processing each charcter. 
If there is no device responding it will therfore block forever i believe.

Tom

-- 
 ^__^               Tom Badran
 (oo)\______        Imperial College
(__)\       )\/\    
    ||----w |       
    ||     ||       Using Debian SID



Reply to: