getc in /bin/sh....

getc in /bin/sh....

Post by David Stabl » Sat, 26 Mar 1994 04:36:38



Okay....i've seen this done before....I want a user to be able to
press any key, record the results of that key, and act accordingly.

Thus,

press a key:
you pressed: a

would be sufficient for a test to do what I want....
--
d. stabler, sysad and student, phone dude and t1 manager

--
David R. Stabler, CS Major, Southern College of Technology, Marietta, Ga.

 
 
 

1. #!/bin/sh #!/usr/bin/sh can I do both for 2 diff machines

I'd like the same script to run on 2 different machines, Hp and Sun.
The problem is that sh resides in different directories.  Is there
a way to have exec look in two places?

P.S.  No, I don't have write access to /usr/bin, or /bin

Any help appreciated,

John
--
_________________________________________________________________
Office phone: 503-737-5583 (Batcheller 349);home: 503-757-8772
Office mail:  303 Dearborn Hall, OSU, Corvallis, OR  97331
_________________________________________________________________

2. gtk callback

3. more secure?: "#!/bin/sh -" or "#!/bin/sh"

4. Where do I find the newest libraries?

5. Q: Sendmail Bug using From: |/bin/tail|/bin/sh

6. vgalib troubles

7. executing /bin/sh script in a /bin/csh login

8. Multiple Monitors

9. % /bin/sh -c /bin/ls -l -R ???

10. re : /bin/sh:/bin/tar:0403-027:parameter list is too long

11. /bin/sh:/bin/tar:0403-027:parameter list is too long

12. /bin/sh, /bin/ksh crash with SIGSEGV with a huge script

13. /bin/sh -> /usr/local/bin/bash won't boot