You are not logged in. Login Now
 0-24   25-49   50-74   75-99   100      
 
Author Message
sjg
Help Logging Out? Mark Unseen   Feb 18 03:40 UTC 1993

A question...  many times I type Unix, because I want to read news.
That works fine...but I can never quit after I finish.  I try logout
then it says, to try quit so finally I just disconnect the modem.
how am I really supposed to do it?

100 responses total.
tsty
response 1 of 100: Mark Unseen   Feb 18 06:15 UTC 1993

At the login:    prompt, type     bye     and off you go, bye-bye, it's
a process.
davel
response 2 of 100: Mark Unseen   Feb 18 10:59 UTC 1993

At the login prompt, any of the following should userids should execute
a program to disconnect the modem: bye  exit  hangup  quit

Susan, if you're at a Unix shell prompt the exit command is    exit
You can also do a control-D from that point.
popcorn
response 3 of 100: Mark Unseen   Feb 21 17:45 UTC 1993

This response has been erased.

cybrspce
response 4 of 100: Mark Unseen   Apr 20 08:48 UTC 1994

I have been having a problem logging out at my UNIX prompt. It gives me
a not in login shell...so I end up going to menu and L. I would like for 
someone to look at it and maybe get it right...or tell me what to do..
I love learning more. ;)  tnx again!
remmers
response 5 of 100: Mark Unseen   Apr 20 12:04 UTC 1994

Sounds like somehow you ran a shell from some other program.  Try
typing "exit" instead of "logout", and see where it gets you.
rcurl
response 6 of 100: Mark Unseen   Apr 20 13:47 UTC 1994

Or,  "quit"?
kentn
response 7 of 100: Mark Unseen   Apr 20 14:21 UTC 1994

Find out the process number of that shell and 'kill' it. How about
Control-D?  Won't that kill a shell (I know it kills a login shell).
cybrspce
response 8 of 100: Mark Unseen   Apr 20 17:15 UTC 1994

Ok..the only suggestion that was made here I didnt try was ^D...maybe that will
help me.  Thanks again....Yall (southerner ya know) are the best to help ;)
omni
response 9 of 100: Mark Unseen   Apr 20 19:39 UTC 1994

   I had that problem, and how I solved it, was that I created a command
that would exit from the shell. I have two, actually. "a" is my logout
and "e" is my exit command.

  You have to be running .csh to get away with this, but you would need
to to  add

       alias e exit
       alias a logout

to your .cshrc file. This works very well for me.

  Since running MacLayers I usually have to invoke both of these commands
to exit, and with Zterm, only 1 is needed.

Hope that helps you.
popcorn
response 10 of 100: Mark Unseen   Apr 20 23:56 UTC 1994

This response has been erased.

remmers
response 11 of 100: Mark Unseen   Apr 21 00:58 UTC 1994

(Wheels within wheels within wheels...)
cybrspce
response 12 of 100: Mark Unseen   Apr 21 02:28 UTC 1994

omni yeah I amde those alises ...but popcorn was right I was in UNIX shell
but not the right one. I got online help and the problem was solved.
Thank ya both for responding. Don't know if I would make it thru these
times without everyones Grex Wisdom! ;)   err..1st line amde = made
omni
response 13 of 100: Mark Unseen   Apr 21 04:49 UTC 1994

 That's why I read this conference. Feel free to ask as many questions
as you need.
tsty
response 14 of 100: Mark Unseen   Apr 21 21:59 UTC 1994

And then there is always the tried and true .... stty 0    which
has an immediate effect.
srw
response 15 of 100: Mark Unseen   Apr 22 06:02 UTC 1994

Which is roughly equivalent to the power switch on your modem.
davel
response 16 of 100: Mark Unseen   Apr 22 09:44 UTC 1994

Not if you have an internal modem - in which case the power switch is
the power switch for your computer.  (**Why** don't they put an external
switch on internal modems?)
srw
response 17 of 100: Mark Unseen   Apr 22 19:41 UTC 1994

Good point, Dave. stty 0 is roughly equivalent to unplugging your phone cord.
popcorn
response 18 of 100: Mark Unseen   Apr 23 11:19 UTC 1994

This response has been erased.

rcurl
response 19 of 100: Mark Unseen   Apr 23 21:36 UTC 1994

*Another* reason why I don't have a computer with an internal modem.
tsty
response 20 of 100: Mark Unseen   Apr 30 19:19 UTC 1994

Good old tried and true ... it even works with a bang if necessary, !stty 0.
  
Might be rude and crude, but so's chopping fire wood with a single-bitted axe.
dam
response 21 of 100: Mark Unseen   Apr 30 20:58 UTC 1994

this looks like a good place to ask this - 
  since "exec stty 0" in a .logout hangs up the phone, but hangs up your
  internet link if you are on a ttypX, I was told that "stty hupcl" will
  work, as that means 'hang up on close' according to what I understand.
now, what I don't understand, is why it usually doesn't work.  I have that
in my .logout, but in only one time in 10 or so will I get hung up on.
the rest of the time Iwill end up at the login prompt. 
so, I guess I'd like to know either 1) what I'm doing wrong or 2) a simple
one-line "if" structure or something that will do an "exec stty 0" only if
I am on a dialup.
tsty
response 22 of 100: Mark Unseen   May 25 19:45 UTC 1994

any word here ???????
popcorn
response 23 of 100: Mark Unseen   May 26 02:18 UTC 1994

This response has been erased.

kentn
response 24 of 100: Mark Unseen   May 26 03:51 UTC 1994

Don't know.  I always lets grex hang up on me whether I'm telnetting
or dialing in.  I just "logout" and let the system do the rest (with
the exception of having to type "bye" at the login prompt when dialing
in).  I suppose you could look at a finger output and test whether
you're on an "h" tty or a "p" tty and only do an "stty 0" in the former
case.   Something along the lines of "finger -fs mylogin | awk {print $4}"
could be used to pick out the TTY field of the finger output.  You'd
use that to set a shell variable and then test if the variable had an
"h" or a "p" or "q" and proceed accordingly.  Well...just an idea.  I'll
let those shell script wizards make it workable...

 0-24   25-49   50-74   75-99   100      
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss