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

Re: Hangup command

Brandon Saunders brandon.a.saunders.1@ohio.edu
Fri, 25 Apr 2003 13:24:13 -0700 (PDT)


Bryan,

Thank you.  I made that change and it appears to be working as you 
indicated.

Brandon

--On Thursday, April 24, 2003 02:20:07 PM -0700 Bryan Stansell 
<bryan@conserver.com> wrote:

> since that was less than helpful, i'll mention that to actually modify
> the source all you should have to do is edit conserver/consent.c and
> "fix" the parity[] array.  basically, you have a list of {symbol, flags
> that get set, flags that get cleared} tuples.  just add 'HUPCL' to the
> 'flags that get set' part of any symbols you'd like to use.  so, as an
> example, you'll see:
>
>     {'n', CS8, 0}
>
> you'll want to make that
>
>     {'n', CS8 | HUPCL, 0}
>
> and you'll want to do that for the other ones in the list as well,
> probably.  that list is really two lists, one for termios systems and
> one for termio systems.  this pointer should work for the termios
> systems and part of the list (the #if HAVE_TERMIOS_H section).  i
> haven't looked into the termio piece since i'm assuming most folks have
> termios-based systems.
>
> and if you really wanted to get crazy you could create a new symbol and
> use that in the config file for consoles you want to have HUPCL take
> effect and the original symbols for non-HUPCL consoles.  anyway, i hope
> this is enough to get you going and have things work.  if you run into
> problems or have questions, feel free to post to the list or send me
> email directly.
>
> Bryan
>
> On Thu, Apr 24, 2003 at 03:08:03PM -0400, Christopher Fowler wrote:
>> Modify the source
>>
>>
>> On Thu, 2003-04-24 at 14:46, Brandon Saunders wrote:
>> > I have finally gotten back around to this problem.  Thanks to those
>> > who  responded to my original message, the comments were helpful.
>> >
>> > I have found that the open and close will work, but only if I manually
>> > set  the hupcl option with stty.  Conserv appears to be rewriting the
>> > stty  config on each open and does not set hupcl.  Does anyone have
>> > any  suggestions for making that change permanent?
>> >
>> > Thank You
>> >
>> > Brandon Saunders
>> > Senior Network Engineer
>> > Ohio University Communication Network Services
>> > Email: brandon.a.saunders.1@ohiou.edu
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users



PGP signature