Re: cu: loop over cua00-09+cuaU0-U9

2018-01-09 Thread Theo de Raadt
You want to connect to the next available port? yeah, and I'll work up a diff so that newfs without any arguements initializes the next partition. The concept is ridiculous. > On Tue, Jan 09, 2018 at 01:44:04PM -0700, Theo de Raadt wrote: > > No way. > > > > No justification provided for anyone

Re: cu: loop over cua00-09+cuaU0-U9

2018-01-09 Thread Artturi Alm
On Tue, Jan 09, 2018 at 01:44:04PM -0700, Theo de Raadt wrote: > No way. > > No justification provided for anyone to want this feature. > Np, this is just what i want this for: ucom0 at uchcom0 ucom1 at uplcom0 ucom2 at uslcom0 portno 0 ucom3 at uftdi0 portno 1 ucom4 at uftdi1 portno 1 ucom5 at

Re: cu: loop over cua00-09+cuaU0-U9

2018-01-09 Thread Theo de Raadt
No way. No justification provided for anyone to want this feature. > maybe someone else does find this usable :) > will loop to find the first available cua line unless -r or line_path > chosen before open(), so this does not really change the mostly > expected behaviour i can think of; only does

cu: loop over cua00-09+cuaU0-U9

2018-01-09 Thread Artturi Alm
Hi, maybe someone else does find this usable :) will loop to find the first available cua line unless -r or line_path chosen before open(), so this does not really change the mostly expected behaviour i can think of; only does make cua00 little less special. -Artturi diff --git a/usr.bin/cu/cu.