07-13-2014
Xterm logging on Cygwin/X - binary data in log file.
I have Cygwin/X installed on Windows 7. In an xterm, I turned on logging via Main Options > Log to File.
When I open my log file with Vim I get a warning that it might be binary. Looking through the file I see what I think are VT datastream escape characters. It makes it hard to use the file as a record of commands entered and results.
Should I be viewing the file another way?
Is there a better method to achieve my goal of keeping a log of what I've done. I could probably increase the scrollback buffer and use copy/paste but I am trying to avoid that.
$ xterm -version
XTerm(308)
$ cygcheck.exe -V
cygcheck (cygwin) 1.7.30
Thanks,
Gary
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Friends,
I've tried on solaris, but I could n't get ascii data
dd if=binaryinputfile bs=1 skip=3800 count=4 | od -t u4
output :
INDBU3:/usr/users/FTAMUSER/kk $
dd if=SMP20041006173649188151 bs=1 skip=3800 count=4 | od -t u4
4+0 records in
4+0 records out
0000000 0000000000
0000004... (4 Replies)
Discussion started by: krishna
4 Replies
2. UNIX for Dummies Questions & Answers
Dear Sir;
i want to know how the binary data convert to text file or readablw format (ASCII).If possible pl. help me for the software and where it is available for download. i.e. (1 Reply)
Discussion started by: auro123
1 Replies
3. Linux
Hi All,
Does anyone has a binary of VNC for Cygwin ?
Thanks,
KENT (3 Replies)
Discussion started by: kxchen_home
3 Replies
4. UNIX for Dummies Questions & Answers
hi all.....
i want to know how to log the details when logging into a server using SFTP......in FTP i used something like (ftp -uv<xxx.srp>>log_file.log) where the details will be logged to log_file...is there any options for doing the same in SFTP....i wanted to display the details abt... (4 Replies)
Discussion started by: santy
4 Replies
5. Shell Programming and Scripting
hi
i am receiving a file from one system , i have to verify the format of the file data i.e whether the data is in acii format or binary format,
please help
thanks in advance
satya (1 Reply)
Discussion started by: Satyak
1 Replies
6. Programming
I am trying to write binary data to a file. My program below:
#include <stdlib.h>
#include <stdio.h>
struct tinner {
int j;
int k;
};
struct touter {
int i;
struct tinner *inner;
};
int main() {
struct touter data;
data.i = 10;
struct tinner... (4 Replies)
Discussion started by: radiatejava
4 Replies
7. UNIX for Dummies Questions & Answers
I would like to convert a .tr file to a binary file to use for trace purposes.
Can anyone provide any insight? (0 Replies)
Discussion started by: sparklezilla3
0 Replies
8. Shell Programming and Scripting
Hi,
I wrote a small script whose function is to execute the postemsg provided if the threshold breaches.
I want to log this postemsg messages to a log file. But I am not able to do. Can someone throw some light on how to log the output of this. I am pasting a snippet of that code.
... (2 Replies)
Discussion started by: dbashyam
2 Replies
9. Shell Programming and Scripting
Hey all,
I am using Cygwin on a machine running windows 7 64bits. I am about to use the following command:
$ faToTwoBit in.fa out.2bit
In the manual on sourceforge it mentioned:
"Download blat and faToTwoBit and set the blat_bin and fatotwobit_bin entries in config.txt to the fully... (4 Replies)
Discussion started by: @man
4 Replies
10. Shell Programming and Scripting
I am trying to parse a file but the filehas binary data inline mixed with text fields.
I tried the binutils strings function , it get the binary data out but put the char following the binary data in a new line .
input file
app_id:1936 pgm_num:0 branch:TBNY ord_num:0500012(–QMK) deal_num:0... (12 Replies)
Discussion started by: tasmac
12 Replies
LEARN ABOUT DEBIAN
appres
APPRES(1) General Commands Manual APPRES(1)
NAME
appres - list X application resource database
SYNOPSIS
appres [class [instance]] [-1] [toolkitoptions]
DESCRIPTION
The appres program prints the resources seen by an application (or subhierarchy of an application) with the specified class and instance
names. It can be used to determine which resources a particular program will load. For example,
% appres XTerm
will list the resources that any xterm program will load. If no application class is specified, the class -AppResTest- is used.
To match a particular instance name, specify an instance name explicitly after the class name, or use the normal Xt toolkit option. For
example,
% appres XTerm myxterm
or
% appres XTerm -name myxterm
To list resources that match a subhierarchy of an application, specify hierarchical class and instance names. The number of class and
instance components must be equal, and the instance name should not be specified with a toolkit option. For example,
% appres Xman.TopLevelShell.Form xman.topBox.form
will list the resources of widgets of xman topBox hierarchy. To list just the resources matching a specific level in the hierarchy, use
the -1 option. For example,
% appres XTerm.VT100 xterm.vt100 -1
will list the resources matching the xterm vt100 widget.
SEE ALSO
X(7), xrdb(1), listres(1)
AUTHOR
Jim Fulton, MIT X Consortium
X Version 11 appres 1.0.3 APPRES(1)