Live data from Hacker News

IBM 5160

forsure.dev

1–10 of 27 posts

Re: IBM 5160

#2
“No HISTORY. You can repeat the last command by pressing the right-arrow“

IIRC, there’s some limited command line editing support using the function keys. You can also get command line history using https://en.wikipedia.org/wiki/DOSKEY (if your DOS has it)

“So figuring out the available commands is using a lot of DIR .EXE's and DIR .COM's.”

Try

  C:\> DIR | MORE
(Alternatively, redirect the output to a file and use an editor. I think your DOS has edit.exe, but EDLIN is the true way)

Re: IBM 5160

#3
post #2

“No HISTORY. You can repeat the last command by pressing the right-arrow“ IIRC, there’s some limited command line editing support using the function keys. You can also get command line history using https://en.wikipedia.org/wiki/DOSKEY (if your DOS has it) “So figuring out the available commands is using a lot of DIR .EXE's and DIR .COM's.” Try C:\> DIR | MORE (Alternatively, redirect the output to a file and use an…

[deleted]

Re: IBM 5160

#4
No $PATH, but there is %PATH%.

Also, installing dos stuff in C:\DOS is what people generally did. I'm pretty sure it could be anywhere in the path.

Re: IBM 5160

#6
post #4

No $PATH, but there is %PATH%. Also, installing dos stuff in C:\DOS is what people generally did. I'm pretty sure it could be anywhere in the path.

I remember there being a PATH setting in either autoexec.bat or config.sys

Re: IBM 5160

#7
> The executables are located in C:\DOS (or c:\dos, because DOS don’t care about casing)

Somewhat true. IIRC, DOS changes all path input to uppercase and tries to find a file/directory which is labelled in uppercase. If some program manages to create a file which has a lowercase character in its name (for example FOo.TXT), you can't touch it with for example DEL, because DEL FOo.TXT would be converted to DEL FOO.TXT, and DOS would complain there is no FOO.TXT...

Re: IBM 5160

#9
Jesus that last picture. I absolutely love and hate it! I have the luggable version of the XT, but sadly no disks for it. I do have a semi-cursed idea to bootstrap it using a modern PC, the serial port, and a machine code program poked in via the ROM BASIC, but its been backlogged for a while.

Something else neat, the manual for these have the BIOS source listed.

Re: IBM 5160

#10
post #5

Hmm, if I were to get a computer from my birth year, it looks like this would be the only option (or perhaps some big iron of slightly older vintage). https://en.wikipedia.org/wiki/Hewlett-Packard_9100A

Thankfully, three tiny vendors -- called Apple, Tandy, and Commodore -- all released machines in my birth year.
Post reply on HN