both vi and vim hang when I type CTRL-X,CTRL-S

2000-06-07 Thread Wan Hing Wah
Hello, When I am using vi,I careless type the emacs Hotkey for saving file..(CTRL-X,CTRL-S)..But then the vi hang... I first think is it related to X Windows so I goto the console and try vi again...but still hang too and the terminal freeze.. I need to kill the vi and bash to make it

Re: both vi and vim hang when I type CTRL-X,CTRL-S

2000-06-07 Thread Wan Hing Wah
On Wed, 7 Jun 2000, Saisanthosh Balakrishnan wrote: When I am using vi,I careless type the emacs Hotkey for saving file. (CTRL-X,CTRL-S). But then the vi hang. Scroll Lock is turned on when you press Ctrl-S. Switch it off. -- saisanthosh NO..the scrolllock led havn't turned

Re: What happen if two host forward email to each other?

2000-06-05 Thread Wan Hing Wah
What if some crackers try to send large amount of email to hang the system? On Mon, 5 Jun 2000, Ron Rademaker wrote: They'll send mail to each other all the time. Ron Rademaker On Tue, 6 Jun 2000, hingwah wrote: For example,a user have a username of foo in 2 host,host1 and

about X Windows Programming

2000-06-02 Thread Wan Hing Wah
Does the X Windows have a parent window-child windows concept? What I mean is like in windows.. In a program,there can be a parent windows having a title bar... and within the windows there can be several windows ,having a title bar too .An Example is just like PhotoShop...when you open several

RE: about X Windows Programming

2000-06-02 Thread Wan Hing Wah
On Fri, 2 Jun 2000, Mark wrote: Hello Wan. Do you mean : ? Does X Windows have MDI forms? (MDI= Multiple Document Interface), in a sense that when you maximize one of the child windows it only covers the area ocupied by the parent (the MDI form). As in windows all widgets and windows

Check whether the user is local user

2000-05-24 Thread Wan Hing Wah
Is it any method that I can check whether the user is a local user (that mean use the computer by sitting in front of the computer physically).It maybe useful so that I can make a program which is setuid to root and check whether the user is local and grant permission to some physical device...

Re: Check whether the user is local user

2000-05-24 Thread Wan Hing Wah
On Wed, 24 May 2000, Oswald Buddenhagen wrote: Is it any method that I can check whether the user is a local user try man utmp. for scripts: the output of who has a non-empty last field, if the user is non-local. however, this may vary from configuration to configuration. -- Hi!