Reputation
1,158
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 9
Newest
 Enlightened
Impact
~107k people reached

  • 0 posts edited
  • 0 helpful flags
  • 10 votes cast
Apr
30
revised How do I configure my tty session such that a form feed `\f` character will clear the terminal?
Typo
Apr
30
answered How do I configure my tty session such that a form feed `\f` character will clear the terminal?
Apr
30
comment How do I configure my tty session such that a form feed `\f` character will clear the terminal?
@StaceyAnne, my fault, since I tried it on a Mac, using a different sed (bsd instead of gnu). It seems that really gnu sed matches control characters. I think that this answer is the right one, then, since you may use it and filter what you read from ttyACM0 in order to translate formfeed in ansi escape sequences. Did you tried it? Does it really works as it should?
Apr
30
comment How do I configure my tty session such that a form feed `\f` character will clear the terminal?
@jofel it seems that sed does not interpret control character. The following command show it: echo "\f" | sed 's/\f/formfeed received/g'. In your example it should not match the line while it matches the line.
Apr
30
comment How do I configure my tty session such that a form feed `\f` character will clear the terminal?
At least, the xterm manual page at xfree86.org/current/ctlseqs.html seems to clarify the while in VT100 emulation a formfeed is translated in a linefeed.
Apr
30
comment How do I configure my tty session such that a form feed `\f` character will clear the terminal?
I believe the FPGA is not sending the two characters backslash and f, but the correct control byte 0x0C.
Apr
30
comment How do I configure my tty session such that a form feed `\f` character will clear the terminal?
the command echo -e "\f" instruct the echo command to send to its stdout the control character formfeed, while the command echo "\f" instruct the echo command to send a backslash followed by an f.
Apr
30
answered How do I configure my tty session such that a form feed `\f` character will clear the terminal?
Apr
29
comment bash - reading user variable into bash script grep
right. I already corrected my answer. Please use number instead of $number in the assignment.
Apr
29
revised bash - reading user variable into bash script grep
typo correction
Apr
29
answered bash - reading user variable into bash script grep
Apr
15
comment How to get past “Loading Initial Ramdisk” hang after going from x86_64 to i686 cpu
I think there should be no problem in running this VM on the new processor. Could you please boot again the guest without the "quiet" kernel option in order to have more details on what the problem is? (I might be wrong, but I assume that a linux kernel is loaded, while the problem may be earlier.)
Apr
12
answered Optimizing sed command or create new one
Apr
9
answered Mystery of a small 1K hard disk partition, and is it safe or malware on Ubuntu 12.04.02LTS Amd64 generic
Apr
9
comment Strange behavior in mv command - maybe open sys call issue?
@Jmoney38 you may probably simply check /etc/fstab.
Apr
9
comment Strange behavior in mv command - maybe open sys call issue?
Do you have any non standard option for the target file system? I am referring to journaling options specially.
Apr
5
answered Host lookup that respects /etc/hosts
Apr
1
revised What is the fastest way to extract an ISO?
typo
Apr
1
answered What is the fastest way to extract an ISO?
Mar
16
comment chroot fails with --userspec when chroot is i686
You are right.I did not correctly understood that sentence. Maybe you could also try a workaround like preceding your commands with a su --command 'sg $group -c "$command"' $user or write a wrapper script that runs inside the chroot.