Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-01-2005, 04:54 AM   #1
LQ Newbie
Registered: Jan 2005
Location: Manitoba, Canada
Distribution: SUSE Personal 9.1
Posts: 23

Rep: Reputation: 15
xterm will not produce output with -lf parameter

xterm will not produce an output file of any of its sessions even if I specify the -lf parameter. I have no idea why it is behaving like this. The reason I need xterm to produce output to a file is because a program I am using, BSVC 68000 Simulator, opens up xterm and spits out any 68000 simulated output to the terminal. The setup file for BSVC specifies that xterm be called in a certain way:
BSVC Simulator Setup File

SIMULATOR {sim68000}
COMMAND {AttachDevice 0 RAM {BaseAddress = 0 Size = 100000}}
COMMAND {AttachDevice 0 M68681 {BaseAddress = effc00 OffsetToFirstRegister = 1 OffsetBetweenRegisters = 2 InterruptLevel = 4 PortAStandardInputOutputFlag = 0 PortBStandardInputOutputFlag = 0 PortACommand = xterm -T "M68681 Port A" -132 -sb -sl 100 -l -lf "68kout.txt" -e xtermpipe PortBCommand = }}
I have tried messing around with the setup file to see some results but was unsuccessful. I have even tried running xterm independenly from konsole and still no output. If anyone can give me some insight on how to get output from xterm that would be great because I need BSVC for a course in assembly language. Thanks in advance!
Old 03-02-2005, 03:03 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
You may have to recompile xterm ... most distro's will have
recording NOT compiled in for security reason.

Alternatively you can try to use script (man script for details)
to capture the session ...

Old 03-06-2005, 03:12 AM   #3
LQ Newbie
Registered: Jan 2005
Location: Manitoba, Canada
Distribution: SUSE Personal 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for the tip! I'll try and find a way to recompile xterm. FYI, script will not work for me as it appears that it cannot capture an xterm session that specifies -e xtermpipe as a parameter. This parameter is required for BSVC to display its output via xterm.

On a side note, I may not want to recompile xterm to log console output because I read that there is a security leak with respect to logging that allows any user to gain access to the root user... a very good reason to disable logging by default


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 04:51 AM
Running a program inside my QT application does not produce needed output files??? keos Programming 0 02-23-2004 12:37 AM
bad dmesg output when using ide-scsi boot parameter for IDE CD/DVD-ROM Locura Slackware 7 09-29-2003 03:36 AM
how to send the output to another xterm? abd_bela Programming 2 08-17-2003 01:28 PM
I get following output to xterm when launching xmms ... purpleburple Linux - General 11 07-26-2002 07:10 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration