l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Oct 03 09:43

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] help with script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] help with script

The CS department uses `script` and uses `handin` to turn in the files and
log when the files were turned in.  Or at least that's what they did when
I was there last year+.


On Thu, 3 Oct 2002, Peter Jay Salzman wrote:

> hi lugod,
> i'm allowing my students to turn in their assignments electronically
> this quarter.  they're writing C or fortran programs.  i'm requiring
> them to turn in:
> 1. the program
> 2. a file showing the compile process and the program output.
> for #2, i'm having them use "script".
> however, script shows annoying ^M's plus any kind of backspacing and
> term codes:
>    Script started on Wed Oct  2 17:00:24 2002
>    ^[]0;dhevan@jensen:~^G[dhevan@jensen dhevan]$ cc program1.c^M
>    ^[]0;dhevan@jensen:~^G[dhevan@jensen dhevan]$ exit^M
>    exit^M
> some of these people hardly know how to log into a unix system, let
> alone use sed or even vi's ex commands.  i'm astounded that most of them
> use vi at all.
> i can write a script that presents a shell like interface which short
> circuits this stuff saves their program output to a file, but if
> something is already written, i'd rather go that route.
> any suggestions?   what does the CS department do for electronically
> submitted document?
> pete
> ps- for the astute reader, the professor told them to compile programs
> with "cc" rather than "gcc".  it wasn't me.
> pete
> --
> Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

Mark K. Kim
PGP key available upon request.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!