Dear all :
i have use script to record console output to a txt file(test.txt). when i use gedit open test.txt. the display in below with a unread word.
any one can tell me how to modify the gedit to display normal ? thanks ...
i have use script to record console output to a txt file(test.txt). when i use gedit open test.txt. the display in below with a unread word.
Code:
Script started on Wed Aug 21 15:12:18 2024
game@fb14:~/download $
[23Cqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
[23Cmpv --vo=tct videoBG.17363418b3c2246a0e27.mp4[K
[34C[P
[33C[P
[32C[P
[32C[4hd[4l
[33C[4hr[4l
[34C[4hm[4l
=[0m (+) Video --vid=1 (*) (h264 1920x1080 30.000fps)
[0m[0;31m[vo/drm/drm] VT_GETMODE failed: Inappropriate ioctl for device
[0m[0;33m[vo/drm/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[0m[0;31m[vo/drm/drm] No primary DRM device could be picked!
[0m[0;31m[vo/drm/drm] Failed to find a usable DRM primary node!
[0m[1;31mError opening/initializing the selected video_out (--vo) device.
[0m[0mVideo: no video
[0m[1;31mNo video or audio streams selected.
[0m[0mExiting... (Errors when loading file)
[0m>game@fb14:~/download $ q
but , when i use cat test.txt in console , that will display right .
Script started on Wed Aug 21 15:12:18 2024
game@fb14:~/download $ mpv --vo=drm videoBG.17363418b3c2246a0e27.mp4
(+) Video --vid=1 (*) (h264 1920x1080 30.000fps)
[vo/drm/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/drm/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/drm/drm] No primary DRM device could be picked!
[vo/drm/drm] Failed to find a usable DRM primary node!
Error opening/initializing the selected video_out (--vo) device.
Video: no video
No video or audio streams selected.
Exiting... (Errors when loading file)
game@fb14:~/download $ q