### Key Observations from the Manual:
1. **Multiple Logging Options**: The new version supports separate logging of input and output streams with timing information.
2. **Timing File Formats**: There are now two timing file formats - classic and advanced (multi-stream).
3. **Default Behavior Changes**: The default behavior has changed, especially regarding input logging.
### Recommended Solutions:
1. **Use the Classic Format Explicitly**:
```bash
script --logging-format=classic s.log
# Run your commands
exit
scriptreplay s.log
```
2. **Try the New Multi-Stream Format**:
```bash
script --logging-format=advanced --log-io s.log
# Run your commands
exit
scriptreplay s.log
```
3. **Use Separate Input/Output Logging**:
```bash
script --log-out=s.out --log-in=s.in --log-timing=s.timing
# Run your commands
exit
scriptreplay --summary s.timing
```
4. **Check for Version Compatibility**:
```bash
script --version
scriptreplay --version
```
If they're different versions, you might need to update both.
### Debugging Steps:
1. **Verify File Creation**:
```bash
script --log-out=s.out --log-in=s.in --log-timing=s.timing
echo "test"
exit
ls -l s.out s.in s.timing
```
2. **Check File Contents**:
```bash
file s.out s.in s.timing
```
They should not be regular text files.
3. **Try the Summary Option**:
```bash
scriptreplay --summary s.timing
```
### Alternative Approach:
If you're still having issues, you might want to try an older version of `script` that's more compatible with `scriptreplay`. You could:
1. Check if you have an older version available in your package manager
2. Download and compile an older version from source
3. Use a container with an older Linux distribution