Post Reply 
Sharp PC-G850VS EOF?
09-20-2018, 07:43 AM
Post: #3
RE: Sharp PC-G850VS EOF?
(09-20-2018 02:41 AM)rprosperi Wrote:  
(09-19-2018 04:25 PM)toml_12953 Wrote:  Many C programs use getchar in a loop that's exited by an EOF signal. I don't see how to generate that on the PC-G850VS if it's even possible at all. Does anyone know how to signal EOF to a running C program on the PC-G850VS?

You're really stressing some of the (really) old memory banks...

Try Ctrl-Z. This was often used back in the DOS days.

It may also help to know most of the guys in the Sharp Engineering Dept that developed the pocket computers were Unix guys.

If Ctrl-Z doesn't work, and the Unix guys had some influence, try Ctrl-D (ASCII EOT) as that was the default terminal character to signal EOF when typed at the start of a line on a terminal.

I guess the 'Ctrl' key is the one marked 'カナ' ('KAN' in katakana)?

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Sharp PC-G850VS EOF? - toml_12953 - 09-19-2018, 04:25 PM
RE: Sharp PC-G850VS EOF? - rprosperi - 09-20-2018, 02:41 AM
RE: Sharp PC-G850VS EOF? - ijabbott - 09-20-2018 07:43 AM
RE: Sharp PC-G850VS EOF? - ijabbott - 09-20-2018, 05:14 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 05:44 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 07:55 PM
RE: Sharp PC-G850VS EOF? - Zaphod - 09-20-2018, 08:26 PM
RE: Sharp PC-G850VS EOF? - jwhsu - 09-20-2018, 01:09 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 02:23 PM
RE: Sharp PC-G850VS EOF? - rprosperi - 09-20-2018, 02:59 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 05:06 PM
RE: Sharp PC-G850VS EOF? - jwhsu - 09-20-2018, 03:04 PM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 05:42 PM
RE: Sharp PC-G850VS EOF? - Zaphod - 09-20-2018, 11:18 AM
RE: Sharp PC-G850VS EOF? - toml_12953 - 09-20-2018, 12:41 PM
RE: Sharp PC-G850VS EOF? - Zaphod - 09-20-2018, 04:13 PM
RE: Sharp PC-G850VS EOF? - rprosperi - 09-20-2018, 06:06 PM



User(s) browsing this thread: 1 Guest(s)